]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Use SetMinSize instead of SetSizeHints
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247 #define SWIGTYPE_p_wxPrinter swig_types[36]
248 #define SWIGTYPE_p_wxArrayInt swig_types[37]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
250 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252 #define SWIGTYPE_p_wxPyVListBox swig_types[41]
253 #define SWIGTYPE_p_wxRect swig_types[42]
254 #define SWIGTYPE_p_char swig_types[43]
255 #define SWIGTYPE_p_wxMiniFrame swig_types[44]
256 #define SWIGTYPE_p_wxFrame swig_types[45]
257 #define SWIGTYPE_p_wxPyPrintout swig_types[46]
258 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259 #define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260 #define SWIGTYPE_p_wxStatusBar swig_types[49]
261 #define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262 #define SWIGTYPE_p_wxPoint swig_types[51]
263 #define SWIGTYPE_p_wxObject swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info *swig_types[88];
299
300 /* -------- TYPES TABLE (END) -------- */
301
302
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
307
308 #define SWIG_name "_windows_"
309
310 /* Auxiliar swig macros that appear in the header */
311
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315
316 #ifdef __cplusplus
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
327
328 #else /* C case */
329
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340
341 #endif /* __cplusplus */
342
343
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@@*/
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@@*/
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
352 /*@@*/
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@@*/
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
358 /*@@*/
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
361 /*@@*/
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
364 /*@@*/
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
367 /*@@*/
368
369
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
376
377
378
379 #include <limits.h>
380
381
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
385 {
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
398 }
399 return 0;
400 }
401 return 1;
402 }
403
404
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject* obj, long* val)
408 {
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
418 }
419 return 0;
420 }
421
422
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject *obj, int *val)
426 {
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
443 }
444 #else
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447 {
448 return SWIG_AsVal_long(obj,(long*)val);
449 }
450 #endif
451
452
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject* obj)
455 {
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
464 }
465 return v;
466 }
467
468
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject* obj)
471 {
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
480 }
481 return v;
482 }
483
484
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject* obj)
487 {
488 return SWIG_AsVal_int(obj, (int*)0);
489 }
490
491
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject* obj)
494 {
495 return SWIG_AsVal_long(obj, (long*)0);
496 }
497
498
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject *obj, bool *val)
501 {
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
514 return 1;
515 }
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520 }
521
522
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject* obj)
525 {
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
536 }
537
538
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject* obj)
541 {
542 return SWIG_AsVal_bool(obj, (bool*)0);
543 }
544
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
547 PyObject* o2;
548 PyObject* o3;
549
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
570 }
571
572
573
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject *obj, double* val)
577 {
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
587 }
588 return 0;
589 }
590
591
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject* obj)
594 {
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
603 }
604 return v;
605 }
606
607
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject* obj)
610 {
611 return SWIG_AsVal_double(obj, (double*)0);
612 }
613
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
618 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
619 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
620
621
622 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
623 wxRect r;
624 self->GetFieldRect(i, r);
625 return r;
626 }
627 static const wxString wxPySplitterNameStr(wxT("splitter"));
628 static const wxString wxPySashNameStr(wxT("sashWindow"));
629 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
630
631 #include <wx/popupwin.h>
632
633
634 class wxPyPopupTransientWindow : public wxPopupTransientWindow
635 {
636 public:
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
639 : wxPopupTransientWindow(parent, style) {}
640
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
642 DEC_PYCALLBACK__(OnDismiss);
643 DEC_PYCALLBACK_BOOL_(CanDismiss);
644 PYPRIVATE;
645 };
646
647
648 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
649 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
650 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
651
652
653 #include <wx/tipwin.h>
654
655 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
656 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
657 }
658
659 #include <wx/tipwin.h>
660
661
662 #include <wx/vscroll.h>
663
664
665 class wxPyVScrolledWindow : public wxVScrolledWindow
666 {
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
668 public:
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
670
671 wxPyVScrolledWindow(wxWindow *parent,
672 wxWindowID id = wxID_ANY,
673 const wxPoint& pos = wxDefaultPosition,
674 const wxSize& size = wxDefaultSize,
675 long style = 0,
676 const wxString& name = wxPyPanelNameStr)
677 : wxVScrolledWindow(parent, id, pos, size, style, name)
678 {}
679
680 // Overridable virtuals
681
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
685
686
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
690 // once
691 //
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
697 //
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
699 // usual
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
701
702
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
707 // its own logic
708 //
709 // this function should return the best guess for the total height it may
710 // make
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
712
713
714 // Also expose some other interesting protected methods
715
716
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
721
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
726
727
728 PYPRIVATE;
729 };
730
731 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
732
733 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
734 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
735 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
736
737
738 // See my_fragments.i
739 SWIGSTATICINLINE(int)
740 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
741 {
742 long v = 0;
743 if (SWIG_AsVal_long(obj, &v) && v < 0) {
744 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
745 return 0;
746 }
747 else if (val)
748 *val = (unsigned long)v;
749 return 1;
750 }
751
752
753 SWIGSTATICINLINE(unsigned long)
754 SWIG_As_unsigned_SS_long(PyObject* obj)
755 {
756 unsigned long v;
757 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
758 /*
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
761 with plain C ....
762 */
763 memset((void*)&v, 0, sizeof(unsigned long));
764 }
765 return v;
766 }
767
768
769 SWIGSTATICINLINE(int)
770 SWIG_Check_unsigned_SS_long(PyObject* obj)
771 {
772 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
773 }
774
775
776 SWIGSTATICINLINE(PyObject* )
777 SWIG_From_unsigned_SS_long(unsigned long value)
778 {
779 return (value > LONG_MAX) ?
780 PyLong_FromUnsignedLong(value)
781 : PyInt_FromLong(swig_numeric_cast(value,long));
782 }
783
784
785 #include <wx/vlbox.h>
786
787 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
788
789 class wxPyVListBox : public wxVListBox
790 {
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
792 public:
793 wxPyVListBox() : wxVListBox() {}
794
795 wxPyVListBox(wxWindow *parent,
796 wxWindowID id = wxID_ANY,
797 const wxPoint& pos = wxDefaultPosition,
798 const wxSize& size = wxDefaultSize,
799 long style = 0,
800 const wxString& name = wxPyVListBoxNameStr)
801 : wxVListBox(parent, id, pos, size, style, name)
802 {}
803
804 // Overridable virtuals
805
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
810
811
812 // the derived class must implement this method to return the height of the
813 // specified item
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
816
817
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
821 //
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
825
826
827 // this method is used to draw the items background and, maybe, a border
828 // around it
829 //
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
833 // current
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
836
837
838 PYPRIVATE;
839 };
840
841 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
842
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
844 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
845 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
846 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
847
848
849 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
850 unsigned long cookie = 0;
851 int selected = self->GetFirstSelected(cookie);
852 bool blocked = wxPyBeginBlockThreads();
853 PyObject* tup = PyTuple_New(2);
854 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
855 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
856 wxPyEndBlockThreads(blocked);
857 return tup;
858 }
859 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
860 int selected = self->GetNextSelected(cookie);
861 bool blocked = wxPyBeginBlockThreads();
862 PyObject* tup = PyTuple_New(2);
863 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
864 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
865 wxPyEndBlockThreads(blocked);
866 return tup;
867 }
868
869 #include <wx/htmllbox.h>
870
871
872 class wxPyHtmlListBox : public wxHtmlListBox
873 {
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
875 public:
876 wxPyHtmlListBox() : wxHtmlListBox() {}
877
878 wxPyHtmlListBox(wxWindow *parent,
879 wxWindowID id = wxID_ANY,
880 const wxPoint& pos = wxDefaultPosition,
881 const wxSize& size = wxDefaultSize,
882 long style = 0,
883 const wxString& name = wxPyVListBoxNameStr)
884 : wxHtmlListBox(parent, id, pos, size, style, name)
885 {}
886
887 // Overridable virtuals
888
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
892
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
895
896 // TODO:
897 // // this method allows to customize the selection appearance: it may be used
898 // // to specify the colour of the text which normally has the given colour
899 // // colFg when it is inside the selection
900 // //
901 // // by default, the original colour is not used at all and all text has the
902 // // same (default for this system) colour inside selection
903 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
904
905 // // this is the same as GetSelectedTextColour() but allows to customize the
906 // // background colour -- this is even more rarely used as you can change it
907 // // globally using SetSelectionBackground()
908 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
909
910
911 PYPRIVATE;
912 };
913
914
915 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
916
917 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
918 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
919
920
921
922
923
924 #ifndef wxHAS_TASK_BAR_ICON
925 // implement dummy classes for platforms that don't have it
926
927 class wxTaskBarIcon : public wxEvtHandler
928 {
929 public:
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
931 };
932
933
934 class wxTaskBarIconEvent : public wxEvent
935 {
936 public:
937 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent* Clone() const { return NULL; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu *menu) { return false; }
945 };
946
947 enum {
948 wxEVT_TASKBAR_MOVE = 0,
949 wxEVT_TASKBAR_LEFT_DOWN = 0,
950 wxEVT_TASKBAR_LEFT_UP = 0,
951 wxEVT_TASKBAR_RIGHT_DOWN = 0,
952 wxEVT_TASKBAR_RIGHT_UP = 0,
953 wxEVT_TASKBAR_LEFT_DCLICK = 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
955 };
956
957
958 #else
959 // Otherwise make a class that can virtualize CreatePopupMenu
960 class wxPyTaskBarIcon : public wxTaskBarIcon
961 {
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
963 public:
964 wxPyTaskBarIcon() : wxTaskBarIcon()
965 {}
966
967 wxMenu* CreatePopupMenu() {
968 wxMenu *rval = NULL;
969 bool found;
970 bool blocked = wxPyBeginBlockThreads();
971 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
972 PyObject* ro;
973 wxMenu* ptr;
974 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
975 if (ro) {
976 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
977 rval = ptr;
978 Py_DECREF(ro);
979 }
980 }
981 wxPyEndBlockThreads(blocked);
982 if (! found)
983 rval = wxTaskBarIcon::CreatePopupMenu();
984 return rval;
985 }
986
987 PYPRIVATE;
988 };
989
990 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
991
992 #endif
993
994 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
995 self->RemoveIcon();
996 delete self;
997 }
998 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
999 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
1000 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
1001 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1002 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1003 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
1004 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1005 wxArrayString arr;
1006 self->GetFilenames(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1010 wxArrayString arr;
1011 self->GetPaths(arr);
1012 return wxArrayString2PyList_helper(arr);
1013 }
1014 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1015 return wxArrayInt2PyList_helper(self->GetSelections());
1016 }
1017 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1018 return new wxSingleChoiceDialog(parent, message, caption,
1019 choices, choices_array, NULL, style, pos);
1020 }
1021 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
1022
1023 #include <wx/mdi.h>
1024
1025 // C++ version of Python aware wxWindow
1026 class wxPyWindow : public wxWindow
1027 {
1028 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1029 public:
1030 wxPyWindow() : wxWindow() {}
1031 wxPyWindow(wxWindow* parent, const wxWindowID id,
1032 const wxPoint& pos = wxDefaultPosition,
1033 const wxSize& size = wxDefaultSize,
1034 long style = 0,
1035 const wxString& name = wxPyPanelNameStr)
1036 : wxWindow(parent, id, pos, size, style, name) {}
1037
1038 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1039
1040 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1041 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1043 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1044
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1047 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1048
1049 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1050 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1051
1052 DEC_PYCALLBACK__(InitDialog);
1053 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1054 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1055 DEC_PYCALLBACK_BOOL_(Validate);
1056
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1058 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1059 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1060
1061 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1062 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1063
1064 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1065 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1066 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1067
1068 PYPRIVATE;
1069 };
1070
1071 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1072
1073 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1074 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1075 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1076 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1077
1078 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1079 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1080 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1081
1082 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1083 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1084
1085 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1086 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1087 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1088 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1089
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1091 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1092 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1093
1094 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1095 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1096
1097 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1098 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1099 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1100
1101
1102 // C++ version of Python aware wxPanel
1103 class wxPyPanel : public wxPanel
1104 {
1105 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1106 public:
1107 wxPyPanel() : wxPanel() {}
1108 wxPyPanel(wxWindow* parent, const wxWindowID id,
1109 const wxPoint& pos = wxDefaultPosition,
1110 const wxSize& size = wxDefaultSize,
1111 long style = 0,
1112 const wxString& name = wxPyPanelNameStr)
1113 : wxPanel(parent, id, pos, size, style, name) {}
1114
1115 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1116
1117
1118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1119 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1122
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1126
1127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1129
1130 DEC_PYCALLBACK__(InitDialog);
1131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1133 DEC_PYCALLBACK_BOOL_(Validate);
1134
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1137 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1138
1139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1141
1142 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1143 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1144 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1145
1146 PYPRIVATE;
1147 };
1148
1149 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1150
1151 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1152 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1153 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1154 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1155
1156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1159
1160 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1161 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1162
1163 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1164 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1165 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1166 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1167
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1169 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1170 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1171
1172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1174
1175 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1176 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1177 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1178
1179
1180 // C++ version of Python aware wxScrolledWindow
1181 class wxPyScrolledWindow : public wxScrolledWindow
1182 {
1183 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1184 public:
1185 wxPyScrolledWindow() : wxScrolledWindow() {}
1186 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1187 const wxPoint& pos = wxDefaultPosition,
1188 const wxSize& size = wxDefaultSize,
1189 long style = 0,
1190 const wxString& name = wxPyPanelNameStr)
1191 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1192
1193 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1194
1195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1196 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1199
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1203
1204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1206
1207 DEC_PYCALLBACK__(InitDialog);
1208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1210 DEC_PYCALLBACK_BOOL_(Validate);
1211
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1214 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1215
1216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1218
1219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1220 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1222
1223 PYPRIVATE;
1224 };
1225
1226 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1227
1228 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1229 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1230 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1231 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1232
1233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1236
1237 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1238 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1239
1240 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1241 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1242 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1243 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1244
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1246 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1247 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1248
1249 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1250 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1251
1252 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1253 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1254 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1255
1256
1257
1258 #include "wx/wxPython/printfw.h"
1259
1260
1261 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1262 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1263
1264
1265 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
1266
1267 // Since this one would be tough and ugly to do with the Macros...
1268 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1269 bool hadErr = false;
1270 bool found;
1271
1272 bool blocked = wxPyBeginBlockThreads();
1273 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1274 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1275 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1276 PyObject* val;
1277
1278 val = PyTuple_GetItem(result, 0);
1279 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1280 else hadErr = true;
1281
1282 val = PyTuple_GetItem(result, 1);
1283 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1284 else hadErr = true;
1285
1286 val = PyTuple_GetItem(result, 2);
1287 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1288 else hadErr = true;
1289
1290 val = PyTuple_GetItem(result, 3);
1291 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1292 else hadErr = true;
1293 }
1294 else
1295 hadErr = true;
1296
1297 if (hadErr) {
1298 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1299 PyErr_Print();
1300 }
1301 Py_DECREF(result);
1302 }
1303 wxPyEndBlockThreads(blocked);
1304 if (! found)
1305 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1306 }
1307
1308 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1309 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1310 }
1311
1312
1313 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1314 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1315 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1316 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1317 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1318 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1319 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1320
1321
1322
1323
1324
1325 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1326 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1327 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1328
1329
1330 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1331 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1332 bool rval=false; \
1333 bool found; \
1334 bool blocked = wxPyBeginBlockThreads(); \
1335 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1336 PyObject* win = wxPyMake_wxObject(a,false); \
1337 PyObject* dc = wxPyMake_wxObject(&b,false); \
1338 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1339 Py_DECREF(win); \
1340 Py_DECREF(dc); \
1341 } \
1342 wxPyEndBlockThreads(blocked); \
1343 if (! found) \
1344 rval = PCLASS::CBNAME(a, b); \
1345 return rval; \
1346 } \
1347 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1348 return PCLASS::CBNAME(a, b); \
1349 }
1350
1351
1352
1353
1354 class wxPyPrintPreview : public wxPrintPreview
1355 {
1356 DECLARE_CLASS(wxPyPrintPreview)
1357 public:
1358 wxPyPrintPreview(wxPyPrintout* printout,
1359 wxPyPrintout* printoutForPrinting,
1360 wxPrintDialogData* data=NULL)
1361 : wxPrintPreview(printout, printoutForPrinting, data)
1362 {}
1363 wxPyPrintPreview(wxPyPrintout* printout,
1364 wxPyPrintout* printoutForPrinting,
1365 wxPrintData* data=NULL)
1366 : wxPrintPreview(printout, printoutForPrinting, data)
1367 {}
1368
1369 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1370 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1371 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1372 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1373 DEC_PYCALLBACK_VOID_INT(SetZoom);
1374 DEC_PYCALLBACK_BOOL_BOOL(Print);
1375 DEC_PYCALLBACK_VOID_(DetermineScaling);
1376
1377 PYPRIVATE;
1378 };
1379
1380 // Stupid renamed classes... Fix this in 2.5...
1381 #if defined(__WXMSW__)
1382 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1383 #elif defined(__WXMAC__)
1384 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1385 #else
1386 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1387 #endif
1388
1389 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1390 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1391 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1392 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1393 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1394 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1395 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1396
1397
1398 class wxPyPreviewFrame : public wxPreviewFrame
1399 {
1400 DECLARE_CLASS(wxPyPreviewFrame);
1401 public:
1402 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1403 const wxString& title,
1404 const wxPoint& pos = wxDefaultPosition,
1405 const wxSize& size = wxDefaultSize,
1406 long style = wxDEFAULT_FRAME_STYLE,
1407 const wxString& name = wxPyFrameNameStr)
1408 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1409 {}
1410
1411 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1412 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1413
1414 DEC_PYCALLBACK_VOID_(Initialize);
1415 DEC_PYCALLBACK_VOID_(CreateCanvas);
1416 DEC_PYCALLBACK_VOID_(CreateControlBar);
1417
1418 PYPRIVATE;
1419 };
1420
1421 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1422
1423 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1424 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1425 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1426
1427
1428 class wxPyPreviewControlBar : public wxPreviewControlBar
1429 {
1430 DECLARE_CLASS(wxPyPreviewControlBar);
1431 public:
1432 wxPyPreviewControlBar(wxPrintPreview *preview,
1433 long buttons,
1434 wxWindow *parent,
1435 const wxPoint& pos = wxDefaultPosition,
1436 const wxSize& size = wxDefaultSize,
1437 long style = 0,
1438 const wxString& name = wxPyPanelNameStr)
1439 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1440 {}
1441
1442 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1443
1444 DEC_PYCALLBACK_VOID_(CreateButtons);
1445 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1446
1447 PYPRIVATE;
1448 };
1449
1450 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1451 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1452 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1453
1454 #ifdef __cplusplus
1455 extern "C" {
1456 #endif
1457 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxWindow *arg1 = (wxWindow *) 0 ;
1460 int arg2 = (int) (int)-1 ;
1461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1463 wxSize const &arg4_defvalue = wxDefaultSize ;
1464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1465 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1466 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1467 wxString *arg6 = (wxString *) &arg6_defvalue ;
1468 wxPanel *result;
1469 wxPoint temp3 ;
1470 wxSize temp4 ;
1471 bool temp6 = false ;
1472 PyObject * obj0 = 0 ;
1473 PyObject * obj1 = 0 ;
1474 PyObject * obj2 = 0 ;
1475 PyObject * obj3 = 0 ;
1476 PyObject * obj4 = 0 ;
1477 PyObject * obj5 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1485 if (obj1) {
1486 arg2 = (int)SWIG_As_int(obj1);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 if (obj2) {
1490 {
1491 arg3 = &temp3;
1492 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1493 }
1494 }
1495 if (obj3) {
1496 {
1497 arg4 = &temp4;
1498 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1499 }
1500 }
1501 if (obj4) {
1502 arg5 = (long)SWIG_As_long(obj4);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 if (obj5) {
1506 {
1507 arg6 = wxString_in_helper(obj5);
1508 if (arg6 == NULL) SWIG_fail;
1509 temp6 = true;
1510 }
1511 }
1512 {
1513 if (!wxPyCheckForApp()) SWIG_fail;
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1521 {
1522 if (temp6)
1523 delete arg6;
1524 }
1525 return resultobj;
1526 fail:
1527 {
1528 if (temp6)
1529 delete arg6;
1530 }
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxPanel *result;
1538 char *kwnames[] = {
1539 NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1543 {
1544 if (!wxPyCheckForApp()) SWIG_fail;
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (wxPanel *)new wxPanel();
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxPanel *arg1 = (wxPanel *) 0 ;
1561 wxWindow *arg2 = (wxWindow *) 0 ;
1562 int arg3 = (int) (int)-1 ;
1563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1565 wxSize const &arg5_defvalue = wxDefaultSize ;
1566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1567 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1568 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1569 wxString *arg7 = (wxString *) &arg7_defvalue ;
1570 bool result;
1571 wxPoint temp4 ;
1572 wxSize temp5 ;
1573 bool temp7 = false ;
1574 PyObject * obj0 = 0 ;
1575 PyObject * obj1 = 0 ;
1576 PyObject * obj2 = 0 ;
1577 PyObject * obj3 = 0 ;
1578 PyObject * obj4 = 0 ;
1579 PyObject * obj5 = 0 ;
1580 PyObject * obj6 = 0 ;
1581 char *kwnames[] = {
1582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1583 };
1584
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1590 if (obj2) {
1591 arg3 = (int)SWIG_As_int(obj2);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 }
1594 if (obj3) {
1595 {
1596 arg4 = &temp4;
1597 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1598 }
1599 }
1600 if (obj4) {
1601 {
1602 arg5 = &temp5;
1603 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1604 }
1605 }
1606 if (obj5) {
1607 arg6 = (long)SWIG_As_long(obj5);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 if (obj6) {
1611 {
1612 arg7 = wxString_in_helper(obj6);
1613 if (arg7 == NULL) SWIG_fail;
1614 temp7 = true;
1615 }
1616 }
1617 {
1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
1619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 {
1625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1626 }
1627 {
1628 if (temp7)
1629 delete arg7;
1630 }
1631 return resultobj;
1632 fail:
1633 {
1634 if (temp7)
1635 delete arg7;
1636 }
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxPanel *arg1 = (wxPanel *) 0 ;
1644 PyObject * obj0 = 0 ;
1645 char *kwnames[] = {
1646 (char *) "self", NULL
1647 };
1648
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 (arg1)->InitDialog();
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 Py_INCREF(Py_None); resultobj = Py_None;
1660 return resultobj;
1661 fail:
1662 return NULL;
1663 }
1664
1665
1666 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1669 wxVisualAttributes result;
1670 PyObject * obj0 = 0 ;
1671 char *kwnames[] = {
1672 (char *) "variant", NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1676 if (obj0) {
1677 arg1 = (int)SWIG_As_int(obj0);
1678 if (PyErr_Occurred()) SWIG_fail;
1679 }
1680 {
1681 if (!wxPyCheckForApp()) SWIG_fail;
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 {
1689 wxVisualAttributes * resultptr;
1690 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1692 }
1693 return resultobj;
1694 fail:
1695 return NULL;
1696 }
1697
1698
1699 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1700 PyObject *obj;
1701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1702 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1703 Py_INCREF(obj);
1704 return Py_BuildValue((char *)"");
1705 }
1706 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxWindow *arg1 = (wxWindow *) 0 ;
1709 int arg2 = (int) (int)-1 ;
1710 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1711 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1712 wxSize const &arg4_defvalue = wxDefaultSize ;
1713 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1714 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1715 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1716 wxString *arg6 = (wxString *) &arg6_defvalue ;
1717 wxScrolledWindow *result;
1718 wxPoint temp3 ;
1719 wxSize temp4 ;
1720 bool temp6 = false ;
1721 PyObject * obj0 = 0 ;
1722 PyObject * obj1 = 0 ;
1723 PyObject * obj2 = 0 ;
1724 PyObject * obj3 = 0 ;
1725 PyObject * obj4 = 0 ;
1726 PyObject * obj5 = 0 ;
1727 char *kwnames[] = {
1728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1729 };
1730
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1734 if (obj1) {
1735 arg2 = (int)SWIG_As_int(obj1);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 if (obj2) {
1739 {
1740 arg3 = &temp3;
1741 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1742 }
1743 }
1744 if (obj3) {
1745 {
1746 arg4 = &temp4;
1747 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1748 }
1749 }
1750 if (obj4) {
1751 arg5 = (long)SWIG_As_long(obj4);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 if (obj5) {
1755 {
1756 arg6 = wxString_in_helper(obj5);
1757 if (arg6 == NULL) SWIG_fail;
1758 temp6 = true;
1759 }
1760 }
1761 {
1762 if (!wxPyCheckForApp()) SWIG_fail;
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1770 {
1771 if (temp6)
1772 delete arg6;
1773 }
1774 return resultobj;
1775 fail:
1776 {
1777 if (temp6)
1778 delete arg6;
1779 }
1780 return NULL;
1781 }
1782
1783
1784 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1785 PyObject *resultobj;
1786 wxScrolledWindow *result;
1787 char *kwnames[] = {
1788 NULL
1789 };
1790
1791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1792 {
1793 if (!wxPyCheckForApp()) SWIG_fail;
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 result = (wxScrolledWindow *)new wxScrolledWindow();
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1810 wxWindow *arg2 = (wxWindow *) 0 ;
1811 int arg3 = (int) (int)-1 ;
1812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1814 wxSize const &arg5_defvalue = wxDefaultSize ;
1815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1816 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1817 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1818 wxString *arg7 = (wxString *) &arg7_defvalue ;
1819 bool result;
1820 wxPoint temp4 ;
1821 wxSize temp5 ;
1822 bool temp7 = false ;
1823 PyObject * obj0 = 0 ;
1824 PyObject * obj1 = 0 ;
1825 PyObject * obj2 = 0 ;
1826 PyObject * obj3 = 0 ;
1827 PyObject * obj4 = 0 ;
1828 PyObject * obj5 = 0 ;
1829 PyObject * obj6 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1839 if (obj2) {
1840 arg3 = (int)SWIG_As_int(obj2);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 if (obj3) {
1844 {
1845 arg4 = &temp4;
1846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1847 }
1848 }
1849 if (obj4) {
1850 {
1851 arg5 = &temp5;
1852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1853 }
1854 }
1855 if (obj5) {
1856 arg6 = (long)SWIG_As_long(obj5);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
1859 if (obj6) {
1860 {
1861 arg7 = wxString_in_helper(obj6);
1862 if (arg7 == NULL) SWIG_fail;
1863 temp7 = true;
1864 }
1865 }
1866 {
1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
1868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1869
1870 wxPyEndAllowThreads(__tstate);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
1873 {
1874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1875 }
1876 {
1877 if (temp7)
1878 delete arg7;
1879 }
1880 return resultobj;
1881 fail:
1882 {
1883 if (temp7)
1884 delete arg7;
1885 }
1886 return NULL;
1887 }
1888
1889
1890 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1893 int arg2 ;
1894 int arg3 ;
1895 int arg4 ;
1896 int arg5 ;
1897 int arg6 = (int) 0 ;
1898 int arg7 = (int) 0 ;
1899 bool arg8 = (bool) false ;
1900 PyObject * obj0 = 0 ;
1901 PyObject * obj1 = 0 ;
1902 PyObject * obj2 = 0 ;
1903 PyObject * obj3 = 0 ;
1904 PyObject * obj4 = 0 ;
1905 PyObject * obj5 = 0 ;
1906 PyObject * obj6 = 0 ;
1907 PyObject * obj7 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1915 arg2 = (int)SWIG_As_int(obj1);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 arg3 = (int)SWIG_As_int(obj2);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 arg4 = (int)SWIG_As_int(obj3);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 arg5 = (int)SWIG_As_int(obj4);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 if (obj5) {
1924 arg6 = (int)SWIG_As_int(obj5);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 if (obj6) {
1928 arg7 = (int)SWIG_As_int(obj6);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 if (obj7) {
1932 arg8 = (bool)SWIG_As_bool(obj7);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 Py_INCREF(Py_None); resultobj = Py_None;
1943 return resultobj;
1944 fail:
1945 return NULL;
1946 }
1947
1948
1949 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1952 int arg2 ;
1953 int arg3 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 PyObject * obj2 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "x",(char *) "y", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 arg2 = (int)SWIG_As_int(obj1);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 arg3 = (int)SWIG_As_int(obj2);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 (arg1)->Scroll(arg2,arg3);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 Py_INCREF(Py_None); resultobj = Py_None;
1976 return resultobj;
1977 fail:
1978 return NULL;
1979 }
1980
1981
1982 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1985 int arg2 ;
1986 int result;
1987 PyObject * obj0 = 0 ;
1988 PyObject * obj1 = 0 ;
1989 char *kwnames[] = {
1990 (char *) "self",(char *) "orient", NULL
1991 };
1992
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1996 arg2 = (int)SWIG_As_int(obj1);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = SWIG_From_int((int)result);
2006 return resultobj;
2007 fail:
2008 return NULL;
2009 }
2010
2011
2012 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2015 int arg2 ;
2016 int arg3 ;
2017 PyObject * obj0 = 0 ;
2018 PyObject * obj1 = 0 ;
2019 PyObject * obj2 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2027 arg2 = (int)SWIG_As_int(obj1);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 arg3 = (int)SWIG_As_int(obj2);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 (arg1)->SetScrollPageSize(arg2,arg3);
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 Py_INCREF(Py_None); resultobj = Py_None;
2039 return resultobj;
2040 fail:
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2048 int arg2 ;
2049 int arg3 ;
2050 PyObject * obj0 = 0 ;
2051 PyObject * obj1 = 0 ;
2052 PyObject * obj2 = 0 ;
2053 char *kwnames[] = {
2054 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2055 };
2056
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2060 arg2 = (int)SWIG_As_int(obj1);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 arg3 = (int)SWIG_As_int(obj2);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 (arg1)->SetScrollRate(arg2,arg3);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 Py_INCREF(Py_None); resultobj = Py_None;
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2079 PyObject *resultobj;
2080 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2081 int *arg2 = (int *) 0 ;
2082 int *arg3 = (int *) 0 ;
2083 int temp2 ;
2084 int res2 = 0 ;
2085 int temp3 ;
2086 int res3 = 0 ;
2087 PyObject * obj0 = 0 ;
2088 char *kwnames[] = {
2089 (char *) "self", NULL
2090 };
2091
2092 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2093 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 Py_INCREF(Py_None); resultobj = Py_None;
2105 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2106 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2107 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2108 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2109 return resultobj;
2110 fail:
2111 return NULL;
2112 }
2113
2114
2115 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2116 PyObject *resultobj;
2117 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2118 bool arg2 ;
2119 bool arg3 ;
2120 PyObject * obj0 = 0 ;
2121 PyObject * obj1 = 0 ;
2122 PyObject * obj2 = 0 ;
2123 char *kwnames[] = {
2124 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2125 };
2126
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2130 arg2 = (bool)SWIG_As_bool(obj1);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 arg3 = (bool)SWIG_As_bool(obj2);
2133 if (PyErr_Occurred()) SWIG_fail;
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 (arg1)->EnableScrolling(arg2,arg3);
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
2141 Py_INCREF(Py_None); resultobj = Py_None;
2142 return resultobj;
2143 fail:
2144 return NULL;
2145 }
2146
2147
2148 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2151 int *arg2 = (int *) 0 ;
2152 int *arg3 = (int *) 0 ;
2153 int temp2 ;
2154 int res2 = 0 ;
2155 int temp3 ;
2156 int res3 = 0 ;
2157 PyObject * obj0 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self", NULL
2160 };
2161
2162 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2163 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 Py_INCREF(Py_None); resultobj = Py_None;
2175 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2176 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2177 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2178 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2188 double arg2 ;
2189 double arg3 ;
2190 PyObject * obj0 = 0 ;
2191 PyObject * obj1 = 0 ;
2192 PyObject * obj2 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self",(char *) "xs",(char *) "ys", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2200 arg2 = (double)SWIG_As_double(obj1);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 arg3 = (double)SWIG_As_double(obj2);
2203 if (PyErr_Occurred()) SWIG_fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 (arg1)->SetScale(arg2,arg3);
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 Py_INCREF(Py_None); resultobj = Py_None;
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2221 double result;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 resultobj = SWIG_From_double((double)result);
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2247 double result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 resultobj = SWIG_From_double((double)result);
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2271 PyObject *resultobj;
2272 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2273 wxPoint *arg2 = 0 ;
2274 wxPoint result;
2275 wxPoint temp2 ;
2276 PyObject * obj0 = 0 ;
2277 PyObject * obj1 = 0 ;
2278
2279 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2282 {
2283 arg2 = &temp2;
2284 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2285 }
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 {
2294 wxPoint * resultptr;
2295 resultptr = new wxPoint((wxPoint &) result);
2296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2297 }
2298 return resultobj;
2299 fail:
2300 return NULL;
2301 }
2302
2303
2304 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2305 PyObject *resultobj;
2306 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2307 int arg2 ;
2308 int arg3 ;
2309 int *arg4 = (int *) 0 ;
2310 int *arg5 = (int *) 0 ;
2311 int temp4 ;
2312 int res4 = 0 ;
2313 int temp5 ;
2314 int res5 = 0 ;
2315 PyObject * obj0 = 0 ;
2316 PyObject * obj1 = 0 ;
2317 PyObject * obj2 = 0 ;
2318
2319 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2320 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2321 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2324 arg2 = (int)SWIG_As_int(obj1);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 arg3 = (int)SWIG_As_int(obj2);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 Py_INCREF(Py_None); resultobj = Py_None;
2336 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2337 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2338 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2339 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2347 int argc;
2348 PyObject *argv[4];
2349 int ii;
2350
2351 argc = PyObject_Length(args);
2352 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2353 argv[ii] = PyTuple_GetItem(args,ii);
2354 }
2355 if (argc == 2) {
2356 int _v;
2357 {
2358 void *ptr;
2359 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2360 _v = 0;
2361 PyErr_Clear();
2362 } else {
2363 _v = 1;
2364 }
2365 }
2366 if (_v) {
2367 {
2368 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2369 }
2370 if (_v) {
2371 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2372 }
2373 }
2374 }
2375 if (argc == 3) {
2376 int _v;
2377 {
2378 void *ptr;
2379 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2380 _v = 0;
2381 PyErr_Clear();
2382 } else {
2383 _v = 1;
2384 }
2385 }
2386 if (_v) {
2387 _v = SWIG_Check_int(argv[1]);
2388 if (_v) {
2389 _v = SWIG_Check_int(argv[2]);
2390 if (_v) {
2391 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2392 }
2393 }
2394 }
2395 }
2396
2397 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2398 return NULL;
2399 }
2400
2401
2402 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2403 PyObject *resultobj;
2404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2405 wxPoint *arg2 = 0 ;
2406 wxPoint result;
2407 wxPoint temp2 ;
2408 PyObject * obj0 = 0 ;
2409 PyObject * obj1 = 0 ;
2410
2411 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2414 {
2415 arg2 = &temp2;
2416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2417 }
2418 {
2419 PyThreadState* __tstate = wxPyBeginAllowThreads();
2420 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2421
2422 wxPyEndAllowThreads(__tstate);
2423 if (PyErr_Occurred()) SWIG_fail;
2424 }
2425 {
2426 wxPoint * resultptr;
2427 resultptr = new wxPoint((wxPoint &) result);
2428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2437 PyObject *resultobj;
2438 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2439 int arg2 ;
2440 int arg3 ;
2441 int *arg4 = (int *) 0 ;
2442 int *arg5 = (int *) 0 ;
2443 int temp4 ;
2444 int res4 = 0 ;
2445 int temp5 ;
2446 int res5 = 0 ;
2447 PyObject * obj0 = 0 ;
2448 PyObject * obj1 = 0 ;
2449 PyObject * obj2 = 0 ;
2450
2451 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2452 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2453 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2456 arg2 = (int)SWIG_As_int(obj1);
2457 if (PyErr_Occurred()) SWIG_fail;
2458 arg3 = (int)SWIG_As_int(obj2);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
2467 Py_INCREF(Py_None); resultobj = Py_None;
2468 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2469 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2470 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2471 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2472 return resultobj;
2473 fail:
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2479 int argc;
2480 PyObject *argv[4];
2481 int ii;
2482
2483 argc = PyObject_Length(args);
2484 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2485 argv[ii] = PyTuple_GetItem(args,ii);
2486 }
2487 if (argc == 2) {
2488 int _v;
2489 {
2490 void *ptr;
2491 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2492 _v = 0;
2493 PyErr_Clear();
2494 } else {
2495 _v = 1;
2496 }
2497 }
2498 if (_v) {
2499 {
2500 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2501 }
2502 if (_v) {
2503 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2504 }
2505 }
2506 }
2507 if (argc == 3) {
2508 int _v;
2509 {
2510 void *ptr;
2511 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2512 _v = 0;
2513 PyErr_Clear();
2514 } else {
2515 _v = 1;
2516 }
2517 }
2518 if (_v) {
2519 _v = SWIG_Check_int(argv[1]);
2520 if (_v) {
2521 _v = SWIG_Check_int(argv[2]);
2522 if (_v) {
2523 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2524 }
2525 }
2526 }
2527 }
2528
2529 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2530 return NULL;
2531 }
2532
2533
2534 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2535 PyObject *resultobj;
2536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 (arg1)->AdjustScrollbars();
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 Py_INCREF(Py_None); resultobj = Py_None;
2553 return resultobj;
2554 fail:
2555 return NULL;
2556 }
2557
2558
2559 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2560 PyObject *resultobj;
2561 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2562 wxScrollWinEvent *arg2 = 0 ;
2563 int result;
2564 PyObject * obj0 = 0 ;
2565 PyObject * obj1 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self",(char *) "event", NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2574 SWIG_POINTER_EXCEPTION | 0)) == -1)
2575 SWIG_fail;
2576 if (arg2 == NULL) {
2577 PyErr_SetString(PyExc_TypeError,"null reference");
2578 SWIG_fail;
2579 }
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 result = (int)(arg1)->CalcScrollInc(*arg2);
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
2587 resultobj = SWIG_From_int((int)result);
2588 return resultobj;
2589 fail:
2590 return NULL;
2591 }
2592
2593
2594 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2595 PyObject *resultobj;
2596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2597 wxWindow *arg2 = (wxWindow *) 0 ;
2598 PyObject * obj0 = 0 ;
2599 PyObject * obj1 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self",(char *) "target", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 (arg1)->SetTargetWindow(arg2);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 Py_INCREF(Py_None); resultobj = Py_None;
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2626 wxWindow *result;
2627 PyObject * obj0 = 0 ;
2628 char *kwnames[] = {
2629 (char *) "self", NULL
2630 };
2631
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2635 {
2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
2637 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2638
2639 wxPyEndAllowThreads(__tstate);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
2642 {
2643 resultobj = wxPyMake_wxObject(result, 0);
2644 }
2645 return resultobj;
2646 fail:
2647 return NULL;
2648 }
2649
2650
2651 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2654 wxDC *arg2 = 0 ;
2655 PyObject * obj0 = 0 ;
2656 PyObject * obj1 = 0 ;
2657 char *kwnames[] = {
2658 (char *) "self",(char *) "dc", NULL
2659 };
2660
2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2665 SWIG_POINTER_EXCEPTION | 0)) == -1)
2666 SWIG_fail;
2667 if (arg2 == NULL) {
2668 PyErr_SetString(PyExc_TypeError,"null reference");
2669 SWIG_fail;
2670 }
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 (arg1)->DoPrepareDC(*arg2);
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
2678 Py_INCREF(Py_None); resultobj = Py_None;
2679 return resultobj;
2680 fail:
2681 return NULL;
2682 }
2683
2684
2685 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2686 PyObject *resultobj;
2687 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2688 wxVisualAttributes result;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "variant", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2695 if (obj0) {
2696 arg1 = (int)SWIG_As_int(obj0);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 {
2700 if (!wxPyCheckForApp()) SWIG_fail;
2701 PyThreadState* __tstate = wxPyBeginAllowThreads();
2702 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2703
2704 wxPyEndAllowThreads(__tstate);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 {
2708 wxVisualAttributes * resultptr;
2709 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2711 }
2712 return resultobj;
2713 fail:
2714 return NULL;
2715 }
2716
2717
2718 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2719 PyObject *obj;
2720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2721 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2722 Py_INCREF(obj);
2723 return Py_BuildValue((char *)"");
2724 }
2725 static int _wrap_FrameNameStr_set(PyObject *) {
2726 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2727 return 1;
2728 }
2729
2730
2731 static PyObject *_wrap_FrameNameStr_get() {
2732 PyObject *pyobj;
2733
2734 {
2735 #if wxUSE_UNICODE
2736 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2737 #else
2738 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2739 #endif
2740 }
2741 return pyobj;
2742 }
2743
2744
2745 static int _wrap_DialogNameStr_set(PyObject *) {
2746 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2747 return 1;
2748 }
2749
2750
2751 static PyObject *_wrap_DialogNameStr_get() {
2752 PyObject *pyobj;
2753
2754 {
2755 #if wxUSE_UNICODE
2756 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2757 #else
2758 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2759 #endif
2760 }
2761 return pyobj;
2762 }
2763
2764
2765 static int _wrap_StatusLineNameStr_set(PyObject *) {
2766 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2767 return 1;
2768 }
2769
2770
2771 static PyObject *_wrap_StatusLineNameStr_get() {
2772 PyObject *pyobj;
2773
2774 {
2775 #if wxUSE_UNICODE
2776 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2777 #else
2778 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2779 #endif
2780 }
2781 return pyobj;
2782 }
2783
2784
2785 static int _wrap_ToolBarNameStr_set(PyObject *) {
2786 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2787 return 1;
2788 }
2789
2790
2791 static PyObject *_wrap_ToolBarNameStr_get() {
2792 PyObject *pyobj;
2793
2794 {
2795 #if wxUSE_UNICODE
2796 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2797 #else
2798 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2799 #endif
2800 }
2801 return pyobj;
2802 }
2803
2804
2805 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2806 PyObject *resultobj;
2807 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2808 bool arg2 = (bool) true ;
2809 PyObject * obj0 = 0 ;
2810 PyObject * obj1 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "self",(char *) "maximize", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2818 if (obj1) {
2819 arg2 = (bool)SWIG_As_bool(obj1);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 }
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 (arg1)->Maximize(arg2);
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) SWIG_fail;
2828 }
2829 Py_INCREF(Py_None); resultobj = Py_None;
2830 return resultobj;
2831 fail:
2832 return NULL;
2833 }
2834
2835
2836 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2837 PyObject *resultobj;
2838 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2839 PyObject * obj0 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "self", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 (arg1)->Restore();
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 Py_INCREF(Py_None); resultobj = Py_None;
2855 return resultobj;
2856 fail:
2857 return NULL;
2858 }
2859
2860
2861 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2862 PyObject *resultobj;
2863 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2864 bool arg2 = (bool) true ;
2865 PyObject * obj0 = 0 ;
2866 PyObject * obj1 = 0 ;
2867 char *kwnames[] = {
2868 (char *) "self",(char *) "iconize", NULL
2869 };
2870
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2874 if (obj1) {
2875 arg2 = (bool)SWIG_As_bool(obj1);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 (arg1)->Iconize(arg2);
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 Py_INCREF(Py_None); resultobj = Py_None;
2886 return resultobj;
2887 fail:
2888 return NULL;
2889 }
2890
2891
2892 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2893 PyObject *resultobj;
2894 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2895 bool result;
2896 PyObject * obj0 = 0 ;
2897 char *kwnames[] = {
2898 (char *) "self", NULL
2899 };
2900
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 {
2912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2913 }
2914 return resultobj;
2915 fail:
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2923 bool result;
2924 PyObject * obj0 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "self", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2932 {
2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
2934 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2935
2936 wxPyEndAllowThreads(__tstate);
2937 if (PyErr_Occurred()) SWIG_fail;
2938 }
2939 {
2940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2941 }
2942 return resultobj;
2943 fail:
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2951 wxIcon result;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 {
2968 wxIcon * resultptr;
2969 resultptr = new wxIcon((wxIcon &) result);
2970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2971 }
2972 return resultobj;
2973 fail:
2974 return NULL;
2975 }
2976
2977
2978 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2979 PyObject *resultobj;
2980 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2981 wxIcon *arg2 = 0 ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self",(char *) "icon", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2992 SWIG_POINTER_EXCEPTION | 0)) == -1)
2993 SWIG_fail;
2994 if (arg2 == NULL) {
2995 PyErr_SetString(PyExc_TypeError,"null reference");
2996 SWIG_fail;
2997 }
2998 {
2999 PyThreadState* __tstate = wxPyBeginAllowThreads();
3000 (arg1)->SetIcon((wxIcon const &)*arg2);
3001
3002 wxPyEndAllowThreads(__tstate);
3003 if (PyErr_Occurred()) SWIG_fail;
3004 }
3005 Py_INCREF(Py_None); resultobj = Py_None;
3006 return resultobj;
3007 fail:
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3015 wxIconBundle *arg2 = 0 ;
3016 PyObject * obj0 = 0 ;
3017 PyObject * obj1 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "icons", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3026 SWIG_POINTER_EXCEPTION | 0)) == -1)
3027 SWIG_fail;
3028 if (arg2 == NULL) {
3029 PyErr_SetString(PyExc_TypeError,"null reference");
3030 SWIG_fail;
3031 }
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
3034 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 Py_INCREF(Py_None); resultobj = Py_None;
3040 return resultobj;
3041 fail:
3042 return NULL;
3043 }
3044
3045
3046 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3047 PyObject *resultobj;
3048 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3049 bool arg2 ;
3050 long arg3 = (long) wxFULLSCREEN_ALL ;
3051 bool result;
3052 PyObject * obj0 = 0 ;
3053 PyObject * obj1 = 0 ;
3054 PyObject * obj2 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self",(char *) "show",(char *) "style", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3062 arg2 = (bool)SWIG_As_bool(obj1);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 if (obj2) {
3065 arg3 = (long)SWIG_As_long(obj2);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 {
3076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3077 }
3078 return resultobj;
3079 fail:
3080 return NULL;
3081 }
3082
3083
3084 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3085 PyObject *resultobj;
3086 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3087 bool result;
3088 PyObject * obj0 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "self", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 {
3104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3105 }
3106 return resultobj;
3107 fail:
3108 return NULL;
3109 }
3110
3111
3112 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3113 PyObject *resultobj;
3114 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3115 wxString *arg2 = 0 ;
3116 bool temp2 = false ;
3117 PyObject * obj0 = 0 ;
3118 PyObject * obj1 = 0 ;
3119 char *kwnames[] = {
3120 (char *) "self",(char *) "title", NULL
3121 };
3122
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3126 {
3127 arg2 = wxString_in_helper(obj1);
3128 if (arg2 == NULL) SWIG_fail;
3129 temp2 = true;
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 (arg1)->SetTitle((wxString const &)*arg2);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) SWIG_fail;
3137 }
3138 Py_INCREF(Py_None); resultobj = Py_None;
3139 {
3140 if (temp2)
3141 delete arg2;
3142 }
3143 return resultobj;
3144 fail:
3145 {
3146 if (temp2)
3147 delete arg2;
3148 }
3149 return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3154 PyObject *resultobj;
3155 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3156 wxString result;
3157 PyObject * obj0 = 0 ;
3158 char *kwnames[] = {
3159 (char *) "self", NULL
3160 };
3161
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3165 {
3166 PyThreadState* __tstate = wxPyBeginAllowThreads();
3167 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3168
3169 wxPyEndAllowThreads(__tstate);
3170 if (PyErr_Occurred()) SWIG_fail;
3171 }
3172 {
3173 #if wxUSE_UNICODE
3174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3175 #else
3176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3177 #endif
3178 }
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3188 wxRegion *arg2 = 0 ;
3189 bool result;
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "region", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3200 SWIG_POINTER_EXCEPTION | 0)) == -1)
3201 SWIG_fail;
3202 if (arg2 == NULL) {
3203 PyErr_SetString(PyExc_TypeError,"null reference");
3204 SWIG_fail;
3205 }
3206 {
3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
3208 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 {
3214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3215 }
3216 return resultobj;
3217 fail:
3218 return NULL;
3219 }
3220
3221
3222 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3223 PyObject *resultobj;
3224 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3225 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3226 PyObject * obj0 = 0 ;
3227 PyObject * obj1 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self",(char *) "flags", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3235 if (obj1) {
3236 arg2 = (int)SWIG_As_int(obj1);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 (arg1)->RequestUserAttention(arg2);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 Py_INCREF(Py_None); resultobj = Py_None;
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3256 bool result;
3257 PyObject * obj0 = 0 ;
3258 char *kwnames[] = {
3259 (char *) "self", NULL
3260 };
3261
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (bool)(arg1)->IsActive();
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 {
3273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3274 }
3275 return resultobj;
3276 fail:
3277 return NULL;
3278 }
3279
3280
3281 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3284 bool arg2 ;
3285 PyObject * obj0 = 0 ;
3286 PyObject * obj1 = 0 ;
3287 char *kwnames[] = {
3288 (char *) "self",(char *) "on", NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3294 arg2 = (bool)SWIG_As_bool(obj1);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 Py_INCREF(Py_None); resultobj = Py_None;
3304 return resultobj;
3305 fail:
3306 return NULL;
3307 }
3308
3309
3310 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3313 bool result;
3314 PyObject * obj0 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 {
3330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3331 }
3332 return resultobj;
3333 fail:
3334 return NULL;
3335 }
3336
3337
3338 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3339 PyObject *obj;
3340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3342 Py_INCREF(obj);
3343 return Py_BuildValue((char *)"");
3344 }
3345 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 wxWindow *arg1 = (wxWindow *) 0 ;
3348 int arg2 = (int) (int)-1 ;
3349 wxString const &arg3_defvalue = wxPyEmptyString ;
3350 wxString *arg3 = (wxString *) &arg3_defvalue ;
3351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3353 wxSize const &arg5_defvalue = wxDefaultSize ;
3354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3355 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3356 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3357 wxString *arg7 = (wxString *) &arg7_defvalue ;
3358 wxFrame *result;
3359 bool temp3 = false ;
3360 wxPoint temp4 ;
3361 wxSize temp5 ;
3362 bool temp7 = false ;
3363 PyObject * obj0 = 0 ;
3364 PyObject * obj1 = 0 ;
3365 PyObject * obj2 = 0 ;
3366 PyObject * obj3 = 0 ;
3367 PyObject * obj4 = 0 ;
3368 PyObject * obj5 = 0 ;
3369 PyObject * obj6 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 if (obj1) {
3378 arg2 = (int)SWIG_As_int(obj1);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 if (obj2) {
3382 {
3383 arg3 = wxString_in_helper(obj2);
3384 if (arg3 == NULL) SWIG_fail;
3385 temp3 = true;
3386 }
3387 }
3388 if (obj3) {
3389 {
3390 arg4 = &temp4;
3391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3392 }
3393 }
3394 if (obj4) {
3395 {
3396 arg5 = &temp5;
3397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3398 }
3399 }
3400 if (obj5) {
3401 arg6 = (long)SWIG_As_long(obj5);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
3404 if (obj6) {
3405 {
3406 arg7 = wxString_in_helper(obj6);
3407 if (arg7 == NULL) SWIG_fail;
3408 temp7 = true;
3409 }
3410 }
3411 {
3412 if (!wxPyCheckForApp()) SWIG_fail;
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
3419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3420 {
3421 if (temp3)
3422 delete arg3;
3423 }
3424 {
3425 if (temp7)
3426 delete arg7;
3427 }
3428 return resultobj;
3429 fail:
3430 {
3431 if (temp3)
3432 delete arg3;
3433 }
3434 {
3435 if (temp7)
3436 delete arg7;
3437 }
3438 return NULL;
3439 }
3440
3441
3442 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3443 PyObject *resultobj;
3444 wxFrame *result;
3445 char *kwnames[] = {
3446 NULL
3447 };
3448
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3450 {
3451 if (!wxPyCheckForApp()) SWIG_fail;
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 result = (wxFrame *)new wxFrame();
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 }
3458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3466 PyObject *resultobj;
3467 wxFrame *arg1 = (wxFrame *) 0 ;
3468 wxWindow *arg2 = (wxWindow *) 0 ;
3469 int arg3 = (int) (int)-1 ;
3470 wxString const &arg4_defvalue = wxPyEmptyString ;
3471 wxString *arg4 = (wxString *) &arg4_defvalue ;
3472 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3473 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3474 wxSize const &arg6_defvalue = wxDefaultSize ;
3475 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3476 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3477 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3478 wxString *arg8 = (wxString *) &arg8_defvalue ;
3479 bool result;
3480 bool temp4 = false ;
3481 wxPoint temp5 ;
3482 wxSize temp6 ;
3483 bool temp8 = false ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 PyObject * obj2 = 0 ;
3487 PyObject * obj3 = 0 ;
3488 PyObject * obj4 = 0 ;
3489 PyObject * obj5 = 0 ;
3490 PyObject * obj6 = 0 ;
3491 PyObject * obj7 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 if (obj2) {
3502 arg3 = (int)SWIG_As_int(obj2);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 if (obj3) {
3506 {
3507 arg4 = wxString_in_helper(obj3);
3508 if (arg4 == NULL) SWIG_fail;
3509 temp4 = true;
3510 }
3511 }
3512 if (obj4) {
3513 {
3514 arg5 = &temp5;
3515 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3516 }
3517 }
3518 if (obj5) {
3519 {
3520 arg6 = &temp6;
3521 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3522 }
3523 }
3524 if (obj6) {
3525 arg7 = (long)SWIG_As_long(obj6);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 if (obj7) {
3529 {
3530 arg8 = wxString_in_helper(obj7);
3531 if (arg8 == NULL) SWIG_fail;
3532 temp8 = true;
3533 }
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 {
3543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3544 }
3545 {
3546 if (temp4)
3547 delete arg4;
3548 }
3549 {
3550 if (temp8)
3551 delete arg8;
3552 }
3553 return resultobj;
3554 fail:
3555 {
3556 if (temp4)
3557 delete arg4;
3558 }
3559 {
3560 if (temp8)
3561 delete arg8;
3562 }
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxFrame *arg1 = (wxFrame *) 0 ;
3570 wxPoint result;
3571 PyObject * obj0 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
3586 {
3587 wxPoint * resultptr;
3588 resultptr = new wxPoint((wxPoint &) result);
3589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3590 }
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxFrame *arg1 = (wxFrame *) 0 ;
3600 PyObject * obj0 = 0 ;
3601 char *kwnames[] = {
3602 (char *) "self", NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 (arg1)->SendSizeEvent();
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 Py_INCREF(Py_None); resultobj = Py_None;
3616 return resultobj;
3617 fail:
3618 return NULL;
3619 }
3620
3621
3622 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxFrame *arg1 = (wxFrame *) 0 ;
3625 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3626 PyObject * obj0 = 0 ;
3627 PyObject * obj1 = 0 ;
3628 char *kwnames[] = {
3629 (char *) "self",(char *) "menubar", NULL
3630 };
3631
3632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3637 {
3638 PyThreadState* __tstate = wxPyBeginAllowThreads();
3639 (arg1)->SetMenuBar(arg2);
3640
3641 wxPyEndAllowThreads(__tstate);
3642 if (PyErr_Occurred()) SWIG_fail;
3643 }
3644 Py_INCREF(Py_None); resultobj = Py_None;
3645 return resultobj;
3646 fail:
3647 return NULL;
3648 }
3649
3650
3651 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3652 PyObject *resultobj;
3653 wxFrame *arg1 = (wxFrame *) 0 ;
3654 wxMenuBar *result;
3655 PyObject * obj0 = 0 ;
3656 char *kwnames[] = {
3657 (char *) "self", NULL
3658 };
3659
3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 {
3671 resultobj = wxPyMake_wxObject(result, 0);
3672 }
3673 return resultobj;
3674 fail:
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxFrame *arg1 = (wxFrame *) 0 ;
3682 int arg2 ;
3683 bool result;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "winid", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 arg2 = (int)SWIG_As_int(obj1);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 result = (bool)(arg1)->ProcessCommand(arg2);
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 {
3703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3704 }
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxFrame *arg1 = (wxFrame *) 0 ;
3714 int arg2 = (int) 1 ;
3715 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3716 int arg4 = (int) 0 ;
3717 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3718 wxString *arg5 = (wxString *) &arg5_defvalue ;
3719 wxStatusBar *result;
3720 bool temp5 = false ;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 PyObject * obj2 = 0 ;
3724 PyObject * obj3 = 0 ;
3725 PyObject * obj4 = 0 ;
3726 char *kwnames[] = {
3727 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3733 if (obj1) {
3734 arg2 = (int)SWIG_As_int(obj1);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 if (obj2) {
3738 arg3 = (long)SWIG_As_long(obj2);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 if (obj3) {
3742 arg4 = (int)SWIG_As_int(obj3);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 if (obj4) {
3746 {
3747 arg5 = wxString_in_helper(obj4);
3748 if (arg5 == NULL) SWIG_fail;
3749 temp5 = true;
3750 }
3751 }
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 {
3760 resultobj = wxPyMake_wxObject(result, 0);
3761 }
3762 {
3763 if (temp5)
3764 delete arg5;
3765 }
3766 return resultobj;
3767 fail:
3768 {
3769 if (temp5)
3770 delete arg5;
3771 }
3772 return NULL;
3773 }
3774
3775
3776 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxFrame *arg1 = (wxFrame *) 0 ;
3779 wxStatusBar *result;
3780 PyObject * obj0 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 {
3796 resultobj = wxPyMake_wxObject(result, 0);
3797 }
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxFrame *arg1 = (wxFrame *) 0 ;
3807 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3808 PyObject * obj0 = 0 ;
3809 PyObject * obj1 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "statBar", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->SetStatusBar(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxFrame *arg1 = (wxFrame *) 0 ;
3836 wxString *arg2 = 0 ;
3837 int arg3 = (int) 0 ;
3838 bool temp2 = false ;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 PyObject * obj2 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self",(char *) "text",(char *) "number", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3849 {
3850 arg2 = wxString_in_helper(obj1);
3851 if (arg2 == NULL) SWIG_fail;
3852 temp2 = true;
3853 }
3854 if (obj2) {
3855 arg3 = (int)SWIG_As_int(obj2);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 }
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 Py_INCREF(Py_None); resultobj = Py_None;
3866 {
3867 if (temp2)
3868 delete arg2;
3869 }
3870 return resultobj;
3871 fail:
3872 {
3873 if (temp2)
3874 delete arg2;
3875 }
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxFrame *arg1 = (wxFrame *) 0 ;
3883 int arg2 ;
3884 int *arg3 = (int *) 0 ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "self",(char *) "widths", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3894 {
3895 arg2 = PyList_Size(obj1);
3896 arg3 = int_LIST_helper(obj1);
3897 if (arg3 == NULL) SWIG_fail;
3898 }
3899 {
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 Py_INCREF(Py_None); resultobj = Py_None;
3907 {
3908 if (arg3) delete [] arg3;
3909 }
3910 return resultobj;
3911 fail:
3912 {
3913 if (arg3) delete [] arg3;
3914 }
3915 return NULL;
3916 }
3917
3918
3919 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj;
3921 wxFrame *arg1 = (wxFrame *) 0 ;
3922 wxString *arg2 = 0 ;
3923 int arg3 = (int) 0 ;
3924 bool temp2 = false ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 PyObject * obj2 = 0 ;
3928 char *kwnames[] = {
3929 (char *) "self",(char *) "text",(char *) "number", NULL
3930 };
3931
3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3935 {
3936 arg2 = wxString_in_helper(obj1);
3937 if (arg2 == NULL) SWIG_fail;
3938 temp2 = true;
3939 }
3940 if (obj2) {
3941 arg3 = (int)SWIG_As_int(obj2);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 Py_INCREF(Py_None); resultobj = Py_None;
3952 {
3953 if (temp2)
3954 delete arg2;
3955 }
3956 return resultobj;
3957 fail:
3958 {
3959 if (temp2)
3960 delete arg2;
3961 }
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxFrame *arg1 = (wxFrame *) 0 ;
3969 int arg2 = (int) 0 ;
3970 PyObject * obj0 = 0 ;
3971 PyObject * obj1 = 0 ;
3972 char *kwnames[] = {
3973 (char *) "self",(char *) "number", NULL
3974 };
3975
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3979 if (obj1) {
3980 arg2 = (int)SWIG_As_int(obj1);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 {
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 (arg1)->PopStatusText(arg2);
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 Py_INCREF(Py_None); resultobj = Py_None;
3991 return resultobj;
3992 fail:
3993 return NULL;
3994 }
3995
3996
3997 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3998 PyObject *resultobj;
3999 wxFrame *arg1 = (wxFrame *) 0 ;
4000 int arg2 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "n", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4010 arg2 = (int)SWIG_As_int(obj1);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 (arg1)->SetStatusBarPane(arg2);
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 Py_INCREF(Py_None); resultobj = Py_None;
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxFrame *arg1 = (wxFrame *) 0 ;
4029 int result;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 resultobj = SWIG_From_int((int)result);
4046 return resultobj;
4047 fail:
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxFrame *arg1 = (wxFrame *) 0 ;
4055 long arg2 = (long) -1 ;
4056 int arg3 = (int) -1 ;
4057 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4058 wxString *arg4 = (wxString *) &arg4_defvalue ;
4059 wxToolBar *result;
4060 bool temp4 = false ;
4061 PyObject * obj0 = 0 ;
4062 PyObject * obj1 = 0 ;
4063 PyObject * obj2 = 0 ;
4064 PyObject * obj3 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4072 if (obj1) {
4073 arg2 = (long)SWIG_As_long(obj1);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 if (obj2) {
4077 arg3 = (int)SWIG_As_int(obj2);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 if (obj3) {
4081 {
4082 arg4 = wxString_in_helper(obj3);
4083 if (arg4 == NULL) SWIG_fail;
4084 temp4 = true;
4085 }
4086 }
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 {
4095 resultobj = wxPyMake_wxObject(result, 0);
4096 }
4097 {
4098 if (temp4)
4099 delete arg4;
4100 }
4101 return resultobj;
4102 fail:
4103 {
4104 if (temp4)
4105 delete arg4;
4106 }
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxFrame *arg1 = (wxFrame *) 0 ;
4114 wxToolBar *result;
4115 PyObject * obj0 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 {
4131 resultobj = wxPyMake_wxObject(result, 0);
4132 }
4133 return resultobj;
4134 fail:
4135 return NULL;
4136 }
4137
4138
4139 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxFrame *arg1 = (wxFrame *) 0 ;
4142 wxToolBar *arg2 = (wxToolBar *) 0 ;
4143 PyObject * obj0 = 0 ;
4144 PyObject * obj1 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "self",(char *) "toolbar", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4154 {
4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
4156 (arg1)->SetToolBar(arg2);
4157
4158 wxPyEndAllowThreads(__tstate);
4159 if (PyErr_Occurred()) SWIG_fail;
4160 }
4161 Py_INCREF(Py_None); resultobj = Py_None;
4162 return resultobj;
4163 fail:
4164 return NULL;
4165 }
4166
4167
4168 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4169 PyObject *resultobj;
4170 wxFrame *arg1 = (wxFrame *) 0 ;
4171 wxString *arg2 = 0 ;
4172 bool arg3 ;
4173 bool temp2 = false ;
4174 PyObject * obj0 = 0 ;
4175 PyObject * obj1 = 0 ;
4176 PyObject * obj2 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "text",(char *) "show", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4184 {
4185 arg2 = wxString_in_helper(obj1);
4186 if (arg2 == NULL) SWIG_fail;
4187 temp2 = true;
4188 }
4189 arg3 = (bool)SWIG_As_bool(obj2);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 Py_INCREF(Py_None); resultobj = Py_None;
4199 {
4200 if (temp2)
4201 delete arg2;
4202 }
4203 return resultobj;
4204 fail:
4205 {
4206 if (temp2)
4207 delete arg2;
4208 }
4209 return NULL;
4210 }
4211
4212
4213 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxFrame *arg1 = (wxFrame *) 0 ;
4216 wxMenu *arg2 = (wxMenu *) NULL ;
4217 PyObject * obj0 = 0 ;
4218 PyObject * obj1 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self",(char *) "menu", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 if (obj1) {
4227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4229 }
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 (arg1)->DoMenuUpdates(arg2);
4233
4234 wxPyEndAllowThreads(__tstate);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
4237 Py_INCREF(Py_None); resultobj = Py_None;
4238 return resultobj;
4239 fail:
4240 return NULL;
4241 }
4242
4243
4244 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4247 wxVisualAttributes result;
4248 PyObject * obj0 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "variant", NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4254 if (obj0) {
4255 arg1 = (int)SWIG_As_int(obj0);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 {
4259 if (!wxPyCheckForApp()) SWIG_fail;
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 {
4267 wxVisualAttributes * resultptr;
4268 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4270 }
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4278 PyObject *obj;
4279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4280 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4281 Py_INCREF(obj);
4282 return Py_BuildValue((char *)"");
4283 }
4284 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj;
4286 wxWindow *arg1 = (wxWindow *) 0 ;
4287 int arg2 = (int) (int)-1 ;
4288 wxString const &arg3_defvalue = wxPyEmptyString ;
4289 wxString *arg3 = (wxString *) &arg3_defvalue ;
4290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4292 wxSize const &arg5_defvalue = wxDefaultSize ;
4293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4294 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4295 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4296 wxString *arg7 = (wxString *) &arg7_defvalue ;
4297 wxDialog *result;
4298 bool temp3 = false ;
4299 wxPoint temp4 ;
4300 wxSize temp5 ;
4301 bool temp7 = false ;
4302 PyObject * obj0 = 0 ;
4303 PyObject * obj1 = 0 ;
4304 PyObject * obj2 = 0 ;
4305 PyObject * obj3 = 0 ;
4306 PyObject * obj4 = 0 ;
4307 PyObject * obj5 = 0 ;
4308 PyObject * obj6 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4316 if (obj1) {
4317 arg2 = (int)SWIG_As_int(obj1);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 if (obj2) {
4321 {
4322 arg3 = wxString_in_helper(obj2);
4323 if (arg3 == NULL) SWIG_fail;
4324 temp3 = true;
4325 }
4326 }
4327 if (obj3) {
4328 {
4329 arg4 = &temp4;
4330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4331 }
4332 }
4333 if (obj4) {
4334 {
4335 arg5 = &temp5;
4336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4337 }
4338 }
4339 if (obj5) {
4340 arg6 = (long)SWIG_As_long(obj5);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 if (obj6) {
4344 {
4345 arg7 = wxString_in_helper(obj6);
4346 if (arg7 == NULL) SWIG_fail;
4347 temp7 = true;
4348 }
4349 }
4350 {
4351 if (!wxPyCheckForApp()) SWIG_fail;
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4359 {
4360 if (temp3)
4361 delete arg3;
4362 }
4363 {
4364 if (temp7)
4365 delete arg7;
4366 }
4367 return resultobj;
4368 fail:
4369 {
4370 if (temp3)
4371 delete arg3;
4372 }
4373 {
4374 if (temp7)
4375 delete arg7;
4376 }
4377 return NULL;
4378 }
4379
4380
4381 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 wxDialog *result;
4384 char *kwnames[] = {
4385 NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4389 {
4390 if (!wxPyCheckForApp()) SWIG_fail;
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = (wxDialog *)new wxDialog();
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4398 return resultobj;
4399 fail:
4400 return NULL;
4401 }
4402
4403
4404 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4405 PyObject *resultobj;
4406 wxDialog *arg1 = (wxDialog *) 0 ;
4407 wxWindow *arg2 = (wxWindow *) 0 ;
4408 int arg3 = (int) (int)-1 ;
4409 wxString const &arg4_defvalue = wxPyEmptyString ;
4410 wxString *arg4 = (wxString *) &arg4_defvalue ;
4411 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4412 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4413 wxSize const &arg6_defvalue = wxDefaultSize ;
4414 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4415 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4416 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4417 wxString *arg8 = (wxString *) &arg8_defvalue ;
4418 bool result;
4419 bool temp4 = false ;
4420 wxPoint temp5 ;
4421 wxSize temp6 ;
4422 bool temp8 = false ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 PyObject * obj2 = 0 ;
4426 PyObject * obj3 = 0 ;
4427 PyObject * obj4 = 0 ;
4428 PyObject * obj5 = 0 ;
4429 PyObject * obj6 = 0 ;
4430 PyObject * obj7 = 0 ;
4431 char *kwnames[] = {
4432 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4440 if (obj2) {
4441 arg3 = (int)SWIG_As_int(obj2);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 if (obj3) {
4445 {
4446 arg4 = wxString_in_helper(obj3);
4447 if (arg4 == NULL) SWIG_fail;
4448 temp4 = true;
4449 }
4450 }
4451 if (obj4) {
4452 {
4453 arg5 = &temp5;
4454 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4455 }
4456 }
4457 if (obj5) {
4458 {
4459 arg6 = &temp6;
4460 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4461 }
4462 }
4463 if (obj6) {
4464 arg7 = (long)SWIG_As_long(obj6);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 if (obj7) {
4468 {
4469 arg8 = wxString_in_helper(obj7);
4470 if (arg8 == NULL) SWIG_fail;
4471 temp8 = true;
4472 }
4473 }
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 {
4482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4483 }
4484 {
4485 if (temp4)
4486 delete arg4;
4487 }
4488 {
4489 if (temp8)
4490 delete arg8;
4491 }
4492 return resultobj;
4493 fail:
4494 {
4495 if (temp4)
4496 delete arg4;
4497 }
4498 {
4499 if (temp8)
4500 delete arg8;
4501 }
4502 return NULL;
4503 }
4504
4505
4506 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxDialog *arg1 = (wxDialog *) 0 ;
4509 int arg2 ;
4510 PyObject * obj0 = 0 ;
4511 PyObject * obj1 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "self",(char *) "returnCode", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4519 arg2 = (int)SWIG_As_int(obj1);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetReturnCode(arg2);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj;
4537 wxDialog *arg1 = (wxDialog *) 0 ;
4538 int result;
4539 PyObject * obj0 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_From_int((int)result);
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxDialog *arg1 = (wxDialog *) 0 ;
4564 wxString *arg2 = 0 ;
4565 wxSizer *result;
4566 bool temp2 = false ;
4567 PyObject * obj0 = 0 ;
4568 PyObject * obj1 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "self",(char *) "message", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4576 {
4577 arg2 = wxString_in_helper(obj1);
4578 if (arg2 == NULL) SWIG_fail;
4579 temp2 = true;
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 {
4589 resultobj = wxPyMake_wxSizer(result, 0);
4590 }
4591 {
4592 if (temp2)
4593 delete arg2;
4594 }
4595 return resultobj;
4596 fail:
4597 {
4598 if (temp2)
4599 delete arg2;
4600 }
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxDialog *arg1 = (wxDialog *) 0 ;
4608 long arg2 ;
4609 wxSizer *result;
4610 PyObject * obj0 = 0 ;
4611 PyObject * obj1 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "self",(char *) "flags", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4619 arg2 = (long)SWIG_As_long(obj1);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 {
4629 resultobj = wxPyMake_wxSizer(result, 0);
4630 }
4631 return resultobj;
4632 fail:
4633 return NULL;
4634 }
4635
4636
4637 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj;
4639 wxDialog *arg1 = (wxDialog *) 0 ;
4640 bool result;
4641 PyObject * obj0 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "self", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (bool)((wxDialog const *)arg1)->IsModal();
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 {
4657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4658 }
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj;
4667 wxDialog *arg1 = (wxDialog *) 0 ;
4668 int result;
4669 PyObject * obj0 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 result = (int)(arg1)->ShowModal();
4680
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 resultobj = SWIG_From_int((int)result);
4685 return resultobj;
4686 fail:
4687 return NULL;
4688 }
4689
4690
4691 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj;
4693 wxDialog *arg1 = (wxDialog *) 0 ;
4694 int arg2 ;
4695 PyObject * obj0 = 0 ;
4696 PyObject * obj1 = 0 ;
4697 char *kwnames[] = {
4698 (char *) "self",(char *) "retCode", NULL
4699 };
4700
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4704 arg2 = (int)SWIG_As_int(obj1);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 {
4707 PyThreadState* __tstate = wxPyBeginAllowThreads();
4708 (arg1)->EndModal(arg2);
4709
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 Py_INCREF(Py_None); resultobj = Py_None;
4714 return resultobj;
4715 fail:
4716 return NULL;
4717 }
4718
4719
4720 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj;
4722 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4723 wxVisualAttributes result;
4724 PyObject * obj0 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "variant", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4730 if (obj0) {
4731 arg1 = (int)SWIG_As_int(obj0);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 {
4735 if (!wxPyCheckForApp()) SWIG_fail;
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 {
4743 wxVisualAttributes * resultptr;
4744 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4746 }
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4754 PyObject *obj;
4755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4756 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4757 Py_INCREF(obj);
4758 return Py_BuildValue((char *)"");
4759 }
4760 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj;
4762 wxWindow *arg1 = (wxWindow *) 0 ;
4763 int arg2 = (int) (int)-1 ;
4764 wxString const &arg3_defvalue = wxPyEmptyString ;
4765 wxString *arg3 = (wxString *) &arg3_defvalue ;
4766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4768 wxSize const &arg5_defvalue = wxDefaultSize ;
4769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4770 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4771 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4772 wxString *arg7 = (wxString *) &arg7_defvalue ;
4773 wxMiniFrame *result;
4774 bool temp3 = false ;
4775 wxPoint temp4 ;
4776 wxSize temp5 ;
4777 bool temp7 = false ;
4778 PyObject * obj0 = 0 ;
4779 PyObject * obj1 = 0 ;
4780 PyObject * obj2 = 0 ;
4781 PyObject * obj3 = 0 ;
4782 PyObject * obj4 = 0 ;
4783 PyObject * obj5 = 0 ;
4784 PyObject * obj6 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4792 if (obj1) {
4793 arg2 = (int)SWIG_As_int(obj1);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 if (obj2) {
4797 {
4798 arg3 = wxString_in_helper(obj2);
4799 if (arg3 == NULL) SWIG_fail;
4800 temp3 = true;
4801 }
4802 }
4803 if (obj3) {
4804 {
4805 arg4 = &temp4;
4806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4807 }
4808 }
4809 if (obj4) {
4810 {
4811 arg5 = &temp5;
4812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4813 }
4814 }
4815 if (obj5) {
4816 arg6 = (long)SWIG_As_long(obj5);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 if (obj6) {
4820 {
4821 arg7 = wxString_in_helper(obj6);
4822 if (arg7 == NULL) SWIG_fail;
4823 temp7 = true;
4824 }
4825 }
4826 {
4827 if (!wxPyCheckForApp()) SWIG_fail;
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4835 {
4836 if (temp3)
4837 delete arg3;
4838 }
4839 {
4840 if (temp7)
4841 delete arg7;
4842 }
4843 return resultobj;
4844 fail:
4845 {
4846 if (temp3)
4847 delete arg3;
4848 }
4849 {
4850 if (temp7)
4851 delete arg7;
4852 }
4853 return NULL;
4854 }
4855
4856
4857 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj;
4859 wxMiniFrame *result;
4860 char *kwnames[] = {
4861 NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4865 {
4866 if (!wxPyCheckForApp()) SWIG_fail;
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = (wxMiniFrame *)new wxMiniFrame();
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4883 wxWindow *arg2 = (wxWindow *) 0 ;
4884 int arg3 = (int) (int)-1 ;
4885 wxString const &arg4_defvalue = wxPyEmptyString ;
4886 wxString *arg4 = (wxString *) &arg4_defvalue ;
4887 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4888 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4889 wxSize const &arg6_defvalue = wxDefaultSize ;
4890 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4891 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4892 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4893 wxString *arg8 = (wxString *) &arg8_defvalue ;
4894 bool result;
4895 bool temp4 = false ;
4896 wxPoint temp5 ;
4897 wxSize temp6 ;
4898 bool temp8 = false ;
4899 PyObject * obj0 = 0 ;
4900 PyObject * obj1 = 0 ;
4901 PyObject * obj2 = 0 ;
4902 PyObject * obj3 = 0 ;
4903 PyObject * obj4 = 0 ;
4904 PyObject * obj5 = 0 ;
4905 PyObject * obj6 = 0 ;
4906 PyObject * obj7 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4916 if (obj2) {
4917 arg3 = (int)SWIG_As_int(obj2);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 if (obj3) {
4921 {
4922 arg4 = wxString_in_helper(obj3);
4923 if (arg4 == NULL) SWIG_fail;
4924 temp4 = true;
4925 }
4926 }
4927 if (obj4) {
4928 {
4929 arg5 = &temp5;
4930 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4931 }
4932 }
4933 if (obj5) {
4934 {
4935 arg6 = &temp6;
4936 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4937 }
4938 }
4939 if (obj6) {
4940 arg7 = (long)SWIG_As_long(obj6);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 if (obj7) {
4944 {
4945 arg8 = wxString_in_helper(obj7);
4946 if (arg8 == NULL) SWIG_fail;
4947 temp8 = true;
4948 }
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 {
4958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4959 }
4960 {
4961 if (temp4)
4962 delete arg4;
4963 }
4964 {
4965 if (temp8)
4966 delete arg8;
4967 }
4968 return resultobj;
4969 fail:
4970 {
4971 if (temp4)
4972 delete arg4;
4973 }
4974 {
4975 if (temp8)
4976 delete arg8;
4977 }
4978 return NULL;
4979 }
4980
4981
4982 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4983 PyObject *obj;
4984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4985 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4986 Py_INCREF(obj);
4987 return Py_BuildValue((char *)"");
4988 }
4989 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxBitmap *arg1 = 0 ;
4992 wxWindow *arg2 = (wxWindow *) 0 ;
4993 int arg3 ;
4994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4996 wxSize const &arg5_defvalue = wxDefaultSize ;
4997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4998 long arg6 = (long) wxNO_BORDER ;
4999 wxSplashScreenWindow *result;
5000 wxPoint temp4 ;
5001 wxSize temp5 ;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 PyObject * obj2 = 0 ;
5005 PyObject * obj3 = 0 ;
5006 PyObject * obj4 = 0 ;
5007 PyObject * obj5 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5014 SWIG_POINTER_EXCEPTION | 0)) == -1)
5015 SWIG_fail;
5016 if (arg1 == NULL) {
5017 PyErr_SetString(PyExc_TypeError,"null reference");
5018 SWIG_fail;
5019 }
5020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5022 arg3 = (int)SWIG_As_int(obj2);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 if (obj3) {
5025 {
5026 arg4 = &temp4;
5027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5028 }
5029 }
5030 if (obj4) {
5031 {
5032 arg5 = &temp5;
5033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5034 }
5035 }
5036 if (obj5) {
5037 arg6 = (long)SWIG_As_long(obj5);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 {
5041 if (!wxPyCheckForApp()) SWIG_fail;
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5058 wxBitmap *arg2 = 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "bitmap", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5069 SWIG_POINTER_EXCEPTION | 0)) == -1)
5070 SWIG_fail;
5071 if (arg2 == NULL) {
5072 PyErr_SetString(PyExc_TypeError,"null reference");
5073 SWIG_fail;
5074 }
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 Py_INCREF(Py_None); resultobj = Py_None;
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5092 wxBitmap *result;
5093 PyObject * obj0 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 {
5104 wxBitmap &_result_ref = (arg1)->GetBitmap();
5105 result = (wxBitmap *) &_result_ref;
5106 }
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 wxBitmap* resultptr = new wxBitmap(*result);
5113 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5114 }
5115 return resultobj;
5116 fail:
5117 return NULL;
5118 }
5119
5120
5121 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5122 PyObject *obj;
5123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5124 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5125 Py_INCREF(obj);
5126 return Py_BuildValue((char *)"");
5127 }
5128 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj;
5130 wxBitmap *arg1 = 0 ;
5131 long arg2 ;
5132 int arg3 ;
5133 wxWindow *arg4 = (wxWindow *) 0 ;
5134 int arg5 = (int) -1 ;
5135 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5136 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5137 wxSize const &arg7_defvalue = wxDefaultSize ;
5138 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5139 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5140 wxSplashScreen *result;
5141 wxPoint temp6 ;
5142 wxSize temp7 ;
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
5145 PyObject * obj2 = 0 ;
5146 PyObject * obj3 = 0 ;
5147 PyObject * obj4 = 0 ;
5148 PyObject * obj5 = 0 ;
5149 PyObject * obj6 = 0 ;
5150 PyObject * obj7 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5157 SWIG_POINTER_EXCEPTION | 0)) == -1)
5158 SWIG_fail;
5159 if (arg1 == NULL) {
5160 PyErr_SetString(PyExc_TypeError,"null reference");
5161 SWIG_fail;
5162 }
5163 arg2 = (long)SWIG_As_long(obj1);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 arg3 = (int)SWIG_As_int(obj2);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5169 if (obj4) {
5170 arg5 = (int)SWIG_As_int(obj4);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 if (obj5) {
5174 {
5175 arg6 = &temp6;
5176 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5177 }
5178 }
5179 if (obj6) {
5180 {
5181 arg7 = &temp7;
5182 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5183 }
5184 }
5185 if (obj7) {
5186 arg8 = (long)SWIG_As_long(obj7);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 {
5190 if (!wxPyCheckForApp()) SWIG_fail;
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5198 return resultobj;
5199 fail:
5200 return NULL;
5201 }
5202
5203
5204 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5205 PyObject *resultobj;
5206 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5207 long result;
5208 PyObject * obj0 = 0 ;
5209 char *kwnames[] = {
5210 (char *) "self", NULL
5211 };
5212
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 resultobj = SWIG_From_long((long)result);
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5233 wxSplashScreenWindow *result;
5234 PyObject * obj0 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5250 return resultobj;
5251 fail:
5252 return NULL;
5253 }
5254
5255
5256 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj;
5258 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5259 int result;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 resultobj = SWIG_From_int((int)result);
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5283 PyObject *obj;
5284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5285 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5286 Py_INCREF(obj);
5287 return Py_BuildValue((char *)"");
5288 }
5289 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxWindow *arg1 = (wxWindow *) 0 ;
5292 int arg2 = (int) -1 ;
5293 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5294 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5295 wxString *arg4 = (wxString *) &arg4_defvalue ;
5296 wxStatusBar *result;
5297 bool temp4 = false ;
5298 PyObject * obj0 = 0 ;
5299 PyObject * obj1 = 0 ;
5300 PyObject * obj2 = 0 ;
5301 PyObject * obj3 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5309 if (obj1) {
5310 arg2 = (int)SWIG_As_int(obj1);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 if (obj2) {
5314 arg3 = (long)SWIG_As_long(obj2);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 if (obj3) {
5318 {
5319 arg4 = wxString_in_helper(obj3);
5320 if (arg4 == NULL) SWIG_fail;
5321 temp4 = true;
5322 }
5323 }
5324 {
5325 if (!wxPyCheckForApp()) SWIG_fail;
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5333 {
5334 if (temp4)
5335 delete arg4;
5336 }
5337 return resultobj;
5338 fail:
5339 {
5340 if (temp4)
5341 delete arg4;
5342 }
5343 return NULL;
5344 }
5345
5346
5347 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 wxStatusBar *result;
5350 char *kwnames[] = {
5351 NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5355 {
5356 if (!wxPyCheckForApp()) SWIG_fail;
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 result = (wxStatusBar *)new wxStatusBar();
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5364 return resultobj;
5365 fail:
5366 return NULL;
5367 }
5368
5369
5370 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj;
5372 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5373 wxWindow *arg2 = (wxWindow *) 0 ;
5374 int arg3 = (int) -1 ;
5375 long arg4 = (long) wxST_SIZEGRIP ;
5376 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5377 wxString *arg5 = (wxString *) &arg5_defvalue ;
5378 bool result;
5379 bool temp5 = false ;
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
5382 PyObject * obj2 = 0 ;
5383 PyObject * obj3 = 0 ;
5384 PyObject * obj4 = 0 ;
5385 char *kwnames[] = {
5386 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5387 };
5388
5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5394 if (obj2) {
5395 arg3 = (int)SWIG_As_int(obj2);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 if (obj3) {
5399 arg4 = (long)SWIG_As_long(obj3);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 if (obj4) {
5403 {
5404 arg5 = wxString_in_helper(obj4);
5405 if (arg5 == NULL) SWIG_fail;
5406 temp5 = true;
5407 }
5408 }
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5418 }
5419 {
5420 if (temp5)
5421 delete arg5;
5422 }
5423 return resultobj;
5424 fail:
5425 {
5426 if (temp5)
5427 delete arg5;
5428 }
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5436 int arg2 = (int) 1 ;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self",(char *) "number", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5446 if (obj1) {
5447 arg2 = (int)SWIG_As_int(obj1);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->SetFieldsCount(arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5467 int result;
5468 PyObject * obj0 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "self", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 resultobj = SWIG_From_int((int)result);
5484 return resultobj;
5485 fail:
5486 return NULL;
5487 }
5488
5489
5490 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5491 PyObject *resultobj;
5492 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5493 wxString *arg2 = 0 ;
5494 int arg3 = (int) 0 ;
5495 bool temp2 = false ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 PyObject * obj2 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "text",(char *) "number", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 {
5507 arg2 = wxString_in_helper(obj1);
5508 if (arg2 == NULL) SWIG_fail;
5509 temp2 = true;
5510 }
5511 if (obj2) {
5512 arg3 = (int)SWIG_As_int(obj2);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 Py_INCREF(Py_None); resultobj = Py_None;
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return resultobj;
5528 fail:
5529 {
5530 if (temp2)
5531 delete arg2;
5532 }
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj;
5539 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5540 int arg2 = (int) 0 ;
5541 wxString result;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self",(char *) "number", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5551 if (obj1) {
5552 arg2 = (int)SWIG_As_int(obj1);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 #if wxUSE_UNICODE
5564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5565 #else
5566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5567 #endif
5568 }
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5578 wxString *arg2 = 0 ;
5579 int arg3 = (int) 0 ;
5580 bool temp2 = false ;
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj1 = 0 ;
5583 PyObject * obj2 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self",(char *) "text",(char *) "number", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5591 {
5592 arg2 = wxString_in_helper(obj1);
5593 if (arg2 == NULL) SWIG_fail;
5594 temp2 = true;
5595 }
5596 if (obj2) {
5597 arg3 = (int)SWIG_As_int(obj2);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 Py_INCREF(Py_None); resultobj = Py_None;
5608 {
5609 if (temp2)
5610 delete arg2;
5611 }
5612 return resultobj;
5613 fail:
5614 {
5615 if (temp2)
5616 delete arg2;
5617 }
5618 return NULL;
5619 }
5620
5621
5622 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5625 int arg2 = (int) 0 ;
5626 PyObject * obj0 = 0 ;
5627 PyObject * obj1 = 0 ;
5628 char *kwnames[] = {
5629 (char *) "self",(char *) "number", NULL
5630 };
5631
5632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5635 if (obj1) {
5636 arg2 = (int)SWIG_As_int(obj1);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->PopStatusText(arg2);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5656 int arg2 ;
5657 int *arg3 = (int *) 0 ;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "widths", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5667 {
5668 arg2 = PyList_Size(obj1);
5669 arg3 = int_LIST_helper(obj1);
5670 if (arg3 == NULL) SWIG_fail;
5671 }
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 Py_INCREF(Py_None); resultobj = Py_None;
5680 {
5681 if (arg3) delete [] arg3;
5682 }
5683 return resultobj;
5684 fail:
5685 {
5686 if (arg3) delete [] arg3;
5687 }
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5695 int arg2 ;
5696 int *arg3 = (int *) 0 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self",(char *) "styles", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5706 {
5707 arg2 = PyList_Size(obj1);
5708 arg3 = int_LIST_helper(obj1);
5709 if (arg3 == NULL) SWIG_fail;
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 Py_INCREF(Py_None); resultobj = Py_None;
5719 {
5720 if (arg3) delete [] arg3;
5721 }
5722 return resultobj;
5723 fail:
5724 {
5725 if (arg3) delete [] arg3;
5726 }
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5734 int arg2 ;
5735 wxRect result;
5736 PyObject * obj0 = 0 ;
5737 PyObject * obj1 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self",(char *) "i", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5745 arg2 = (int)SWIG_As_int(obj1);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 {
5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
5749 result = wxStatusBar_GetFieldRect(arg1,arg2);
5750
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 {
5755 wxRect * resultptr;
5756 resultptr = new wxRect((wxRect &) result);
5757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5758 }
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5768 int arg2 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "height", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5778 arg2 = (int)SWIG_As_int(obj1);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 (arg1)->SetMinHeight(arg2);
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 Py_INCREF(Py_None); resultobj = Py_None;
5788 return resultobj;
5789 fail:
5790 return NULL;
5791 }
5792
5793
5794 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5795 PyObject *resultobj;
5796 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5797 int result;
5798 PyObject * obj0 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 resultobj = SWIG_From_int((int)result);
5814 return resultobj;
5815 fail:
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5823 int result;
5824 PyObject * obj0 = 0 ;
5825 char *kwnames[] = {
5826 (char *) "self", NULL
5827 };
5828
5829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 resultobj = SWIG_From_int((int)result);
5840 return resultobj;
5841 fail:
5842 return NULL;
5843 }
5844
5845
5846 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj;
5848 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5849 wxVisualAttributes result;
5850 PyObject * obj0 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "variant", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5856 if (obj0) {
5857 arg1 = (int)SWIG_As_int(obj0);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 {
5861 if (!wxPyCheckForApp()) SWIG_fail;
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 {
5869 wxVisualAttributes * resultptr;
5870 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5872 }
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5880 PyObject *obj;
5881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5882 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5883 Py_INCREF(obj);
5884 return Py_BuildValue((char *)"");
5885 }
5886 static int _wrap_SplitterNameStr_set(PyObject *) {
5887 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5888 return 1;
5889 }
5890
5891
5892 static PyObject *_wrap_SplitterNameStr_get() {
5893 PyObject *pyobj;
5894
5895 {
5896 #if wxUSE_UNICODE
5897 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5898 #else
5899 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5900 #endif
5901 }
5902 return pyobj;
5903 }
5904
5905
5906 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxWindow *arg1 = (wxWindow *) 0 ;
5909 int arg2 = (int) -1 ;
5910 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5911 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5912 wxSize const &arg4_defvalue = wxDefaultSize ;
5913 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5914 long arg5 = (long) wxSP_3D ;
5915 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5916 wxString *arg6 = (wxString *) &arg6_defvalue ;
5917 wxSplitterWindow *result;
5918 wxPoint temp3 ;
5919 wxSize temp4 ;
5920 bool temp6 = false ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 PyObject * obj2 = 0 ;
5924 PyObject * obj3 = 0 ;
5925 PyObject * obj4 = 0 ;
5926 PyObject * obj5 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5934 if (obj1) {
5935 arg2 = (int)SWIG_As_int(obj1);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 if (obj2) {
5939 {
5940 arg3 = &temp3;
5941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5942 }
5943 }
5944 if (obj3) {
5945 {
5946 arg4 = &temp4;
5947 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5948 }
5949 }
5950 if (obj4) {
5951 arg5 = (long)SWIG_As_long(obj4);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 if (obj5) {
5955 {
5956 arg6 = wxString_in_helper(obj5);
5957 if (arg6 == NULL) SWIG_fail;
5958 temp6 = true;
5959 }
5960 }
5961 {
5962 if (!wxPyCheckForApp()) SWIG_fail;
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5970 {
5971 if (temp6)
5972 delete arg6;
5973 }
5974 return resultobj;
5975 fail:
5976 {
5977 if (temp6)
5978 delete arg6;
5979 }
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxSplitterWindow *result;
5987 char *kwnames[] = {
5988 NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5992 {
5993 if (!wxPyCheckForApp()) SWIG_fail;
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (wxSplitterWindow *)new wxSplitterWindow();
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6001 return resultobj;
6002 fail:
6003 return NULL;
6004 }
6005
6006
6007 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6010 wxWindow *arg2 = (wxWindow *) 0 ;
6011 int arg3 = (int) -1 ;
6012 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6013 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6014 wxSize const &arg5_defvalue = wxDefaultSize ;
6015 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6016 long arg6 = (long) wxSP_3D ;
6017 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6018 wxString *arg7 = (wxString *) &arg7_defvalue ;
6019 bool result;
6020 wxPoint temp4 ;
6021 wxSize temp5 ;
6022 bool temp7 = false ;
6023 PyObject * obj0 = 0 ;
6024 PyObject * obj1 = 0 ;
6025 PyObject * obj2 = 0 ;
6026 PyObject * obj3 = 0 ;
6027 PyObject * obj4 = 0 ;
6028 PyObject * obj5 = 0 ;
6029 PyObject * obj6 = 0 ;
6030 char *kwnames[] = {
6031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6032 };
6033
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6039 if (obj2) {
6040 arg3 = (int)SWIG_As_int(obj2);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 if (obj3) {
6044 {
6045 arg4 = &temp4;
6046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6047 }
6048 }
6049 if (obj4) {
6050 {
6051 arg5 = &temp5;
6052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6053 }
6054 }
6055 if (obj5) {
6056 arg6 = (long)SWIG_As_long(obj5);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 if (obj6) {
6060 {
6061 arg7 = wxString_in_helper(obj6);
6062 if (arg7 == NULL) SWIG_fail;
6063 temp7 = true;
6064 }
6065 }
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 {
6074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6075 }
6076 {
6077 if (temp7)
6078 delete arg7;
6079 }
6080 return resultobj;
6081 fail:
6082 {
6083 if (temp7)
6084 delete arg7;
6085 }
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6093 wxWindow *result;
6094 PyObject * obj0 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 {
6110 resultobj = wxPyMake_wxObject(result, 0);
6111 }
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6121 wxWindow *result;
6122 PyObject * obj0 = 0 ;
6123 char *kwnames[] = {
6124 (char *) "self", NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 {
6138 resultobj = wxPyMake_wxObject(result, 0);
6139 }
6140 return resultobj;
6141 fail:
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6149 int arg2 ;
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "mode", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6159 arg2 = (int)SWIG_As_int(obj1);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 (arg1)->SetSplitMode(arg2);
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 Py_INCREF(Py_None); resultobj = Py_None;
6169 return resultobj;
6170 fail:
6171 return NULL;
6172 }
6173
6174
6175 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6178 int result;
6179 PyObject * obj0 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "self", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6190
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 resultobj = SWIG_From_int((int)result);
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6204 wxWindow *arg2 = (wxWindow *) 0 ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self",(char *) "window", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 (arg1)->Initialize(arg2);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 Py_INCREF(Py_None); resultobj = Py_None;
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6233 wxWindow *arg2 = (wxWindow *) 0 ;
6234 wxWindow *arg3 = (wxWindow *) 0 ;
6235 int arg4 = (int) 0 ;
6236 bool result;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 PyObject * obj2 = 0 ;
6240 PyObject * obj3 = 0 ;
6241 char *kwnames[] = {
6242 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6243 };
6244
6245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6250 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6252 if (obj3) {
6253 arg4 = (int)SWIG_As_int(obj3);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 {
6264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6265 }
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6275 wxWindow *arg2 = (wxWindow *) 0 ;
6276 wxWindow *arg3 = (wxWindow *) 0 ;
6277 int arg4 = (int) 0 ;
6278 bool result;
6279 PyObject * obj0 = 0 ;
6280 PyObject * obj1 = 0 ;
6281 PyObject * obj2 = 0 ;
6282 PyObject * obj3 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6285 };
6286
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6292 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6294 if (obj3) {
6295 arg4 = (int)SWIG_As_int(obj3);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 {
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6301
6302 wxPyEndAllowThreads(__tstate);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 {
6306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6307 }
6308 return resultobj;
6309 fail:
6310 return NULL;
6311 }
6312
6313
6314 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6317 wxWindow *arg2 = (wxWindow *) NULL ;
6318 bool result;
6319 PyObject * obj0 = 0 ;
6320 PyObject * obj1 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self",(char *) "toRemove", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6328 if (obj1) {
6329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6331 }
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (bool)(arg1)->Unsplit(arg2);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 {
6340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6341 }
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6351 wxWindow *arg2 = (wxWindow *) 0 ;
6352 wxWindow *arg3 = (wxWindow *) 0 ;
6353 bool result;
6354 PyObject * obj0 = 0 ;
6355 PyObject * obj1 = 0 ;
6356 PyObject * obj2 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6366 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 {
6376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6377 }
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 (arg1)->UpdateSize();
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 Py_INCREF(Py_None); resultobj = Py_None;
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6410 PyObject *resultobj;
6411 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6412 bool result;
6413 PyObject * obj0 = 0 ;
6414 char *kwnames[] = {
6415 (char *) "self", NULL
6416 };
6417
6418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 {
6429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6430 }
6431 return resultobj;
6432 fail:
6433 return NULL;
6434 }
6435
6436
6437 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6440 int arg2 ;
6441 PyObject * obj0 = 0 ;
6442 PyObject * obj1 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self",(char *) "width", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6450 arg2 = (int)SWIG_As_int(obj1);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 (arg1)->SetSashSize(arg2);
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 Py_INCREF(Py_None); resultobj = Py_None;
6460 return resultobj;
6461 fail:
6462 return NULL;
6463 }
6464
6465
6466 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6467 PyObject *resultobj;
6468 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6469 int arg2 ;
6470 PyObject * obj0 = 0 ;
6471 PyObject * obj1 = 0 ;
6472 char *kwnames[] = {
6473 (char *) "self",(char *) "width", NULL
6474 };
6475
6476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6479 arg2 = (int)SWIG_As_int(obj1);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 (arg1)->SetBorderSize(arg2);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 Py_INCREF(Py_None); resultobj = Py_None;
6489 return resultobj;
6490 fail:
6491 return NULL;
6492 }
6493
6494
6495 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6498 int result;
6499 PyObject * obj0 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 resultobj = SWIG_From_int((int)result);
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj;
6523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6524 int result;
6525 PyObject * obj0 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 resultobj = SWIG_From_int((int)result);
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj;
6549 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6550 int arg2 ;
6551 bool arg3 = (bool) true ;
6552 PyObject * obj0 = 0 ;
6553 PyObject * obj1 = 0 ;
6554 PyObject * obj2 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self",(char *) "position",(char *) "redraw", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6562 arg2 = (int)SWIG_As_int(obj1);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 if (obj2) {
6565 arg3 = (bool)SWIG_As_bool(obj2);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 (arg1)->SetSashPosition(arg2,arg3);
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 Py_INCREF(Py_None); resultobj = Py_None;
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6585 int result;
6586 PyObject * obj0 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 resultobj = SWIG_From_int((int)result);
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6611 int arg2 ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self",(char *) "min", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6621 arg2 = (int)SWIG_As_int(obj1);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 (arg1)->SetMinimumPaneSize(arg2);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6640 int result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = SWIG_From_int((int)result);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6666 int arg2 ;
6667 int arg3 ;
6668 int arg4 = (int) 5 ;
6669 bool result;
6670 PyObject * obj0 = 0 ;
6671 PyObject * obj1 = 0 ;
6672 PyObject * obj2 = 0 ;
6673 PyObject * obj3 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6681 arg2 = (int)SWIG_As_int(obj1);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 arg3 = (int)SWIG_As_int(obj2);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 if (obj3) {
6686 arg4 = (int)SWIG_As_int(obj3);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6692
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 {
6697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6698 }
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "self", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 (arg1)->SizeWindows();
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 Py_INCREF(Py_None); resultobj = Py_None;
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6733 bool arg2 ;
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self",(char *) "needUpdating", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6743 arg2 = (bool)SWIG_As_bool(obj1);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 (arg1)->SetNeedUpdating(arg2);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 Py_INCREF(Py_None); resultobj = Py_None;
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6762 bool result;
6763 PyObject * obj0 = 0 ;
6764 char *kwnames[] = {
6765 (char *) "self", NULL
6766 };
6767
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 {
6779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6780 }
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6790 wxVisualAttributes result;
6791 PyObject * obj0 = 0 ;
6792 char *kwnames[] = {
6793 (char *) "variant", NULL
6794 };
6795
6796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6797 if (obj0) {
6798 arg1 = (int)SWIG_As_int(obj0);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 {
6802 if (!wxPyCheckForApp()) SWIG_fail;
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 {
6810 wxVisualAttributes * resultptr;
6811 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6813 }
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6821 PyObject *obj;
6822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6824 Py_INCREF(obj);
6825 return Py_BuildValue((char *)"");
6826 }
6827 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6830 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6831 wxSplitterEvent *result;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "type",(char *) "splitter", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6839 if (obj0) {
6840 arg1 = (wxEventType)SWIG_As_int(obj0);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 if (obj1) {
6844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6846 }
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6864 int arg2 ;
6865 PyObject * obj0 = 0 ;
6866 PyObject * obj1 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "pos", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6874 arg2 = (int)SWIG_As_int(obj1);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 {
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 (arg1)->SetSashPosition(arg2);
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 Py_INCREF(Py_None); resultobj = Py_None;
6884 return resultobj;
6885 fail:
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6893 int result;
6894 PyObject * obj0 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "self", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 resultobj = SWIG_From_int((int)result);
6910 return resultobj;
6911 fail:
6912 return NULL;
6913 }
6914
6915
6916 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6917 PyObject *resultobj;
6918 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6919 wxWindow *result;
6920 PyObject * obj0 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 {
6936 resultobj = wxPyMake_wxObject(result, 0);
6937 }
6938 return resultobj;
6939 fail:
6940 return NULL;
6941 }
6942
6943
6944 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj;
6946 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6947 int result;
6948 PyObject * obj0 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = SWIG_From_int((int)result);
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6973 int result;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 resultobj = SWIG_From_int((int)result);
6990 return resultobj;
6991 fail:
6992 return NULL;
6993 }
6994
6995
6996 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6997 PyObject *obj;
6998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6999 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7000 Py_INCREF(obj);
7001 return Py_BuildValue((char *)"");
7002 }
7003 static int _wrap_SashNameStr_set(PyObject *) {
7004 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7005 return 1;
7006 }
7007
7008
7009 static PyObject *_wrap_SashNameStr_get() {
7010 PyObject *pyobj;
7011
7012 {
7013 #if wxUSE_UNICODE
7014 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7015 #else
7016 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7017 #endif
7018 }
7019 return pyobj;
7020 }
7021
7022
7023 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7024 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7025 return 1;
7026 }
7027
7028
7029 static PyObject *_wrap_SashLayoutNameStr_get() {
7030 PyObject *pyobj;
7031
7032 {
7033 #if wxUSE_UNICODE
7034 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7035 #else
7036 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7037 #endif
7038 }
7039 return pyobj;
7040 }
7041
7042
7043 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxWindow *arg1 = (wxWindow *) 0 ;
7046 int arg2 = (int) -1 ;
7047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7049 wxSize const &arg4_defvalue = wxDefaultSize ;
7050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7051 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7052 wxString const &arg6_defvalue = wxPySashNameStr ;
7053 wxString *arg6 = (wxString *) &arg6_defvalue ;
7054 wxSashWindow *result;
7055 wxPoint temp3 ;
7056 wxSize temp4 ;
7057 bool temp6 = false ;
7058 PyObject * obj0 = 0 ;
7059 PyObject * obj1 = 0 ;
7060 PyObject * obj2 = 0 ;
7061 PyObject * obj3 = 0 ;
7062 PyObject * obj4 = 0 ;
7063 PyObject * obj5 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7071 if (obj1) {
7072 arg2 = (int)SWIG_As_int(obj1);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 if (obj2) {
7076 {
7077 arg3 = &temp3;
7078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7079 }
7080 }
7081 if (obj3) {
7082 {
7083 arg4 = &temp4;
7084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7085 }
7086 }
7087 if (obj4) {
7088 arg5 = (long)SWIG_As_long(obj4);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 if (obj5) {
7092 {
7093 arg6 = wxString_in_helper(obj5);
7094 if (arg6 == NULL) SWIG_fail;
7095 temp6 = true;
7096 }
7097 }
7098 {
7099 if (!wxPyCheckForApp()) SWIG_fail;
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7102
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
7106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7107 {
7108 if (temp6)
7109 delete arg6;
7110 }
7111 return resultobj;
7112 fail:
7113 {
7114 if (temp6)
7115 delete arg6;
7116 }
7117 return NULL;
7118 }
7119
7120
7121 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7122 PyObject *resultobj;
7123 wxSashWindow *result;
7124 char *kwnames[] = {
7125 NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7129 {
7130 if (!wxPyCheckForApp()) SWIG_fail;
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 result = (wxSashWindow *)new wxSashWindow();
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7147 wxWindow *arg2 = (wxWindow *) 0 ;
7148 int arg3 = (int) -1 ;
7149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7151 wxSize const &arg5_defvalue = wxDefaultSize ;
7152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7153 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7154 wxString const &arg7_defvalue = wxPySashNameStr ;
7155 wxString *arg7 = (wxString *) &arg7_defvalue ;
7156 bool result;
7157 wxPoint temp4 ;
7158 wxSize temp5 ;
7159 bool temp7 = false ;
7160 PyObject * obj0 = 0 ;
7161 PyObject * obj1 = 0 ;
7162 PyObject * obj2 = 0 ;
7163 PyObject * obj3 = 0 ;
7164 PyObject * obj4 = 0 ;
7165 PyObject * obj5 = 0 ;
7166 PyObject * obj6 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 if (obj2) {
7177 arg3 = (int)SWIG_As_int(obj2);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 if (obj3) {
7181 {
7182 arg4 = &temp4;
7183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7184 }
7185 }
7186 if (obj4) {
7187 {
7188 arg5 = &temp5;
7189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7190 }
7191 }
7192 if (obj5) {
7193 arg6 = (long)SWIG_As_long(obj5);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 if (obj6) {
7197 {
7198 arg7 = wxString_in_helper(obj6);
7199 if (arg7 == NULL) SWIG_fail;
7200 temp7 = true;
7201 }
7202 }
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 {
7211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7212 }
7213 {
7214 if (temp7)
7215 delete arg7;
7216 }
7217 return resultobj;
7218 fail:
7219 {
7220 if (temp7)
7221 delete arg7;
7222 }
7223 return NULL;
7224 }
7225
7226
7227 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj;
7229 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7230 int arg2 ;
7231 bool arg3 ;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 PyObject * obj2 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "self",(char *) "edge",(char *) "sash", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (bool)SWIG_As_bool(obj2);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 Py_INCREF(Py_None); resultobj = Py_None;
7254 return resultobj;
7255 fail:
7256 return NULL;
7257 }
7258
7259
7260 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj;
7262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7263 int arg2 ;
7264 bool result;
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
7267 char *kwnames[] = {
7268 (char *) "self",(char *) "edge", NULL
7269 };
7270
7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7274 arg2 = (int)SWIG_As_int(obj1);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 {
7284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7285 }
7286 return resultobj;
7287 fail:
7288 return NULL;
7289 }
7290
7291
7292 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7295 int arg2 ;
7296 bool arg3 ;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 PyObject * obj2 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "edge",(char *) "border", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (bool)SWIG_As_bool(obj2);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 Py_INCREF(Py_None); resultobj = Py_None;
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7328 int arg2 ;
7329 bool 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_HasBorder",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 = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 {
7349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7350 }
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7360 int arg2 ;
7361 int result;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self",(char *) "edge", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7371 arg2 = (int)SWIG_As_int(obj1);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 resultobj = SWIG_From_int((int)result);
7381 return resultobj;
7382 fail:
7383 return NULL;
7384 }
7385
7386
7387 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7390 int arg2 ;
7391 PyObject * obj0 = 0 ;
7392 PyObject * obj1 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self",(char *) "width", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 arg2 = (int)SWIG_As_int(obj1);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetDefaultBorderSize(arg2);
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 Py_INCREF(Py_None); resultobj = Py_None;
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7419 int result;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 resultobj = SWIG_From_int((int)result);
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7445 int arg2 ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "width", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7455 arg2 = (int)SWIG_As_int(obj1);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 (arg1)->SetExtraBorderSize(arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 Py_INCREF(Py_None); resultobj = Py_None;
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7474 int result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = SWIG_From_int((int)result);
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj;
7499 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7500 int arg2 ;
7501 PyObject * obj0 = 0 ;
7502 PyObject * obj1 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self",(char *) "min", NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7510 arg2 = (int)SWIG_As_int(obj1);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 (arg1)->SetMinimumSizeX(arg2);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7529 int arg2 ;
7530 PyObject * obj0 = 0 ;
7531 PyObject * obj1 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self",(char *) "min", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7539 arg2 = (int)SWIG_As_int(obj1);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 (arg1)->SetMinimumSizeY(arg2);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 Py_INCREF(Py_None); resultobj = Py_None;
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7558 int result;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 resultobj = SWIG_From_int((int)result);
7575 return resultobj;
7576 fail:
7577 return NULL;
7578 }
7579
7580
7581 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7584 int result;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 resultobj = SWIG_From_int((int)result);
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7610 int arg2 ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "max", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7620 arg2 = (int)SWIG_As_int(obj1);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->SetMaximumSizeX(arg2);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7639 int arg2 ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self",(char *) "max", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7649 arg2 = (int)SWIG_As_int(obj1);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 (arg1)->SetMaximumSizeY(arg2);
7654
7655 wxPyEndAllowThreads(__tstate);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 Py_INCREF(Py_None); resultobj = Py_None;
7659 return resultobj;
7660 fail:
7661 return NULL;
7662 }
7663
7664
7665 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7668 int result;
7669 PyObject * obj0 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_From_int((int)result);
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7694 int result;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = SWIG_From_int((int)result);
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7720 int arg2 ;
7721 int arg3 ;
7722 int arg4 = (int) 2 ;
7723 int result;
7724 PyObject * obj0 = 0 ;
7725 PyObject * obj1 = 0 ;
7726 PyObject * obj2 = 0 ;
7727 PyObject * obj3 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7735 arg2 = (int)SWIG_As_int(obj1);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 arg3 = (int)SWIG_As_int(obj2);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 if (obj3) {
7740 arg4 = (int)SWIG_As_int(obj3);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 resultobj = SWIG_From_int((int)result);
7751 return resultobj;
7752 fail:
7753 return NULL;
7754 }
7755
7756
7757 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7760 PyObject * obj0 = 0 ;
7761 char *kwnames[] = {
7762 (char *) "self", NULL
7763 };
7764
7765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 (arg1)->SizeWindows();
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 return resultobj;
7777 fail:
7778 return NULL;
7779 }
7780
7781
7782 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7783 PyObject *obj;
7784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7785 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7786 Py_INCREF(obj);
7787 return Py_BuildValue((char *)"");
7788 }
7789 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 int arg1 = (int) 0 ;
7792 int arg2 = (int) wxSASH_NONE ;
7793 wxSashEvent *result;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "id",(char *) "edge", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7801 if (obj0) {
7802 arg1 = (int)SWIG_As_int(obj0);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 if (obj1) {
7806 arg2 = (int)SWIG_As_int(obj1);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7826 int arg2 ;
7827 PyObject * obj0 = 0 ;
7828 PyObject * obj1 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "edge", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7836 arg2 = (int)SWIG_As_int(obj1);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7855 int result;
7856 PyObject * obj0 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 resultobj = SWIG_From_int((int)result);
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7881 wxRect *arg2 = 0 ;
7882 wxRect temp2 ;
7883 PyObject * obj0 = 0 ;
7884 PyObject * obj1 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self",(char *) "rect", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 {
7893 arg2 = &temp2;
7894 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7895 }
7896 {
7897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7898 (arg1)->SetDragRect((wxRect const &)*arg2);
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 Py_INCREF(Py_None); resultobj = Py_None;
7904 return resultobj;
7905 fail:
7906 return NULL;
7907 }
7908
7909
7910 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7911 PyObject *resultobj;
7912 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7913 wxRect result;
7914 PyObject * obj0 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = ((wxSashEvent const *)arg1)->GetDragRect();
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 {
7930 wxRect * resultptr;
7931 resultptr = new wxRect((wxRect &) result);
7932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7933 }
7934 return resultobj;
7935 fail:
7936 return NULL;
7937 }
7938
7939
7940 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj;
7942 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7943 int arg2 ;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 char *kwnames[] = {
7947 (char *) "self",(char *) "status", NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7953 arg2 = (int)SWIG_As_int(obj1);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 Py_INCREF(Py_None); resultobj = Py_None;
7963 return resultobj;
7964 fail:
7965 return NULL;
7966 }
7967
7968
7969 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7970 PyObject *resultobj;
7971 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7972 int result;
7973 PyObject * obj0 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7981 {
7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7983 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7984
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 resultobj = SWIG_From_int((int)result);
7989 return resultobj;
7990 fail:
7991 return NULL;
7992 }
7993
7994
7995 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7996 PyObject *obj;
7997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7998 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7999 Py_INCREF(obj);
8000 return Py_BuildValue((char *)"");
8001 }
8002 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8003 PyObject *resultobj;
8004 int arg1 = (int) 0 ;
8005 wxQueryLayoutInfoEvent *result;
8006 PyObject * obj0 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "id", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8012 if (obj0) {
8013 arg1 = (int)SWIG_As_int(obj0);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8033 int arg2 ;
8034 PyObject * obj0 = 0 ;
8035 PyObject * obj1 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "self",(char *) "length", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8043 arg2 = (int)SWIG_As_int(obj1);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 (arg1)->SetRequestedLength(arg2);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 Py_INCREF(Py_None); resultobj = Py_None;
8053 return resultobj;
8054 fail:
8055 return NULL;
8056 }
8057
8058
8059 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8062 int result;
8063 PyObject * obj0 = 0 ;
8064 char *kwnames[] = {
8065 (char *) "self", NULL
8066 };
8067
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 resultobj = SWIG_From_int((int)result);
8079 return resultobj;
8080 fail:
8081 return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj;
8087 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8088 int arg2 ;
8089 PyObject * obj0 = 0 ;
8090 PyObject * obj1 = 0 ;
8091 char *kwnames[] = {
8092 (char *) "self",(char *) "flags", NULL
8093 };
8094
8095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8098 arg2 = (int)SWIG_As_int(obj1);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 (arg1)->SetFlags(arg2);
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 Py_INCREF(Py_None); resultobj = Py_None;
8108 return resultobj;
8109 fail:
8110 return NULL;
8111 }
8112
8113
8114 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8115 PyObject *resultobj;
8116 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8117 int result;
8118 PyObject * obj0 = 0 ;
8119 char *kwnames[] = {
8120 (char *) "self", NULL
8121 };
8122
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 resultobj = SWIG_From_int((int)result);
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8143 wxSize *arg2 = 0 ;
8144 wxSize temp2 ;
8145 PyObject * obj0 = 0 ;
8146 PyObject * obj1 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self",(char *) "size", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8154 {
8155 arg2 = &temp2;
8156 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8157 }
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 (arg1)->SetSize((wxSize const &)*arg2);
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 Py_INCREF(Py_None); resultobj = Py_None;
8166 return resultobj;
8167 fail:
8168 return NULL;
8169 }
8170
8171
8172 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8175 wxSize result;
8176 PyObject * obj0 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 {
8192 wxSize * resultptr;
8193 resultptr = new wxSize((wxSize &) result);
8194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8195 }
8196 return resultobj;
8197 fail:
8198 return NULL;
8199 }
8200
8201
8202 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8205 int arg2 ;
8206 PyObject * obj0 = 0 ;
8207 PyObject * obj1 = 0 ;
8208 char *kwnames[] = {
8209 (char *) "self",(char *) "orient", NULL
8210 };
8211
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8215 arg2 = (int)SWIG_As_int(obj1);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8234 int result;
8235 PyObject * obj0 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 resultobj = SWIG_From_int((int)result);
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj;
8259 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8260 int arg2 ;
8261 PyObject * obj0 = 0 ;
8262 PyObject * obj1 = 0 ;
8263 char *kwnames[] = {
8264 (char *) "self",(char *) "align", NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8270 arg2 = (int)SWIG_As_int(obj1);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 Py_INCREF(Py_None); resultobj = Py_None;
8280 return resultobj;
8281 fail:
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8289 int result;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 resultobj = SWIG_From_int((int)result);
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8313 PyObject *obj;
8314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8315 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8316 Py_INCREF(obj);
8317 return Py_BuildValue((char *)"");
8318 }
8319 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 int arg1 = (int) 0 ;
8322 wxCalculateLayoutEvent *result;
8323 PyObject * obj0 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "id", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8329 if (obj0) {
8330 arg1 = (int)SWIG_As_int(obj0);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8350 int arg2 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self",(char *) "flags", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8360 arg2 = (int)SWIG_As_int(obj1);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 (arg1)->SetFlags(arg2);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 Py_INCREF(Py_None); resultobj = Py_None;
8370 return resultobj;
8371 fail:
8372 return NULL;
8373 }
8374
8375
8376 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8379 int result;
8380 PyObject * obj0 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = SWIG_From_int((int)result);
8396 return resultobj;
8397 fail:
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj;
8404 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8405 wxRect *arg2 = 0 ;
8406 wxRect temp2 ;
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self",(char *) "rect", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8416 {
8417 arg2 = &temp2;
8418 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 (arg1)->SetRect((wxRect const &)*arg2);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 Py_INCREF(Py_None); resultobj = Py_None;
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8437 wxRect result;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 {
8454 wxRect * resultptr;
8455 resultptr = new wxRect((wxRect &) result);
8456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8457 }
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8465 PyObject *obj;
8466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8468 Py_INCREF(obj);
8469 return Py_BuildValue((char *)"");
8470 }
8471 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxWindow *arg1 = (wxWindow *) 0 ;
8474 int arg2 = (int) -1 ;
8475 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8476 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8477 wxSize const &arg4_defvalue = wxDefaultSize ;
8478 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8479 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8480 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8481 wxString *arg6 = (wxString *) &arg6_defvalue ;
8482 wxSashLayoutWindow *result;
8483 wxPoint temp3 ;
8484 wxSize temp4 ;
8485 bool temp6 = false ;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 PyObject * obj2 = 0 ;
8489 PyObject * obj3 = 0 ;
8490 PyObject * obj4 = 0 ;
8491 PyObject * obj5 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8499 if (obj1) {
8500 arg2 = (int)SWIG_As_int(obj1);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 if (obj2) {
8504 {
8505 arg3 = &temp3;
8506 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8507 }
8508 }
8509 if (obj3) {
8510 {
8511 arg4 = &temp4;
8512 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8513 }
8514 }
8515 if (obj4) {
8516 arg5 = (long)SWIG_As_long(obj4);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 if (obj5) {
8520 {
8521 arg6 = wxString_in_helper(obj5);
8522 if (arg6 == NULL) SWIG_fail;
8523 temp6 = true;
8524 }
8525 }
8526 {
8527 if (!wxPyCheckForApp()) SWIG_fail;
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8535 {
8536 if (temp6)
8537 delete arg6;
8538 }
8539 return resultobj;
8540 fail:
8541 {
8542 if (temp6)
8543 delete arg6;
8544 }
8545 return NULL;
8546 }
8547
8548
8549 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxSashLayoutWindow *result;
8552 char *kwnames[] = {
8553 NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8557 {
8558 if (!wxPyCheckForApp()) SWIG_fail;
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8575 wxWindow *arg2 = (wxWindow *) 0 ;
8576 int arg3 = (int) -1 ;
8577 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8578 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8579 wxSize const &arg5_defvalue = wxDefaultSize ;
8580 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8581 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8582 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8583 wxString *arg7 = (wxString *) &arg7_defvalue ;
8584 bool result;
8585 wxPoint temp4 ;
8586 wxSize temp5 ;
8587 bool temp7 = false ;
8588 PyObject * obj0 = 0 ;
8589 PyObject * obj1 = 0 ;
8590 PyObject * obj2 = 0 ;
8591 PyObject * obj3 = 0 ;
8592 PyObject * obj4 = 0 ;
8593 PyObject * obj5 = 0 ;
8594 PyObject * obj6 = 0 ;
8595 char *kwnames[] = {
8596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8604 if (obj2) {
8605 arg3 = (int)SWIG_As_int(obj2);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 if (obj3) {
8609 {
8610 arg4 = &temp4;
8611 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8612 }
8613 }
8614 if (obj4) {
8615 {
8616 arg5 = &temp5;
8617 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8618 }
8619 }
8620 if (obj5) {
8621 arg6 = (long)SWIG_As_long(obj5);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 if (obj6) {
8625 {
8626 arg7 = wxString_in_helper(obj6);
8627 if (arg7 == NULL) SWIG_fail;
8628 temp7 = true;
8629 }
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 {
8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8640 }
8641 {
8642 if (temp7)
8643 delete arg7;
8644 }
8645 return resultobj;
8646 fail:
8647 {
8648 if (temp7)
8649 delete arg7;
8650 }
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8658 int result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (int)(arg1)->GetAlignment();
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 resultobj = SWIG_From_int((int)result);
8675 return resultobj;
8676 fail:
8677 return NULL;
8678 }
8679
8680
8681 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8682 PyObject *resultobj;
8683 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8684 int result;
8685 PyObject * obj0 = 0 ;
8686 char *kwnames[] = {
8687 (char *) "self", NULL
8688 };
8689
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (int)(arg1)->GetOrientation();
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_From_int((int)result);
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8710 int arg2 ;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self",(char *) "alignment", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8720 arg2 = (int)SWIG_As_int(obj1);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->SetAlignment((wxLayoutAlignment )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_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8739 wxSize *arg2 = 0 ;
8740 wxSize temp2 ;
8741 PyObject * obj0 = 0 ;
8742 PyObject * obj1 = 0 ;
8743 char *kwnames[] = {
8744 (char *) "self",(char *) "size", NULL
8745 };
8746
8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8750 {
8751 arg2 = &temp2;
8752 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8771 int arg2 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self",(char *) "orientation", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8781 arg2 = (int)SWIG_As_int(obj1);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 Py_INCREF(Py_None); resultobj = Py_None;
8791 return resultobj;
8792 fail:
8793 return NULL;
8794 }
8795
8796
8797 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8798 PyObject *obj;
8799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8800 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8801 Py_INCREF(obj);
8802 return Py_BuildValue((char *)"");
8803 }
8804 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxLayoutAlgorithm *result;
8807 char *kwnames[] = {
8808 NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8829 PyObject * obj0 = 0 ;
8830 char *kwnames[] = {
8831 (char *) "self", NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 delete arg1;
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 Py_INCREF(Py_None); resultobj = Py_None;
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8854 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8855 wxRect *arg3 = (wxRect *) NULL ;
8856 bool result;
8857 PyObject * obj0 = 0 ;
8858 PyObject * obj1 = 0 ;
8859 PyObject * obj2 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self",(char *) "frame",(char *) "rect", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8869 if (obj2) {
8870 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 {
8881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8882 }
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8892 wxFrame *arg2 = (wxFrame *) 0 ;
8893 wxWindow *arg3 = (wxWindow *) NULL ;
8894 bool result;
8895 PyObject * obj0 = 0 ;
8896 PyObject * obj1 = 0 ;
8897 PyObject * obj2 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8907 if (obj2) {
8908 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 {
8919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8920 }
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8930 wxWindow *arg2 = (wxWindow *) 0 ;
8931 wxWindow *arg3 = (wxWindow *) NULL ;
8932 bool result;
8933 PyObject * obj0 = 0 ;
8934 PyObject * obj1 = 0 ;
8935 PyObject * obj2 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8945 if (obj2) {
8946 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 }
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
8951 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 {
8957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8958 }
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8966 PyObject *obj;
8967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8968 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8969 Py_INCREF(obj);
8970 return Py_BuildValue((char *)"");
8971 }
8972 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxWindow *arg1 = (wxWindow *) 0 ;
8975 int arg2 = (int) wxBORDER_NONE ;
8976 wxPopupWindow *result;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "parent",(char *) "flags", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8986 if (obj1) {
8987 arg2 = (int)SWIG_As_int(obj1);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 {
8991 if (!wxPyCheckForApp()) SWIG_fail;
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxPopupWindow *result;
9008 char *kwnames[] = {
9009 NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9013 {
9014 if (!wxPyCheckForApp()) SWIG_fail;
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (wxPopupWindow *)new wxPopupWindow();
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9022 return resultobj;
9023 fail:
9024 return NULL;
9025 }
9026
9027
9028 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj;
9030 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9031 wxWindow *arg2 = (wxWindow *) 0 ;
9032 int arg3 = (int) wxBORDER_NONE ;
9033 bool result;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 PyObject * obj2 = 0 ;
9037 char *kwnames[] = {
9038 (char *) "self",(char *) "parent",(char *) "flags", NULL
9039 };
9040
9041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 if (obj2) {
9047 arg3 = (int)SWIG_As_int(obj2);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (bool)(arg1)->Create(arg2,arg3);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 {
9058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9059 }
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj;
9068 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9069 wxPoint *arg2 = 0 ;
9070 wxSize *arg3 = 0 ;
9071 wxPoint temp2 ;
9072 wxSize temp3 ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 PyObject * obj2 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9083 {
9084 arg2 = &temp2;
9085 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9086 }
9087 {
9088 arg3 = &temp3;
9089 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 Py_INCREF(Py_None); resultobj = Py_None;
9099 return resultobj;
9100 fail:
9101 return NULL;
9102 }
9103
9104
9105 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9106 PyObject *obj;
9107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9108 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9109 Py_INCREF(obj);
9110 return Py_BuildValue((char *)"");
9111 }
9112 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxWindow *arg1 = (wxWindow *) 0 ;
9115 int arg2 = (int) wxBORDER_NONE ;
9116 wxPyPopupTransientWindow *result;
9117 PyObject * obj0 = 0 ;
9118 PyObject * obj1 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "parent",(char *) "style", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9126 if (obj1) {
9127 arg2 = (int)SWIG_As_int(obj1);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 {
9131 if (!wxPyCheckForApp()) SWIG_fail;
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxPyPopupTransientWindow *result;
9148 char *kwnames[] = {
9149 NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9153 {
9154 if (!wxPyCheckForApp()) SWIG_fail;
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9171 PyObject *arg2 = (PyObject *) 0 ;
9172 PyObject *arg3 = (PyObject *) 0 ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 PyObject * obj2 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "self",(char *) "_class", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9183 arg2 = obj1;
9184 arg3 = obj2;
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 (arg1)->_setCallbackInfo(arg2,arg3);
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 Py_INCREF(Py_None); resultobj = Py_None;
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9202 wxWindow *arg2 = (wxWindow *) NULL ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "focus", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9212 if (obj1) {
9213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->Popup(arg2);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 Py_INCREF(Py_None); resultobj = Py_None;
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 (arg1)->Dismiss();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 Py_INCREF(Py_None); resultobj = Py_None;
9249 return resultobj;
9250 fail:
9251 return NULL;
9252 }
9253
9254
9255 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9256 PyObject *obj;
9257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9258 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9259 Py_INCREF(obj);
9260 return Py_BuildValue((char *)"");
9261 }
9262 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj;
9264 wxWindow *arg1 = (wxWindow *) 0 ;
9265 wxString *arg2 = 0 ;
9266 int arg3 = (int) 100 ;
9267 wxRect *arg4 = (wxRect *) NULL ;
9268 wxTipWindow *result;
9269 bool temp2 = false ;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 PyObject * obj2 = 0 ;
9273 PyObject * obj3 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9281 {
9282 arg2 = wxString_in_helper(obj1);
9283 if (arg2 == NULL) SWIG_fail;
9284 temp2 = true;
9285 }
9286 if (obj2) {
9287 arg3 = (int)SWIG_As_int(obj2);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 if (obj3) {
9291 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9293 }
9294 {
9295 if (!wxPyCheckForApp()) SWIG_fail;
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9303 {
9304 if (temp2)
9305 delete arg2;
9306 }
9307 return resultobj;
9308 fail:
9309 {
9310 if (temp2)
9311 delete arg2;
9312 }
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9320 wxRect *arg2 = 0 ;
9321 wxRect temp2 ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self",(char *) "rectBound", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9331 {
9332 arg2 = &temp2;
9333 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 return resultobj;
9344 fail:
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9352 PyObject * obj0 = 0 ;
9353 char *kwnames[] = {
9354 (char *) "self", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 (arg1)->Close();
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 Py_INCREF(Py_None); resultobj = Py_None;
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9375 PyObject *obj;
9376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9377 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9378 Py_INCREF(obj);
9379 return Py_BuildValue((char *)"");
9380 }
9381 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxWindow *arg1 = (wxWindow *) 0 ;
9384 int arg2 = (int) wxID_ANY ;
9385 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9386 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9387 wxSize const &arg4_defvalue = wxDefaultSize ;
9388 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9389 long arg5 = (long) 0 ;
9390 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9391 wxString *arg6 = (wxString *) &arg6_defvalue ;
9392 wxPyVScrolledWindow *result;
9393 wxPoint temp3 ;
9394 wxSize temp4 ;
9395 bool temp6 = false ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
9399 PyObject * obj3 = 0 ;
9400 PyObject * obj4 = 0 ;
9401 PyObject * obj5 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9409 if (obj1) {
9410 arg2 = (int)SWIG_As_int(obj1);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 if (obj2) {
9414 {
9415 arg3 = &temp3;
9416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9417 }
9418 }
9419 if (obj3) {
9420 {
9421 arg4 = &temp4;
9422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9423 }
9424 }
9425 if (obj4) {
9426 arg5 = (long)SWIG_As_long(obj4);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 if (obj5) {
9430 {
9431 arg6 = wxString_in_helper(obj5);
9432 if (arg6 == NULL) SWIG_fail;
9433 temp6 = true;
9434 }
9435 }
9436 {
9437 if (!wxPyCheckForApp()) SWIG_fail;
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9445 {
9446 if (temp6)
9447 delete arg6;
9448 }
9449 return resultobj;
9450 fail:
9451 {
9452 if (temp6)
9453 delete arg6;
9454 }
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxPyVScrolledWindow *result;
9462 char *kwnames[] = {
9463 NULL
9464 };
9465
9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9467 {
9468 if (!wxPyCheckForApp()) SWIG_fail;
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9483 PyObject *resultobj;
9484 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9485 PyObject *arg2 = (PyObject *) 0 ;
9486 PyObject *arg3 = (PyObject *) 0 ;
9487 PyObject * obj0 = 0 ;
9488 PyObject * obj1 = 0 ;
9489 PyObject * obj2 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self",(char *) "self",(char *) "_class", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9497 arg2 = obj1;
9498 arg3 = obj2;
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 (arg1)->_setCallbackInfo(arg2,arg3);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 Py_INCREF(Py_None); resultobj = Py_None;
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9516 wxWindow *arg2 = (wxWindow *) 0 ;
9517 int arg3 = (int) wxID_ANY ;
9518 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9519 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9520 wxSize const &arg5_defvalue = wxDefaultSize ;
9521 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9522 long arg6 = (long) 0 ;
9523 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9524 wxString *arg7 = (wxString *) &arg7_defvalue ;
9525 bool result;
9526 wxPoint temp4 ;
9527 wxSize temp5 ;
9528 bool temp7 = false ;
9529 PyObject * obj0 = 0 ;
9530 PyObject * obj1 = 0 ;
9531 PyObject * obj2 = 0 ;
9532 PyObject * obj3 = 0 ;
9533 PyObject * obj4 = 0 ;
9534 PyObject * obj5 = 0 ;
9535 PyObject * obj6 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9545 if (obj2) {
9546 arg3 = (int)SWIG_As_int(obj2);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 if (obj3) {
9550 {
9551 arg4 = &temp4;
9552 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9553 }
9554 }
9555 if (obj4) {
9556 {
9557 arg5 = &temp5;
9558 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9559 }
9560 }
9561 if (obj5) {
9562 arg6 = (long)SWIG_As_long(obj5);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 if (obj6) {
9566 {
9567 arg7 = wxString_in_helper(obj6);
9568 if (arg7 == NULL) SWIG_fail;
9569 temp7 = true;
9570 }
9571 }
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 {
9580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9581 }
9582 {
9583 if (temp7)
9584 delete arg7;
9585 }
9586 return resultobj;
9587 fail:
9588 {
9589 if (temp7)
9590 delete arg7;
9591 }
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9599 size_t arg2 ;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "count", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9609 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetLineCount(arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9628 size_t arg2 ;
9629 bool result;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "line", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",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 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 result = (bool)(arg1)->ScrollToLine(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_ScrollLines(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 *) "lines", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",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)->ScrollLines(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_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9692 int arg2 ;
9693 bool result;
9694 PyObject * obj0 = 0 ;
9695 PyObject * obj1 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self",(char *) "pages", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9703 arg2 = (int)SWIG_As_int(obj1);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (bool)(arg1)->ScrollPages(arg2);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 {
9713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9714 }
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9724 size_t arg2 ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self",(char *) "line", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9734 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 (arg1)->RefreshLine(arg2);
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 Py_INCREF(Py_None); resultobj = Py_None;
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9753 size_t arg2 ;
9754 size_t arg3 ;
9755 PyObject * obj0 = 0 ;
9756 PyObject * obj1 = 0 ;
9757 PyObject * obj2 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "from",(char *) "to", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9765 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 (arg1)->RefreshLines(arg2,arg3);
9772
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 Py_INCREF(Py_None); resultobj = Py_None;
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj;
9785 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9786 int arg2 ;
9787 int arg3 ;
9788 int result;
9789 PyObject * obj0 = 0 ;
9790 PyObject * obj1 = 0 ;
9791 PyObject * obj2 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self",(char *) "x",(char *) "y", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9799 arg2 = (int)SWIG_As_int(obj1);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 arg3 = (int)SWIG_As_int(obj2);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = SWIG_From_int((int)result);
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9820 wxPoint *arg2 = 0 ;
9821 int result;
9822 wxPoint temp2 ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 char *kwnames[] = {
9826 (char *) "self",(char *) "pt", NULL
9827 };
9828
9829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9832 {
9833 arg2 = &temp2;
9834 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9835 }
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 resultobj = SWIG_From_int((int)result);
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj;
9852 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9853 PyObject * obj0 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 (arg1)->RefreshAll();
9864
9865 wxPyEndAllowThreads(__tstate);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 Py_INCREF(Py_None); resultobj = Py_None;
9869 return resultobj;
9870 fail:
9871 return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9878 size_t result;
9879 PyObject * obj0 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9904 size_t result;
9905 PyObject * obj0 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9921 return resultobj;
9922 fail:
9923 return NULL;
9924 }
9925
9926
9927 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9930 size_t result;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9956 size_t arg2 ;
9957 bool result;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "line", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9967 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 {
9977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9978 }
9979 return resultobj;
9980 fail:
9981 return NULL;
9982 }
9983
9984
9985 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9986 PyObject *obj;
9987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9988 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9989 Py_INCREF(obj);
9990 return Py_BuildValue((char *)"");
9991 }
9992 static int _wrap_VListBoxNameStr_set(PyObject *) {
9993 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9994 return 1;
9995 }
9996
9997
9998 static PyObject *_wrap_VListBoxNameStr_get() {
9999 PyObject *pyobj;
10000
10001 {
10002 #if wxUSE_UNICODE
10003 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10004 #else
10005 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10006 #endif
10007 }
10008 return pyobj;
10009 }
10010
10011
10012 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxWindow *arg1 = (wxWindow *) 0 ;
10015 int arg2 = (int) wxID_ANY ;
10016 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10017 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10018 wxSize const &arg4_defvalue = wxDefaultSize ;
10019 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10020 long arg5 = (long) 0 ;
10021 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10022 wxString *arg6 = (wxString *) &arg6_defvalue ;
10023 wxPyVListBox *result;
10024 wxPoint temp3 ;
10025 wxSize temp4 ;
10026 bool temp6 = false ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 PyObject * obj2 = 0 ;
10030 PyObject * obj3 = 0 ;
10031 PyObject * obj4 = 0 ;
10032 PyObject * obj5 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10040 if (obj1) {
10041 arg2 = (int)SWIG_As_int(obj1);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 if (obj2) {
10045 {
10046 arg3 = &temp3;
10047 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10048 }
10049 }
10050 if (obj3) {
10051 {
10052 arg4 = &temp4;
10053 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10054 }
10055 }
10056 if (obj4) {
10057 arg5 = (long)SWIG_As_long(obj4);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 if (obj5) {
10061 {
10062 arg6 = wxString_in_helper(obj5);
10063 if (arg6 == NULL) SWIG_fail;
10064 temp6 = true;
10065 }
10066 }
10067 {
10068 if (!wxPyCheckForApp()) SWIG_fail;
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10076 {
10077 if (temp6)
10078 delete arg6;
10079 }
10080 return resultobj;
10081 fail:
10082 {
10083 if (temp6)
10084 delete arg6;
10085 }
10086 return NULL;
10087 }
10088
10089
10090 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxPyVListBox *result;
10093 char *kwnames[] = {
10094 NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10098 {
10099 if (!wxPyCheckForApp()) SWIG_fail;
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (wxPyVListBox *)new wxPyVListBox();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10116 PyObject *arg2 = (PyObject *) 0 ;
10117 PyObject *arg3 = (PyObject *) 0 ;
10118 PyObject * obj0 = 0 ;
10119 PyObject * obj1 = 0 ;
10120 PyObject * obj2 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self",(char *) "self",(char *) "_class", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 arg2 = obj1;
10129 arg3 = obj2;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 (arg1)->_setCallbackInfo(arg2,arg3);
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 Py_INCREF(Py_None); resultobj = Py_None;
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10147 wxWindow *arg2 = (wxWindow *) 0 ;
10148 int arg3 = (int) wxID_ANY ;
10149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10151 wxSize const &arg5_defvalue = wxDefaultSize ;
10152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10153 long arg6 = (long) 0 ;
10154 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10155 wxString *arg7 = (wxString *) &arg7_defvalue ;
10156 bool result;
10157 wxPoint temp4 ;
10158 wxSize temp5 ;
10159 bool temp7 = false ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj1 = 0 ;
10162 PyObject * obj2 = 0 ;
10163 PyObject * obj3 = 0 ;
10164 PyObject * obj4 = 0 ;
10165 PyObject * obj5 = 0 ;
10166 PyObject * obj6 = 0 ;
10167 char *kwnames[] = {
10168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10169 };
10170
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10176 if (obj2) {
10177 arg3 = (int)SWIG_As_int(obj2);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 if (obj3) {
10181 {
10182 arg4 = &temp4;
10183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10184 }
10185 }
10186 if (obj4) {
10187 {
10188 arg5 = &temp5;
10189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10190 }
10191 }
10192 if (obj5) {
10193 arg6 = (long)SWIG_As_long(obj5);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 if (obj6) {
10197 {
10198 arg7 = wxString_in_helper(obj6);
10199 if (arg7 == NULL) SWIG_fail;
10200 temp7 = true;
10201 }
10202 }
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 {
10211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10212 }
10213 {
10214 if (temp7)
10215 delete arg7;
10216 }
10217 return resultobj;
10218 fail:
10219 {
10220 if (temp7)
10221 delete arg7;
10222 }
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10230 size_t result;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10256 bool result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 {
10273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10274 }
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10284 int result;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 resultobj = SWIG_From_int((int)result);
10301 return resultobj;
10302 fail:
10303 return NULL;
10304 }
10305
10306
10307 static PyObject *_wrap_VListBox_IsCurrent(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_IsCurrent",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)->IsCurrent(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_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10342 size_t arg2 ;
10343 bool result;
10344 PyObject * obj0 = 0 ;
10345 PyObject * obj1 = 0 ;
10346 char *kwnames[] = {
10347 (char *) "self",(char *) "item", NULL
10348 };
10349
10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10353 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 {
10363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10364 }
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10374 size_t result;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10398 PyObject *resultobj;
10399 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10400 PyObject *result;
10401 PyObject * obj0 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = result;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10426 unsigned long arg2 ;
10427 PyObject *result;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self",(char *) "cookie", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10437 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 resultobj = result;
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10456 wxPoint result;
10457 PyObject * obj0 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = ((wxPyVListBox const *)arg1)->GetMargins();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 {
10473 wxPoint * resultptr;
10474 resultptr = new wxPoint((wxPoint &) result);
10475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10476 }
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10486 wxColour *result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 {
10498 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10499 result = (wxColour *) &_result_ref;
10500 }
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10515 size_t arg2 ;
10516 PyObject * obj0 = 0 ;
10517 PyObject * obj1 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self",(char *) "count", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10525 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 (arg1)->SetItemCount(arg2);
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 Py_INCREF(Py_None); resultobj = Py_None;
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 (arg1)->Clear();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10569 int arg2 ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "selection", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10579 arg2 = (int)SWIG_As_int(obj1);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 (arg1)->SetSelection(arg2);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10598 size_t arg2 ;
10599 bool arg3 = (bool) true ;
10600 bool result;
10601 PyObject * obj0 = 0 ;
10602 PyObject * obj1 = 0 ;
10603 PyObject * obj2 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self",(char *) "item",(char *) "select", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10611 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 if (obj2) {
10614 arg3 = (bool)SWIG_As_bool(obj2);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (bool)(arg1)->Select(arg2,arg3);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 {
10625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10626 }
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10636 size_t arg2 ;
10637 size_t arg3 ;
10638 bool result;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 PyObject * obj2 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "from",(char *) "to", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10649 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = (bool)(arg1)->SelectRange(arg2,arg3);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 {
10661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10662 }
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10672 size_t arg2 ;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self",(char *) "item", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 (arg1)->Toggle(arg2);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 Py_INCREF(Py_None); resultobj = Py_None;
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj;
10700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10701 bool result;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (bool)(arg1)->SelectAll();
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 {
10718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10719 }
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10729 bool result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (bool)(arg1)->DeselectAll();
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 {
10746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10747 }
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10757 wxPoint *arg2 = 0 ;
10758 wxPoint temp2 ;
10759 PyObject * obj0 = 0 ;
10760 PyObject * obj1 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self",(char *) "pt", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10768 {
10769 arg2 = &temp2;
10770 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10771 }
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 (arg1)->SetMargins((wxPoint const &)*arg2);
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10789 int arg2 ;
10790 int arg3 ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 PyObject * obj2 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "x",(char *) "y", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10801 arg2 = (int)SWIG_As_int(obj1);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 arg3 = (int)SWIG_As_int(obj2);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->SetMargins(arg2,arg3);
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 *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10822 wxColour *arg2 = 0 ;
10823 wxColour temp2 ;
10824 PyObject * obj0 = 0 ;
10825 PyObject * obj1 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self",(char *) "col", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10833 {
10834 arg2 = &temp2;
10835 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10836 }
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 Py_INCREF(Py_None); resultobj = Py_None;
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10852 PyObject *obj;
10853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10854 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10855 Py_INCREF(obj);
10856 return Py_BuildValue((char *)"");
10857 }
10858 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxWindow *arg1 = (wxWindow *) 0 ;
10861 int arg2 = (int) wxID_ANY ;
10862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10864 wxSize const &arg4_defvalue = wxDefaultSize ;
10865 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10866 long arg5 = (long) 0 ;
10867 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10868 wxString *arg6 = (wxString *) &arg6_defvalue ;
10869 wxPyHtmlListBox *result;
10870 wxPoint temp3 ;
10871 wxSize temp4 ;
10872 bool temp6 = false ;
10873 PyObject * obj0 = 0 ;
10874 PyObject * obj1 = 0 ;
10875 PyObject * obj2 = 0 ;
10876 PyObject * obj3 = 0 ;
10877 PyObject * obj4 = 0 ;
10878 PyObject * obj5 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10886 if (obj1) {
10887 arg2 = (int)SWIG_As_int(obj1);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 if (obj2) {
10891 {
10892 arg3 = &temp3;
10893 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10894 }
10895 }
10896 if (obj3) {
10897 {
10898 arg4 = &temp4;
10899 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10900 }
10901 }
10902 if (obj4) {
10903 arg5 = (long)SWIG_As_long(obj4);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 if (obj5) {
10907 {
10908 arg6 = wxString_in_helper(obj5);
10909 if (arg6 == NULL) SWIG_fail;
10910 temp6 = true;
10911 }
10912 }
10913 {
10914 if (!wxPyCheckForApp()) SWIG_fail;
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10922 {
10923 if (temp6)
10924 delete arg6;
10925 }
10926 return resultobj;
10927 fail:
10928 {
10929 if (temp6)
10930 delete arg6;
10931 }
10932 return NULL;
10933 }
10934
10935
10936 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj;
10938 wxPyHtmlListBox *result;
10939 char *kwnames[] = {
10940 NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10944 {
10945 if (!wxPyCheckForApp()) SWIG_fail;
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10953 return resultobj;
10954 fail:
10955 return NULL;
10956 }
10957
10958
10959 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10962 PyObject *arg2 = (PyObject *) 0 ;
10963 PyObject *arg3 = (PyObject *) 0 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self",(char *) "self",(char *) "_class", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10974 arg2 = obj1;
10975 arg3 = obj2;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 (arg1)->_setCallbackInfo(arg2,arg3);
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 Py_INCREF(Py_None); resultobj = Py_None;
10984 return resultobj;
10985 fail:
10986 return NULL;
10987 }
10988
10989
10990 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10993 wxWindow *arg2 = (wxWindow *) 0 ;
10994 int arg3 = (int) wxID_ANY ;
10995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10997 wxSize const &arg5_defvalue = wxDefaultSize ;
10998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10999 long arg6 = (long) 0 ;
11000 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11001 wxString *arg7 = (wxString *) &arg7_defvalue ;
11002 bool result;
11003 wxPoint temp4 ;
11004 wxSize temp5 ;
11005 bool temp7 = false ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 PyObject * obj2 = 0 ;
11009 PyObject * obj3 = 0 ;
11010 PyObject * obj4 = 0 ;
11011 PyObject * obj5 = 0 ;
11012 PyObject * obj6 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11022 if (obj2) {
11023 arg3 = (int)SWIG_As_int(obj2);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 if (obj3) {
11027 {
11028 arg4 = &temp4;
11029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11030 }
11031 }
11032 if (obj4) {
11033 {
11034 arg5 = &temp5;
11035 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11036 }
11037 }
11038 if (obj5) {
11039 arg6 = (long)SWIG_As_long(obj5);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 if (obj6) {
11043 {
11044 arg7 = wxString_in_helper(obj6);
11045 if (arg7 == NULL) SWIG_fail;
11046 temp7 = true;
11047 }
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 {
11057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11058 }
11059 {
11060 if (temp7)
11061 delete arg7;
11062 }
11063 return resultobj;
11064 fail:
11065 {
11066 if (temp7)
11067 delete arg7;
11068 }
11069 return NULL;
11070 }
11071
11072
11073 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj;
11075 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11076 PyObject * obj0 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 (arg1)->RefreshAll();
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 return resultobj;
11093 fail:
11094 return NULL;
11095 }
11096
11097
11098 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11101 size_t arg2 ;
11102 PyObject * obj0 = 0 ;
11103 PyObject * obj1 = 0 ;
11104 char *kwnames[] = {
11105 (char *) "self",(char *) "count", NULL
11106 };
11107
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11111 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 (arg1)->SetItemCount(arg2);
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 Py_INCREF(Py_None); resultobj = Py_None;
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj;
11129 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11130 wxFileSystem *result;
11131 PyObject * obj0 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 {
11142 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11143 result = (wxFileSystem *) &_result_ref;
11144 }
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11157 PyObject *obj;
11158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11159 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11160 Py_INCREF(obj);
11161 return Py_BuildValue((char *)"");
11162 }
11163 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj;
11165 wxPyTaskBarIcon *result;
11166 char *kwnames[] = {
11167 NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11171 {
11172 if (!wxPyCheckForApp()) SWIG_fail;
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11189 PyObject *arg2 = (PyObject *) 0 ;
11190 PyObject *arg3 = (PyObject *) 0 ;
11191 int arg4 ;
11192 PyObject * obj0 = 0 ;
11193 PyObject * obj1 = 0 ;
11194 PyObject * obj2 = 0 ;
11195 PyObject * obj3 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11203 arg2 = obj1;
11204 arg3 = obj2;
11205 arg4 = (int)SWIG_As_int(obj3);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
11210
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 Py_INCREF(Py_None); resultobj = Py_None;
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj;
11223 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 wxPyTaskBarIcon_Destroy(arg1);
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 Py_INCREF(Py_None); resultobj = Py_None;
11240 return resultobj;
11241 fail:
11242 return NULL;
11243 }
11244
11245
11246 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11249 bool result;
11250 PyObject * obj0 = 0 ;
11251 char *kwnames[] = {
11252 (char *) "self", NULL
11253 };
11254
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 {
11266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11267 }
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11277 bool result;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 {
11294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11295 }
11296 return resultobj;
11297 fail:
11298 return NULL;
11299 }
11300
11301
11302 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11303 PyObject *resultobj;
11304 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11305 wxIcon *arg2 = 0 ;
11306 wxString const &arg3_defvalue = wxPyEmptyString ;
11307 wxString *arg3 = (wxString *) &arg3_defvalue ;
11308 bool result;
11309 bool temp3 = false ;
11310 PyObject * obj0 = 0 ;
11311 PyObject * obj1 = 0 ;
11312 PyObject * obj2 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1)
11322 SWIG_fail;
11323 if (arg2 == NULL) {
11324 PyErr_SetString(PyExc_TypeError,"null reference");
11325 SWIG_fail;
11326 }
11327 if (obj2) {
11328 {
11329 arg3 = wxString_in_helper(obj2);
11330 if (arg3 == NULL) SWIG_fail;
11331 temp3 = true;
11332 }
11333 }
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 {
11342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11343 }
11344 {
11345 if (temp3)
11346 delete arg3;
11347 }
11348 return resultobj;
11349 fail:
11350 {
11351 if (temp3)
11352 delete arg3;
11353 }
11354 return NULL;
11355 }
11356
11357
11358 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11361 bool result;
11362 PyObject * obj0 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (bool)(arg1)->RemoveIcon();
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 {
11378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11379 }
11380 return resultobj;
11381 fail:
11382 return NULL;
11383 }
11384
11385
11386 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj;
11388 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11389 wxMenu *arg2 = (wxMenu *) 0 ;
11390 bool result;
11391 PyObject * obj0 = 0 ;
11392 PyObject * obj1 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self",(char *) "menu", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 result = (bool)(arg1)->PopupMenu(arg2);
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 {
11410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11411 }
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11419 PyObject *obj;
11420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11421 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
11422 Py_INCREF(obj);
11423 return Py_BuildValue((char *)"");
11424 }
11425 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj;
11427 wxEventType arg1 ;
11428 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11429 wxTaskBarIconEvent *result;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "evtType",(char *) "tbIcon", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11437 arg1 = (wxEventType)SWIG_As_int(obj0);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11456 PyObject *obj;
11457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11459 Py_INCREF(obj);
11460 return Py_BuildValue((char *)"");
11461 }
11462 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11463 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11464 return 1;
11465 }
11466
11467
11468 static PyObject *_wrap_FileSelectorPromptStr_get() {
11469 PyObject *pyobj;
11470
11471 {
11472 #if wxUSE_UNICODE
11473 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11474 #else
11475 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11476 #endif
11477 }
11478 return pyobj;
11479 }
11480
11481
11482 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11483 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11484 return 1;
11485 }
11486
11487
11488 static PyObject *_wrap_DirSelectorPromptStr_get() {
11489 PyObject *pyobj;
11490
11491 {
11492 #if wxUSE_UNICODE
11493 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11494 #else
11495 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11496 #endif
11497 }
11498 return pyobj;
11499 }
11500
11501
11502 static int _wrap_DirDialogNameStr_set(PyObject *) {
11503 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11504 return 1;
11505 }
11506
11507
11508 static PyObject *_wrap_DirDialogNameStr_get() {
11509 PyObject *pyobj;
11510
11511 {
11512 #if wxUSE_UNICODE
11513 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11514 #else
11515 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11516 #endif
11517 }
11518 return pyobj;
11519 }
11520
11521
11522 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11523 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11524 return 1;
11525 }
11526
11527
11528 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11529 PyObject *pyobj;
11530
11531 {
11532 #if wxUSE_UNICODE
11533 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11534 #else
11535 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11536 #endif
11537 }
11538 return pyobj;
11539 }
11540
11541
11542 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11543 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11544 return 1;
11545 }
11546
11547
11548 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11549 PyObject *pyobj;
11550
11551 {
11552 #if wxUSE_UNICODE
11553 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11554 #else
11555 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11556 #endif
11557 }
11558 return pyobj;
11559 }
11560
11561
11562 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11563 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11564 return 1;
11565 }
11566
11567
11568 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11569 PyObject *pyobj;
11570
11571 {
11572 #if wxUSE_UNICODE
11573 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11574 #else
11575 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11576 #endif
11577 }
11578 return pyobj;
11579 }
11580
11581
11582 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxColourData *result;
11585 char *kwnames[] = {
11586 NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11590 {
11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
11592 result = (wxColourData *)new wxColourData();
11593
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11598 return resultobj;
11599 fail:
11600 return NULL;
11601 }
11602
11603
11604 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11605 PyObject *resultobj;
11606 wxColourData *arg1 = (wxColourData *) 0 ;
11607 PyObject * obj0 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 delete arg1;
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 Py_INCREF(Py_None); resultobj = Py_None;
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxColourData *arg1 = (wxColourData *) 0 ;
11632 bool result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (bool)(arg1)->GetChooseFull();
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11650 }
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxColourData *arg1 = (wxColourData *) 0 ;
11660 wxColour result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (arg1)->GetColour();
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 {
11677 wxColour * resultptr;
11678 resultptr = new wxColour((wxColour &) result);
11679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11680 }
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxColourData *arg1 = (wxColourData *) 0 ;
11690 int arg2 ;
11691 wxColour result;
11692 PyObject * obj0 = 0 ;
11693 PyObject * obj1 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self",(char *) "i", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11701 arg2 = (int)SWIG_As_int(obj1);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (arg1)->GetCustomColour(arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 wxColour * resultptr;
11712 resultptr = new wxColour((wxColour &) result);
11713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11714 }
11715 return resultobj;
11716 fail:
11717 return NULL;
11718 }
11719
11720
11721 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxColourData *arg1 = (wxColourData *) 0 ;
11724 int arg2 ;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self",(char *) "flag", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11734 arg2 = (int)SWIG_As_int(obj1);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 (arg1)->SetChooseFull(arg2);
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 Py_INCREF(Py_None); resultobj = Py_None;
11744 return resultobj;
11745 fail:
11746 return NULL;
11747 }
11748
11749
11750 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj;
11752 wxColourData *arg1 = (wxColourData *) 0 ;
11753 wxColour *arg2 = 0 ;
11754 wxColour temp2 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "self",(char *) "colour", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11764 {
11765 arg2 = &temp2;
11766 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11767 }
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 (arg1)->SetColour((wxColour const &)*arg2);
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 Py_INCREF(Py_None); resultobj = Py_None;
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxColourData *arg1 = (wxColourData *) 0 ;
11785 int arg2 ;
11786 wxColour *arg3 = 0 ;
11787 wxColour temp3 ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 PyObject * obj2 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "i",(char *) "colour", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11798 arg2 = (int)SWIG_As_int(obj1);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 {
11801 arg3 = &temp3;
11802 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11803 }
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 Py_INCREF(Py_None); resultobj = Py_None;
11812 return resultobj;
11813 fail:
11814 return NULL;
11815 }
11816
11817
11818 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11819 PyObject *obj;
11820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11821 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11822 Py_INCREF(obj);
11823 return Py_BuildValue((char *)"");
11824 }
11825 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj;
11827 wxWindow *arg1 = (wxWindow *) 0 ;
11828 wxColourData *arg2 = (wxColourData *) NULL ;
11829 wxColourDialog *result;
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "parent",(char *) "data", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11839 if (obj1) {
11840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11842 }
11843 {
11844 if (!wxPyCheckForApp()) SWIG_fail;
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11861 wxColourData *result;
11862 PyObject * obj0 = 0 ;
11863 char *kwnames[] = {
11864 (char *) "self", NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11870 {
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 {
11873 wxColourData &_result_ref = (arg1)->GetColourData();
11874 result = (wxColourData *) &_result_ref;
11875 }
11876
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11881 return resultobj;
11882 fail:
11883 return NULL;
11884 }
11885
11886
11887 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11888 PyObject *obj;
11889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11890 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11891 Py_INCREF(obj);
11892 return Py_BuildValue((char *)"");
11893 }
11894 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxWindow *arg1 = (wxWindow *) 0 ;
11897 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11898 wxString *arg2 = (wxString *) &arg2_defvalue ;
11899 wxString const &arg3_defvalue = wxPyEmptyString ;
11900 wxString *arg3 = (wxString *) &arg3_defvalue ;
11901 long arg4 = (long) 0 ;
11902 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11903 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11904 wxSize const &arg6_defvalue = wxDefaultSize ;
11905 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11906 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11907 wxString *arg7 = (wxString *) &arg7_defvalue ;
11908 wxDirDialog *result;
11909 bool temp2 = false ;
11910 bool temp3 = false ;
11911 wxPoint temp5 ;
11912 wxSize temp6 ;
11913 bool temp7 = false ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 PyObject * obj2 = 0 ;
11917 PyObject * obj3 = 0 ;
11918 PyObject * obj4 = 0 ;
11919 PyObject * obj5 = 0 ;
11920 PyObject * obj6 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11928 if (obj1) {
11929 {
11930 arg2 = wxString_in_helper(obj1);
11931 if (arg2 == NULL) SWIG_fail;
11932 temp2 = true;
11933 }
11934 }
11935 if (obj2) {
11936 {
11937 arg3 = wxString_in_helper(obj2);
11938 if (arg3 == NULL) SWIG_fail;
11939 temp3 = true;
11940 }
11941 }
11942 if (obj3) {
11943 arg4 = (long)SWIG_As_long(obj3);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 if (obj4) {
11947 {
11948 arg5 = &temp5;
11949 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11950 }
11951 }
11952 if (obj5) {
11953 {
11954 arg6 = &temp6;
11955 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11956 }
11957 }
11958 if (obj6) {
11959 {
11960 arg7 = wxString_in_helper(obj6);
11961 if (arg7 == NULL) SWIG_fail;
11962 temp7 = true;
11963 }
11964 }
11965 {
11966 if (!wxPyCheckForApp()) SWIG_fail;
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11974 {
11975 if (temp2)
11976 delete arg2;
11977 }
11978 {
11979 if (temp3)
11980 delete arg3;
11981 }
11982 {
11983 if (temp7)
11984 delete arg7;
11985 }
11986 return resultobj;
11987 fail:
11988 {
11989 if (temp2)
11990 delete arg2;
11991 }
11992 {
11993 if (temp3)
11994 delete arg3;
11995 }
11996 {
11997 if (temp7)
11998 delete arg7;
11999 }
12000 return NULL;
12001 }
12002
12003
12004 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12005 PyObject *resultobj;
12006 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12007 wxString result;
12008 PyObject * obj0 = 0 ;
12009 char *kwnames[] = {
12010 (char *) "self", NULL
12011 };
12012
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (arg1)->GetPath();
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 {
12024 #if wxUSE_UNICODE
12025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12026 #else
12027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12028 #endif
12029 }
12030 return resultobj;
12031 fail:
12032 return NULL;
12033 }
12034
12035
12036 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj;
12038 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12039 wxString result;
12040 PyObject * obj0 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = (arg1)->GetMessage();
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 {
12056 #if wxUSE_UNICODE
12057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12058 #else
12059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12060 #endif
12061 }
12062 return resultobj;
12063 fail:
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12071 long result;
12072 PyObject * obj0 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (long)(arg1)->GetStyle();
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 resultobj = SWIG_From_long((long)result);
12088 return resultobj;
12089 fail:
12090 return NULL;
12091 }
12092
12093
12094 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj;
12096 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12097 wxString *arg2 = 0 ;
12098 bool temp2 = false ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self",(char *) "message", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 {
12109 arg2 = wxString_in_helper(obj1);
12110 if (arg2 == NULL) SWIG_fail;
12111 temp2 = true;
12112 }
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 (arg1)->SetMessage((wxString const &)*arg2);
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 Py_INCREF(Py_None); resultobj = Py_None;
12121 {
12122 if (temp2)
12123 delete arg2;
12124 }
12125 return resultobj;
12126 fail:
12127 {
12128 if (temp2)
12129 delete arg2;
12130 }
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12138 wxString *arg2 = 0 ;
12139 bool temp2 = false ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self",(char *) "path", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12149 {
12150 arg2 = wxString_in_helper(obj1);
12151 if (arg2 == NULL) SWIG_fail;
12152 temp2 = true;
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->SetPath((wxString const &)*arg2);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 Py_INCREF(Py_None); resultobj = Py_None;
12162 {
12163 if (temp2)
12164 delete arg2;
12165 }
12166 return resultobj;
12167 fail:
12168 {
12169 if (temp2)
12170 delete arg2;
12171 }
12172 return NULL;
12173 }
12174
12175
12176 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12177 PyObject *obj;
12178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12179 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12180 Py_INCREF(obj);
12181 return Py_BuildValue((char *)"");
12182 }
12183 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxWindow *arg1 = (wxWindow *) 0 ;
12186 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12187 wxString *arg2 = (wxString *) &arg2_defvalue ;
12188 wxString const &arg3_defvalue = wxPyEmptyString ;
12189 wxString *arg3 = (wxString *) &arg3_defvalue ;
12190 wxString const &arg4_defvalue = wxPyEmptyString ;
12191 wxString *arg4 = (wxString *) &arg4_defvalue ;
12192 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12193 wxString *arg5 = (wxString *) &arg5_defvalue ;
12194 long arg6 = (long) 0 ;
12195 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12196 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12197 wxFileDialog *result;
12198 bool temp2 = false ;
12199 bool temp3 = false ;
12200 bool temp4 = false ;
12201 bool temp5 = false ;
12202 wxPoint temp7 ;
12203 PyObject * obj0 = 0 ;
12204 PyObject * obj1 = 0 ;
12205 PyObject * obj2 = 0 ;
12206 PyObject * obj3 = 0 ;
12207 PyObject * obj4 = 0 ;
12208 PyObject * obj5 = 0 ;
12209 PyObject * obj6 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12217 if (obj1) {
12218 {
12219 arg2 = wxString_in_helper(obj1);
12220 if (arg2 == NULL) SWIG_fail;
12221 temp2 = true;
12222 }
12223 }
12224 if (obj2) {
12225 {
12226 arg3 = wxString_in_helper(obj2);
12227 if (arg3 == NULL) SWIG_fail;
12228 temp3 = true;
12229 }
12230 }
12231 if (obj3) {
12232 {
12233 arg4 = wxString_in_helper(obj3);
12234 if (arg4 == NULL) SWIG_fail;
12235 temp4 = true;
12236 }
12237 }
12238 if (obj4) {
12239 {
12240 arg5 = wxString_in_helper(obj4);
12241 if (arg5 == NULL) SWIG_fail;
12242 temp5 = true;
12243 }
12244 }
12245 if (obj5) {
12246 arg6 = (long)SWIG_As_long(obj5);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 if (obj6) {
12250 {
12251 arg7 = &temp7;
12252 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12253 }
12254 }
12255 {
12256 if (!wxPyCheckForApp()) SWIG_fail;
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12264 {
12265 if (temp2)
12266 delete arg2;
12267 }
12268 {
12269 if (temp3)
12270 delete arg3;
12271 }
12272 {
12273 if (temp4)
12274 delete arg4;
12275 }
12276 {
12277 if (temp5)
12278 delete arg5;
12279 }
12280 return resultobj;
12281 fail:
12282 {
12283 if (temp2)
12284 delete arg2;
12285 }
12286 {
12287 if (temp3)
12288 delete arg3;
12289 }
12290 {
12291 if (temp4)
12292 delete arg4;
12293 }
12294 {
12295 if (temp5)
12296 delete arg5;
12297 }
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12305 wxString *arg2 = 0 ;
12306 bool temp2 = false ;
12307 PyObject * obj0 = 0 ;
12308 PyObject * obj1 = 0 ;
12309 char *kwnames[] = {
12310 (char *) "self",(char *) "message", NULL
12311 };
12312
12313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12316 {
12317 arg2 = wxString_in_helper(obj1);
12318 if (arg2 == NULL) SWIG_fail;
12319 temp2 = true;
12320 }
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 (arg1)->SetMessage((wxString const &)*arg2);
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 Py_INCREF(Py_None); resultobj = Py_None;
12329 {
12330 if (temp2)
12331 delete arg2;
12332 }
12333 return resultobj;
12334 fail:
12335 {
12336 if (temp2)
12337 delete arg2;
12338 }
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12346 wxString *arg2 = 0 ;
12347 bool temp2 = false ;
12348 PyObject * obj0 = 0 ;
12349 PyObject * obj1 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "path", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12357 {
12358 arg2 = wxString_in_helper(obj1);
12359 if (arg2 == NULL) SWIG_fail;
12360 temp2 = true;
12361 }
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 (arg1)->SetPath((wxString const &)*arg2);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 Py_INCREF(Py_None); resultobj = Py_None;
12370 {
12371 if (temp2)
12372 delete arg2;
12373 }
12374 return resultobj;
12375 fail:
12376 {
12377 if (temp2)
12378 delete arg2;
12379 }
12380 return NULL;
12381 }
12382
12383
12384 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj;
12386 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12387 wxString *arg2 = 0 ;
12388 bool temp2 = false ;
12389 PyObject * obj0 = 0 ;
12390 PyObject * obj1 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self",(char *) "dir", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12398 {
12399 arg2 = wxString_in_helper(obj1);
12400 if (arg2 == NULL) SWIG_fail;
12401 temp2 = true;
12402 }
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 (arg1)->SetDirectory((wxString const &)*arg2);
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 Py_INCREF(Py_None); resultobj = Py_None;
12411 {
12412 if (temp2)
12413 delete arg2;
12414 }
12415 return resultobj;
12416 fail:
12417 {
12418 if (temp2)
12419 delete arg2;
12420 }
12421 return NULL;
12422 }
12423
12424
12425 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12426 PyObject *resultobj;
12427 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12428 wxString *arg2 = 0 ;
12429 bool temp2 = false ;
12430 PyObject * obj0 = 0 ;
12431 PyObject * obj1 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self",(char *) "name", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12439 {
12440 arg2 = wxString_in_helper(obj1);
12441 if (arg2 == NULL) SWIG_fail;
12442 temp2 = true;
12443 }
12444 {
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 (arg1)->SetFilename((wxString const &)*arg2);
12447
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 Py_INCREF(Py_None); resultobj = Py_None;
12452 {
12453 if (temp2)
12454 delete arg2;
12455 }
12456 return resultobj;
12457 fail:
12458 {
12459 if (temp2)
12460 delete arg2;
12461 }
12462 return NULL;
12463 }
12464
12465
12466 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12467 PyObject *resultobj;
12468 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12469 wxString *arg2 = 0 ;
12470 bool temp2 = false ;
12471 PyObject * obj0 = 0 ;
12472 PyObject * obj1 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "wildCard", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12480 {
12481 arg2 = wxString_in_helper(obj1);
12482 if (arg2 == NULL) SWIG_fail;
12483 temp2 = true;
12484 }
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 (arg1)->SetWildcard((wxString const &)*arg2);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 Py_INCREF(Py_None); resultobj = Py_None;
12493 {
12494 if (temp2)
12495 delete arg2;
12496 }
12497 return resultobj;
12498 fail:
12499 {
12500 if (temp2)
12501 delete arg2;
12502 }
12503 return NULL;
12504 }
12505
12506
12507 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12510 long arg2 ;
12511 PyObject * obj0 = 0 ;
12512 PyObject * obj1 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self",(char *) "style", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12520 arg2 = (long)SWIG_As_long(obj1);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->SetStyle(arg2);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533 }
12534
12535
12536 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12537 PyObject *resultobj;
12538 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12539 int arg2 ;
12540 PyObject * obj0 = 0 ;
12541 PyObject * obj1 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self",(char *) "filterIndex", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 arg2 = (int)SWIG_As_int(obj1);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 (arg1)->SetFilterIndex(arg2);
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 Py_INCREF(Py_None); resultobj = Py_None;
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12568 wxString result;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = ((wxFileDialog const *)arg1)->GetMessage();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 {
12585 #if wxUSE_UNICODE
12586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12587 #else
12588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12589 #endif
12590 }
12591 return resultobj;
12592 fail:
12593 return NULL;
12594 }
12595
12596
12597 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12600 wxString result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = ((wxFileDialog const *)arg1)->GetPath();
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 #if wxUSE_UNICODE
12618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12619 #else
12620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12621 #endif
12622 }
12623 return resultobj;
12624 fail:
12625 return NULL;
12626 }
12627
12628
12629 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12630 PyObject *resultobj;
12631 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12632 wxString result;
12633 PyObject * obj0 = 0 ;
12634 char *kwnames[] = {
12635 (char *) "self", NULL
12636 };
12637
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 result = ((wxFileDialog const *)arg1)->GetDirectory();
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 {
12649 #if wxUSE_UNICODE
12650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12651 #else
12652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12653 #endif
12654 }
12655 return resultobj;
12656 fail:
12657 return NULL;
12658 }
12659
12660
12661 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12662 PyObject *resultobj;
12663 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12664 wxString result;
12665 PyObject * obj0 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self", NULL
12668 };
12669
12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12673 {
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = ((wxFileDialog const *)arg1)->GetFilename();
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 {
12681 #if wxUSE_UNICODE
12682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12683 #else
12684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12685 #endif
12686 }
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12696 wxString result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = ((wxFileDialog const *)arg1)->GetWildcard();
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 {
12713 #if wxUSE_UNICODE
12714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12715 #else
12716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12717 #endif
12718 }
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12728 long result;
12729 PyObject * obj0 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "self", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12737 {
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = SWIG_From_long((long)result);
12745 return resultobj;
12746 fail:
12747 return NULL;
12748 }
12749
12750
12751 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12752 PyObject *resultobj;
12753 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12754 int result;
12755 PyObject * obj0 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12766
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 resultobj = SWIG_From_int((int)result);
12771 return resultobj;
12772 fail:
12773 return NULL;
12774 }
12775
12776
12777 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12778 PyObject *resultobj;
12779 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12780 PyObject *result;
12781 PyObject * obj0 = 0 ;
12782 char *kwnames[] = {
12783 (char *) "self", NULL
12784 };
12785
12786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 resultobj = result;
12797 return resultobj;
12798 fail:
12799 return NULL;
12800 }
12801
12802
12803 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj;
12805 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12806 PyObject *result;
12807 PyObject * obj0 = 0 ;
12808 char *kwnames[] = {
12809 (char *) "self", NULL
12810 };
12811
12812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12818
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 resultobj = result;
12823 return resultobj;
12824 fail:
12825 return NULL;
12826 }
12827
12828
12829 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12830 PyObject *obj;
12831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12832 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12833 Py_INCREF(obj);
12834 return Py_BuildValue((char *)"");
12835 }
12836 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12837 PyObject *resultobj;
12838 wxWindow *arg1 = (wxWindow *) 0 ;
12839 wxString *arg2 = 0 ;
12840 wxString *arg3 = 0 ;
12841 int arg4 = (int) 0 ;
12842 wxString *arg5 = (wxString *) NULL ;
12843 long arg6 = (long) wxCHOICEDLG_STYLE ;
12844 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12845 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12846 wxMultiChoiceDialog *result;
12847 bool temp2 = false ;
12848 bool temp3 = false ;
12849 wxPoint temp6 ;
12850 PyObject * obj0 = 0 ;
12851 PyObject * obj1 = 0 ;
12852 PyObject * obj2 = 0 ;
12853 PyObject * obj3 = 0 ;
12854 PyObject * obj4 = 0 ;
12855 PyObject * obj5 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12863 {
12864 arg2 = wxString_in_helper(obj1);
12865 if (arg2 == NULL) SWIG_fail;
12866 temp2 = true;
12867 }
12868 {
12869 arg3 = wxString_in_helper(obj2);
12870 if (arg3 == NULL) SWIG_fail;
12871 temp3 = true;
12872 }
12873 if (obj3) {
12874 {
12875 arg4 = PyList_Size(obj3);
12876 arg5 = wxString_LIST_helper(obj3);
12877 if (arg5 == NULL) SWIG_fail;
12878 }
12879 }
12880 if (obj4) {
12881 arg6 = (long)SWIG_As_long(obj4);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 if (obj5) {
12885 {
12886 arg7 = &temp6;
12887 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12888 }
12889 }
12890 {
12891 if (!wxPyCheckForApp()) SWIG_fail;
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12899 {
12900 if (temp2)
12901 delete arg2;
12902 }
12903 {
12904 if (temp3)
12905 delete arg3;
12906 }
12907 {
12908 if (arg5) delete [] arg5;
12909 }
12910 return resultobj;
12911 fail:
12912 {
12913 if (temp2)
12914 delete arg2;
12915 }
12916 {
12917 if (temp3)
12918 delete arg3;
12919 }
12920 {
12921 if (arg5) delete [] arg5;
12922 }
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj;
12929 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12930 wxArrayInt *arg2 = 0 ;
12931 bool temp2 = false ;
12932 PyObject * obj0 = 0 ;
12933 PyObject * obj1 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self",(char *) "selections", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12941 {
12942 if (! PySequence_Check(obj1)) {
12943 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12944 SWIG_fail;
12945 }
12946 arg2 = new wxArrayInt;
12947 temp2 = true;
12948 int i, len=PySequence_Length(obj1);
12949 for (i=0; i<len; i++) {
12950 PyObject* item = PySequence_GetItem(obj1, i);
12951 PyObject* number = PyNumber_Int(item);
12952 arg2->Add(PyInt_AS_LONG(number));
12953 Py_DECREF(item);
12954 Py_DECREF(number);
12955 }
12956 }
12957 {
12958 PyThreadState* __tstate = wxPyBeginAllowThreads();
12959 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12960
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 Py_INCREF(Py_None); resultobj = Py_None;
12965 {
12966 if (temp2) delete arg2;
12967 }
12968 return resultobj;
12969 fail:
12970 {
12971 if (temp2) delete arg2;
12972 }
12973 return NULL;
12974 }
12975
12976
12977 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12978 PyObject *resultobj;
12979 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12980 PyObject *result;
12981 PyObject * obj0 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "self", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 resultobj = result;
12997 return resultobj;
12998 fail:
12999 return NULL;
13000 }
13001
13002
13003 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
13004 PyObject *obj;
13005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13006 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13007 Py_INCREF(obj);
13008 return Py_BuildValue((char *)"");
13009 }
13010 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj;
13012 wxWindow *arg1 = (wxWindow *) 0 ;
13013 wxString *arg2 = 0 ;
13014 wxString *arg3 = 0 ;
13015 int arg4 ;
13016 wxString *arg5 = (wxString *) 0 ;
13017 long arg6 = (long) wxCHOICEDLG_STYLE ;
13018 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13019 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13020 wxSingleChoiceDialog *result;
13021 bool temp2 = false ;
13022 bool temp3 = false ;
13023 wxPoint temp6 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 PyObject * obj3 = 0 ;
13028 PyObject * obj4 = 0 ;
13029 PyObject * obj5 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 {
13038 arg2 = wxString_in_helper(obj1);
13039 if (arg2 == NULL) SWIG_fail;
13040 temp2 = true;
13041 }
13042 {
13043 arg3 = wxString_in_helper(obj2);
13044 if (arg3 == NULL) SWIG_fail;
13045 temp3 = true;
13046 }
13047 {
13048 arg4 = PyList_Size(obj3);
13049 arg5 = wxString_LIST_helper(obj3);
13050 if (arg5 == NULL) SWIG_fail;
13051 }
13052 if (obj4) {
13053 arg6 = (long)SWIG_As_long(obj4);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 if (obj5) {
13057 {
13058 arg7 = &temp6;
13059 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13060 }
13061 }
13062 {
13063 if (!wxPyCheckForApp()) SWIG_fail;
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13071 {
13072 if (temp2)
13073 delete arg2;
13074 }
13075 {
13076 if (temp3)
13077 delete arg3;
13078 }
13079 {
13080 if (arg5) delete [] arg5;
13081 }
13082 return resultobj;
13083 fail:
13084 {
13085 if (temp2)
13086 delete arg2;
13087 }
13088 {
13089 if (temp3)
13090 delete arg3;
13091 }
13092 {
13093 if (arg5) delete [] arg5;
13094 }
13095 return NULL;
13096 }
13097
13098
13099 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj;
13101 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13102 int result;
13103 PyObject * obj0 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (int)(arg1)->GetSelection();
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = SWIG_From_int((int)result);
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13128 wxString result;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (arg1)->GetStringSelection();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 {
13145 #if wxUSE_UNICODE
13146 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13147 #else
13148 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13149 #endif
13150 }
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13160 int arg2 ;
13161 PyObject * obj0 = 0 ;
13162 PyObject * obj1 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self",(char *) "sel", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 arg2 = (int)SWIG_As_int(obj1);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 (arg1)->SetSelection(arg2);
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183 }
13184
13185
13186 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13187 PyObject *obj;
13188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13189 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13190 Py_INCREF(obj);
13191 return Py_BuildValue((char *)"");
13192 }
13193 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj;
13195 wxWindow *arg1 = (wxWindow *) 0 ;
13196 wxString *arg2 = 0 ;
13197 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13198 wxString *arg3 = (wxString *) &arg3_defvalue ;
13199 wxString const &arg4_defvalue = wxPyEmptyString ;
13200 wxString *arg4 = (wxString *) &arg4_defvalue ;
13201 long arg5 = (long) wxTextEntryDialogStyle ;
13202 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13203 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13204 wxTextEntryDialog *result;
13205 bool temp2 = false ;
13206 bool temp3 = false ;
13207 bool temp4 = false ;
13208 wxPoint temp6 ;
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 PyObject * obj2 = 0 ;
13212 PyObject * obj3 = 0 ;
13213 PyObject * obj4 = 0 ;
13214 PyObject * obj5 = 0 ;
13215 char *kwnames[] = {
13216 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13217 };
13218
13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13222 {
13223 arg2 = wxString_in_helper(obj1);
13224 if (arg2 == NULL) SWIG_fail;
13225 temp2 = true;
13226 }
13227 if (obj2) {
13228 {
13229 arg3 = wxString_in_helper(obj2);
13230 if (arg3 == NULL) SWIG_fail;
13231 temp3 = true;
13232 }
13233 }
13234 if (obj3) {
13235 {
13236 arg4 = wxString_in_helper(obj3);
13237 if (arg4 == NULL) SWIG_fail;
13238 temp4 = true;
13239 }
13240 }
13241 if (obj4) {
13242 arg5 = (long)SWIG_As_long(obj4);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 if (obj5) {
13246 {
13247 arg6 = &temp6;
13248 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13249 }
13250 }
13251 {
13252 if (!wxPyCheckForApp()) SWIG_fail;
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13260 {
13261 if (temp2)
13262 delete arg2;
13263 }
13264 {
13265 if (temp3)
13266 delete arg3;
13267 }
13268 {
13269 if (temp4)
13270 delete arg4;
13271 }
13272 return resultobj;
13273 fail:
13274 {
13275 if (temp2)
13276 delete arg2;
13277 }
13278 {
13279 if (temp3)
13280 delete arg3;
13281 }
13282 {
13283 if (temp4)
13284 delete arg4;
13285 }
13286 return NULL;
13287 }
13288
13289
13290 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13293 wxString result;
13294 PyObject * obj0 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (arg1)->GetValue();
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 {
13310 #if wxUSE_UNICODE
13311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13312 #else
13313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13314 #endif
13315 }
13316 return resultobj;
13317 fail:
13318 return NULL;
13319 }
13320
13321
13322 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13325 wxString *arg2 = 0 ;
13326 bool temp2 = false ;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self",(char *) "value", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13336 {
13337 arg2 = wxString_in_helper(obj1);
13338 if (arg2 == NULL) SWIG_fail;
13339 temp2 = true;
13340 }
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->SetValue((wxString const &)*arg2);
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 Py_INCREF(Py_None); resultobj = Py_None;
13349 {
13350 if (temp2)
13351 delete arg2;
13352 }
13353 return resultobj;
13354 fail:
13355 {
13356 if (temp2)
13357 delete arg2;
13358 }
13359 return NULL;
13360 }
13361
13362
13363 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13364 PyObject *obj;
13365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13366 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13367 Py_INCREF(obj);
13368 return Py_BuildValue((char *)"");
13369 }
13370 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
13371 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
13372 return 1;
13373 }
13374
13375
13376 static PyObject *_wrap_GetPasswordFromUserPromptStr_get() {
13377 PyObject *pyobj;
13378
13379 {
13380 #if wxUSE_UNICODE
13381 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13382 #else
13383 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13384 #endif
13385 }
13386 return pyobj;
13387 }
13388
13389
13390 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxWindow *arg1 = (wxWindow *) 0 ;
13393 wxString *arg2 = 0 ;
13394 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
13395 wxString *arg3 = (wxString *) &arg3_defvalue ;
13396 wxString const &arg4_defvalue = wxPyEmptyString ;
13397 wxString *arg4 = (wxString *) &arg4_defvalue ;
13398 long arg5 = (long) wxTextEntryDialogStyle ;
13399 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13400 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13401 wxPasswordEntryDialog *result;
13402 bool temp2 = false ;
13403 bool temp3 = false ;
13404 bool temp4 = false ;
13405 wxPoint temp6 ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 PyObject * obj2 = 0 ;
13409 PyObject * obj3 = 0 ;
13410 PyObject * obj4 = 0 ;
13411 PyObject * obj5 = 0 ;
13412 char *kwnames[] = {
13413 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13414 };
13415
13416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13419 {
13420 arg2 = wxString_in_helper(obj1);
13421 if (arg2 == NULL) SWIG_fail;
13422 temp2 = true;
13423 }
13424 if (obj2) {
13425 {
13426 arg3 = wxString_in_helper(obj2);
13427 if (arg3 == NULL) SWIG_fail;
13428 temp3 = true;
13429 }
13430 }
13431 if (obj3) {
13432 {
13433 arg4 = wxString_in_helper(obj3);
13434 if (arg4 == NULL) SWIG_fail;
13435 temp4 = true;
13436 }
13437 }
13438 if (obj4) {
13439 arg5 = (long)SWIG_As_long(obj4);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 if (obj5) {
13443 {
13444 arg6 = &temp6;
13445 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13446 }
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
13456 {
13457 if (temp2)
13458 delete arg2;
13459 }
13460 {
13461 if (temp3)
13462 delete arg3;
13463 }
13464 {
13465 if (temp4)
13466 delete arg4;
13467 }
13468 return resultobj;
13469 fail:
13470 {
13471 if (temp2)
13472 delete arg2;
13473 }
13474 {
13475 if (temp3)
13476 delete arg3;
13477 }
13478 {
13479 if (temp4)
13480 delete arg4;
13481 }
13482 return NULL;
13483 }
13484
13485
13486 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
13487 PyObject *obj;
13488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13489 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
13490 Py_INCREF(obj);
13491 return Py_BuildValue((char *)"");
13492 }
13493 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxFontData *result;
13496 char *kwnames[] = {
13497 NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 result = (wxFontData *)new wxFontData();
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13509 return resultobj;
13510 fail:
13511 return NULL;
13512 }
13513
13514
13515 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxFontData *arg1 = (wxFontData *) 0 ;
13518 PyObject * obj0 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13526 {
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 delete arg1;
13529
13530 wxPyEndAllowThreads(__tstate);
13531 if (PyErr_Occurred()) SWIG_fail;
13532 }
13533 Py_INCREF(Py_None); resultobj = Py_None;
13534 return resultobj;
13535 fail:
13536 return NULL;
13537 }
13538
13539
13540 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13541 PyObject *resultobj;
13542 wxFontData *arg1 = (wxFontData *) 0 ;
13543 bool arg2 ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self",(char *) "enable", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13553 arg2 = (bool)SWIG_As_bool(obj1);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 (arg1)->EnableEffects(arg2);
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 Py_INCREF(Py_None); resultobj = Py_None;
13563 return resultobj;
13564 fail:
13565 return NULL;
13566 }
13567
13568
13569 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13570 PyObject *resultobj;
13571 wxFontData *arg1 = (wxFontData *) 0 ;
13572 bool result;
13573 PyObject * obj0 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 result = (bool)(arg1)->GetAllowSymbols();
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 {
13589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13590 }
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxFontData *arg1 = (wxFontData *) 0 ;
13600 wxColour result;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (arg1)->GetColour();
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 wxColour * resultptr;
13618 resultptr = new wxColour((wxColour &) result);
13619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13620 }
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxFontData *arg1 = (wxFontData *) 0 ;
13630 wxFont result;
13631 PyObject * obj0 = 0 ;
13632 char *kwnames[] = {
13633 (char *) "self", NULL
13634 };
13635
13636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = (arg1)->GetChosenFont();
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 {
13647 wxFont * resultptr;
13648 resultptr = new wxFont((wxFont &) result);
13649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13650 }
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxFontData *arg1 = (wxFontData *) 0 ;
13660 bool result;
13661 PyObject * obj0 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 result = (bool)(arg1)->GetEnableEffects();
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 {
13677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13678 }
13679 return resultobj;
13680 fail:
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxFontData *arg1 = (wxFontData *) 0 ;
13688 wxFont result;
13689 PyObject * obj0 = 0 ;
13690 char *kwnames[] = {
13691 (char *) "self", NULL
13692 };
13693
13694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13697 {
13698 PyThreadState* __tstate = wxPyBeginAllowThreads();
13699 result = (arg1)->GetInitialFont();
13700
13701 wxPyEndAllowThreads(__tstate);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 {
13705 wxFont * resultptr;
13706 resultptr = new wxFont((wxFont &) result);
13707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13708 }
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj;
13717 wxFontData *arg1 = (wxFontData *) 0 ;
13718 bool result;
13719 PyObject * obj0 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 result = (bool)(arg1)->GetShowHelp();
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 {
13735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13736 }
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxFontData *arg1 = (wxFontData *) 0 ;
13746 bool arg2 ;
13747 PyObject * obj0 = 0 ;
13748 PyObject * obj1 = 0 ;
13749 char *kwnames[] = {
13750 (char *) "self",(char *) "allowSymbols", NULL
13751 };
13752
13753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13756 arg2 = (bool)SWIG_As_bool(obj1);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 (arg1)->SetAllowSymbols(arg2);
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 Py_INCREF(Py_None); resultobj = Py_None;
13766 return resultobj;
13767 fail:
13768 return NULL;
13769 }
13770
13771
13772 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 wxFontData *arg1 = (wxFontData *) 0 ;
13775 wxFont *arg2 = 0 ;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "font", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13786 SWIG_POINTER_EXCEPTION | 0)) == -1)
13787 SWIG_fail;
13788 if (arg2 == NULL) {
13789 PyErr_SetString(PyExc_TypeError,"null reference");
13790 SWIG_fail;
13791 }
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 (arg1)->SetChosenFont((wxFont const &)*arg2);
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 Py_INCREF(Py_None); resultobj = Py_None;
13800 return resultobj;
13801 fail:
13802 return NULL;
13803 }
13804
13805
13806 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13807 PyObject *resultobj;
13808 wxFontData *arg1 = (wxFontData *) 0 ;
13809 wxColour *arg2 = 0 ;
13810 wxColour temp2 ;
13811 PyObject * obj0 = 0 ;
13812 PyObject * obj1 = 0 ;
13813 char *kwnames[] = {
13814 (char *) "self",(char *) "colour", NULL
13815 };
13816
13817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13820 {
13821 arg2 = &temp2;
13822 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13823 }
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 (arg1)->SetColour((wxColour const &)*arg2);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 Py_INCREF(Py_None); resultobj = Py_None;
13832 return resultobj;
13833 fail:
13834 return NULL;
13835 }
13836
13837
13838 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13839 PyObject *resultobj;
13840 wxFontData *arg1 = (wxFontData *) 0 ;
13841 wxFont *arg2 = 0 ;
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 char *kwnames[] = {
13845 (char *) "self",(char *) "font", NULL
13846 };
13847
13848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13852 SWIG_POINTER_EXCEPTION | 0)) == -1)
13853 SWIG_fail;
13854 if (arg2 == NULL) {
13855 PyErr_SetString(PyExc_TypeError,"null reference");
13856 SWIG_fail;
13857 }
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 (arg1)->SetInitialFont((wxFont const &)*arg2);
13861
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 Py_INCREF(Py_None); resultobj = Py_None;
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxFontData *arg1 = (wxFontData *) 0 ;
13875 int arg2 ;
13876 int arg3 ;
13877 PyObject * obj0 = 0 ;
13878 PyObject * obj1 = 0 ;
13879 PyObject * obj2 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "min",(char *) "max", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13887 arg2 = (int)SWIG_As_int(obj1);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 arg3 = (int)SWIG_As_int(obj2);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 (arg1)->SetRange(arg2,arg3);
13894
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 Py_INCREF(Py_None); resultobj = Py_None;
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxFontData *arg1 = (wxFontData *) 0 ;
13908 bool arg2 ;
13909 PyObject * obj0 = 0 ;
13910 PyObject * obj1 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self",(char *) "showHelp", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13918 arg2 = (bool)SWIG_As_bool(obj1);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 (arg1)->SetShowHelp(arg2);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 Py_INCREF(Py_None); resultobj = Py_None;
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13935 PyObject *obj;
13936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13937 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13938 Py_INCREF(obj);
13939 return Py_BuildValue((char *)"");
13940 }
13941 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj;
13943 wxWindow *arg1 = (wxWindow *) 0 ;
13944 wxFontData *arg2 = 0 ;
13945 wxFontDialog *result;
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "parent",(char *) "data", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13956 SWIG_POINTER_EXCEPTION | 0)) == -1)
13957 SWIG_fail;
13958 if (arg2 == NULL) {
13959 PyErr_SetString(PyExc_TypeError,"null reference");
13960 SWIG_fail;
13961 }
13962 {
13963 if (!wxPyCheckForApp()) SWIG_fail;
13964 PyThreadState* __tstate = wxPyBeginAllowThreads();
13965 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13966
13967 wxPyEndAllowThreads(__tstate);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 }
13970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13971 return resultobj;
13972 fail:
13973 return NULL;
13974 }
13975
13976
13977 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13980 wxFontData *result;
13981 PyObject * obj0 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self", NULL
13984 };
13985
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 {
13992 wxFontData &_result_ref = (arg1)->GetFontData();
13993 result = (wxFontData *) &_result_ref;
13994 }
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
14000 return resultobj;
14001 fail:
14002 return NULL;
14003 }
14004
14005
14006 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
14007 PyObject *obj;
14008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14009 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
14010 Py_INCREF(obj);
14011 return Py_BuildValue((char *)"");
14012 }
14013 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj;
14015 wxWindow *arg1 = (wxWindow *) 0 ;
14016 wxString *arg2 = 0 ;
14017 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
14018 wxString *arg3 = (wxString *) &arg3_defvalue ;
14019 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
14020 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14021 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14022 wxMessageDialog *result;
14023 bool temp2 = false ;
14024 bool temp3 = false ;
14025 wxPoint temp5 ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 PyObject * obj3 = 0 ;
14030 PyObject * obj4 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14038 {
14039 arg2 = wxString_in_helper(obj1);
14040 if (arg2 == NULL) SWIG_fail;
14041 temp2 = true;
14042 }
14043 if (obj2) {
14044 {
14045 arg3 = wxString_in_helper(obj2);
14046 if (arg3 == NULL) SWIG_fail;
14047 temp3 = true;
14048 }
14049 }
14050 if (obj3) {
14051 arg4 = (long)SWIG_As_long(obj3);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 if (obj4) {
14055 {
14056 arg5 = &temp5;
14057 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14058 }
14059 }
14060 {
14061 if (!wxPyCheckForApp()) SWIG_fail;
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
14063 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
14064
14065 wxPyEndAllowThreads(__tstate);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
14069 {
14070 if (temp2)
14071 delete arg2;
14072 }
14073 {
14074 if (temp3)
14075 delete arg3;
14076 }
14077 return resultobj;
14078 fail:
14079 {
14080 if (temp2)
14081 delete arg2;
14082 }
14083 {
14084 if (temp3)
14085 delete arg3;
14086 }
14087 return NULL;
14088 }
14089
14090
14091 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
14092 PyObject *obj;
14093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14094 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
14095 Py_INCREF(obj);
14096 return Py_BuildValue((char *)"");
14097 }
14098 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj;
14100 wxString *arg1 = 0 ;
14101 wxString *arg2 = 0 ;
14102 int arg3 = (int) 100 ;
14103 wxWindow *arg4 = (wxWindow *) NULL ;
14104 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
14105 wxProgressDialog *result;
14106 bool temp1 = false ;
14107 bool temp2 = false ;
14108 PyObject * obj0 = 0 ;
14109 PyObject * obj1 = 0 ;
14110 PyObject * obj2 = 0 ;
14111 PyObject * obj3 = 0 ;
14112 PyObject * obj4 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14118 {
14119 arg1 = wxString_in_helper(obj0);
14120 if (arg1 == NULL) SWIG_fail;
14121 temp1 = true;
14122 }
14123 {
14124 arg2 = wxString_in_helper(obj1);
14125 if (arg2 == NULL) SWIG_fail;
14126 temp2 = true;
14127 }
14128 if (obj2) {
14129 arg3 = (int)SWIG_As_int(obj2);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 if (obj3) {
14133 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14135 }
14136 if (obj4) {
14137 arg5 = (int)SWIG_As_int(obj4);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 {
14141 if (!wxPyCheckForApp()) SWIG_fail;
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14149 {
14150 if (temp1)
14151 delete arg1;
14152 }
14153 {
14154 if (temp2)
14155 delete arg2;
14156 }
14157 return resultobj;
14158 fail:
14159 {
14160 if (temp1)
14161 delete arg1;
14162 }
14163 {
14164 if (temp2)
14165 delete arg2;
14166 }
14167 return NULL;
14168 }
14169
14170
14171 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj;
14173 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14174 int arg2 ;
14175 wxString const &arg3_defvalue = wxPyEmptyString ;
14176 wxString *arg3 = (wxString *) &arg3_defvalue ;
14177 bool result;
14178 bool temp3 = false ;
14179 PyObject * obj0 = 0 ;
14180 PyObject * obj1 = 0 ;
14181 PyObject * obj2 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14189 arg2 = (int)SWIG_As_int(obj1);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 if (obj2) {
14192 {
14193 arg3 = wxString_in_helper(obj2);
14194 if (arg3 == NULL) SWIG_fail;
14195 temp3 = true;
14196 }
14197 }
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 {
14206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14207 }
14208 {
14209 if (temp3)
14210 delete arg3;
14211 }
14212 return resultobj;
14213 fail:
14214 {
14215 if (temp3)
14216 delete arg3;
14217 }
14218 return NULL;
14219 }
14220
14221
14222 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 (arg1)->Resume();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 Py_INCREF(Py_None); resultobj = Py_None;
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14248 PyObject *obj;
14249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14251 Py_INCREF(obj);
14252 return Py_BuildValue((char *)"");
14253 }
14254 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14255 PyObject *resultobj;
14256 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14257 int arg2 = (int) 0 ;
14258 wxFindDialogEvent *result;
14259 PyObject * obj0 = 0 ;
14260 PyObject * obj1 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "commandType",(char *) "id", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14266 if (obj0) {
14267 arg1 = (wxEventType)SWIG_As_int(obj0);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 if (obj1) {
14271 arg2 = (int)SWIG_As_int(obj1);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14282 return resultobj;
14283 fail:
14284 return NULL;
14285 }
14286
14287
14288 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj;
14290 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14291 int result;
14292 PyObject * obj0 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (int)(arg1)->GetFlags();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_From_int((int)result);
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14317 wxString *result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 {
14329 wxString const &_result_ref = (arg1)->GetFindString();
14330 result = (wxString *) &_result_ref;
14331 }
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 {
14337 #if wxUSE_UNICODE
14338 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14339 #else
14340 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14341 #endif
14342 }
14343 return resultobj;
14344 fail:
14345 return NULL;
14346 }
14347
14348
14349 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14352 wxString *result;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 {
14364 wxString const &_result_ref = (arg1)->GetReplaceString();
14365 result = (wxString *) &_result_ref;
14366 }
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 {
14372 #if wxUSE_UNICODE
14373 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14374 #else
14375 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14376 #endif
14377 }
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14387 wxFindReplaceDialog *result;
14388 PyObject * obj0 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14404 return resultobj;
14405 fail:
14406 return NULL;
14407 }
14408
14409
14410 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14411 PyObject *resultobj;
14412 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14413 int arg2 ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self",(char *) "flags", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14423 arg2 = (int)SWIG_As_int(obj1);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 (arg1)->SetFlags(arg2);
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 Py_INCREF(Py_None); resultobj = Py_None;
14433 return resultobj;
14434 fail:
14435 return NULL;
14436 }
14437
14438
14439 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14442 wxString *arg2 = 0 ;
14443 bool temp2 = false ;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "self",(char *) "str", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14453 {
14454 arg2 = wxString_in_helper(obj1);
14455 if (arg2 == NULL) SWIG_fail;
14456 temp2 = true;
14457 }
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 (arg1)->SetFindString((wxString const &)*arg2);
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 Py_INCREF(Py_None); resultobj = Py_None;
14466 {
14467 if (temp2)
14468 delete arg2;
14469 }
14470 return resultobj;
14471 fail:
14472 {
14473 if (temp2)
14474 delete arg2;
14475 }
14476 return NULL;
14477 }
14478
14479
14480 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj;
14482 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14483 wxString *arg2 = 0 ;
14484 bool temp2 = false ;
14485 PyObject * obj0 = 0 ;
14486 PyObject * obj1 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self",(char *) "str", NULL
14489 };
14490
14491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14494 {
14495 arg2 = wxString_in_helper(obj1);
14496 if (arg2 == NULL) SWIG_fail;
14497 temp2 = true;
14498 }
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 (arg1)->SetReplaceString((wxString const &)*arg2);
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 Py_INCREF(Py_None); resultobj = Py_None;
14507 {
14508 if (temp2)
14509 delete arg2;
14510 }
14511 return resultobj;
14512 fail:
14513 {
14514 if (temp2)
14515 delete arg2;
14516 }
14517 return NULL;
14518 }
14519
14520
14521 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14522 PyObject *obj;
14523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14524 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14525 Py_INCREF(obj);
14526 return Py_BuildValue((char *)"");
14527 }
14528 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 int arg1 = (int) 0 ;
14531 wxFindReplaceData *result;
14532 PyObject * obj0 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "flags", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14538 if (obj0) {
14539 arg1 = (int)SWIG_As_int(obj0);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14550 return resultobj;
14551 fail:
14552 return NULL;
14553 }
14554
14555
14556 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 delete arg1;
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14584 wxString *result;
14585 PyObject * obj0 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 {
14596 wxString const &_result_ref = (arg1)->GetFindString();
14597 result = (wxString *) &_result_ref;
14598 }
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 {
14604 #if wxUSE_UNICODE
14605 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14606 #else
14607 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14608 #endif
14609 }
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj;
14618 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14619 wxString *result;
14620 PyObject * obj0 = 0 ;
14621 char *kwnames[] = {
14622 (char *) "self", NULL
14623 };
14624
14625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 {
14631 wxString const &_result_ref = (arg1)->GetReplaceString();
14632 result = (wxString *) &_result_ref;
14633 }
14634
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 {
14639 #if wxUSE_UNICODE
14640 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14641 #else
14642 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14643 #endif
14644 }
14645 return resultobj;
14646 fail:
14647 return NULL;
14648 }
14649
14650
14651 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj;
14653 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14654 int result;
14655 PyObject * obj0 = 0 ;
14656 char *kwnames[] = {
14657 (char *) "self", NULL
14658 };
14659
14660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (int)(arg1)->GetFlags();
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 resultobj = SWIG_From_int((int)result);
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14680 int arg2 ;
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self",(char *) "flags", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14690 arg2 = (int)SWIG_As_int(obj1);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 {
14693 PyThreadState* __tstate = wxPyBeginAllowThreads();
14694 (arg1)->SetFlags(arg2);
14695
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 Py_INCREF(Py_None); resultobj = Py_None;
14700 return resultobj;
14701 fail:
14702 return NULL;
14703 }
14704
14705
14706 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14709 wxString *arg2 = 0 ;
14710 bool temp2 = false ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self",(char *) "str", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14720 {
14721 arg2 = wxString_in_helper(obj1);
14722 if (arg2 == NULL) SWIG_fail;
14723 temp2 = true;
14724 }
14725 {
14726 PyThreadState* __tstate = wxPyBeginAllowThreads();
14727 (arg1)->SetFindString((wxString const &)*arg2);
14728
14729 wxPyEndAllowThreads(__tstate);
14730 if (PyErr_Occurred()) SWIG_fail;
14731 }
14732 Py_INCREF(Py_None); resultobj = Py_None;
14733 {
14734 if (temp2)
14735 delete arg2;
14736 }
14737 return resultobj;
14738 fail:
14739 {
14740 if (temp2)
14741 delete arg2;
14742 }
14743 return NULL;
14744 }
14745
14746
14747 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14750 wxString *arg2 = 0 ;
14751 bool temp2 = false ;
14752 PyObject * obj0 = 0 ;
14753 PyObject * obj1 = 0 ;
14754 char *kwnames[] = {
14755 (char *) "self",(char *) "str", NULL
14756 };
14757
14758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14761 {
14762 arg2 = wxString_in_helper(obj1);
14763 if (arg2 == NULL) SWIG_fail;
14764 temp2 = true;
14765 }
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 (arg1)->SetReplaceString((wxString const &)*arg2);
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 Py_INCREF(Py_None); resultobj = Py_None;
14774 {
14775 if (temp2)
14776 delete arg2;
14777 }
14778 return resultobj;
14779 fail:
14780 {
14781 if (temp2)
14782 delete arg2;
14783 }
14784 return NULL;
14785 }
14786
14787
14788 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14789 PyObject *obj;
14790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14791 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14792 Py_INCREF(obj);
14793 return Py_BuildValue((char *)"");
14794 }
14795 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14796 PyObject *resultobj;
14797 wxWindow *arg1 = (wxWindow *) 0 ;
14798 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14799 wxString *arg3 = 0 ;
14800 int arg4 = (int) 0 ;
14801 wxFindReplaceDialog *result;
14802 bool temp3 = false ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 PyObject * obj2 = 0 ;
14806 PyObject * obj3 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14816 {
14817 arg3 = wxString_in_helper(obj2);
14818 if (arg3 == NULL) SWIG_fail;
14819 temp3 = true;
14820 }
14821 if (obj3) {
14822 arg4 = (int)SWIG_As_int(obj3);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 {
14826 if (!wxPyCheckForApp()) SWIG_fail;
14827 PyThreadState* __tstate = wxPyBeginAllowThreads();
14828 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14829
14830 wxPyEndAllowThreads(__tstate);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14834 {
14835 if (temp3)
14836 delete arg3;
14837 }
14838 return resultobj;
14839 fail:
14840 {
14841 if (temp3)
14842 delete arg3;
14843 }
14844 return NULL;
14845 }
14846
14847
14848 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxFindReplaceDialog *result;
14851 char *kwnames[] = {
14852 NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14856 {
14857 if (!wxPyCheckForApp()) SWIG_fail;
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14865 return resultobj;
14866 fail:
14867 return NULL;
14868 }
14869
14870
14871 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj;
14873 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14874 wxWindow *arg2 = (wxWindow *) 0 ;
14875 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14876 wxString *arg4 = 0 ;
14877 int arg5 = (int) 0 ;
14878 bool result;
14879 bool temp4 = false ;
14880 PyObject * obj0 = 0 ;
14881 PyObject * obj1 = 0 ;
14882 PyObject * obj2 = 0 ;
14883 PyObject * obj3 = 0 ;
14884 PyObject * obj4 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14894 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14896 {
14897 arg4 = wxString_in_helper(obj3);
14898 if (arg4 == NULL) SWIG_fail;
14899 temp4 = true;
14900 }
14901 if (obj4) {
14902 arg5 = (int)SWIG_As_int(obj4);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14914 }
14915 {
14916 if (temp4)
14917 delete arg4;
14918 }
14919 return resultobj;
14920 fail:
14921 {
14922 if (temp4)
14923 delete arg4;
14924 }
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14932 wxFindReplaceData *result;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (wxFindReplaceData *)(arg1)->GetData();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14958 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14959 PyObject * obj0 = 0 ;
14960 PyObject * obj1 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self",(char *) "data", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 (arg1)->SetData(arg2);
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 Py_INCREF(Py_None); resultobj = Py_None;
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14985 PyObject *obj;
14986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14988 Py_INCREF(obj);
14989 return Py_BuildValue((char *)"");
14990 }
14991 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxWindow *arg1 = (wxWindow *) 0 ;
14994 int arg2 = (int) (int)-1 ;
14995 wxString const &arg3_defvalue = wxPyEmptyString ;
14996 wxString *arg3 = (wxString *) &arg3_defvalue ;
14997 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14998 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14999 wxSize const &arg5_defvalue = wxDefaultSize ;
15000 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15001 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15002 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15003 wxString *arg7 = (wxString *) &arg7_defvalue ;
15004 wxMDIParentFrame *result;
15005 bool temp3 = false ;
15006 wxPoint temp4 ;
15007 wxSize temp5 ;
15008 bool temp7 = false ;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 PyObject * obj2 = 0 ;
15012 PyObject * obj3 = 0 ;
15013 PyObject * obj4 = 0 ;
15014 PyObject * obj5 = 0 ;
15015 PyObject * obj6 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15023 if (obj1) {
15024 arg2 = (int)SWIG_As_int(obj1);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 if (obj2) {
15028 {
15029 arg3 = wxString_in_helper(obj2);
15030 if (arg3 == NULL) SWIG_fail;
15031 temp3 = true;
15032 }
15033 }
15034 if (obj3) {
15035 {
15036 arg4 = &temp4;
15037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15038 }
15039 }
15040 if (obj4) {
15041 {
15042 arg5 = &temp5;
15043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15044 }
15045 }
15046 if (obj5) {
15047 arg6 = (long)SWIG_As_long(obj5);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 if (obj6) {
15051 {
15052 arg7 = wxString_in_helper(obj6);
15053 if (arg7 == NULL) SWIG_fail;
15054 temp7 = true;
15055 }
15056 }
15057 {
15058 if (!wxPyCheckForApp()) SWIG_fail;
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15066 {
15067 if (temp3)
15068 delete arg3;
15069 }
15070 {
15071 if (temp7)
15072 delete arg7;
15073 }
15074 return resultobj;
15075 fail:
15076 {
15077 if (temp3)
15078 delete arg3;
15079 }
15080 {
15081 if (temp7)
15082 delete arg7;
15083 }
15084 return NULL;
15085 }
15086
15087
15088 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj;
15090 wxMDIParentFrame *result;
15091 char *kwnames[] = {
15092 NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
15096 {
15097 if (!wxPyCheckForApp()) SWIG_fail;
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (wxMDIParentFrame *)new wxMDIParentFrame();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15105 return resultobj;
15106 fail:
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15114 wxWindow *arg2 = (wxWindow *) 0 ;
15115 int arg3 = (int) (int)-1 ;
15116 wxString const &arg4_defvalue = wxPyEmptyString ;
15117 wxString *arg4 = (wxString *) &arg4_defvalue ;
15118 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15119 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15120 wxSize const &arg6_defvalue = wxDefaultSize ;
15121 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15122 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15123 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15124 wxString *arg8 = (wxString *) &arg8_defvalue ;
15125 bool result;
15126 bool temp4 = false ;
15127 wxPoint temp5 ;
15128 wxSize temp6 ;
15129 bool temp8 = false ;
15130 PyObject * obj0 = 0 ;
15131 PyObject * obj1 = 0 ;
15132 PyObject * obj2 = 0 ;
15133 PyObject * obj3 = 0 ;
15134 PyObject * obj4 = 0 ;
15135 PyObject * obj5 = 0 ;
15136 PyObject * obj6 = 0 ;
15137 PyObject * obj7 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15147 if (obj2) {
15148 arg3 = (int)SWIG_As_int(obj2);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 if (obj3) {
15152 {
15153 arg4 = wxString_in_helper(obj3);
15154 if (arg4 == NULL) SWIG_fail;
15155 temp4 = true;
15156 }
15157 }
15158 if (obj4) {
15159 {
15160 arg5 = &temp5;
15161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15162 }
15163 }
15164 if (obj5) {
15165 {
15166 arg6 = &temp6;
15167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15168 }
15169 }
15170 if (obj6) {
15171 arg7 = (long)SWIG_As_long(obj6);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 if (obj7) {
15175 {
15176 arg8 = wxString_in_helper(obj7);
15177 if (arg8 == NULL) SWIG_fail;
15178 temp8 = true;
15179 }
15180 }
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15190 }
15191 {
15192 if (temp4)
15193 delete arg4;
15194 }
15195 {
15196 if (temp8)
15197 delete arg8;
15198 }
15199 return resultobj;
15200 fail:
15201 {
15202 if (temp4)
15203 delete arg4;
15204 }
15205 {
15206 if (temp8)
15207 delete arg8;
15208 }
15209 return NULL;
15210 }
15211
15212
15213 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15216 PyObject * obj0 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 (arg1)->ActivateNext();
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 Py_INCREF(Py_None); resultobj = Py_None;
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15241 PyObject * obj0 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 (arg1)->ActivatePrevious();
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 Py_INCREF(Py_None); resultobj = Py_None;
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 (arg1)->ArrangeIcons();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 Py_INCREF(Py_None); resultobj = Py_None;
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->Cascade();
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15316 wxMDIChildFrame *result;
15317 PyObject * obj0 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 {
15333 resultobj = wxPyMake_wxObject(result, 0);
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15344 wxMDIClientWindow *result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 {
15361 resultobj = wxPyMake_wxObject(result, 0);
15362 }
15363 return resultobj;
15364 fail:
15365 return NULL;
15366 }
15367
15368
15369 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15372 wxWindow *result;
15373 PyObject * obj0 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (wxWindow *)(arg1)->GetToolBar();
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 {
15389 resultobj = wxPyMake_wxObject(result, 0);
15390 }
15391 return resultobj;
15392 fail:
15393 return NULL;
15394 }
15395
15396
15397 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15398 PyObject *resultobj;
15399 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15400 PyObject * obj0 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 (arg1)->Tile();
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 Py_INCREF(Py_None); resultobj = Py_None;
15416 return resultobj;
15417 fail:
15418 return NULL;
15419 }
15420
15421
15422 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15423 PyObject *obj;
15424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15426 Py_INCREF(obj);
15427 return Py_BuildValue((char *)"");
15428 }
15429 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15432 int arg2 = (int) (int)-1 ;
15433 wxString const &arg3_defvalue = wxPyEmptyString ;
15434 wxString *arg3 = (wxString *) &arg3_defvalue ;
15435 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15436 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15437 wxSize const &arg5_defvalue = wxDefaultSize ;
15438 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15439 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15440 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15441 wxString *arg7 = (wxString *) &arg7_defvalue ;
15442 wxMDIChildFrame *result;
15443 bool temp3 = false ;
15444 wxPoint temp4 ;
15445 wxSize temp5 ;
15446 bool temp7 = false ;
15447 PyObject * obj0 = 0 ;
15448 PyObject * obj1 = 0 ;
15449 PyObject * obj2 = 0 ;
15450 PyObject * obj3 = 0 ;
15451 PyObject * obj4 = 0 ;
15452 PyObject * obj5 = 0 ;
15453 PyObject * obj6 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15461 if (obj1) {
15462 arg2 = (int)SWIG_As_int(obj1);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 if (obj2) {
15466 {
15467 arg3 = wxString_in_helper(obj2);
15468 if (arg3 == NULL) SWIG_fail;
15469 temp3 = true;
15470 }
15471 }
15472 if (obj3) {
15473 {
15474 arg4 = &temp4;
15475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15476 }
15477 }
15478 if (obj4) {
15479 {
15480 arg5 = &temp5;
15481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15482 }
15483 }
15484 if (obj5) {
15485 arg6 = (long)SWIG_As_long(obj5);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 if (obj6) {
15489 {
15490 arg7 = wxString_in_helper(obj6);
15491 if (arg7 == NULL) SWIG_fail;
15492 temp7 = true;
15493 }
15494 }
15495 {
15496 if (!wxPyCheckForApp()) SWIG_fail;
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15504 {
15505 if (temp3)
15506 delete arg3;
15507 }
15508 {
15509 if (temp7)
15510 delete arg7;
15511 }
15512 return resultobj;
15513 fail:
15514 {
15515 if (temp3)
15516 delete arg3;
15517 }
15518 {
15519 if (temp7)
15520 delete arg7;
15521 }
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxMDIChildFrame *result;
15529 char *kwnames[] = {
15530 NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15534 {
15535 if (!wxPyCheckForApp()) SWIG_fail;
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15552 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15553 int arg3 = (int) (int)-1 ;
15554 wxString const &arg4_defvalue = wxPyEmptyString ;
15555 wxString *arg4 = (wxString *) &arg4_defvalue ;
15556 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15557 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15558 wxSize const &arg6_defvalue = wxDefaultSize ;
15559 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15560 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15561 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15562 wxString *arg8 = (wxString *) &arg8_defvalue ;
15563 bool result;
15564 bool temp4 = false ;
15565 wxPoint temp5 ;
15566 wxSize temp6 ;
15567 bool temp8 = false ;
15568 PyObject * obj0 = 0 ;
15569 PyObject * obj1 = 0 ;
15570 PyObject * obj2 = 0 ;
15571 PyObject * obj3 = 0 ;
15572 PyObject * obj4 = 0 ;
15573 PyObject * obj5 = 0 ;
15574 PyObject * obj6 = 0 ;
15575 PyObject * obj7 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15585 if (obj2) {
15586 arg3 = (int)SWIG_As_int(obj2);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 if (obj3) {
15590 {
15591 arg4 = wxString_in_helper(obj3);
15592 if (arg4 == NULL) SWIG_fail;
15593 temp4 = true;
15594 }
15595 }
15596 if (obj4) {
15597 {
15598 arg5 = &temp5;
15599 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15600 }
15601 }
15602 if (obj5) {
15603 {
15604 arg6 = &temp6;
15605 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15606 }
15607 }
15608 if (obj6) {
15609 arg7 = (long)SWIG_As_long(obj6);
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 if (obj7) {
15613 {
15614 arg8 = wxString_in_helper(obj7);
15615 if (arg8 == NULL) SWIG_fail;
15616 temp8 = true;
15617 }
15618 }
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 {
15627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15628 }
15629 {
15630 if (temp4)
15631 delete arg4;
15632 }
15633 {
15634 if (temp8)
15635 delete arg8;
15636 }
15637 return resultobj;
15638 fail:
15639 {
15640 if (temp4)
15641 delete arg4;
15642 }
15643 {
15644 if (temp8)
15645 delete arg8;
15646 }
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 (arg1)->Activate();
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 Py_INCREF(Py_None); resultobj = Py_None;
15670 return resultobj;
15671 fail:
15672 return NULL;
15673 }
15674
15675
15676 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15677 PyObject *resultobj;
15678 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15679 bool arg2 ;
15680 PyObject * obj0 = 0 ;
15681 PyObject * obj1 = 0 ;
15682 char *kwnames[] = {
15683 (char *) "self",(char *) "maximize", NULL
15684 };
15685
15686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15689 arg2 = (bool)SWIG_As_bool(obj1);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 {
15692 PyThreadState* __tstate = wxPyBeginAllowThreads();
15693 (arg1)->Maximize(arg2);
15694
15695 wxPyEndAllowThreads(__tstate);
15696 if (PyErr_Occurred()) SWIG_fail;
15697 }
15698 Py_INCREF(Py_None); resultobj = Py_None;
15699 return resultobj;
15700 fail:
15701 return NULL;
15702 }
15703
15704
15705 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15706 PyObject *resultobj;
15707 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 (arg1)->Restore();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 Py_INCREF(Py_None); resultobj = Py_None;
15724 return resultobj;
15725 fail:
15726 return NULL;
15727 }
15728
15729
15730 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15731 PyObject *obj;
15732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15733 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15734 Py_INCREF(obj);
15735 return Py_BuildValue((char *)"");
15736 }
15737 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15740 long arg2 = (long) 0 ;
15741 wxMDIClientWindow *result;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "parent",(char *) "style", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15751 if (obj1) {
15752 arg2 = (long)SWIG_As_long(obj1);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 {
15756 if (!wxPyCheckForApp()) SWIG_fail;
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxMDIClientWindow *result;
15773 char *kwnames[] = {
15774 NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15778 {
15779 if (!wxPyCheckForApp()) SWIG_fail;
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15787 return resultobj;
15788 fail:
15789 return NULL;
15790 }
15791
15792
15793 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15796 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15797 long arg3 = (long) 0 ;
15798 bool result;
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 PyObject * obj2 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "parent",(char *) "style", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15811 if (obj2) {
15812 arg3 = (long)SWIG_As_long(obj2);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (bool)(arg1)->Create(arg2,arg3);
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 {
15823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15824 }
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15832 PyObject *obj;
15833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15834 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15835 Py_INCREF(obj);
15836 return Py_BuildValue((char *)"");
15837 }
15838 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxWindow *arg1 = (wxWindow *) 0 ;
15841 int arg2 = (int) (int)-1 ;
15842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15844 wxSize const &arg4_defvalue = wxDefaultSize ;
15845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15846 long arg5 = (long) 0 ;
15847 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15848 wxString *arg6 = (wxString *) &arg6_defvalue ;
15849 wxPyWindow *result;
15850 wxPoint temp3 ;
15851 wxSize temp4 ;
15852 bool temp6 = false ;
15853 PyObject * obj0 = 0 ;
15854 PyObject * obj1 = 0 ;
15855 PyObject * obj2 = 0 ;
15856 PyObject * obj3 = 0 ;
15857 PyObject * obj4 = 0 ;
15858 PyObject * obj5 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15866 if (obj1) {
15867 arg2 = (int)SWIG_As_int(obj1);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 if (obj2) {
15871 {
15872 arg3 = &temp3;
15873 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15874 }
15875 }
15876 if (obj3) {
15877 {
15878 arg4 = &temp4;
15879 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15880 }
15881 }
15882 if (obj4) {
15883 arg5 = (long)SWIG_As_long(obj4);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 if (obj5) {
15887 {
15888 arg6 = wxString_in_helper(obj5);
15889 if (arg6 == NULL) SWIG_fail;
15890 temp6 = true;
15891 }
15892 }
15893 {
15894 if (!wxPyCheckForApp()) SWIG_fail;
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15902 {
15903 if (temp6)
15904 delete arg6;
15905 }
15906 return resultobj;
15907 fail:
15908 {
15909 if (temp6)
15910 delete arg6;
15911 }
15912 return NULL;
15913 }
15914
15915
15916 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxPyWindow *result;
15919 char *kwnames[] = {
15920 NULL
15921 };
15922
15923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15924 {
15925 if (!wxPyCheckForApp()) SWIG_fail;
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxPyWindow *)new wxPyWindow();
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15933 return resultobj;
15934 fail:
15935 return NULL;
15936 }
15937
15938
15939 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15942 PyObject *arg2 = (PyObject *) 0 ;
15943 PyObject *arg3 = (PyObject *) 0 ;
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 PyObject * obj2 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "self",(char *) "_class", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15954 arg2 = obj1;
15955 arg3 = obj2;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 (arg1)->_setCallbackInfo(arg2,arg3);
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 Py_INCREF(Py_None); resultobj = Py_None;
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15973 wxSize *arg2 = 0 ;
15974 wxSize temp2 ;
15975 PyObject * obj0 = 0 ;
15976 PyObject * obj1 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self",(char *) "size", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15984 {
15985 arg2 = &temp2;
15986 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15987 }
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 (arg1)->SetBestSize((wxSize const &)*arg2);
15991
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 Py_INCREF(Py_None); resultobj = Py_None;
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj;
16004 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16005 int arg2 ;
16006 int arg3 ;
16007 int arg4 ;
16008 int arg5 ;
16009 PyObject * obj0 = 0 ;
16010 PyObject * obj1 = 0 ;
16011 PyObject * obj2 = 0 ;
16012 PyObject * obj3 = 0 ;
16013 PyObject * obj4 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16021 arg2 = (int)SWIG_As_int(obj1);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 arg3 = (int)SWIG_As_int(obj2);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 arg4 = (int)SWIG_As_int(obj3);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 arg5 = (int)SWIG_As_int(obj4);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 Py_INCREF(Py_None); resultobj = Py_None;
16037 return resultobj;
16038 fail:
16039 return NULL;
16040 }
16041
16042
16043 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj;
16045 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16046 int arg2 ;
16047 int arg3 ;
16048 int arg4 ;
16049 int arg5 ;
16050 int arg6 = (int) wxSIZE_AUTO ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 PyObject * obj2 = 0 ;
16054 PyObject * obj3 = 0 ;
16055 PyObject * obj4 = 0 ;
16056 PyObject * obj5 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16064 arg2 = (int)SWIG_As_int(obj1);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 arg3 = (int)SWIG_As_int(obj2);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 arg4 = (int)SWIG_As_int(obj3);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 arg5 = (int)SWIG_As_int(obj4);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 if (obj5) {
16073 arg6 = (int)SWIG_As_int(obj5);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 {
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 Py_INCREF(Py_None); resultobj = Py_None;
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16093 int arg2 ;
16094 int arg3 ;
16095 PyObject * obj0 = 0 ;
16096 PyObject * obj1 = 0 ;
16097 PyObject * obj2 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "self",(char *) "width",(char *) "height", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16105 arg2 = (int)SWIG_As_int(obj1);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 arg3 = (int)SWIG_As_int(obj2);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 (arg1)->base_DoSetClientSize(arg2,arg3);
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 Py_INCREF(Py_None); resultobj = Py_None;
16117 return resultobj;
16118 fail:
16119 return NULL;
16120 }
16121
16122
16123 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj;
16125 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16126 int arg2 ;
16127 int arg3 ;
16128 PyObject * obj0 = 0 ;
16129 PyObject * obj1 = 0 ;
16130 PyObject * obj2 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self",(char *) "x",(char *) "y", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16138 arg2 = (int)SWIG_As_int(obj1);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 arg3 = (int)SWIG_As_int(obj2);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 Py_INCREF(Py_None); resultobj = Py_None;
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16157 PyObject *resultobj;
16158 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16159 int *arg2 = (int *) 0 ;
16160 int *arg3 = (int *) 0 ;
16161 int temp2 ;
16162 int res2 = 0 ;
16163 int temp3 ;
16164 int res3 = 0 ;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16171 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16178
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 Py_INCREF(Py_None); resultobj = Py_None;
16183 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16184 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16185 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16186 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16196 int *arg2 = (int *) 0 ;
16197 int *arg3 = (int *) 0 ;
16198 int temp2 ;
16199 int res2 = 0 ;
16200 int temp3 ;
16201 int res3 = 0 ;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16208 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 Py_INCREF(Py_None); resultobj = Py_None;
16220 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16221 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16222 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16223 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16224 return resultobj;
16225 fail:
16226 return NULL;
16227 }
16228
16229
16230 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16233 int *arg2 = (int *) 0 ;
16234 int *arg3 = (int *) 0 ;
16235 int temp2 ;
16236 int res2 = 0 ;
16237 int temp3 ;
16238 int res3 = 0 ;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16245 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 Py_INCREF(Py_None); resultobj = Py_None;
16257 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16258 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16259 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16260 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj;
16269 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16270 wxSize result;
16271 PyObject * obj0 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 {
16287 wxSize * resultptr;
16288 resultptr = new wxSize((wxSize &) result);
16289 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16290 }
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16300 wxSize result;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 {
16317 wxSize * resultptr;
16318 resultptr = new wxSize((wxSize &) result);
16319 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16320 }
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16330 PyObject * obj0 = 0 ;
16331 char *kwnames[] = {
16332 (char *) "self", NULL
16333 };
16334
16335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->base_InitDialog();
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 Py_INCREF(Py_None); resultobj = Py_None;
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16355 bool result;
16356 PyObject * obj0 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 result = (bool)(arg1)->base_TransferDataToWindow();
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 {
16372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16373 }
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16383 bool result;
16384 PyObject * obj0 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self", NULL
16387 };
16388
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 result = (bool)(arg1)->base_TransferDataFromWindow();
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 {
16400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16401 }
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16411 bool result;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 result = (bool)(arg1)->base_Validate();
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 {
16428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16429 }
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16439 bool result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 {
16456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16457 }
16458 return resultobj;
16459 fail:
16460 return NULL;
16461 }
16462
16463
16464 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16467 bool result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 {
16484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16485 }
16486 return resultobj;
16487 fail:
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16495 wxSize result;
16496 PyObject * obj0 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 {
16512 wxSize * resultptr;
16513 resultptr = new wxSize((wxSize &) result);
16514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16515 }
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16525 wxWindow *arg2 = (wxWindow *) 0 ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self",(char *) "child", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->base_AddChild(arg2);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 Py_INCREF(Py_None); resultobj = Py_None;
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16554 wxWindow *arg2 = (wxWindow *) 0 ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self",(char *) "child", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 (arg1)->base_RemoveChild(arg2);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 Py_INCREF(Py_None); resultobj = Py_None;
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16583 bool result;
16584 PyObject * obj0 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 {
16600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16601 }
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj;
16610 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16611 wxColour *arg2 = 0 ;
16612 wxColour temp2 ;
16613 PyObject * obj0 = 0 ;
16614 PyObject * obj1 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "c", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16622 {
16623 arg2 = &temp2;
16624 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16625 }
16626 {
16627 PyThreadState* __tstate = wxPyBeginAllowThreads();
16628 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16629
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 Py_INCREF(Py_None); resultobj = Py_None;
16634 return resultobj;
16635 fail:
16636 return NULL;
16637 }
16638
16639
16640 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16643 wxVisualAttributes result;
16644 PyObject * obj0 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16652 {
16653 PyThreadState* __tstate = wxPyBeginAllowThreads();
16654 result = (arg1)->base_GetDefaultAttributes();
16655
16656 wxPyEndAllowThreads(__tstate);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 }
16659 {
16660 wxVisualAttributes * resultptr;
16661 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16663 }
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16671 PyObject *obj;
16672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16673 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16674 Py_INCREF(obj);
16675 return Py_BuildValue((char *)"");
16676 }
16677 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxWindow *arg1 = (wxWindow *) 0 ;
16680 int arg2 = (int) (int)-1 ;
16681 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16682 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16683 wxSize const &arg4_defvalue = wxDefaultSize ;
16684 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16685 long arg5 = (long) 0 ;
16686 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16687 wxString *arg6 = (wxString *) &arg6_defvalue ;
16688 wxPyPanel *result;
16689 wxPoint temp3 ;
16690 wxSize temp4 ;
16691 bool temp6 = false ;
16692 PyObject * obj0 = 0 ;
16693 PyObject * obj1 = 0 ;
16694 PyObject * obj2 = 0 ;
16695 PyObject * obj3 = 0 ;
16696 PyObject * obj4 = 0 ;
16697 PyObject * obj5 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16705 if (obj1) {
16706 arg2 = (int)SWIG_As_int(obj1);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 if (obj2) {
16710 {
16711 arg3 = &temp3;
16712 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16713 }
16714 }
16715 if (obj3) {
16716 {
16717 arg4 = &temp4;
16718 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16719 }
16720 }
16721 if (obj4) {
16722 arg5 = (long)SWIG_As_long(obj4);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 if (obj5) {
16726 {
16727 arg6 = wxString_in_helper(obj5);
16728 if (arg6 == NULL) SWIG_fail;
16729 temp6 = true;
16730 }
16731 }
16732 {
16733 if (!wxPyCheckForApp()) SWIG_fail;
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16736
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16741 {
16742 if (temp6)
16743 delete arg6;
16744 }
16745 return resultobj;
16746 fail:
16747 {
16748 if (temp6)
16749 delete arg6;
16750 }
16751 return NULL;
16752 }
16753
16754
16755 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj;
16757 wxPyPanel *result;
16758 char *kwnames[] = {
16759 NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16763 {
16764 if (!wxPyCheckForApp()) SWIG_fail;
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (wxPyPanel *)new wxPyPanel();
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16781 PyObject *arg2 = (PyObject *) 0 ;
16782 PyObject *arg3 = (PyObject *) 0 ;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 PyObject * obj2 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self",(char *) "self",(char *) "_class", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16793 arg2 = obj1;
16794 arg3 = obj2;
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 (arg1)->_setCallbackInfo(arg2,arg3);
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 Py_INCREF(Py_None); resultobj = Py_None;
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16812 wxSize *arg2 = 0 ;
16813 wxSize temp2 ;
16814 PyObject * obj0 = 0 ;
16815 PyObject * obj1 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self",(char *) "size", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16823 {
16824 arg2 = &temp2;
16825 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16826 }
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 (arg1)->SetBestSize((wxSize const &)*arg2);
16830
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 Py_INCREF(Py_None); resultobj = Py_None;
16835 return resultobj;
16836 fail:
16837 return NULL;
16838 }
16839
16840
16841 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj;
16843 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16844 int arg2 ;
16845 int arg3 ;
16846 int arg4 ;
16847 int arg5 ;
16848 PyObject * obj0 = 0 ;
16849 PyObject * obj1 = 0 ;
16850 PyObject * obj2 = 0 ;
16851 PyObject * obj3 = 0 ;
16852 PyObject * obj4 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 arg2 = (int)SWIG_As_int(obj1);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 arg3 = (int)SWIG_As_int(obj2);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 arg4 = (int)SWIG_As_int(obj3);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 arg5 = (int)SWIG_As_int(obj4);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 Py_INCREF(Py_None); resultobj = Py_None;
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16885 int arg2 ;
16886 int arg3 ;
16887 int arg4 ;
16888 int arg5 ;
16889 int arg6 = (int) wxSIZE_AUTO ;
16890 PyObject * obj0 = 0 ;
16891 PyObject * obj1 = 0 ;
16892 PyObject * obj2 = 0 ;
16893 PyObject * obj3 = 0 ;
16894 PyObject * obj4 = 0 ;
16895 PyObject * obj5 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16903 arg2 = (int)SWIG_As_int(obj1);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 arg3 = (int)SWIG_As_int(obj2);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 arg4 = (int)SWIG_As_int(obj3);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 arg5 = (int)SWIG_As_int(obj4);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 if (obj5) {
16912 arg6 = (int)SWIG_As_int(obj5);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 Py_INCREF(Py_None); resultobj = Py_None;
16923 return resultobj;
16924 fail:
16925 return NULL;
16926 }
16927
16928
16929 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16932 int arg2 ;
16933 int arg3 ;
16934 PyObject * obj0 = 0 ;
16935 PyObject * obj1 = 0 ;
16936 PyObject * obj2 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self",(char *) "width",(char *) "height", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16944 arg2 = (int)SWIG_As_int(obj1);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 arg3 = (int)SWIG_As_int(obj2);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 (arg1)->base_DoSetClientSize(arg2,arg3);
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
16955 Py_INCREF(Py_None); resultobj = Py_None;
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj;
16964 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16965 int arg2 ;
16966 int arg3 ;
16967 PyObject * obj0 = 0 ;
16968 PyObject * obj1 = 0 ;
16969 PyObject * obj2 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "self",(char *) "x",(char *) "y", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16977 arg2 = (int)SWIG_As_int(obj1);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 arg3 = (int)SWIG_As_int(obj2);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16998 int *arg2 = (int *) 0 ;
16999 int *arg3 = (int *) 0 ;
17000 int temp2 ;
17001 int res2 = 0 ;
17002 int temp3 ;
17003 int res3 = 0 ;
17004 PyObject * obj0 = 0 ;
17005 char *kwnames[] = {
17006 (char *) "self", NULL
17007 };
17008
17009 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17010 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17014 {
17015 PyThreadState* __tstate = wxPyBeginAllowThreads();
17016 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
17017
17018 wxPyEndAllowThreads(__tstate);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 Py_INCREF(Py_None); resultobj = Py_None;
17022 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17023 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17024 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17025 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17035 int *arg2 = (int *) 0 ;
17036 int *arg3 = (int *) 0 ;
17037 int temp2 ;
17038 int res2 = 0 ;
17039 int temp3 ;
17040 int res3 = 0 ;
17041 PyObject * obj0 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "self", NULL
17044 };
17045
17046 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17047 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 Py_INCREF(Py_None); resultobj = Py_None;
17059 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17060 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17061 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17062 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17063 return resultobj;
17064 fail:
17065 return NULL;
17066 }
17067
17068
17069 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17070 PyObject *resultobj;
17071 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17072 int *arg2 = (int *) 0 ;
17073 int *arg3 = (int *) 0 ;
17074 int temp2 ;
17075 int res2 = 0 ;
17076 int temp3 ;
17077 int res3 = 0 ;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17084 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 Py_INCREF(Py_None); resultobj = Py_None;
17096 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17097 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17098 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17099 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17109 wxSize result;
17110 PyObject * obj0 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 {
17126 wxSize * resultptr;
17127 resultptr = new wxSize((wxSize &) result);
17128 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17129 }
17130 return resultobj;
17131 fail:
17132 return NULL;
17133 }
17134
17135
17136 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17137 PyObject *resultobj;
17138 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17139 wxSize result;
17140 PyObject * obj0 = 0 ;
17141 char *kwnames[] = {
17142 (char *) "self", NULL
17143 };
17144
17145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 {
17156 wxSize * resultptr;
17157 resultptr = new wxSize((wxSize &) result);
17158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17159 }
17160 return resultobj;
17161 fail:
17162 return NULL;
17163 }
17164
17165
17166 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 (arg1)->base_InitDialog();
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 Py_INCREF(Py_None); resultobj = Py_None;
17185 return resultobj;
17186 fail:
17187 return NULL;
17188 }
17189
17190
17191 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj;
17193 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17194 bool result;
17195 PyObject * obj0 = 0 ;
17196 char *kwnames[] = {
17197 (char *) "self", NULL
17198 };
17199
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 result = (bool)(arg1)->base_TransferDataToWindow();
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 {
17211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17212 }
17213 return resultobj;
17214 fail:
17215 return NULL;
17216 }
17217
17218
17219 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17222 bool result;
17223 PyObject * obj0 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (bool)(arg1)->base_TransferDataFromWindow();
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 {
17239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17240 }
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17250 bool result;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 result = (bool)(arg1)->base_Validate();
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 {
17267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17268 }
17269 return resultobj;
17270 fail:
17271 return NULL;
17272 }
17273
17274
17275 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17276 PyObject *resultobj;
17277 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17278 bool result;
17279 PyObject * obj0 = 0 ;
17280 char *kwnames[] = {
17281 (char *) "self", NULL
17282 };
17283
17284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17296 }
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17306 bool result;
17307 PyObject * obj0 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17318
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 {
17323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17324 }
17325 return resultobj;
17326 fail:
17327 return NULL;
17328 }
17329
17330
17331 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj;
17333 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17334 wxSize result;
17335 PyObject * obj0 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 {
17351 wxSize * resultptr;
17352 resultptr = new wxSize((wxSize &) result);
17353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17354 }
17355 return resultobj;
17356 fail:
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17364 wxWindow *arg2 = (wxWindow *) 0 ;
17365 PyObject * obj0 = 0 ;
17366 PyObject * obj1 = 0 ;
17367 char *kwnames[] = {
17368 (char *) "self",(char *) "child", NULL
17369 };
17370
17371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17376 {
17377 PyThreadState* __tstate = wxPyBeginAllowThreads();
17378 (arg1)->base_AddChild(arg2);
17379
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 Py_INCREF(Py_None); resultobj = Py_None;
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17393 wxWindow *arg2 = (wxWindow *) 0 ;
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self",(char *) "child", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->base_RemoveChild(arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 Py_INCREF(Py_None); resultobj = Py_None;
17413 return resultobj;
17414 fail:
17415 return NULL;
17416 }
17417
17418
17419 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj;
17421 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17422 bool result;
17423 PyObject * obj0 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17440 }
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17450 wxColour *arg2 = 0 ;
17451 wxColour temp2 ;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "c", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17461 {
17462 arg2 = &temp2;
17463 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17464 }
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 Py_INCREF(Py_None); resultobj = Py_None;
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17482 wxVisualAttributes result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 result = (arg1)->base_GetDefaultAttributes();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 {
17499 wxVisualAttributes * resultptr;
17500 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17502 }
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17510 PyObject *obj;
17511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17513 Py_INCREF(obj);
17514 return Py_BuildValue((char *)"");
17515 }
17516 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj;
17518 wxWindow *arg1 = (wxWindow *) 0 ;
17519 int arg2 = (int) (int)-1 ;
17520 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17521 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17522 wxSize const &arg4_defvalue = wxDefaultSize ;
17523 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17524 long arg5 = (long) 0 ;
17525 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17526 wxString *arg6 = (wxString *) &arg6_defvalue ;
17527 wxPyScrolledWindow *result;
17528 wxPoint temp3 ;
17529 wxSize temp4 ;
17530 bool temp6 = false ;
17531 PyObject * obj0 = 0 ;
17532 PyObject * obj1 = 0 ;
17533 PyObject * obj2 = 0 ;
17534 PyObject * obj3 = 0 ;
17535 PyObject * obj4 = 0 ;
17536 PyObject * obj5 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17544 if (obj1) {
17545 arg2 = (int)SWIG_As_int(obj1);
17546 if (PyErr_Occurred()) SWIG_fail;
17547 }
17548 if (obj2) {
17549 {
17550 arg3 = &temp3;
17551 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17552 }
17553 }
17554 if (obj3) {
17555 {
17556 arg4 = &temp4;
17557 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17558 }
17559 }
17560 if (obj4) {
17561 arg5 = (long)SWIG_As_long(obj4);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 if (obj5) {
17565 {
17566 arg6 = wxString_in_helper(obj5);
17567 if (arg6 == NULL) SWIG_fail;
17568 temp6 = true;
17569 }
17570 }
17571 {
17572 if (!wxPyCheckForApp()) SWIG_fail;
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17580 {
17581 if (temp6)
17582 delete arg6;
17583 }
17584 return resultobj;
17585 fail:
17586 {
17587 if (temp6)
17588 delete arg6;
17589 }
17590 return NULL;
17591 }
17592
17593
17594 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxPyScrolledWindow *result;
17597 char *kwnames[] = {
17598 NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17602 {
17603 if (!wxPyCheckForApp()) SWIG_fail;
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17620 PyObject *arg2 = (PyObject *) 0 ;
17621 PyObject *arg3 = (PyObject *) 0 ;
17622 PyObject * obj0 = 0 ;
17623 PyObject * obj1 = 0 ;
17624 PyObject * obj2 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self",(char *) "self",(char *) "_class", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17632 arg2 = obj1;
17633 arg3 = obj2;
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 (arg1)->_setCallbackInfo(arg2,arg3);
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 Py_INCREF(Py_None); resultobj = Py_None;
17642 return resultobj;
17643 fail:
17644 return NULL;
17645 }
17646
17647
17648 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17649 PyObject *resultobj;
17650 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17651 wxSize *arg2 = 0 ;
17652 wxSize temp2 ;
17653 PyObject * obj0 = 0 ;
17654 PyObject * obj1 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self",(char *) "size", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17662 {
17663 arg2 = &temp2;
17664 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17665 }
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->SetBestSize((wxSize const &)*arg2);
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 Py_INCREF(Py_None); resultobj = Py_None;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17683 int arg2 ;
17684 int arg3 ;
17685 int arg4 ;
17686 int arg5 ;
17687 PyObject * obj0 = 0 ;
17688 PyObject * obj1 = 0 ;
17689 PyObject * obj2 = 0 ;
17690 PyObject * obj3 = 0 ;
17691 PyObject * obj4 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17699 arg2 = (int)SWIG_As_int(obj1);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 arg3 = (int)SWIG_As_int(obj2);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 arg4 = (int)SWIG_As_int(obj3);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 arg5 = (int)SWIG_As_int(obj4);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17722 PyObject *resultobj;
17723 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17724 int arg2 ;
17725 int arg3 ;
17726 int arg4 ;
17727 int arg5 ;
17728 int arg6 = (int) wxSIZE_AUTO ;
17729 PyObject * obj0 = 0 ;
17730 PyObject * obj1 = 0 ;
17731 PyObject * obj2 = 0 ;
17732 PyObject * obj3 = 0 ;
17733 PyObject * obj4 = 0 ;
17734 PyObject * obj5 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17742 arg2 = (int)SWIG_As_int(obj1);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 arg3 = (int)SWIG_As_int(obj2);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 arg4 = (int)SWIG_As_int(obj3);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 arg5 = (int)SWIG_As_int(obj4);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 if (obj5) {
17751 arg6 = (int)SWIG_As_int(obj5);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 Py_INCREF(Py_None); resultobj = Py_None;
17762 return resultobj;
17763 fail:
17764 return NULL;
17765 }
17766
17767
17768 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17769 PyObject *resultobj;
17770 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17771 int arg2 ;
17772 int arg3 ;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 PyObject * obj2 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "width",(char *) "height", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17783 arg2 = (int)SWIG_As_int(obj1);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 arg3 = (int)SWIG_As_int(obj2);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 (arg1)->base_DoSetClientSize(arg2,arg3);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 Py_INCREF(Py_None); resultobj = Py_None;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17804 int arg2 ;
17805 int arg3 ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 PyObject * obj2 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "x",(char *) "y", NULL
17811 };
17812
17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17816 arg2 = (int)SWIG_As_int(obj1);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 arg3 = (int)SWIG_As_int(obj2);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 Py_INCREF(Py_None); resultobj = Py_None;
17828 return resultobj;
17829 fail:
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17837 int *arg2 = (int *) 0 ;
17838 int *arg3 = (int *) 0 ;
17839 int temp2 ;
17840 int res2 = 0 ;
17841 int temp3 ;
17842 int res3 = 0 ;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self", NULL
17846 };
17847
17848 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17849 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17862 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17863 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17864 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17865 return resultobj;
17866 fail:
17867 return NULL;
17868 }
17869
17870
17871 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17874 int *arg2 = (int *) 0 ;
17875 int *arg3 = (int *) 0 ;
17876 int temp2 ;
17877 int res2 = 0 ;
17878 int temp3 ;
17879 int res3 = 0 ;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17886 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 Py_INCREF(Py_None); resultobj = Py_None;
17898 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17899 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17900 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17901 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17911 int *arg2 = (int *) 0 ;
17912 int *arg3 = (int *) 0 ;
17913 int temp2 ;
17914 int res2 = 0 ;
17915 int temp3 ;
17916 int res3 = 0 ;
17917 PyObject * obj0 = 0 ;
17918 char *kwnames[] = {
17919 (char *) "self", NULL
17920 };
17921
17922 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17923 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17927 {
17928 PyThreadState* __tstate = wxPyBeginAllowThreads();
17929 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17930
17931 wxPyEndAllowThreads(__tstate);
17932 if (PyErr_Occurred()) SWIG_fail;
17933 }
17934 Py_INCREF(Py_None); resultobj = Py_None;
17935 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17936 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17937 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17938 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17939 return resultobj;
17940 fail:
17941 return NULL;
17942 }
17943
17944
17945 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17948 wxSize result;
17949 PyObject * obj0 = 0 ;
17950 char *kwnames[] = {
17951 (char *) "self", NULL
17952 };
17953
17954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 {
17965 wxSize * resultptr;
17966 resultptr = new wxSize((wxSize &) result);
17967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17968 }
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17978 wxSize result;
17979 PyObject * obj0 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 {
17995 wxSize * resultptr;
17996 resultptr = new wxSize((wxSize &) result);
17997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17998 }
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18008 PyObject * obj0 = 0 ;
18009 char *kwnames[] = {
18010 (char *) "self", NULL
18011 };
18012
18013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->base_InitDialog();
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18033 bool result;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (bool)(arg1)->base_TransferDataToWindow();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18061 bool result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (bool)(arg1)->base_TransferDataFromWindow();
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18089 bool result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (bool)(arg1)->base_Validate();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 {
18106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18107 }
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18117 bool result;
18118 PyObject * obj0 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "self", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 {
18134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18135 }
18136 return resultobj;
18137 fail:
18138 return NULL;
18139 }
18140
18141
18142 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18143 PyObject *resultobj;
18144 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18145 bool result;
18146 PyObject * obj0 = 0 ;
18147 char *kwnames[] = {
18148 (char *) "self", NULL
18149 };
18150
18151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18154 {
18155 PyThreadState* __tstate = wxPyBeginAllowThreads();
18156 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 {
18162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18163 }
18164 return resultobj;
18165 fail:
18166 return NULL;
18167 }
18168
18169
18170 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18171 PyObject *resultobj;
18172 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18173 wxSize result;
18174 PyObject * obj0 = 0 ;
18175 char *kwnames[] = {
18176 (char *) "self", NULL
18177 };
18178
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 {
18190 wxSize * resultptr;
18191 resultptr = new wxSize((wxSize &) result);
18192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18203 wxWindow *arg2 = (wxWindow *) 0 ;
18204 PyObject * obj0 = 0 ;
18205 PyObject * obj1 = 0 ;
18206 char *kwnames[] = {
18207 (char *) "self",(char *) "child", NULL
18208 };
18209
18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 (arg1)->base_AddChild(arg2);
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 Py_INCREF(Py_None); resultobj = Py_None;
18223 return resultobj;
18224 fail:
18225 return NULL;
18226 }
18227
18228
18229 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18230 PyObject *resultobj;
18231 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18232 wxWindow *arg2 = (wxWindow *) 0 ;
18233 PyObject * obj0 = 0 ;
18234 PyObject * obj1 = 0 ;
18235 char *kwnames[] = {
18236 (char *) "self",(char *) "child", NULL
18237 };
18238
18239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 (arg1)->base_RemoveChild(arg2);
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 Py_INCREF(Py_None); resultobj = Py_None;
18252 return resultobj;
18253 fail:
18254 return NULL;
18255 }
18256
18257
18258 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18259 PyObject *resultobj;
18260 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18261 bool result;
18262 PyObject * obj0 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 {
18278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18279 }
18280 return resultobj;
18281 fail:
18282 return NULL;
18283 }
18284
18285
18286 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj;
18288 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18289 wxColour *arg2 = 0 ;
18290 wxColour temp2 ;
18291 PyObject * obj0 = 0 ;
18292 PyObject * obj1 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self",(char *) "c", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18300 {
18301 arg2 = &temp2;
18302 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18303 }
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 Py_INCREF(Py_None); resultobj = Py_None;
18312 return resultobj;
18313 fail:
18314 return NULL;
18315 }
18316
18317
18318 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18321 wxVisualAttributes result;
18322 PyObject * obj0 = 0 ;
18323 char *kwnames[] = {
18324 (char *) "self", NULL
18325 };
18326
18327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 result = (arg1)->base_GetDefaultAttributes();
18333
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 {
18338 wxVisualAttributes * resultptr;
18339 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18341 }
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18349 PyObject *obj;
18350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18351 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18352 Py_INCREF(obj);
18353 return Py_BuildValue((char *)"");
18354 }
18355 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18356 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18357 return 1;
18358 }
18359
18360
18361 static PyObject *_wrap_PrintoutTitleStr_get() {
18362 PyObject *pyobj;
18363
18364 {
18365 #if wxUSE_UNICODE
18366 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18367 #else
18368 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18369 #endif
18370 }
18371 return pyobj;
18372 }
18373
18374
18375 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18376 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18377 return 1;
18378 }
18379
18380
18381 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18382 PyObject *pyobj;
18383
18384 {
18385 #if wxUSE_UNICODE
18386 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18387 #else
18388 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18389 #endif
18390 }
18391 return pyobj;
18392 }
18393
18394
18395 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18396 PyObject *resultobj;
18397 wxPrintData *result;
18398
18399 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (wxPrintData *)new wxPrintData();
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18415 PyObject *resultobj;
18416 wxPrintData *arg1 = 0 ;
18417 wxPrintData *result;
18418 PyObject * obj0 = 0 ;
18419
18420 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18422 SWIG_POINTER_EXCEPTION | 0)) == -1)
18423 SWIG_fail;
18424 if (arg1 == NULL) {
18425 PyErr_SetString(PyExc_TypeError,"null reference");
18426 SWIG_fail;
18427 }
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18443 int argc;
18444 PyObject *argv[2];
18445 int ii;
18446
18447 argc = PyObject_Length(args);
18448 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18449 argv[ii] = PyTuple_GetItem(args,ii);
18450 }
18451 if (argc == 0) {
18452 return _wrap_new_PrintData__SWIG_0(self,args);
18453 }
18454 if (argc == 1) {
18455 int _v;
18456 {
18457 void *ptr;
18458 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18459 _v = 0;
18460 PyErr_Clear();
18461 } else {
18462 _v = 1;
18463 }
18464 }
18465 if (_v) {
18466 return _wrap_new_PrintData__SWIG_1(self,args);
18467 }
18468 }
18469
18470 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxPrintData *arg1 = (wxPrintData *) 0 ;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 delete arg1;
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 Py_INCREF(Py_None); resultobj = Py_None;
18494 return resultobj;
18495 fail:
18496 return NULL;
18497 }
18498
18499
18500 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18501 PyObject *resultobj;
18502 wxPrintData *arg1 = (wxPrintData *) 0 ;
18503 int result;
18504 PyObject * obj0 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = (int)(arg1)->GetNoCopies();
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 resultobj = SWIG_From_int((int)result);
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPrintData *arg1 = (wxPrintData *) 0 ;
18529 bool result;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (bool)(arg1)->GetCollate();
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18547 }
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPrintData *arg1 = (wxPrintData *) 0 ;
18557 int result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (int)(arg1)->GetOrientation();
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 resultobj = SWIG_From_int((int)result);
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxPrintData *arg1 = (wxPrintData *) 0 ;
18583 bool result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (bool)(arg1)->Ok();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 {
18600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18601 }
18602 return resultobj;
18603 fail:
18604 return NULL;
18605 }
18606
18607
18608 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxPrintData *arg1 = (wxPrintData *) 0 ;
18611 wxString *result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 {
18623 wxString const &_result_ref = (arg1)->GetPrinterName();
18624 result = (wxString *) &_result_ref;
18625 }
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 {
18631 #if wxUSE_UNICODE
18632 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18633 #else
18634 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18635 #endif
18636 }
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxPrintData *arg1 = (wxPrintData *) 0 ;
18646 bool result;
18647 PyObject * obj0 = 0 ;
18648 char *kwnames[] = {
18649 (char *) "self", NULL
18650 };
18651
18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (bool)(arg1)->GetColour();
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 {
18663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18664 }
18665 return resultobj;
18666 fail:
18667 return NULL;
18668 }
18669
18670
18671 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj;
18673 wxPrintData *arg1 = (wxPrintData *) 0 ;
18674 int result;
18675 PyObject * obj0 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 result = (int)(arg1)->GetDuplex();
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_From_int((int)result);
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxPrintData *arg1 = (wxPrintData *) 0 ;
18700 int result;
18701 PyObject * obj0 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (int)(arg1)->GetPaperId();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_From_int((int)result);
18717 return resultobj;
18718 fail:
18719 return NULL;
18720 }
18721
18722
18723 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxPrintData *arg1 = (wxPrintData *) 0 ;
18726 wxSize *result;
18727 PyObject * obj0 = 0 ;
18728 char *kwnames[] = {
18729 (char *) "self", NULL
18730 };
18731
18732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18735 {
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 {
18738 wxSize const &_result_ref = (arg1)->GetPaperSize();
18739 result = (wxSize *) &_result_ref;
18740 }
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 wxPrintData *arg1 = (wxPrintData *) 0 ;
18755 int result;
18756 PyObject * obj0 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "self", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 result = (int)(arg1)->GetQuality();
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 resultobj = SWIG_From_int((int)result);
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPrintData *arg1 = (wxPrintData *) 0 ;
18781 int result;
18782 PyObject * obj0 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 result = (int)(arg1)->GetBin();
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 resultobj = SWIG_From_int((int)result);
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxPrintData *arg1 = (wxPrintData *) 0 ;
18807 int result;
18808 PyObject * obj0 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self", NULL
18811 };
18812
18813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 result = (int)((wxPrintData const *)arg1)->GetPrintMode();
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 resultobj = SWIG_From_int((int)result);
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxPrintData *arg1 = (wxPrintData *) 0 ;
18833 int arg2 ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self",(char *) "v", NULL
18838 };
18839
18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18843 arg2 = (int)SWIG_As_int(obj1);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 (arg1)->SetNoCopies(arg2);
18848
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 Py_INCREF(Py_None); resultobj = Py_None;
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj;
18861 wxPrintData *arg1 = (wxPrintData *) 0 ;
18862 bool arg2 ;
18863 PyObject * obj0 = 0 ;
18864 PyObject * obj1 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self",(char *) "flag", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18872 arg2 = (bool)SWIG_As_bool(obj1);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 (arg1)->SetCollate(arg2);
18877
18878 wxPyEndAllowThreads(__tstate);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 }
18881 Py_INCREF(Py_None); resultobj = Py_None;
18882 return resultobj;
18883 fail:
18884 return NULL;
18885 }
18886
18887
18888 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18889 PyObject *resultobj;
18890 wxPrintData *arg1 = (wxPrintData *) 0 ;
18891 int arg2 ;
18892 PyObject * obj0 = 0 ;
18893 PyObject * obj1 = 0 ;
18894 char *kwnames[] = {
18895 (char *) "self",(char *) "orient", NULL
18896 };
18897
18898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18901 arg2 = (int)SWIG_As_int(obj1);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 {
18904 PyThreadState* __tstate = wxPyBeginAllowThreads();
18905 (arg1)->SetOrientation(arg2);
18906
18907 wxPyEndAllowThreads(__tstate);
18908 if (PyErr_Occurred()) SWIG_fail;
18909 }
18910 Py_INCREF(Py_None); resultobj = Py_None;
18911 return resultobj;
18912 fail:
18913 return NULL;
18914 }
18915
18916
18917 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18918 PyObject *resultobj;
18919 wxPrintData *arg1 = (wxPrintData *) 0 ;
18920 wxString *arg2 = 0 ;
18921 bool temp2 = false ;
18922 PyObject * obj0 = 0 ;
18923 PyObject * obj1 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self",(char *) "name", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18931 {
18932 arg2 = wxString_in_helper(obj1);
18933 if (arg2 == NULL) SWIG_fail;
18934 temp2 = true;
18935 }
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 (arg1)->SetPrinterName((wxString const &)*arg2);
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 Py_INCREF(Py_None); resultobj = Py_None;
18944 {
18945 if (temp2)
18946 delete arg2;
18947 }
18948 return resultobj;
18949 fail:
18950 {
18951 if (temp2)
18952 delete arg2;
18953 }
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPrintData *arg1 = (wxPrintData *) 0 ;
18961 bool arg2 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "colour", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18971 arg2 = (bool)SWIG_As_bool(obj1);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 {
18974 PyThreadState* __tstate = wxPyBeginAllowThreads();
18975 (arg1)->SetColour(arg2);
18976
18977 wxPyEndAllowThreads(__tstate);
18978 if (PyErr_Occurred()) SWIG_fail;
18979 }
18980 Py_INCREF(Py_None); resultobj = Py_None;
18981 return resultobj;
18982 fail:
18983 return NULL;
18984 }
18985
18986
18987 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxPrintData *arg1 = (wxPrintData *) 0 ;
18990 int arg2 ;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self",(char *) "duplex", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19000 arg2 = (int)SWIG_As_int(obj1);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 (arg1)->SetDuplex((wxDuplexMode )arg2);
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj;
19018 wxPrintData *arg1 = (wxPrintData *) 0 ;
19019 int arg2 ;
19020 PyObject * obj0 = 0 ;
19021 PyObject * obj1 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self",(char *) "sizeId", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19029 arg2 = (int)SWIG_As_int(obj1);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 (arg1)->SetPaperId((wxPaperSize )arg2);
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 Py_INCREF(Py_None); resultobj = Py_None;
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPrintData *arg1 = (wxPrintData *) 0 ;
19048 wxSize *arg2 = 0 ;
19049 wxSize temp2 ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj1 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "sz", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19059 {
19060 arg2 = &temp2;
19061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19062 }
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 (arg1)->SetPaperSize((wxSize const &)*arg2);
19066
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 Py_INCREF(Py_None); resultobj = Py_None;
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxPrintData *arg1 = (wxPrintData *) 0 ;
19080 int arg2 ;
19081 PyObject * obj0 = 0 ;
19082 PyObject * obj1 = 0 ;
19083 char *kwnames[] = {
19084 (char *) "self",(char *) "quality", NULL
19085 };
19086
19087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19090 arg2 = (int)SWIG_As_int(obj1);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 (arg1)->SetQuality(arg2);
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 Py_INCREF(Py_None); resultobj = Py_None;
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPrintData *arg1 = (wxPrintData *) 0 ;
19109 int arg2 ;
19110 PyObject * obj0 = 0 ;
19111 PyObject * obj1 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self",(char *) "bin", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19119 arg2 = (int)SWIG_As_int(obj1);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 (arg1)->SetBin((wxPrintBin )arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 Py_INCREF(Py_None); resultobj = Py_None;
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxPrintData *arg1 = (wxPrintData *) 0 ;
19138 int arg2 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "printMode", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19148 arg2 = (int)SWIG_As_int(obj1);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->SetPrintMode((wxPrintMode )arg2);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxPrintData *arg1 = (wxPrintData *) 0 ;
19167 wxString result;
19168 PyObject * obj0 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = ((wxPrintData const *)arg1)->GetFilename();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 {
19184 #if wxUSE_UNICODE
19185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19186 #else
19187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19188 #endif
19189 }
19190 return resultobj;
19191 fail:
19192 return NULL;
19193 }
19194
19195
19196 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19197 PyObject *resultobj;
19198 wxPrintData *arg1 = (wxPrintData *) 0 ;
19199 wxString *arg2 = 0 ;
19200 bool temp2 = false ;
19201 PyObject * obj0 = 0 ;
19202 PyObject * obj1 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self",(char *) "filename", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19210 {
19211 arg2 = wxString_in_helper(obj1);
19212 if (arg2 == NULL) SWIG_fail;
19213 temp2 = true;
19214 }
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 (arg1)->SetFilename((wxString const &)*arg2);
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 Py_INCREF(Py_None); resultobj = Py_None;
19223 {
19224 if (temp2)
19225 delete arg2;
19226 }
19227 return resultobj;
19228 fail:
19229 {
19230 if (temp2)
19231 delete arg2;
19232 }
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxPrintData *arg1 = (wxPrintData *) 0 ;
19240 wxString *result;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 {
19252 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19253 result = (wxString *) &_result_ref;
19254 }
19255
19256 wxPyEndAllowThreads(__tstate);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
19259 {
19260 #if wxUSE_UNICODE
19261 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19262 #else
19263 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19264 #endif
19265 }
19266 return resultobj;
19267 fail:
19268 return NULL;
19269 }
19270
19271
19272 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj;
19274 wxPrintData *arg1 = (wxPrintData *) 0 ;
19275 wxString *result;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 {
19287 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19288 result = (wxString *) &_result_ref;
19289 }
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 {
19295 #if wxUSE_UNICODE
19296 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19297 #else
19298 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19299 #endif
19300 }
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxPrintData *arg1 = (wxPrintData *) 0 ;
19310 wxString *result;
19311 PyObject * obj0 = 0 ;
19312 char *kwnames[] = {
19313 (char *) "self", NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 {
19322 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19323 result = (wxString *) &_result_ref;
19324 }
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 {
19330 #if wxUSE_UNICODE
19331 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19332 #else
19333 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19334 #endif
19335 }
19336 return resultobj;
19337 fail:
19338 return NULL;
19339 }
19340
19341
19342 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxPrintData *arg1 = (wxPrintData *) 0 ;
19345 wxString *result;
19346 PyObject * obj0 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 {
19357 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19358 result = (wxString *) &_result_ref;
19359 }
19360
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
19364 {
19365 #if wxUSE_UNICODE
19366 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19367 #else
19368 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19369 #endif
19370 }
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj;
19379 wxPrintData *arg1 = (wxPrintData *) 0 ;
19380 double result;
19381 PyObject * obj0 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = (double)(arg1)->GetPrinterScaleX();
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 resultobj = SWIG_From_double((double)result);
19397 return resultobj;
19398 fail:
19399 return NULL;
19400 }
19401
19402
19403 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxPrintData *arg1 = (wxPrintData *) 0 ;
19406 double result;
19407 PyObject * obj0 = 0 ;
19408 char *kwnames[] = {
19409 (char *) "self", NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 result = (double)(arg1)->GetPrinterScaleY();
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 resultobj = SWIG_From_double((double)result);
19423 return resultobj;
19424 fail:
19425 return NULL;
19426 }
19427
19428
19429 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 wxPrintData *arg1 = (wxPrintData *) 0 ;
19432 long result;
19433 PyObject * obj0 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 result = (long)(arg1)->GetPrinterTranslateX();
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 resultobj = SWIG_From_long((long)result);
19449 return resultobj;
19450 fail:
19451 return NULL;
19452 }
19453
19454
19455 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxPrintData *arg1 = (wxPrintData *) 0 ;
19458 long result;
19459 PyObject * obj0 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 result = (long)(arg1)->GetPrinterTranslateY();
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 resultobj = SWIG_From_long((long)result);
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj;
19483 wxPrintData *arg1 = (wxPrintData *) 0 ;
19484 wxString *arg2 = 0 ;
19485 bool temp2 = false ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 char *kwnames[] = {
19489 (char *) "self",(char *) "command", NULL
19490 };
19491
19492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19495 {
19496 arg2 = wxString_in_helper(obj1);
19497 if (arg2 == NULL) SWIG_fail;
19498 temp2 = true;
19499 }
19500 {
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19503
19504 wxPyEndAllowThreads(__tstate);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 Py_INCREF(Py_None); resultobj = Py_None;
19508 {
19509 if (temp2)
19510 delete arg2;
19511 }
19512 return resultobj;
19513 fail:
19514 {
19515 if (temp2)
19516 delete arg2;
19517 }
19518 return NULL;
19519 }
19520
19521
19522 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19523 PyObject *resultobj;
19524 wxPrintData *arg1 = (wxPrintData *) 0 ;
19525 wxString *arg2 = 0 ;
19526 bool temp2 = false ;
19527 PyObject * obj0 = 0 ;
19528 PyObject * obj1 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self",(char *) "options", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19536 {
19537 arg2 = wxString_in_helper(obj1);
19538 if (arg2 == NULL) SWIG_fail;
19539 temp2 = true;
19540 }
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
19548 Py_INCREF(Py_None); resultobj = Py_None;
19549 {
19550 if (temp2)
19551 delete arg2;
19552 }
19553 return resultobj;
19554 fail:
19555 {
19556 if (temp2)
19557 delete arg2;
19558 }
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxPrintData *arg1 = (wxPrintData *) 0 ;
19566 wxString *arg2 = 0 ;
19567 bool temp2 = false ;
19568 PyObject * obj0 = 0 ;
19569 PyObject * obj1 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self",(char *) "command", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19577 {
19578 arg2 = wxString_in_helper(obj1);
19579 if (arg2 == NULL) SWIG_fail;
19580 temp2 = true;
19581 }
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 Py_INCREF(Py_None); resultobj = Py_None;
19590 {
19591 if (temp2)
19592 delete arg2;
19593 }
19594 return resultobj;
19595 fail:
19596 {
19597 if (temp2)
19598 delete arg2;
19599 }
19600 return NULL;
19601 }
19602
19603
19604 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj;
19606 wxPrintData *arg1 = (wxPrintData *) 0 ;
19607 wxString *arg2 = 0 ;
19608 bool temp2 = false ;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj1 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "path", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 {
19619 arg2 = wxString_in_helper(obj1);
19620 if (arg2 == NULL) SWIG_fail;
19621 temp2 = true;
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 Py_INCREF(Py_None); resultobj = Py_None;
19631 {
19632 if (temp2)
19633 delete arg2;
19634 }
19635 return resultobj;
19636 fail:
19637 {
19638 if (temp2)
19639 delete arg2;
19640 }
19641 return NULL;
19642 }
19643
19644
19645 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj;
19647 wxPrintData *arg1 = (wxPrintData *) 0 ;
19648 double arg2 ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj1 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "self",(char *) "x", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19658 arg2 = (double)SWIG_As_double(obj1);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 (arg1)->SetPrinterScaleX(arg2);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 Py_INCREF(Py_None); resultobj = Py_None;
19668 return resultobj;
19669 fail:
19670 return NULL;
19671 }
19672
19673
19674 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19675 PyObject *resultobj;
19676 wxPrintData *arg1 = (wxPrintData *) 0 ;
19677 double arg2 ;
19678 PyObject * obj0 = 0 ;
19679 PyObject * obj1 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "y", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19687 arg2 = (double)SWIG_As_double(obj1);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 (arg1)->SetPrinterScaleY(arg2);
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 Py_INCREF(Py_None); resultobj = Py_None;
19697 return resultobj;
19698 fail:
19699 return NULL;
19700 }
19701
19702
19703 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj;
19705 wxPrintData *arg1 = (wxPrintData *) 0 ;
19706 double arg2 ;
19707 double arg3 ;
19708 PyObject * obj0 = 0 ;
19709 PyObject * obj1 = 0 ;
19710 PyObject * obj2 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self",(char *) "x",(char *) "y", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19718 arg2 = (double)SWIG_As_double(obj1);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 arg3 = (double)SWIG_As_double(obj2);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 (arg1)->SetPrinterScaling(arg2,arg3);
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 Py_INCREF(Py_None); resultobj = Py_None;
19730 return resultobj;
19731 fail:
19732 return NULL;
19733 }
19734
19735
19736 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxPrintData *arg1 = (wxPrintData *) 0 ;
19739 long arg2 ;
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self",(char *) "x", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19749 arg2 = (long)SWIG_As_long(obj1);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 (arg1)->SetPrinterTranslateX(arg2);
19754
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 Py_INCREF(Py_None); resultobj = Py_None;
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxPrintData *arg1 = (wxPrintData *) 0 ;
19768 long arg2 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "y", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19778 arg2 = (long)SWIG_As_long(obj1);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 (arg1)->SetPrinterTranslateY(arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPrintData *arg1 = (wxPrintData *) 0 ;
19797 long arg2 ;
19798 long arg3 ;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 PyObject * obj2 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self",(char *) "x",(char *) "y", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19809 arg2 = (long)SWIG_As_long(obj1);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 arg3 = (long)SWIG_As_long(obj2);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 (arg1)->SetPrinterTranslation(arg2,arg3);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 Py_INCREF(Py_None); resultobj = Py_None;
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19828 PyObject *obj;
19829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19830 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19831 Py_INCREF(obj);
19832 return Py_BuildValue((char *)"");
19833 }
19834 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19835 PyObject *resultobj;
19836 wxPageSetupDialogData *result;
19837
19838 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19854 PyObject *resultobj;
19855 wxPageSetupDialogData *arg1 = 0 ;
19856 wxPageSetupDialogData *result;
19857 PyObject * obj0 = 0 ;
19858
19859 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19861 SWIG_POINTER_EXCEPTION | 0)) == -1)
19862 SWIG_fail;
19863 if (arg1 == NULL) {
19864 PyErr_SetString(PyExc_TypeError,"null reference");
19865 SWIG_fail;
19866 }
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19882 int argc;
19883 PyObject *argv[2];
19884 int ii;
19885
19886 argc = PyObject_Length(args);
19887 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19888 argv[ii] = PyTuple_GetItem(args,ii);
19889 }
19890 if (argc == 0) {
19891 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19892 }
19893 if (argc == 1) {
19894 int _v;
19895 {
19896 void *ptr;
19897 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19898 _v = 0;
19899 PyErr_Clear();
19900 } else {
19901 _v = 1;
19902 }
19903 }
19904 if (_v) {
19905 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19906 }
19907 }
19908
19909 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19917 PyObject * obj0 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 delete arg1;
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19942 bool arg2 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self",(char *) "flag", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19952 arg2 = (bool)SWIG_As_bool(obj1);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 (arg1)->EnableHelp(arg2);
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 Py_INCREF(Py_None); resultobj = Py_None;
19962 return resultobj;
19963 fail:
19964 return NULL;
19965 }
19966
19967
19968 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19971 bool arg2 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self",(char *) "flag", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19981 arg2 = (bool)SWIG_As_bool(obj1);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->EnableMargins(arg2);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20000 bool arg2 ;
20001 PyObject * obj0 = 0 ;
20002 PyObject * obj1 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self",(char *) "flag", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 arg2 = (bool)SWIG_As_bool(obj1);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->EnableOrientation(arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 Py_INCREF(Py_None); resultobj = Py_None;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20029 bool arg2 ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self",(char *) "flag", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20039 arg2 = (bool)SWIG_As_bool(obj1);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 (arg1)->EnablePaper(arg2);
20044
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 Py_INCREF(Py_None); resultobj = Py_None;
20049 return resultobj;
20050 fail:
20051 return NULL;
20052 }
20053
20054
20055 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20056 PyObject *resultobj;
20057 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20058 bool arg2 ;
20059 PyObject * obj0 = 0 ;
20060 PyObject * obj1 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self",(char *) "flag", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20068 arg2 = (bool)SWIG_As_bool(obj1);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 {
20071 PyThreadState* __tstate = wxPyBeginAllowThreads();
20072 (arg1)->EnablePrinter(arg2);
20073
20074 wxPyEndAllowThreads(__tstate);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 }
20077 Py_INCREF(Py_None); resultobj = Py_None;
20078 return resultobj;
20079 fail:
20080 return NULL;
20081 }
20082
20083
20084 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20085 PyObject *resultobj;
20086 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20087 bool result;
20088 PyObject * obj0 = 0 ;
20089 char *kwnames[] = {
20090 (char *) "self", NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (bool)(arg1)->GetDefaultMinMargins();
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 {
20104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20105 }
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20115 bool result;
20116 PyObject * obj0 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 result = (bool)(arg1)->GetEnableMargins();
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 {
20132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20133 }
20134 return resultobj;
20135 fail:
20136 return NULL;
20137 }
20138
20139
20140 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20143 bool result;
20144 PyObject * obj0 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 result = (bool)(arg1)->GetEnableOrientation();
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 {
20160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20161 }
20162 return resultobj;
20163 fail:
20164 return NULL;
20165 }
20166
20167
20168 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20171 bool result;
20172 PyObject * obj0 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 result = (bool)(arg1)->GetEnablePaper();
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 {
20188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20189 }
20190 return resultobj;
20191 fail:
20192 return NULL;
20193 }
20194
20195
20196 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20197 PyObject *resultobj;
20198 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20199 bool result;
20200 PyObject * obj0 = 0 ;
20201 char *kwnames[] = {
20202 (char *) "self", NULL
20203 };
20204
20205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (bool)(arg1)->GetEnablePrinter();
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 {
20216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20217 }
20218 return resultobj;
20219 fail:
20220 return NULL;
20221 }
20222
20223
20224 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20227 bool result;
20228 PyObject * obj0 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "self", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 result = (bool)(arg1)->GetEnableHelp();
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 {
20244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20245 }
20246 return resultobj;
20247 fail:
20248 return NULL;
20249 }
20250
20251
20252 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20255 bool result;
20256 PyObject * obj0 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "self", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (bool)(arg1)->GetDefaultInfo();
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 {
20272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20273 }
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj;
20282 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20283 wxPoint result;
20284 PyObject * obj0 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (arg1)->GetMarginTopLeft();
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 {
20300 wxPoint * resultptr;
20301 resultptr = new wxPoint((wxPoint &) result);
20302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20303 }
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20313 wxPoint result;
20314 PyObject * obj0 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 result = (arg1)->GetMarginBottomRight();
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 {
20330 wxPoint * resultptr;
20331 resultptr = new wxPoint((wxPoint &) result);
20332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20333 }
20334 return resultobj;
20335 fail:
20336 return NULL;
20337 }
20338
20339
20340 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20341 PyObject *resultobj;
20342 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20343 wxPoint result;
20344 PyObject * obj0 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 result = (arg1)->GetMinMarginTopLeft();
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 {
20360 wxPoint * resultptr;
20361 resultptr = new wxPoint((wxPoint &) result);
20362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20363 }
20364 return resultobj;
20365 fail:
20366 return NULL;
20367 }
20368
20369
20370 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20373 wxPoint result;
20374 PyObject * obj0 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20382 {
20383 PyThreadState* __tstate = wxPyBeginAllowThreads();
20384 result = (arg1)->GetMinMarginBottomRight();
20385
20386 wxPyEndAllowThreads(__tstate);
20387 if (PyErr_Occurred()) SWIG_fail;
20388 }
20389 {
20390 wxPoint * resultptr;
20391 resultptr = new wxPoint((wxPoint &) result);
20392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20393 }
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20403 int result;
20404 PyObject * obj0 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (int)(arg1)->GetPaperId();
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 resultobj = SWIG_From_int((int)result);
20420 return resultobj;
20421 fail:
20422 return NULL;
20423 }
20424
20425
20426 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj;
20428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20429 wxSize result;
20430 PyObject * obj0 = 0 ;
20431 char *kwnames[] = {
20432 (char *) "self", NULL
20433 };
20434
20435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 result = (arg1)->GetPaperSize();
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 {
20446 wxSize * resultptr;
20447 resultptr = new wxSize((wxSize &) result);
20448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20449 }
20450 return resultobj;
20451 fail:
20452 return NULL;
20453 }
20454
20455
20456 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20457 PyObject *resultobj;
20458 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20459 wxPrintData *result;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20468 {
20469 PyThreadState* __tstate = wxPyBeginAllowThreads();
20470 {
20471 wxPrintData &_result_ref = (arg1)->GetPrintData();
20472 result = (wxPrintData *) &_result_ref;
20473 }
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20488 bool result;
20489 PyObject * obj0 = 0 ;
20490 char *kwnames[] = {
20491 (char *) "self", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (bool)(arg1)->Ok();
20500
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 {
20505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20506 }
20507 return resultobj;
20508 fail:
20509 return NULL;
20510 }
20511
20512
20513 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj;
20515 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20516 bool arg2 ;
20517 PyObject * obj0 = 0 ;
20518 PyObject * obj1 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self",(char *) "flag", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20526 arg2 = (bool)SWIG_As_bool(obj1);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 (arg1)->SetDefaultInfo(arg2);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 Py_INCREF(Py_None); resultobj = Py_None;
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20545 bool arg2 ;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self",(char *) "flag", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20555 arg2 = (bool)SWIG_As_bool(obj1);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 (arg1)->SetDefaultMinMargins(arg2);
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 Py_INCREF(Py_None); resultobj = Py_None;
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20574 wxPoint *arg2 = 0 ;
20575 wxPoint temp2 ;
20576 PyObject * obj0 = 0 ;
20577 PyObject * obj1 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self",(char *) "pt", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20585 {
20586 arg2 = &temp2;
20587 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20588 }
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 Py_INCREF(Py_None); resultobj = Py_None;
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20606 wxPoint *arg2 = 0 ;
20607 wxPoint temp2 ;
20608 PyObject * obj0 = 0 ;
20609 PyObject * obj1 = 0 ;
20610 char *kwnames[] = {
20611 (char *) "self",(char *) "pt", NULL
20612 };
20613
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20617 {
20618 arg2 = &temp2;
20619 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20620 }
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20638 wxPoint *arg2 = 0 ;
20639 wxPoint temp2 ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self",(char *) "pt", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20649 {
20650 arg2 = &temp2;
20651 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20652 }
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 Py_INCREF(Py_None); resultobj = Py_None;
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20670 wxPoint *arg2 = 0 ;
20671 wxPoint temp2 ;
20672 PyObject * obj0 = 0 ;
20673 PyObject * obj1 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self",(char *) "pt", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20681 {
20682 arg2 = &temp2;
20683 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20684 }
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 Py_INCREF(Py_None); resultobj = Py_None;
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20702 int arg2 ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 char *kwnames[] = {
20706 (char *) "self",(char *) "id", NULL
20707 };
20708
20709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20712 arg2 = (int)SWIG_As_int(obj1);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 (arg1)->SetPaperId((wxPaperSize )arg2);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 Py_INCREF(Py_None); resultobj = Py_None;
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20731 wxSize *arg2 = 0 ;
20732 wxSize temp2 ;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 char *kwnames[] = {
20736 (char *) "self",(char *) "size", NULL
20737 };
20738
20739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20742 {
20743 arg2 = &temp2;
20744 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20745 }
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 (arg1)->SetPaperSize((wxSize const &)*arg2);
20749
20750 wxPyEndAllowThreads(__tstate);
20751 if (PyErr_Occurred()) SWIG_fail;
20752 }
20753 Py_INCREF(Py_None); resultobj = Py_None;
20754 return resultobj;
20755 fail:
20756 return NULL;
20757 }
20758
20759
20760 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20763 wxPrintData *arg2 = 0 ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj1 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self",(char *) "printData", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20774 SWIG_POINTER_EXCEPTION | 0)) == -1)
20775 SWIG_fail;
20776 if (arg2 == NULL) {
20777 PyErr_SetString(PyExc_TypeError,"null reference");
20778 SWIG_fail;
20779 }
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 Py_INCREF(Py_None); resultobj = Py_None;
20788 return resultobj;
20789 fail:
20790 return NULL;
20791 }
20792
20793
20794 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20795 PyObject *obj;
20796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20797 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20798 Py_INCREF(obj);
20799 return Py_BuildValue((char *)"");
20800 }
20801 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxWindow *arg1 = (wxWindow *) 0 ;
20804 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20805 wxPageSetupDialog *result;
20806 PyObject * obj0 = 0 ;
20807 PyObject * obj1 = 0 ;
20808 char *kwnames[] = {
20809 (char *) "parent",(char *) "data", NULL
20810 };
20811
20812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20815 if (obj1) {
20816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20818 }
20819 {
20820 if (!wxPyCheckForApp()) SWIG_fail;
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20823
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20837 wxPageSetupDialogData *result;
20838 PyObject * obj0 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 {
20849 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20850 result = (wxPageSetupDialogData *) &_result_ref;
20851 }
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20857 return resultobj;
20858 fail:
20859 return NULL;
20860 }
20861
20862
20863 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20866 wxPageSetupDialogData *result;
20867 PyObject * obj0 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 {
20878 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
20879 result = (wxPageSetupDialogData *) &_result_ref;
20880 }
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20895 int result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (int)(arg1)->ShowModal();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 resultobj = SWIG_From_int((int)result);
20912 return resultobj;
20913 fail:
20914 return NULL;
20915 }
20916
20917
20918 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20919 PyObject *obj;
20920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20921 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20922 Py_INCREF(obj);
20923 return Py_BuildValue((char *)"");
20924 }
20925 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20926 PyObject *resultobj;
20927 wxPrintDialogData *result;
20928
20929 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxPrintDialogData *)new wxPrintDialogData();
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20938 return resultobj;
20939 fail:
20940 return NULL;
20941 }
20942
20943
20944 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20945 PyObject *resultobj;
20946 wxPrintData *arg1 = 0 ;
20947 wxPrintDialogData *result;
20948 PyObject * obj0 = 0 ;
20949
20950 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20952 SWIG_POINTER_EXCEPTION | 0)) == -1)
20953 SWIG_fail;
20954 if (arg1 == NULL) {
20955 PyErr_SetString(PyExc_TypeError,"null reference");
20956 SWIG_fail;
20957 }
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20966 return resultobj;
20967 fail:
20968 return NULL;
20969 }
20970
20971
20972 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20973 int argc;
20974 PyObject *argv[2];
20975 int ii;
20976
20977 argc = PyObject_Length(args);
20978 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20979 argv[ii] = PyTuple_GetItem(args,ii);
20980 }
20981 if (argc == 0) {
20982 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20983 }
20984 if (argc == 1) {
20985 int _v;
20986 {
20987 void *ptr;
20988 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20989 _v = 0;
20990 PyErr_Clear();
20991 } else {
20992 _v = 1;
20993 }
20994 }
20995 if (_v) {
20996 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20997 }
20998 }
20999
21000 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
21001 return NULL;
21002 }
21003
21004
21005 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 delete arg1;
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 Py_INCREF(Py_None); resultobj = Py_None;
21024 return resultobj;
21025 fail:
21026 return NULL;
21027 }
21028
21029
21030 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj;
21032 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21033 int result;
21034 PyObject * obj0 = 0 ;
21035 char *kwnames[] = {
21036 (char *) "self", NULL
21037 };
21038
21039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
21040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21042 {
21043 PyThreadState* __tstate = wxPyBeginAllowThreads();
21044 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
21045
21046 wxPyEndAllowThreads(__tstate);
21047 if (PyErr_Occurred()) SWIG_fail;
21048 }
21049 resultobj = SWIG_From_int((int)result);
21050 return resultobj;
21051 fail:
21052 return NULL;
21053 }
21054
21055
21056 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj;
21058 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21059 int result;
21060 PyObject * obj0 = 0 ;
21061 char *kwnames[] = {
21062 (char *) "self", NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
21066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_From_int((int)result);
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21085 int result;
21086 PyObject * obj0 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 resultobj = SWIG_From_int((int)result);
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21111 int result;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 resultobj = SWIG_From_int((int)result);
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21137 int result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 resultobj = SWIG_From_int((int)result);
21154 return resultobj;
21155 fail:
21156 return NULL;
21157 }
21158
21159
21160 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21161 PyObject *resultobj;
21162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21163 bool result;
21164 PyObject * obj0 = 0 ;
21165 char *kwnames[] = {
21166 (char *) "self", NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 {
21180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21181 }
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21191 bool result;
21192 PyObject * obj0 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21203
21204 wxPyEndAllowThreads(__tstate);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 }
21207 {
21208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21209 }
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21219 bool result;
21220 PyObject * obj0 = 0 ;
21221 char *kwnames[] = {
21222 (char *) "self", NULL
21223 };
21224
21225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21237 }
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21247 bool result;
21248 PyObject * obj0 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 {
21264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21265 }
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21275 bool result;
21276 PyObject * obj0 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21293 }
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj;
21302 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21303 bool arg2 ;
21304 PyObject * obj0 = 0 ;
21305 PyObject * obj1 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self",(char *) "flag", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21313 arg2 = (bool)SWIG_As_bool(obj1);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 (arg1)->SetSetupDialog(arg2);
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 Py_INCREF(Py_None); resultobj = Py_None;
21323 return resultobj;
21324 fail:
21325 return NULL;
21326 }
21327
21328
21329 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21330 PyObject *resultobj;
21331 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21332 int arg2 ;
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "v", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 arg2 = (int)SWIG_As_int(obj1);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 (arg1)->SetFromPage(arg2);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 Py_INCREF(Py_None); resultobj = Py_None;
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21361 int arg2 ;
21362 PyObject * obj0 = 0 ;
21363 PyObject * obj1 = 0 ;
21364 char *kwnames[] = {
21365 (char *) "self",(char *) "v", NULL
21366 };
21367
21368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21371 arg2 = (int)SWIG_As_int(obj1);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 (arg1)->SetToPage(arg2);
21376
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 Py_INCREF(Py_None); resultobj = Py_None;
21381 return resultobj;
21382 fail:
21383 return NULL;
21384 }
21385
21386
21387 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj;
21389 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21390 int arg2 ;
21391 PyObject * obj0 = 0 ;
21392 PyObject * obj1 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self",(char *) "v", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21400 arg2 = (int)SWIG_As_int(obj1);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 (arg1)->SetMinPage(arg2);
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 Py_INCREF(Py_None); resultobj = Py_None;
21410 return resultobj;
21411 fail:
21412 return NULL;
21413 }
21414
21415
21416 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21417 PyObject *resultobj;
21418 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21419 int arg2 ;
21420 PyObject * obj0 = 0 ;
21421 PyObject * obj1 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "self",(char *) "v", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21429 arg2 = (int)SWIG_As_int(obj1);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 (arg1)->SetMaxPage(arg2);
21434
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
21438 Py_INCREF(Py_None); resultobj = Py_None;
21439 return resultobj;
21440 fail:
21441 return NULL;
21442 }
21443
21444
21445 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21446 PyObject *resultobj;
21447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21448 int arg2 ;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self",(char *) "v", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21458 arg2 = (int)SWIG_As_int(obj1);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 (arg1)->SetNoCopies(arg2);
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 Py_INCREF(Py_None); resultobj = Py_None;
21468 return resultobj;
21469 fail:
21470 return NULL;
21471 }
21472
21473
21474 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21477 bool arg2 ;
21478 PyObject * obj0 = 0 ;
21479 PyObject * obj1 = 0 ;
21480 char *kwnames[] = {
21481 (char *) "self",(char *) "flag", NULL
21482 };
21483
21484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21487 arg2 = (bool)SWIG_As_bool(obj1);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 {
21490 PyThreadState* __tstate = wxPyBeginAllowThreads();
21491 (arg1)->SetAllPages(arg2);
21492
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 Py_INCREF(Py_None); resultobj = Py_None;
21497 return resultobj;
21498 fail:
21499 return NULL;
21500 }
21501
21502
21503 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21504 PyObject *resultobj;
21505 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21506 bool arg2 ;
21507 PyObject * obj0 = 0 ;
21508 PyObject * obj1 = 0 ;
21509 char *kwnames[] = {
21510 (char *) "self",(char *) "flag", NULL
21511 };
21512
21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21516 arg2 = (bool)SWIG_As_bool(obj1);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 (arg1)->SetSelection(arg2);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21535 bool arg2 ;
21536 PyObject * obj0 = 0 ;
21537 PyObject * obj1 = 0 ;
21538 char *kwnames[] = {
21539 (char *) "self",(char *) "flag", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21545 arg2 = (bool)SWIG_As_bool(obj1);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 (arg1)->SetCollate(arg2);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 Py_INCREF(Py_None); resultobj = Py_None;
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21564 bool arg2 ;
21565 PyObject * obj0 = 0 ;
21566 PyObject * obj1 = 0 ;
21567 char *kwnames[] = {
21568 (char *) "self",(char *) "flag", NULL
21569 };
21570
21571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21574 arg2 = (bool)SWIG_As_bool(obj1);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 (arg1)->SetPrintToFile(arg2);
21579
21580 wxPyEndAllowThreads(__tstate);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 Py_INCREF(Py_None); resultobj = Py_None;
21584 return resultobj;
21585 fail:
21586 return NULL;
21587 }
21588
21589
21590 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21591 PyObject *resultobj;
21592 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21593 bool arg2 ;
21594 PyObject * obj0 = 0 ;
21595 PyObject * obj1 = 0 ;
21596 char *kwnames[] = {
21597 (char *) "self",(char *) "flag", NULL
21598 };
21599
21600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21603 arg2 = (bool)SWIG_As_bool(obj1);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 (arg1)->EnablePrintToFile(arg2);
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 Py_INCREF(Py_None); resultobj = Py_None;
21613 return resultobj;
21614 fail:
21615 return NULL;
21616 }
21617
21618
21619 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21620 PyObject *resultobj;
21621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21622 bool arg2 ;
21623 PyObject * obj0 = 0 ;
21624 PyObject * obj1 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "flag", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21632 arg2 = (bool)SWIG_As_bool(obj1);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->EnableSelection(arg2);
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 Py_INCREF(Py_None); resultobj = Py_None;
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21651 bool arg2 ;
21652 PyObject * obj0 = 0 ;
21653 PyObject * obj1 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self",(char *) "flag", NULL
21656 };
21657
21658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21661 arg2 = (bool)SWIG_As_bool(obj1);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->EnablePageNumbers(arg2);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21680 bool arg2 ;
21681 PyObject * obj0 = 0 ;
21682 PyObject * obj1 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self",(char *) "flag", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21690 arg2 = (bool)SWIG_As_bool(obj1);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 (arg1)->EnableHelp(arg2);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 Py_INCREF(Py_None); resultobj = Py_None;
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21709 bool result;
21710 PyObject * obj0 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 {
21726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21727 }
21728 return resultobj;
21729 fail:
21730 return NULL;
21731 }
21732
21733
21734 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj;
21736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21737 bool result;
21738 PyObject * obj0 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 {
21754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21755 }
21756 return resultobj;
21757 fail:
21758 return NULL;
21759 }
21760
21761
21762 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj;
21764 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21765 bool result;
21766 PyObject * obj0 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 {
21782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21783 }
21784 return resultobj;
21785 fail:
21786 return NULL;
21787 }
21788
21789
21790 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21791 PyObject *resultobj;
21792 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21793 bool result;
21794 PyObject * obj0 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self", NULL
21797 };
21798
21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 {
21810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21811 }
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21821 bool result;
21822 PyObject * obj0 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 {
21838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21839 }
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21849 wxPrintData *result;
21850 PyObject * obj0 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21858 {
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 {
21861 wxPrintData &_result_ref = (arg1)->GetPrintData();
21862 result = (wxPrintData *) &_result_ref;
21863 }
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21878 wxPrintData *arg2 = 0 ;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "printData", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21889 SWIG_POINTER_EXCEPTION | 0)) == -1)
21890 SWIG_fail;
21891 if (arg2 == NULL) {
21892 PyErr_SetString(PyExc_TypeError,"null reference");
21893 SWIG_fail;
21894 }
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 Py_INCREF(Py_None); resultobj = Py_None;
21903 return resultobj;
21904 fail:
21905 return NULL;
21906 }
21907
21908
21909 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21910 PyObject *obj;
21911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21913 Py_INCREF(obj);
21914 return Py_BuildValue((char *)"");
21915 }
21916 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxWindow *arg1 = (wxWindow *) 0 ;
21919 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21920 wxPrintDialog *result;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "parent",(char *) "data", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21930 if (obj1) {
21931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21933 }
21934 {
21935 if (!wxPyCheckForApp()) SWIG_fail;
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21943 return resultobj;
21944 fail:
21945 return NULL;
21946 }
21947
21948
21949 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21952 int result;
21953 PyObject * obj0 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 result = (int)(arg1)->ShowModal();
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 resultobj = SWIG_From_int((int)result);
21969 return resultobj;
21970 fail:
21971 return NULL;
21972 }
21973
21974
21975 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21978 wxPrintDialogData *result;
21979 PyObject * obj0 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 {
21990 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21991 result = (wxPrintDialogData *) &_result_ref;
21992 }
21993
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21998 return resultobj;
21999 fail:
22000 return NULL;
22001 }
22002
22003
22004 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj;
22006 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22007 wxPrintData *result;
22008 PyObject * obj0 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
22014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 {
22019 wxPrintData &_result_ref = (arg1)->GetPrintData();
22020 result = (wxPrintData *) &_result_ref;
22021 }
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22027 return resultobj;
22028 fail:
22029 return NULL;
22030 }
22031
22032
22033 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22036 wxDC *result;
22037 PyObject * obj0 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 result = (wxDC *)(arg1)->GetPrintDC();
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 {
22053 resultobj = wxPyMake_wxObject(result, 1);
22054 }
22055 return resultobj;
22056 fail:
22057 return NULL;
22058 }
22059
22060
22061 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
22062 PyObject *obj;
22063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22064 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22065 Py_INCREF(obj);
22066 return Py_BuildValue((char *)"");
22067 }
22068 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22071 wxPrinter *result;
22072 PyObject * obj0 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "data", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22078 if (obj0) {
22079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22081 }
22082 {
22083 if (!wxPyCheckForApp()) SWIG_fail;
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = (wxPrinter *)new wxPrinter(arg1);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxPrinter *arg1 = (wxPrinter *) 0 ;
22100 PyObject * obj0 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 delete arg1;
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 Py_INCREF(Py_None); resultobj = Py_None;
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22123 PyObject *resultobj;
22124 wxPrinter *arg1 = (wxPrinter *) 0 ;
22125 wxWindow *arg2 = (wxWindow *) 0 ;
22126 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22127 wxWindow *result;
22128 PyObject * obj0 = 0 ;
22129 PyObject * obj1 = 0 ;
22130 PyObject * obj2 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "parent",(char *) "printout", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22140 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 {
22150 resultobj = wxPyMake_wxObject(result, 0);
22151 }
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj;
22160 wxPrinter *arg1 = (wxPrinter *) 0 ;
22161 wxWindow *arg2 = (wxWindow *) 0 ;
22162 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22163 wxString *arg4 = 0 ;
22164 bool temp4 = false ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 PyObject * obj3 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22178 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22180 {
22181 arg4 = wxString_in_helper(obj3);
22182 if (arg4 == NULL) SWIG_fail;
22183 temp4 = true;
22184 }
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 Py_INCREF(Py_None); resultobj = Py_None;
22193 {
22194 if (temp4)
22195 delete arg4;
22196 }
22197 return resultobj;
22198 fail:
22199 {
22200 if (temp4)
22201 delete arg4;
22202 }
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxPrinter *arg1 = (wxPrinter *) 0 ;
22210 wxWindow *arg2 = (wxWindow *) 0 ;
22211 bool result;
22212 PyObject * obj0 = 0 ;
22213 PyObject * obj1 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self",(char *) "parent", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22223 {
22224 PyThreadState* __tstate = wxPyBeginAllowThreads();
22225 result = (bool)(arg1)->Setup(arg2);
22226
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 {
22231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22232 }
22233 return resultobj;
22234 fail:
22235 return NULL;
22236 }
22237
22238
22239 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22240 PyObject *resultobj;
22241 wxPrinter *arg1 = (wxPrinter *) 0 ;
22242 wxWindow *arg2 = (wxWindow *) 0 ;
22243 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22244 bool arg4 = (bool) true ;
22245 bool result;
22246 PyObject * obj0 = 0 ;
22247 PyObject * obj1 = 0 ;
22248 PyObject * obj2 = 0 ;
22249 PyObject * obj3 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22259 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 if (obj3) {
22262 arg4 = (bool)SWIG_As_bool(obj3);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22268
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 {
22273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22274 }
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPrinter *arg1 = (wxPrinter *) 0 ;
22284 wxWindow *arg2 = (wxWindow *) 0 ;
22285 wxDC *result;
22286 PyObject * obj0 = 0 ;
22287 PyObject * obj1 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self",(char *) "parent", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 result = (wxDC *)(arg1)->PrintDialog(arg2);
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 {
22305 resultobj = wxPyMake_wxObject(result, 0);
22306 }
22307 return resultobj;
22308 fail:
22309 return NULL;
22310 }
22311
22312
22313 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj;
22315 wxPrinter *arg1 = (wxPrinter *) 0 ;
22316 wxPrintDialogData *result;
22317 PyObject * obj0 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 {
22328 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
22329 result = (wxPrintDialogData *) &_result_ref;
22330 }
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPrinter *arg1 = (wxPrinter *) 0 ;
22345 bool result;
22346 PyObject * obj0 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (bool)(arg1)->GetAbort();
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 {
22362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22363 }
22364 return resultobj;
22365 fail:
22366 return NULL;
22367 }
22368
22369
22370 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22371 PyObject *resultobj;
22372 int result;
22373 char *kwnames[] = {
22374 NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (int)wxPrinter::GetLastError();
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 resultobj = SWIG_From_int((int)result);
22386 return resultobj;
22387 fail:
22388 return NULL;
22389 }
22390
22391
22392 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22393 PyObject *obj;
22394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22396 Py_INCREF(obj);
22397 return Py_BuildValue((char *)"");
22398 }
22399 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22402 wxString *arg1 = (wxString *) &arg1_defvalue ;
22403 wxPyPrintout *result;
22404 bool temp1 = false ;
22405 PyObject * obj0 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "title", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22411 if (obj0) {
22412 {
22413 arg1 = wxString_in_helper(obj0);
22414 if (arg1 == NULL) SWIG_fail;
22415 temp1 = true;
22416 }
22417 }
22418 {
22419 if (!wxPyCheckForApp()) SWIG_fail;
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 {
22427 resultobj = wxPyMake_wxObject(result, 1);
22428 }
22429 {
22430 if (temp1)
22431 delete arg1;
22432 }
22433 return resultobj;
22434 fail:
22435 {
22436 if (temp1)
22437 delete arg1;
22438 }
22439 return NULL;
22440 }
22441
22442
22443 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22444 PyObject *resultobj;
22445 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22446 PyObject *arg2 = (PyObject *) 0 ;
22447 PyObject *arg3 = (PyObject *) 0 ;
22448 PyObject * obj0 = 0 ;
22449 PyObject * obj1 = 0 ;
22450 PyObject * obj2 = 0 ;
22451 char *kwnames[] = {
22452 (char *) "self",(char *) "self",(char *) "_class", NULL
22453 };
22454
22455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22458 arg2 = obj1;
22459 arg3 = obj2;
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->_setCallbackInfo(arg2,arg3);
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 Py_INCREF(Py_None); resultobj = Py_None;
22468 return resultobj;
22469 fail:
22470 return NULL;
22471 }
22472
22473
22474 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj;
22476 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22477 wxString result;
22478 PyObject * obj0 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = ((wxPyPrintout const *)arg1)->GetTitle();
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 {
22494 #if wxUSE_UNICODE
22495 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22496 #else
22497 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22498 #endif
22499 }
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22509 wxDC *result;
22510 PyObject * obj0 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (wxDC *)(arg1)->GetDC();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 resultobj = wxPyMake_wxObject(result, 0);
22527 }
22528 return resultobj;
22529 fail:
22530 return NULL;
22531 }
22532
22533
22534 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22537 wxDC *arg2 = (wxDC *) 0 ;
22538 PyObject * obj0 = 0 ;
22539 PyObject * obj1 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "dc", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22549 {
22550 PyThreadState* __tstate = wxPyBeginAllowThreads();
22551 (arg1)->SetDC(arg2);
22552
22553 wxPyEndAllowThreads(__tstate);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 }
22556 Py_INCREF(Py_None); resultobj = Py_None;
22557 return resultobj;
22558 fail:
22559 return NULL;
22560 }
22561
22562
22563 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22564 PyObject *resultobj;
22565 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22566 int arg2 ;
22567 int arg3 ;
22568 PyObject * obj0 = 0 ;
22569 PyObject * obj1 = 0 ;
22570 PyObject * obj2 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self",(char *) "w",(char *) "h", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22578 arg2 = (int)SWIG_As_int(obj1);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 arg3 = (int)SWIG_As_int(obj2);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 (arg1)->SetPageSizePixels(arg2,arg3);
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 Py_INCREF(Py_None); resultobj = Py_None;
22590 return resultobj;
22591 fail:
22592 return NULL;
22593 }
22594
22595
22596 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj;
22598 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22599 int *arg2 = (int *) 0 ;
22600 int *arg3 = (int *) 0 ;
22601 int temp2 ;
22602 int res2 = 0 ;
22603 int temp3 ;
22604 int res3 = 0 ;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22611 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 (arg1)->GetPageSizePixels(arg2,arg3);
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22624 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22625 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22626 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22627 return resultobj;
22628 fail:
22629 return NULL;
22630 }
22631
22632
22633 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22636 int arg2 ;
22637 int arg3 ;
22638 PyObject * obj0 = 0 ;
22639 PyObject * obj1 = 0 ;
22640 PyObject * obj2 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self",(char *) "w",(char *) "h", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22648 arg2 = (int)SWIG_As_int(obj1);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 arg3 = (int)SWIG_As_int(obj2);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->SetPageSizeMM(arg2,arg3);
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22669 int *arg2 = (int *) 0 ;
22670 int *arg3 = (int *) 0 ;
22671 int temp2 ;
22672 int res2 = 0 ;
22673 int temp3 ;
22674 int res3 = 0 ;
22675 PyObject * obj0 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self", NULL
22678 };
22679
22680 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22681 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22685 {
22686 PyThreadState* __tstate = wxPyBeginAllowThreads();
22687 (arg1)->GetPageSizeMM(arg2,arg3);
22688
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 Py_INCREF(Py_None); resultobj = Py_None;
22693 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22694 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22695 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22696 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22697 return resultobj;
22698 fail:
22699 return NULL;
22700 }
22701
22702
22703 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22706 int arg2 ;
22707 int arg3 ;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 PyObject * obj2 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self",(char *) "x",(char *) "y", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22718 arg2 = (int)SWIG_As_int(obj1);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 arg3 = (int)SWIG_As_int(obj2);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 {
22723 PyThreadState* __tstate = wxPyBeginAllowThreads();
22724 (arg1)->SetPPIScreen(arg2,arg3);
22725
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 Py_INCREF(Py_None); resultobj = Py_None;
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22739 int *arg2 = (int *) 0 ;
22740 int *arg3 = (int *) 0 ;
22741 int temp2 ;
22742 int res2 = 0 ;
22743 int temp3 ;
22744 int res3 = 0 ;
22745 PyObject * obj0 = 0 ;
22746 char *kwnames[] = {
22747 (char *) "self", NULL
22748 };
22749
22750 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22751 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 (arg1)->GetPPIScreen(arg2,arg3);
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 Py_INCREF(Py_None); resultobj = Py_None;
22763 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22764 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22765 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22766 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22767 return resultobj;
22768 fail:
22769 return NULL;
22770 }
22771
22772
22773 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22776 int arg2 ;
22777 int arg3 ;
22778 PyObject * obj0 = 0 ;
22779 PyObject * obj1 = 0 ;
22780 PyObject * obj2 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self",(char *) "x",(char *) "y", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22788 arg2 = (int)SWIG_As_int(obj1);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 arg3 = (int)SWIG_As_int(obj2);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 (arg1)->SetPPIPrinter(arg2,arg3);
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 Py_INCREF(Py_None); resultobj = Py_None;
22800 return resultobj;
22801 fail:
22802 return NULL;
22803 }
22804
22805
22806 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22809 int *arg2 = (int *) 0 ;
22810 int *arg3 = (int *) 0 ;
22811 int temp2 ;
22812 int res2 = 0 ;
22813 int temp3 ;
22814 int res3 = 0 ;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22821 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 (arg1)->GetPPIPrinter(arg2,arg3);
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 Py_INCREF(Py_None); resultobj = Py_None;
22833 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22834 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22835 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22836 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj;
22845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22846 bool result;
22847 PyObject * obj0 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "self", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (bool)(arg1)->IsPreview();
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 {
22863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22864 }
22865 return resultobj;
22866 fail:
22867 return NULL;
22868 }
22869
22870
22871 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22874 bool arg2 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self",(char *) "p", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22884 arg2 = (bool)SWIG_As_bool(obj1);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 (arg1)->SetIsPreview(arg2);
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 Py_INCREF(Py_None); resultobj = Py_None;
22894 return resultobj;
22895 fail:
22896 return NULL;
22897 }
22898
22899
22900 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22903 int arg2 ;
22904 int arg3 ;
22905 bool result;
22906 PyObject * obj0 = 0 ;
22907 PyObject * obj1 = 0 ;
22908 PyObject * obj2 = 0 ;
22909 char *kwnames[] = {
22910 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22911 };
22912
22913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22916 arg2 = (int)SWIG_As_int(obj1);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 arg3 = (int)SWIG_As_int(obj2);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 {
22928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22929 }
22930 return resultobj;
22931 fail:
22932 return NULL;
22933 }
22934
22935
22936 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22937 PyObject *resultobj;
22938 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22939 PyObject * obj0 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 (arg1)->base_OnEndDocument();
22950
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 Py_INCREF(Py_None); resultobj = Py_None;
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22962 PyObject *resultobj;
22963 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22964 PyObject * obj0 = 0 ;
22965 char *kwnames[] = {
22966 (char *) "self", NULL
22967 };
22968
22969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 (arg1)->base_OnBeginPrinting();
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 Py_INCREF(Py_None); resultobj = Py_None;
22980 return resultobj;
22981 fail:
22982 return NULL;
22983 }
22984
22985
22986 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22987 PyObject *resultobj;
22988 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22989 PyObject * obj0 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22997 {
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 (arg1)->base_OnEndPrinting();
23000
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 Py_INCREF(Py_None); resultobj = Py_None;
23005 return resultobj;
23006 fail:
23007 return NULL;
23008 }
23009
23010
23011 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 (arg1)->base_OnPreparePrinting();
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 Py_INCREF(Py_None); resultobj = Py_None;
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23039 int arg2 ;
23040 bool result;
23041 PyObject * obj0 = 0 ;
23042 PyObject * obj1 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "page", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 arg2 = (int)SWIG_As_int(obj1);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (bool)(arg1)->base_HasPage(arg2);
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 {
23060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23061 }
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23069 PyObject *resultobj;
23070 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23071 int *arg2 = (int *) 0 ;
23072 int *arg3 = (int *) 0 ;
23073 int *arg4 = (int *) 0 ;
23074 int *arg5 = (int *) 0 ;
23075 int temp2 ;
23076 int res2 = 0 ;
23077 int temp3 ;
23078 int res3 = 0 ;
23079 int temp4 ;
23080 int res4 = 0 ;
23081 int temp5 ;
23082 int res5 = 0 ;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self", NULL
23086 };
23087
23088 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23089 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23090 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23091 arg5 = &temp5; res5 = SWIG_NEWOBJ;
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23098
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 Py_INCREF(Py_None); resultobj = Py_None;
23103 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23104 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23105 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23106 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23107 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23108 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23109 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23110 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
23118 PyObject *obj;
23119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23120 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23121 Py_INCREF(obj);
23122 return Py_BuildValue((char *)"");
23123 }
23124 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23125 PyObject *resultobj;
23126 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23127 wxWindow *arg2 = (wxWindow *) 0 ;
23128 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23129 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23130 wxSize const &arg4_defvalue = wxDefaultSize ;
23131 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23132 long arg5 = (long) 0 ;
23133 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23134 wxString *arg6 = (wxString *) &arg6_defvalue ;
23135 wxPreviewCanvas *result;
23136 wxPoint temp3 ;
23137 wxSize temp4 ;
23138 bool temp6 = false ;
23139 PyObject * obj0 = 0 ;
23140 PyObject * obj1 = 0 ;
23141 PyObject * obj2 = 0 ;
23142 PyObject * obj3 = 0 ;
23143 PyObject * obj4 = 0 ;
23144 PyObject * obj5 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23154 if (obj2) {
23155 {
23156 arg3 = &temp3;
23157 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23158 }
23159 }
23160 if (obj3) {
23161 {
23162 arg4 = &temp4;
23163 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23164 }
23165 }
23166 if (obj4) {
23167 arg5 = (long)SWIG_As_long(obj4);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 if (obj5) {
23171 {
23172 arg6 = wxString_in_helper(obj5);
23173 if (arg6 == NULL) SWIG_fail;
23174 temp6 = true;
23175 }
23176 }
23177 {
23178 if (!wxPyCheckForApp()) SWIG_fail;
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23186 {
23187 if (temp6)
23188 delete arg6;
23189 }
23190 return resultobj;
23191 fail:
23192 {
23193 if (temp6)
23194 delete arg6;
23195 }
23196 return NULL;
23197 }
23198
23199
23200 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23201 PyObject *obj;
23202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23203 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23204 Py_INCREF(obj);
23205 return Py_BuildValue((char *)"");
23206 }
23207 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23210 wxFrame *arg2 = (wxFrame *) 0 ;
23211 wxString *arg3 = 0 ;
23212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23214 wxSize const &arg5_defvalue = wxDefaultSize ;
23215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23216 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23217 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23218 wxString *arg7 = (wxString *) &arg7_defvalue ;
23219 wxPreviewFrame *result;
23220 bool temp3 = false ;
23221 wxPoint temp4 ;
23222 wxSize temp5 ;
23223 bool temp7 = false ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 PyObject * obj2 = 0 ;
23227 PyObject * obj3 = 0 ;
23228 PyObject * obj4 = 0 ;
23229 PyObject * obj5 = 0 ;
23230 PyObject * obj6 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23240 {
23241 arg3 = wxString_in_helper(obj2);
23242 if (arg3 == NULL) SWIG_fail;
23243 temp3 = true;
23244 }
23245 if (obj3) {
23246 {
23247 arg4 = &temp4;
23248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23249 }
23250 }
23251 if (obj4) {
23252 {
23253 arg5 = &temp5;
23254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23255 }
23256 }
23257 if (obj5) {
23258 arg6 = (long)SWIG_As_long(obj5);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 if (obj6) {
23262 {
23263 arg7 = wxString_in_helper(obj6);
23264 if (arg7 == NULL) SWIG_fail;
23265 temp7 = true;
23266 }
23267 }
23268 {
23269 if (!wxPyCheckForApp()) SWIG_fail;
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23277 {
23278 if (temp3)
23279 delete arg3;
23280 }
23281 {
23282 if (temp7)
23283 delete arg7;
23284 }
23285 return resultobj;
23286 fail:
23287 {
23288 if (temp3)
23289 delete arg3;
23290 }
23291 {
23292 if (temp7)
23293 delete arg7;
23294 }
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23302 PyObject * obj0 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 (arg1)->Initialize();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 Py_INCREF(Py_None); resultobj = Py_None;
23318 return resultobj;
23319 fail:
23320 return NULL;
23321 }
23322
23323
23324 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23325 PyObject *resultobj;
23326 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23327 PyObject * obj0 = 0 ;
23328 char *kwnames[] = {
23329 (char *) "self", NULL
23330 };
23331
23332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23335 {
23336 PyThreadState* __tstate = wxPyBeginAllowThreads();
23337 (arg1)->CreateControlBar();
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 Py_INCREF(Py_None); resultobj = Py_None;
23343 return resultobj;
23344 fail:
23345 return NULL;
23346 }
23347
23348
23349 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23350 PyObject *resultobj;
23351 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23352 PyObject * obj0 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 (arg1)->CreateCanvas();
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 Py_INCREF(Py_None); resultobj = Py_None;
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23377 wxPreviewControlBar *result;
23378 PyObject * obj0 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23389
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23401 PyObject *obj;
23402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23403 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23404 Py_INCREF(obj);
23405 return Py_BuildValue((char *)"");
23406 }
23407 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23410 long arg2 ;
23411 wxWindow *arg3 = (wxWindow *) 0 ;
23412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23414 wxSize const &arg5_defvalue = wxDefaultSize ;
23415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23416 long arg6 = (long) wxTAB_TRAVERSAL ;
23417 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23418 wxString *arg7 = (wxString *) &arg7_defvalue ;
23419 wxPreviewControlBar *result;
23420 wxPoint temp4 ;
23421 wxSize temp5 ;
23422 bool temp7 = false ;
23423 PyObject * obj0 = 0 ;
23424 PyObject * obj1 = 0 ;
23425 PyObject * obj2 = 0 ;
23426 PyObject * obj3 = 0 ;
23427 PyObject * obj4 = 0 ;
23428 PyObject * obj5 = 0 ;
23429 PyObject * obj6 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 arg2 = (long)SWIG_As_long(obj1);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23441 if (obj3) {
23442 {
23443 arg4 = &temp4;
23444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23445 }
23446 }
23447 if (obj4) {
23448 {
23449 arg5 = &temp5;
23450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23451 }
23452 }
23453 if (obj5) {
23454 arg6 = (long)SWIG_As_long(obj5);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 if (obj6) {
23458 {
23459 arg7 = wxString_in_helper(obj6);
23460 if (arg7 == NULL) SWIG_fail;
23461 temp7 = true;
23462 }
23463 }
23464 {
23465 if (!wxPyCheckForApp()) SWIG_fail;
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23468
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23473 {
23474 if (temp7)
23475 delete arg7;
23476 }
23477 return resultobj;
23478 fail:
23479 {
23480 if (temp7)
23481 delete arg7;
23482 }
23483 return NULL;
23484 }
23485
23486
23487 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23488 PyObject *resultobj;
23489 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23490 int result;
23491 PyObject * obj0 = 0 ;
23492 char *kwnames[] = {
23493 (char *) "self", NULL
23494 };
23495
23496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23499 {
23500 PyThreadState* __tstate = wxPyBeginAllowThreads();
23501 result = (int)(arg1)->GetZoomControl();
23502
23503 wxPyEndAllowThreads(__tstate);
23504 if (PyErr_Occurred()) SWIG_fail;
23505 }
23506 resultobj = SWIG_From_int((int)result);
23507 return resultobj;
23508 fail:
23509 return NULL;
23510 }
23511
23512
23513 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23514 PyObject *resultobj;
23515 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23516 int arg2 ;
23517 PyObject * obj0 = 0 ;
23518 PyObject * obj1 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self",(char *) "zoom", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23526 arg2 = (int)SWIG_As_int(obj1);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 (arg1)->SetZoomControl(arg2);
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 Py_INCREF(Py_None); resultobj = Py_None;
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23543 PyObject *resultobj;
23544 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23545 wxPrintPreview *result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23562 return resultobj;
23563 fail:
23564 return NULL;
23565 }
23566
23567
23568 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23569 PyObject *resultobj;
23570 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23571 PyObject * obj0 = 0 ;
23572 char *kwnames[] = {
23573 (char *) "self", NULL
23574 };
23575
23576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 (arg1)->OnNext();
23582
23583 wxPyEndAllowThreads(__tstate);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 Py_INCREF(Py_None); resultobj = Py_None;
23587 return resultobj;
23588 fail:
23589 return NULL;
23590 }
23591
23592
23593 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23596 PyObject * obj0 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 (arg1)->OnPrevious();
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 Py_INCREF(Py_None); resultobj = Py_None;
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj;
23620 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23621 PyObject * obj0 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 (arg1)->OnFirst();
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 Py_INCREF(Py_None); resultobj = Py_None;
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj;
23645 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23646 PyObject * obj0 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 (arg1)->OnLast();
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 Py_INCREF(Py_None); resultobj = Py_None;
23662 return resultobj;
23663 fail:
23664 return NULL;
23665 }
23666
23667
23668 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23669 PyObject *resultobj;
23670 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23671 PyObject * obj0 = 0 ;
23672 char *kwnames[] = {
23673 (char *) "self", NULL
23674 };
23675
23676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 (arg1)->OnGoto();
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 Py_INCREF(Py_None); resultobj = Py_None;
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23694 PyObject *obj;
23695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23696 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23697 Py_INCREF(obj);
23698 return Py_BuildValue((char *)"");
23699 }
23700 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23701 PyObject *resultobj;
23702 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23703 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23704 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23705 wxPrintPreview *result;
23706 PyObject * obj0 = 0 ;
23707 PyObject * obj1 = 0 ;
23708 PyObject * obj2 = 0 ;
23709
23710 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23715 if (obj2) {
23716 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23718 }
23719 {
23720 if (!wxPyCheckForApp()) SWIG_fail;
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23728 return resultobj;
23729 fail:
23730 return NULL;
23731 }
23732
23733
23734 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23735 PyObject *resultobj;
23736 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23737 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23738 wxPrintData *arg3 = (wxPrintData *) 0 ;
23739 wxPrintPreview *result;
23740 PyObject * obj0 = 0 ;
23741 PyObject * obj1 = 0 ;
23742 PyObject * obj2 = 0 ;
23743
23744 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23749 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23751 {
23752 if (!wxPyCheckForApp()) SWIG_fail;
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23760 return resultobj;
23761 fail:
23762 return NULL;
23763 }
23764
23765
23766 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23767 int argc;
23768 PyObject *argv[4];
23769 int ii;
23770
23771 argc = PyObject_Length(args);
23772 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23773 argv[ii] = PyTuple_GetItem(args,ii);
23774 }
23775 if ((argc >= 2) && (argc <= 3)) {
23776 int _v;
23777 {
23778 void *ptr;
23779 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23780 _v = 0;
23781 PyErr_Clear();
23782 } else {
23783 _v = 1;
23784 }
23785 }
23786 if (_v) {
23787 {
23788 void *ptr;
23789 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23790 _v = 0;
23791 PyErr_Clear();
23792 } else {
23793 _v = 1;
23794 }
23795 }
23796 if (_v) {
23797 if (argc <= 2) {
23798 return _wrap_new_PrintPreview__SWIG_0(self,args);
23799 }
23800 {
23801 void *ptr;
23802 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23803 _v = 0;
23804 PyErr_Clear();
23805 } else {
23806 _v = 1;
23807 }
23808 }
23809 if (_v) {
23810 return _wrap_new_PrintPreview__SWIG_0(self,args);
23811 }
23812 }
23813 }
23814 }
23815 if (argc == 3) {
23816 int _v;
23817 {
23818 void *ptr;
23819 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23820 _v = 0;
23821 PyErr_Clear();
23822 } else {
23823 _v = 1;
23824 }
23825 }
23826 if (_v) {
23827 {
23828 void *ptr;
23829 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23830 _v = 0;
23831 PyErr_Clear();
23832 } else {
23833 _v = 1;
23834 }
23835 }
23836 if (_v) {
23837 {
23838 void *ptr;
23839 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23840 _v = 0;
23841 PyErr_Clear();
23842 } else {
23843 _v = 1;
23844 }
23845 }
23846 if (_v) {
23847 return _wrap_new_PrintPreview__SWIG_1(self,args);
23848 }
23849 }
23850 }
23851 }
23852
23853 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23854 return NULL;
23855 }
23856
23857
23858 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23861 int arg2 ;
23862 bool result;
23863 PyObject * obj0 = 0 ;
23864 PyObject * obj1 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self",(char *) "pageNum", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23872 arg2 = (int)SWIG_As_int(obj1);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 result = (bool)(arg1)->SetCurrentPage(arg2);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 {
23882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23883 }
23884 return resultobj;
23885 fail:
23886 return NULL;
23887 }
23888
23889
23890 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23893 int result;
23894 PyObject * obj0 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 result = (int)(arg1)->GetCurrentPage();
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 resultobj = SWIG_From_int((int)result);
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23919 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23920 PyObject * obj0 = 0 ;
23921 PyObject * obj1 = 0 ;
23922 char *kwnames[] = {
23923 (char *) "self",(char *) "printout", NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 (arg1)->SetPrintout(arg2);
23934
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 Py_INCREF(Py_None); resultobj = Py_None;
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23946 PyObject *resultobj;
23947 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23948 wxPyPrintout *result;
23949 PyObject * obj0 = 0 ;
23950 char *kwnames[] = {
23951 (char *) "self", NULL
23952 };
23953
23954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 result = (wxPyPrintout *)(arg1)->GetPrintout();
23960
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 {
23965 resultobj = wxPyMake_wxObject(result, 0);
23966 }
23967 return resultobj;
23968 fail:
23969 return NULL;
23970 }
23971
23972
23973 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23974 PyObject *resultobj;
23975 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23976 wxPyPrintout *result;
23977 PyObject * obj0 = 0 ;
23978 char *kwnames[] = {
23979 (char *) "self", NULL
23980 };
23981
23982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 {
23993 resultobj = wxPyMake_wxObject(result, 0);
23994 }
23995 return resultobj;
23996 fail:
23997 return NULL;
23998 }
23999
24000
24001 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24002 PyObject *resultobj;
24003 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24004 wxFrame *arg2 = (wxFrame *) 0 ;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "frame", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 (arg1)->SetFrame(arg2);
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 Py_INCREF(Py_None); resultobj = Py_None;
24024 return resultobj;
24025 fail:
24026 return NULL;
24027 }
24028
24029
24030 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24031 PyObject *resultobj;
24032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24033 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj1 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self",(char *) "canvas", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 (arg1)->SetCanvas(arg2);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 Py_INCREF(Py_None); resultobj = Py_None;
24053 return resultobj;
24054 fail:
24055 return NULL;
24056 }
24057
24058
24059 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24060 PyObject *resultobj;
24061 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24062 wxFrame *result;
24063 PyObject * obj0 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24071 {
24072 PyThreadState* __tstate = wxPyBeginAllowThreads();
24073 result = (wxFrame *)(arg1)->GetFrame();
24074
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 {
24079 resultobj = wxPyMake_wxObject(result, 0);
24080 }
24081 return resultobj;
24082 fail:
24083 return NULL;
24084 }
24085
24086
24087 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24090 wxPreviewCanvas *result;
24091 PyObject * obj0 = 0 ;
24092 char *kwnames[] = {
24093 (char *) "self", NULL
24094 };
24095
24096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
24097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24107 return resultobj;
24108 fail:
24109 return NULL;
24110 }
24111
24112
24113 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24116 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24117 wxDC *arg3 = 0 ;
24118 bool result;
24119 PyObject * obj0 = 0 ;
24120 PyObject * obj1 = 0 ;
24121 PyObject * obj2 = 0 ;
24122 char *kwnames[] = {
24123 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24124 };
24125
24126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1)
24133 SWIG_fail;
24134 if (arg3 == NULL) {
24135 PyErr_SetString(PyExc_TypeError,"null reference");
24136 SWIG_fail;
24137 }
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 {
24146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24147 }
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24157 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24158 wxDC *arg3 = 0 ;
24159 bool result;
24160 PyObject * obj0 = 0 ;
24161 PyObject * obj1 = 0 ;
24162 PyObject * obj2 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1)
24174 SWIG_fail;
24175 if (arg3 == NULL) {
24176 PyErr_SetString(PyExc_TypeError,"null reference");
24177 SWIG_fail;
24178 }
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24188 }
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24198 int arg2 ;
24199 bool result;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "self",(char *) "pageNum", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24209 arg2 = (int)SWIG_As_int(obj1);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 result = (bool)(arg1)->RenderPage(arg2);
24214
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 {
24219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24220 }
24221 return resultobj;
24222 fail:
24223 return NULL;
24224 }
24225
24226
24227 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24228 PyObject *resultobj;
24229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24230 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24231 PyObject * obj0 = 0 ;
24232 PyObject * obj1 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self",(char *) "canvas", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 (arg1)->AdjustScrollbars(arg2);
24245
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 Py_INCREF(Py_None); resultobj = Py_None;
24250 return resultobj;
24251 fail:
24252 return NULL;
24253 }
24254
24255
24256 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj;
24258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24259 wxPrintDialogData *result;
24260 PyObject * obj0 = 0 ;
24261 char *kwnames[] = {
24262 (char *) "self", NULL
24263 };
24264
24265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 {
24271 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24272 result = (wxPrintDialogData *) &_result_ref;
24273 }
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24288 int arg2 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self",(char *) "percent", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24298 arg2 = (int)SWIG_As_int(obj1);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 (arg1)->SetZoom(arg2);
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 Py_INCREF(Py_None); resultobj = Py_None;
24308 return resultobj;
24309 fail:
24310 return NULL;
24311 }
24312
24313
24314 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj;
24316 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24317 int result;
24318 PyObject * obj0 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = (int)(arg1)->GetZoom();
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 resultobj = SWIG_From_int((int)result);
24334 return resultobj;
24335 fail:
24336 return NULL;
24337 }
24338
24339
24340 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24343 int result;
24344 PyObject * obj0 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 result = (int)(arg1)->GetMaxPage();
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 resultobj = SWIG_From_int((int)result);
24360 return resultobj;
24361 fail:
24362 return NULL;
24363 }
24364
24365
24366 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24369 int result;
24370 PyObject * obj0 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 result = (int)(arg1)->GetMinPage();
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 resultobj = SWIG_From_int((int)result);
24386 return resultobj;
24387 fail:
24388 return NULL;
24389 }
24390
24391
24392 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj;
24394 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24395 bool result;
24396 PyObject * obj0 = 0 ;
24397 char *kwnames[] = {
24398 (char *) "self", NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
24406 result = (bool)(arg1)->Ok();
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 {
24412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24413 }
24414 return resultobj;
24415 fail:
24416 return NULL;
24417 }
24418
24419
24420 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24421 PyObject *resultobj;
24422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24423 bool arg2 ;
24424 PyObject * obj0 = 0 ;
24425 PyObject * obj1 = 0 ;
24426 char *kwnames[] = {
24427 (char *) "self",(char *) "ok", NULL
24428 };
24429
24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24433 arg2 = (bool)SWIG_As_bool(obj1);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 (arg1)->SetOk(arg2);
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 Py_INCREF(Py_None); resultobj = Py_None;
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj;
24451 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24452 bool arg2 ;
24453 bool result;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 char *kwnames[] = {
24457 (char *) "self",(char *) "interactive", NULL
24458 };
24459
24460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24463 arg2 = (bool)SWIG_As_bool(obj1);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 result = (bool)(arg1)->Print(arg2);
24468
24469 wxPyEndAllowThreads(__tstate);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 {
24473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24474 }
24475 return resultobj;
24476 fail:
24477 return NULL;
24478 }
24479
24480
24481 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24482 PyObject *resultobj;
24483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24484 PyObject * obj0 = 0 ;
24485 char *kwnames[] = {
24486 (char *) "self", NULL
24487 };
24488
24489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 (arg1)->DetermineScaling();
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 Py_INCREF(Py_None); resultobj = Py_None;
24500 return resultobj;
24501 fail:
24502 return NULL;
24503 }
24504
24505
24506 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24507 PyObject *obj;
24508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24509 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24510 Py_INCREF(obj);
24511 return Py_BuildValue((char *)"");
24512 }
24513 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24514 PyObject *resultobj;
24515 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24516 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24517 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24518 wxPyPrintPreview *result;
24519 PyObject * obj0 = 0 ;
24520 PyObject * obj1 = 0 ;
24521 PyObject * obj2 = 0 ;
24522
24523 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24528 if (obj2) {
24529 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 }
24532 {
24533 if (!wxPyCheckForApp()) SWIG_fail;
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24548 PyObject *resultobj;
24549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24550 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24551 wxPrintData *arg3 = (wxPrintData *) 0 ;
24552 wxPyPrintPreview *result;
24553 PyObject * obj0 = 0 ;
24554 PyObject * obj1 = 0 ;
24555 PyObject * obj2 = 0 ;
24556
24557 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24562 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24564 {
24565 if (!wxPyCheckForApp()) SWIG_fail;
24566 PyThreadState* __tstate = wxPyBeginAllowThreads();
24567 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24568
24569 wxPyEndAllowThreads(__tstate);
24570 if (PyErr_Occurred()) SWIG_fail;
24571 }
24572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24573 return resultobj;
24574 fail:
24575 return NULL;
24576 }
24577
24578
24579 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24580 int argc;
24581 PyObject *argv[4];
24582 int ii;
24583
24584 argc = PyObject_Length(args);
24585 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24586 argv[ii] = PyTuple_GetItem(args,ii);
24587 }
24588 if ((argc >= 2) && (argc <= 3)) {
24589 int _v;
24590 {
24591 void *ptr;
24592 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24593 _v = 0;
24594 PyErr_Clear();
24595 } else {
24596 _v = 1;
24597 }
24598 }
24599 if (_v) {
24600 {
24601 void *ptr;
24602 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24603 _v = 0;
24604 PyErr_Clear();
24605 } else {
24606 _v = 1;
24607 }
24608 }
24609 if (_v) {
24610 if (argc <= 2) {
24611 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24612 }
24613 {
24614 void *ptr;
24615 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24616 _v = 0;
24617 PyErr_Clear();
24618 } else {
24619 _v = 1;
24620 }
24621 }
24622 if (_v) {
24623 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24624 }
24625 }
24626 }
24627 }
24628 if (argc == 3) {
24629 int _v;
24630 {
24631 void *ptr;
24632 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24633 _v = 0;
24634 PyErr_Clear();
24635 } else {
24636 _v = 1;
24637 }
24638 }
24639 if (_v) {
24640 {
24641 void *ptr;
24642 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24643 _v = 0;
24644 PyErr_Clear();
24645 } else {
24646 _v = 1;
24647 }
24648 }
24649 if (_v) {
24650 {
24651 void *ptr;
24652 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24653 _v = 0;
24654 PyErr_Clear();
24655 } else {
24656 _v = 1;
24657 }
24658 }
24659 if (_v) {
24660 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24661 }
24662 }
24663 }
24664 }
24665
24666 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24667 return NULL;
24668 }
24669
24670
24671 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj;
24673 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24674 PyObject *arg2 = (PyObject *) 0 ;
24675 PyObject *arg3 = (PyObject *) 0 ;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 PyObject * obj2 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self",(char *) "self",(char *) "_class", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 arg2 = obj1;
24687 arg3 = obj2;
24688 {
24689 PyThreadState* __tstate = wxPyBeginAllowThreads();
24690 (arg1)->_setCallbackInfo(arg2,arg3);
24691
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 Py_INCREF(Py_None); resultobj = Py_None;
24696 return resultobj;
24697 fail:
24698 return NULL;
24699 }
24700
24701
24702 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24703 PyObject *resultobj;
24704 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24705 int arg2 ;
24706 bool result;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 char *kwnames[] = {
24710 (char *) "self",(char *) "pageNum", NULL
24711 };
24712
24713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24716 arg2 = (int)SWIG_As_int(obj1);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 {
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 {
24726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24727 }
24728 return resultobj;
24729 fail:
24730 return NULL;
24731 }
24732
24733
24734 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24737 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24738 wxDC *arg3 = 0 ;
24739 bool result;
24740 PyObject * obj0 = 0 ;
24741 PyObject * obj1 = 0 ;
24742 PyObject * obj2 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24745 };
24746
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24752 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24753 SWIG_POINTER_EXCEPTION | 0)) == -1)
24754 SWIG_fail;
24755 if (arg3 == NULL) {
24756 PyErr_SetString(PyExc_TypeError,"null reference");
24757 SWIG_fail;
24758 }
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24762
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 {
24767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24768 }
24769 return resultobj;
24770 fail:
24771 return NULL;
24772 }
24773
24774
24775 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj;
24777 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24778 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24779 wxDC *arg3 = 0 ;
24780 bool result;
24781 PyObject * obj0 = 0 ;
24782 PyObject * obj1 = 0 ;
24783 PyObject * obj2 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24794 SWIG_POINTER_EXCEPTION | 0)) == -1)
24795 SWIG_fail;
24796 if (arg3 == NULL) {
24797 PyErr_SetString(PyExc_TypeError,"null reference");
24798 SWIG_fail;
24799 }
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 {
24808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24809 }
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24819 int arg2 ;
24820 bool result;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 char *kwnames[] = {
24824 (char *) "self",(char *) "pageNum", NULL
24825 };
24826
24827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24830 arg2 = (int)SWIG_As_int(obj1);
24831 if (PyErr_Occurred()) SWIG_fail;
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 result = (bool)(arg1)->base_RenderPage(arg2);
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 {
24840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24841 }
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24851 int arg2 ;
24852 PyObject * obj0 = 0 ;
24853 PyObject * obj1 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self",(char *) "percent", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24861 arg2 = (int)SWIG_As_int(obj1);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 (arg1)->base_SetZoom(arg2);
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 Py_INCREF(Py_None); resultobj = Py_None;
24871 return resultobj;
24872 fail:
24873 return NULL;
24874 }
24875
24876
24877 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24878 PyObject *resultobj;
24879 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24880 bool arg2 ;
24881 bool result;
24882 PyObject * obj0 = 0 ;
24883 PyObject * obj1 = 0 ;
24884 char *kwnames[] = {
24885 (char *) "self",(char *) "interactive", NULL
24886 };
24887
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24891 arg2 = (bool)SWIG_As_bool(obj1);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 {
24894 PyThreadState* __tstate = wxPyBeginAllowThreads();
24895 result = (bool)(arg1)->base_Print(arg2);
24896
24897 wxPyEndAllowThreads(__tstate);
24898 if (PyErr_Occurred()) SWIG_fail;
24899 }
24900 {
24901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24902 }
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj;
24911 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24912 PyObject * obj0 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 (arg1)->base_DetermineScaling();
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 Py_INCREF(Py_None); resultobj = Py_None;
24928 return resultobj;
24929 fail:
24930 return NULL;
24931 }
24932
24933
24934 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24935 PyObject *obj;
24936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24937 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24938 Py_INCREF(obj);
24939 return Py_BuildValue((char *)"");
24940 }
24941 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj;
24943 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24944 wxFrame *arg2 = (wxFrame *) 0 ;
24945 wxString *arg3 = 0 ;
24946 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24947 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24948 wxSize const &arg5_defvalue = wxDefaultSize ;
24949 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24950 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24951 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24952 wxString *arg7 = (wxString *) &arg7_defvalue ;
24953 wxPyPreviewFrame *result;
24954 bool temp3 = false ;
24955 wxPoint temp4 ;
24956 wxSize temp5 ;
24957 bool temp7 = false ;
24958 PyObject * obj0 = 0 ;
24959 PyObject * obj1 = 0 ;
24960 PyObject * obj2 = 0 ;
24961 PyObject * obj3 = 0 ;
24962 PyObject * obj4 = 0 ;
24963 PyObject * obj5 = 0 ;
24964 PyObject * obj6 = 0 ;
24965 char *kwnames[] = {
24966 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24967 };
24968
24969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24974 {
24975 arg3 = wxString_in_helper(obj2);
24976 if (arg3 == NULL) SWIG_fail;
24977 temp3 = true;
24978 }
24979 if (obj3) {
24980 {
24981 arg4 = &temp4;
24982 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24983 }
24984 }
24985 if (obj4) {
24986 {
24987 arg5 = &temp5;
24988 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24989 }
24990 }
24991 if (obj5) {
24992 arg6 = (long)SWIG_As_long(obj5);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 if (obj6) {
24996 {
24997 arg7 = wxString_in_helper(obj6);
24998 if (arg7 == NULL) SWIG_fail;
24999 temp7 = true;
25000 }
25001 }
25002 {
25003 if (!wxPyCheckForApp()) SWIG_fail;
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
25011 {
25012 if (temp3)
25013 delete arg3;
25014 }
25015 {
25016 if (temp7)
25017 delete arg7;
25018 }
25019 return resultobj;
25020 fail:
25021 {
25022 if (temp3)
25023 delete arg3;
25024 }
25025 {
25026 if (temp7)
25027 delete arg7;
25028 }
25029 return NULL;
25030 }
25031
25032
25033 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25034 PyObject *resultobj;
25035 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25036 PyObject *arg2 = (PyObject *) 0 ;
25037 PyObject *arg3 = (PyObject *) 0 ;
25038 PyObject * obj0 = 0 ;
25039 PyObject * obj1 = 0 ;
25040 PyObject * obj2 = 0 ;
25041 char *kwnames[] = {
25042 (char *) "self",(char *) "self",(char *) "_class", NULL
25043 };
25044
25045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25048 arg2 = obj1;
25049 arg3 = obj2;
25050 {
25051 PyThreadState* __tstate = wxPyBeginAllowThreads();
25052 (arg1)->_setCallbackInfo(arg2,arg3);
25053
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 Py_INCREF(Py_None); resultobj = Py_None;
25058 return resultobj;
25059 fail:
25060 return NULL;
25061 }
25062
25063
25064 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25065 PyObject *resultobj;
25066 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25067 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25068 PyObject * obj0 = 0 ;
25069 PyObject * obj1 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self",(char *) "canvas", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->SetPreviewCanvas(arg2);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 Py_INCREF(Py_None); resultobj = Py_None;
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25096 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25097 PyObject * obj0 = 0 ;
25098 PyObject * obj1 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self",(char *) "bar", NULL
25101 };
25102
25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->SetControlBar(arg2);
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 Py_INCREF(Py_None); resultobj = Py_None;
25116 return resultobj;
25117 fail:
25118 return NULL;
25119 }
25120
25121
25122 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25123 PyObject *resultobj;
25124 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25125 PyObject * obj0 = 0 ;
25126 char *kwnames[] = {
25127 (char *) "self", NULL
25128 };
25129
25130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 (arg1)->base_Initialize();
25136
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 Py_INCREF(Py_None); resultobj = Py_None;
25141 return resultobj;
25142 fail:
25143 return NULL;
25144 }
25145
25146
25147 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj;
25149 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25150 PyObject * obj0 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->base_CreateCanvas();
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 Py_INCREF(Py_None); resultobj = Py_None;
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25175 PyObject * obj0 = 0 ;
25176 char *kwnames[] = {
25177 (char *) "self", NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->base_CreateControlBar();
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25198 PyObject *obj;
25199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25200 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25201 Py_INCREF(obj);
25202 return Py_BuildValue((char *)"");
25203 }
25204 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25205 PyObject *resultobj;
25206 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25207 long arg2 ;
25208 wxWindow *arg3 = (wxWindow *) 0 ;
25209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25211 wxSize const &arg5_defvalue = wxDefaultSize ;
25212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25213 long arg6 = (long) 0 ;
25214 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25215 wxString *arg7 = (wxString *) &arg7_defvalue ;
25216 wxPyPreviewControlBar *result;
25217 wxPoint temp4 ;
25218 wxSize temp5 ;
25219 bool temp7 = false ;
25220 PyObject * obj0 = 0 ;
25221 PyObject * obj1 = 0 ;
25222 PyObject * obj2 = 0 ;
25223 PyObject * obj3 = 0 ;
25224 PyObject * obj4 = 0 ;
25225 PyObject * obj5 = 0 ;
25226 PyObject * obj6 = 0 ;
25227 char *kwnames[] = {
25228 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25229 };
25230
25231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25234 arg2 = (long)SWIG_As_long(obj1);
25235 if (PyErr_Occurred()) SWIG_fail;
25236 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25238 if (obj3) {
25239 {
25240 arg4 = &temp4;
25241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25242 }
25243 }
25244 if (obj4) {
25245 {
25246 arg5 = &temp5;
25247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25248 }
25249 }
25250 if (obj5) {
25251 arg6 = (long)SWIG_As_long(obj5);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 if (obj6) {
25255 {
25256 arg7 = wxString_in_helper(obj6);
25257 if (arg7 == NULL) SWIG_fail;
25258 temp7 = true;
25259 }
25260 }
25261 {
25262 if (!wxPyCheckForApp()) SWIG_fail;
25263 PyThreadState* __tstate = wxPyBeginAllowThreads();
25264 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25265
25266 wxPyEndAllowThreads(__tstate);
25267 if (PyErr_Occurred()) SWIG_fail;
25268 }
25269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25270 {
25271 if (temp7)
25272 delete arg7;
25273 }
25274 return resultobj;
25275 fail:
25276 {
25277 if (temp7)
25278 delete arg7;
25279 }
25280 return NULL;
25281 }
25282
25283
25284 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25285 PyObject *resultobj;
25286 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25287 PyObject *arg2 = (PyObject *) 0 ;
25288 PyObject *arg3 = (PyObject *) 0 ;
25289 PyObject * obj0 = 0 ;
25290 PyObject * obj1 = 0 ;
25291 PyObject * obj2 = 0 ;
25292 char *kwnames[] = {
25293 (char *) "self",(char *) "self",(char *) "_class", NULL
25294 };
25295
25296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25299 arg2 = obj1;
25300 arg3 = obj2;
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 (arg1)->_setCallbackInfo(arg2,arg3);
25304
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 Py_INCREF(Py_None); resultobj = Py_None;
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj;
25317 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25318 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25319 PyObject * obj0 = 0 ;
25320 PyObject * obj1 = 0 ;
25321 char *kwnames[] = {
25322 (char *) "self",(char *) "preview", NULL
25323 };
25324
25325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 (arg1)->SetPrintPreview(arg2);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 Py_INCREF(Py_None); resultobj = Py_None;
25338 return resultobj;
25339 fail:
25340 return NULL;
25341 }
25342
25343
25344 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj;
25346 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25347 PyObject * obj0 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 (arg1)->base_CreateButtons();
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 Py_INCREF(Py_None); resultobj = Py_None;
25363 return resultobj;
25364 fail:
25365 return NULL;
25366 }
25367
25368
25369 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25372 int arg2 ;
25373 PyObject * obj0 = 0 ;
25374 PyObject * obj1 = 0 ;
25375 char *kwnames[] = {
25376 (char *) "self",(char *) "zoom", NULL
25377 };
25378
25379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25382 arg2 = (int)SWIG_As_int(obj1);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 {
25385 PyThreadState* __tstate = wxPyBeginAllowThreads();
25386 (arg1)->base_SetZoomControl(arg2);
25387
25388 wxPyEndAllowThreads(__tstate);
25389 if (PyErr_Occurred()) SWIG_fail;
25390 }
25391 Py_INCREF(Py_None); resultobj = Py_None;
25392 return resultobj;
25393 fail:
25394 return NULL;
25395 }
25396
25397
25398 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25399 PyObject *obj;
25400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25401 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25402 Py_INCREF(obj);
25403 return Py_BuildValue((char *)"");
25404 }
25405 static PyMethodDef SwigMethods[] = {
25406 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25412 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25427 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25428 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25435 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25453 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25477 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25489 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25493 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25497 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25502 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25519 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25547 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25554 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25577 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25585 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25597 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25603 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25612 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25618 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25623 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25629 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25633 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25651 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25677 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25685 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25694 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25696 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25705 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25708 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25715 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25733 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25737 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25742 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25746 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL },
25748 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25764 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25767 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25769 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25773 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25782 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25791 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25797 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25809 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25816 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25820 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25846 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25872 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25898 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25899 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25933 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25934 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25940 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25944 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25945 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25976 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25981 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25982 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25983 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25985 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25991 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25992 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25993 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25994 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25995 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25996 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25997 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25998 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25999 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26000 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26001 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26002 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26003 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26004 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26005 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26006 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26007 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26008 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26009 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26010 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26011 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26012 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26013 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26014 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
26015 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26016 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26017 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26018 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26019 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
26020 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
26021 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26022 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26023 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26024 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
26025 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
26026 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26027 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26028 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26029 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
26030 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
26031 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
26032 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
26033 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26034 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26035 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26036 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26037 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26038 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26039 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26040 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26041 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26042 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26043 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26044 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26045 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26046 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26047 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26048 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26049 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26050 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26051 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26052 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26053 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26054 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26055 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26056 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26057 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26058 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26059 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26060 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26061 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26062 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26063 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26064 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26065 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26066 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26067 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26068 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26069 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26070 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26071 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26072 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26073 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26074 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26075 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26076 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26077 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26078 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26079 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26080 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26081 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26082 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26083 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26084 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26085 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26086 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26087 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26088 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26089 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26090 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26091 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26092 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26093 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26094 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26095 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26096 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26097 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26098 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26099 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26100 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26101 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26102 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26103 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26104 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26105 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26106 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26107 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26108 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26109 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26110 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26111 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26112 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26113 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26114 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26115 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26116 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26117 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26118 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26119 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26120 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26121 { NULL, NULL, 0, NULL }
26122 };
26123
26124
26125 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26126
26127 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26128 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26129 }
26130 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26132 }
26133 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26134 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26135 }
26136 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26137 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26138 }
26139 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26140 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26141 }
26142 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26143 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26144 }
26145 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26146 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26147 }
26148 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26149 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26150 }
26151 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26152 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26153 }
26154 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26155 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26156 }
26157 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26159 }
26160 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26161 return (void *)((wxEvent *) ((wxPyEvent *) x));
26162 }
26163 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26165 }
26166 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26167 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26168 }
26169 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26170 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26171 }
26172 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26173 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26174 }
26175 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26176 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26177 }
26178 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26179 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26180 }
26181 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26182 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26183 }
26184 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26185 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26186 }
26187 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26188 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26189 }
26190 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26191 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26192 }
26193 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26194 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26195 }
26196 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26197 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26198 }
26199 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26200 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26201 }
26202 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26203 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26204 }
26205 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26206 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26207 }
26208 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26209 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26210 }
26211 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26212 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26213 }
26214 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26215 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26216 }
26217 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26218 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26219 }
26220 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26222 }
26223 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26224 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26225 }
26226 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26227 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26228 }
26229 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26230 return (void *)((wxEvent *) ((wxShowEvent *) x));
26231 }
26232 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26233 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26234 }
26235 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26237 }
26238 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26240 }
26241 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26242 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26243 }
26244 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26245 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26246 }
26247 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26248 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26249 }
26250 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26251 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26252 }
26253 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26254 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26255 }
26256 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
26257 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26258 }
26259 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26261 }
26262 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26263 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26264 }
26265 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26266 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26267 }
26268 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26270 }
26271 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26272 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26273 }
26274 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26275 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26276 }
26277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26278 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26279 }
26280 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
26281 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26282 }
26283 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26284 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26285 }
26286 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26287 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26288 }
26289 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26290 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26291 }
26292 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26293 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26294 }
26295 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26297 }
26298 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26300 }
26301 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26303 }
26304 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26306 }
26307 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26308 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26309 }
26310 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26311 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26312 }
26313 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26314 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26315 }
26316 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26317 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26318 }
26319 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26320 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26321 }
26322 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26323 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26324 }
26325 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26326 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26327 }
26328 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26329 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26330 }
26331 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26332 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26333 }
26334 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26335 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26336 }
26337 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26338 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26339 }
26340 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26341 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26342 }
26343 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26345 }
26346 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26347 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26348 }
26349 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26350 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26351 }
26352 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26354 }
26355 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26357 }
26358 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26359 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26360 }
26361 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26362 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26363 }
26364 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26365 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26366 }
26367 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26369 }
26370 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26371 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26372 }
26373 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26375 }
26376 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26377 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26378 }
26379 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26380 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26381 }
26382 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26383 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26384 }
26385 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26386 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26387 }
26388 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26390 }
26391 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26393 }
26394 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26396 }
26397 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26399 }
26400 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26401 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26402 }
26403 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26405 }
26406 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26407 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26408 }
26409 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26410 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26411 }
26412 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26413 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26414 }
26415 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26416 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26417 }
26418 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26419 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26420 }
26421 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26422 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26423 }
26424 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26425 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26426 }
26427 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26428 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26429 }
26430 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26431 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26432 }
26433 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26434 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26435 }
26436 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26438 }
26439 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26441 }
26442 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26443 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26444 }
26445 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26446 return (void *)((wxObject *) ((wxSizerItem *) x));
26447 }
26448 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26450 }
26451 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26452 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26453 }
26454 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26455 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26456 }
26457 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26458 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26459 }
26460 static void *_p_wxSizerTo_p_wxObject(void *x) {
26461 return (void *)((wxObject *) ((wxSizer *) x));
26462 }
26463 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26464 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26465 }
26466 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26467 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26468 }
26469 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26471 }
26472 static void *_p_wxEventTo_p_wxObject(void *x) {
26473 return (void *)((wxObject *) ((wxEvent *) x));
26474 }
26475 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26476 return (void *)((wxObject *) ((wxFontData *) x));
26477 }
26478 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26479 return (void *)((wxObject *) ((wxPrintData *) x));
26480 }
26481 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26482 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26483 }
26484 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26485 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26486 }
26487 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26488 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26489 }
26490 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26491 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26492 }
26493 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26494 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26495 }
26496 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26498 }
26499 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26500 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26501 }
26502 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26503 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26504 }
26505 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26506 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26507 }
26508 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26509 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26510 }
26511 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26512 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26513 }
26514 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26515 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26516 }
26517 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26519 }
26520 static void *_p_wxControlTo_p_wxObject(void *x) {
26521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26522 }
26523 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26524 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26525 }
26526 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26527 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26528 }
26529 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26530 return (void *)((wxObject *) ((wxFSFile *) x));
26531 }
26532 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26533 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26534 }
26535 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26536 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26537 }
26538 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26540 }
26541 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26542 return (void *)((wxObject *) ((wxColourData *) x));
26543 }
26544 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26545 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26546 }
26547 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26549 }
26550 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26552 }
26553 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26555 }
26556 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26558 }
26559 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26561 }
26562 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26564 }
26565 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26567 }
26568 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
26569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26570 }
26571 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26573 }
26574 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26576 }
26577 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26579 }
26580 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26581 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26582 }
26583 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26584 return (void *)((wxObject *) ((wxPrinter *) x));
26585 }
26586 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26587 return (void *)((wxObject *) ((wxMenuItem *) x));
26588 }
26589 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26590 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26591 }
26592 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26593 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26594 }
26595 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26596 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26597 }
26598 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26599 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26600 }
26601 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26602 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26603 }
26604 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26605 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26606 }
26607 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26608 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26609 }
26610 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26611 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26612 }
26613 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26614 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26615 }
26616 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26617 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26618 }
26619 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26620 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26621 }
26622 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26623 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26624 }
26625 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26626 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26627 }
26628 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26629 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26630 }
26631 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26632 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26633 }
26634 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26635 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26636 }
26637 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26638 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26639 }
26640 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26641 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26642 }
26643 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26644 return (void *)((wxObject *) ((wxImageHandler *) x));
26645 }
26646 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26647 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26648 }
26649 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26650 return (void *)((wxObject *) ((wxEvtHandler *) x));
26651 }
26652 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26653 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26654 }
26655 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26657 }
26658 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26660 }
26661 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26662 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26663 }
26664 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26666 }
26667 static void *_p_wxImageTo_p_wxObject(void *x) {
26668 return (void *)((wxObject *) ((wxImage *) x));
26669 }
26670 static void *_p_wxFrameTo_p_wxObject(void *x) {
26671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26672 }
26673 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26674 return (void *)((wxObject *) ((wxPyPrintout *) x));
26675 }
26676 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26677 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26678 }
26679 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26680 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26681 }
26682 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26684 }
26685 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26687 }
26688 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26689 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26690 }
26691 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26692 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26693 }
26694 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26695 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26696 }
26697 static void *_p_wxWindowTo_p_wxObject(void *x) {
26698 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26699 }
26700 static void *_p_wxMenuTo_p_wxObject(void *x) {
26701 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26702 }
26703 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26705 }
26706 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26708 }
26709 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26711 }
26712 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26714 }
26715 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26717 }
26718 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26720 }
26721 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26723 }
26724 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26726 }
26727 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26729 }
26730 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26732 }
26733 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26735 }
26736 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26738 }
26739 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26741 }
26742 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26744 }
26745 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26746 return (void *)((wxObject *) ((wxPrintPreview *) x));
26747 }
26748 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26749 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26750 }
26751 static void *_p_wxPanelTo_p_wxObject(void *x) {
26752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26753 }
26754 static void *_p_wxDialogTo_p_wxObject(void *x) {
26755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26756 }
26757 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26759 }
26760 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26762 }
26763 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26765 }
26766 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26767 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
26768 }
26769 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26770 return (void *)((wxObject *) ((wxPrintDialog *) x));
26771 }
26772 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26773 return (void *)((wxObject *) ((wxFileSystem *) x));
26774 }
26775 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26777 }
26778 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26779 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26780 }
26781 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26782 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26783 }
26784 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26785 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26786 }
26787 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26788 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26789 }
26790 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26791 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26792 }
26793 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26795 }
26796 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26797 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26798 }
26799 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26801 }
26802 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26804 }
26805 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26806 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26807 }
26808 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26809 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26810 }
26811 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26813 }
26814 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26816 }
26817 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26818 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26819 }
26820 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26821 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26822 }
26823 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26824 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26825 }
26826 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26827 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26828 }
26829 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26830 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26831 }
26832 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26833 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26834 }
26835 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26836 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26837 }
26838 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26839 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26840 }
26841 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26842 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26843 }
26844 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26845 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26846 }
26847 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26848 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26849 }
26850 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26851 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26852 }
26853 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26854 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26855 }
26856 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26857 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26858 }
26859 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26860 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26861 }
26862 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26863 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26864 }
26865 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26866 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26867 }
26868 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26869 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26870 }
26871 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26872 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26873 }
26874 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26875 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26876 }
26877 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26878 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26879 }
26880 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
26881 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26882 }
26883 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26884 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26885 }
26886 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26887 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26888 }
26889 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26890 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26891 }
26892 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26893 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26894 }
26895 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26896 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26897 }
26898 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26899 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26900 }
26901 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26902 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26903 }
26904 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26906 }
26907 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26909 }
26910 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26911 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26912 }
26913 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26914 return (void *)((wxWindow *) ((wxMenuBar *) x));
26915 }
26916 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26917 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26918 }
26919 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26920 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26921 }
26922 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26923 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26924 }
26925 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
26926 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26927 }
26928 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26929 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26930 }
26931 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26932 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26933 }
26934 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26935 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26936 }
26937 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26938 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26939 }
26940 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26941 return (void *)((wxWindow *) ((wxPanel *) x));
26942 }
26943 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26944 return (void *)((wxWindow *) ((wxStatusBar *) x));
26945 }
26946 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26947 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26948 }
26949 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26950 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26951 }
26952 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26953 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26954 }
26955 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26956 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26957 }
26958 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26959 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26960 }
26961 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26962 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26963 }
26964 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26965 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26966 }
26967 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26968 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26969 }
26970 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26971 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26972 }
26973 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26974 return (void *)((wxWindow *) ((wxSashWindow *) x));
26975 }
26976 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26977 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26978 }
26979 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26980 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26981 }
26982 static void *_p_wxControlTo_p_wxWindow(void *x) {
26983 return (void *)((wxWindow *) ((wxControl *) x));
26984 }
26985 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26987 }
26988 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26990 }
26991 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26993 }
26994 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26995 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26996 }
26997 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26998 return (void *)((wxWindow *) ((wxPyWindow *) x));
26999 }
27000 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27001 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27002 }
27003 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27004 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27005 }
27006 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27007 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27008 }
27009 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27010 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27011 }
27012 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27013 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27014 }
27015 static void *_p_wxFrameTo_p_wxWindow(void *x) {
27016 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27017 }
27018 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27019 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27020 }
27021 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27022 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27023 }
27024 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27025 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27026 }
27027 static void *_p_wxDialogTo_p_wxWindow(void *x) {
27028 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27029 }
27030 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27032 }
27033 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
27034 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27035 }
27036 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27037 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27038 }
27039 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27040 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27041 }
27042 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27043 return (void *)((wxDialog *) ((wxColourDialog *) x));
27044 }
27045 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27046 return (void *)((wxDialog *) ((wxDirDialog *) x));
27047 }
27048 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27049 return (void *)((wxDialog *) ((wxFontDialog *) x));
27050 }
27051 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27052 return (void *)((wxDialog *) ((wxFileDialog *) x));
27053 }
27054 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27055 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27056 }
27057 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27058 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27059 }
27060 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27061 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27062 }
27063 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
27064 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27065 }
27066 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27067 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27068 }
27069 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27070 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27071 }
27072 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27073 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27074 }
27075 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27076 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27077 }
27078 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27079 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27080 }
27081 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27082 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27083 }
27084 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27085 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27086 }
27087 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27088 return (void *)((wxPanel *) ((wxPyPanel *) x));
27089 }
27090 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27091 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27092 }
27093 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27094 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27095 }
27096 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27097 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27098 }
27099 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27100 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27101 }
27102 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27103 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27104 }
27105 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27106 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27107 }
27108 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27109 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27110 }
27111 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27112 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27113 }
27114 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27115 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27116 }
27117 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27118 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27119 }
27120 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27121 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27122 }
27123 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27124 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27125 }
27126 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27127 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27128 }
27129 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27130 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27131 }
27132 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27133 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27134 }
27135 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}};
27136 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}};
27137 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}};
27138 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}};
27139 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}};
27140 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}};
27141 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}};
27142 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}};
27143 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}};
27144 static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27145 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}};
27146 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}};
27147 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}};
27148 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}};
27149 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}};
27150 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}};
27151 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}};
27152 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}};
27153 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}};
27154 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}};
27155 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}};
27156 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}};
27157 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}};
27158 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}};
27159 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}};
27160 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}};
27161 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}};
27162 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}};
27163 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}};
27164 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}};
27165 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}};
27166 static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27167 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}};
27168 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}};
27169 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}};
27170 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27171 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}};
27172 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}};
27173 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27174 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}};
27175 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}};
27176 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}};
27177 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}};
27178 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}};
27179 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}};
27180 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}};
27181 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}};
27182 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}};
27183 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}};
27184 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}};
27185 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}};
27186 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}};
27187 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27188 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}};
27189 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}};
27190 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}};
27191 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}};
27192 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}};
27193 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}};
27194 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}};
27195 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}};
27196 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}};
27197 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27198 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27199 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}};
27200 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}};
27201 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}};
27202 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}};
27203 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}};
27204 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}};
27205 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}};
27206 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}};
27207 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}};
27208 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}};
27209 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27210 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}};
27211 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}};
27212 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}};
27213 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}};
27214 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}};
27215 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}};
27216 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}};
27217 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}};
27218 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}};
27219 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}};
27220 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}};
27221 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}};
27222
27223 static swig_type_info *swig_types_initial[] = {
27224 _swigt__p_wxQueryLayoutInfoEvent,
27225 _swigt__p_wxPreviewFrame,
27226 _swigt__p_wxPyPreviewFrame,
27227 _swigt__p_wxPyPanel,
27228 _swigt__p_wxMenu,
27229 _swigt__p_wxFontData,
27230 _swigt__p_wxEvent,
27231 _swigt__p_wxPrintData,
27232 _swigt__p_wxTaskBarIcon,
27233 _swigt__p_wxPyTaskBarIcon,
27234 _swigt__p_wxIconBundle,
27235 _swigt__p_wxLayoutAlgorithm,
27236 _swigt__p_wxFindDialogEvent,
27237 _swigt__p_wxPreviewCanvas,
27238 _swigt__p_wxFont,
27239 _swigt__p_wxSplitterEvent,
27240 _swigt__p_wxRegion,
27241 _swigt__p_wxFindReplaceData,
27242 _swigt__p_int,
27243 _swigt__p_wxSize,
27244 _swigt__p_wxDC,
27245 _swigt__p_wxIcon,
27246 _swigt__p_wxVisualAttributes,
27247 _swigt__p_wxMDIChildFrame,
27248 _swigt__p_wxColourData,
27249 _swigt__p_wxNotifyEvent,
27250 _swigt__p_wxPyWindow,
27251 _swigt__p_wxSplashScreen,
27252 _swigt__p_wxFindReplaceDialog,
27253 _swigt__p_wxProgressDialog,
27254 _swigt__p_wxMessageDialog,
27255 _swigt__p_wxPasswordEntryDialog,
27256 _swigt__p_wxSingleChoiceDialog,
27257 _swigt__p_wxMultiChoiceDialog,
27258 _swigt__p_wxFileDialog,
27259 _swigt__p_wxTextEntryDialog,
27260 _swigt__p_wxPrinter,
27261 _swigt__p_wxArrayInt,
27262 _swigt__p_wxEvtHandler,
27263 _swigt__p_wxCalculateLayoutEvent,
27264 _swigt__p_wxPyHtmlListBox,
27265 _swigt__p_wxPyVListBox,
27266 _swigt__p_wxRect,
27267 _swigt__p_char,
27268 _swigt__p_wxMiniFrame,
27269 _swigt__p_wxFrame,
27270 _swigt__p_wxPyPrintout,
27271 _swigt__p_wxTaskBarIconEvent,
27272 _swigt__p_wxScrollWinEvent,
27273 _swigt__p_wxStatusBar,
27274 _swigt__p_wxMDIParentFrame,
27275 _swigt__p_wxPoint,
27276 _swigt__p_wxObject,
27277 _swigt__p_wxMDIClientWindow,
27278 _swigt__p_wxTipWindow,
27279 _swigt__p_wxSashLayoutWindow,
27280 _swigt__p_wxSplitterWindow,
27281 _swigt__p_wxSplashScreenWindow,
27282 _swigt__p_wxPyVScrolledWindow,
27283 _swigt__p_wxPyPopupTransientWindow,
27284 _swigt__p_wxPopupWindow,
27285 _swigt__p_wxSashWindow,
27286 _swigt__p_wxTopLevelWindow,
27287 _swigt__p_wxWindow,
27288 _swigt__p_wxScrolledWindow,
27289 _swigt__p_wxMenuBar,
27290 _swigt__p_wxPyScrolledWindow,
27291 _swigt__p_wxPrintPreview,
27292 _swigt__p_wxSashEvent,
27293 _swigt__p_wxString,
27294 _swigt__p_wxPyPrintPreview,
27295 _swigt__p_wxFontDialog,
27296 _swigt__p_wxDirDialog,
27297 _swigt__p_wxColourDialog,
27298 _swigt__p_wxDialog,
27299 _swigt__p_wxPanel,
27300 _swigt__p_wxPageSetupDialog,
27301 _swigt__p_wxPrintDialog,
27302 _swigt__p_wxFileSystem,
27303 _swigt__p_wxBitmap,
27304 _swigt__p_wxCommandEvent,
27305 _swigt__p_wxPreviewControlBar,
27306 _swigt__p_wxPyPreviewControlBar,
27307 _swigt__p_wxColour,
27308 _swigt__p_wxToolBar,
27309 _swigt__p_wxPageSetupDialogData,
27310 _swigt__p_wxPrintDialogData,
27311 0
27312 };
27313
27314
27315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27316
27317 static swig_const_info swig_const_table[] = {
27318 {0, 0, 0, 0.0, 0, 0}};
27319
27320 #ifdef __cplusplus
27321 }
27322 #endif
27323
27324 #ifdef __cplusplus
27325 extern "C"
27326 #endif
27327 SWIGEXPORT(void) SWIG_init(void) {
27328 static PyObject *SWIG_globals = 0;
27329 static int typeinit = 0;
27330 PyObject *m, *d;
27331 int i;
27332 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27333 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27334 d = PyModule_GetDict(m);
27335
27336 if (!typeinit) {
27337 for (i = 0; swig_types_initial[i]; i++) {
27338 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27339 }
27340 typeinit = 1;
27341 }
27342 SWIG_InstallConstants(d,swig_const_table);
27343
27344 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27345 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27346 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27347 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27348 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27349 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27350 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27351 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27352 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27353 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27354 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27355 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27356 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27357 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27358 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27359 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27360 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27361 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27362 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27363 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27364 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27365 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27366 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27367 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27368 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27369 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27370 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27371 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27372 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27373 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27374 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27375 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27376 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27377 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27378 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27379 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27380 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27381 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27382 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27383 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27384 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27385 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27386 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27387 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27388 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27389 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27390 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27391 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27392 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27393 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27394 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27395 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27396 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27397 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27398 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27399 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27400 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27401 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27402 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27403 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27404 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27405 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27406 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27407 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27408 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27409 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27410 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27411 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27412 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27413 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27414 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27415 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27416 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27417 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27418 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27419 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27420 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27421 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27422 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27423 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27424 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27425 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27426 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27427 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27428 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27429 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27430 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27431 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27432 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27433 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27434 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27435 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27436 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27437 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27438 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27439 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27440 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27441 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27442 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27443
27444 // Map renamed classes back to their common name for OOR
27445 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27446 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27447 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27448
27449 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27450 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27451 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27452 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27453 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27454 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27455 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27456 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27457 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27458 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27459 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27460 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27461 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27462 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27463 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle));
27464 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
27465 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27466 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27467 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27468 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27469 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27470 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27471 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27472 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27473 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27474 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27475 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27476 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27477 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27478 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27479 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27480 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27481 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27482 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27483 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27484 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27485 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27486 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27487 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27488 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27489 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27490 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27491 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27492 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27493 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27494 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27495 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27496 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27497 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27498 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27499 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27500 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27501 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27502 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27503 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27504 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27505 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27506 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27507 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27508 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27509 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27510 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27511 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27512 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27513 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27514 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27515 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27516 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27517 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27518 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27519 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27520 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27521 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27522 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27523 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27524 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27525 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27526
27527 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27528
27529 }
27530