]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
* wxPrintDialog no longer derives from wxDialog.
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d55e5bfc
RD
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
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef 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
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d55e5bfc
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d55e5bfc
RD
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
d55e5bfc
RD
139#ifdef __cplusplus
140extern "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 */
158typedef 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
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(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
c32bde28 208
d55e5bfc
RD
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]
f5b96ee1
RD
216#define SWIGTYPE_p_wxFontData swig_types[5]
217#define SWIGTYPE_p_wxEvent swig_types[6]
218#define SWIGTYPE_p_wxPrintData swig_types[7]
d55e5bfc 219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
5e483524
RD
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_wxTextEntryDialog 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_wxPrinter swig_types[35]
247#define SWIGTYPE_p_wxArrayInt swig_types[36]
248#define SWIGTYPE_p_wxEvtHandler swig_types[37]
249#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250#define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251#define SWIGTYPE_p_wxPyVListBox swig_types[40]
252#define SWIGTYPE_p_wxRect swig_types[41]
253#define SWIGTYPE_p_char swig_types[42]
254#define SWIGTYPE_p_wxMiniFrame swig_types[43]
255#define SWIGTYPE_p_wxFrame swig_types[44]
256#define SWIGTYPE_p_wxPyPrintout swig_types[45]
257#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258#define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259#define SWIGTYPE_p_wxStatusBar swig_types[48]
260#define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261#define SWIGTYPE_p_wxPoint swig_types[50]
262#define SWIGTYPE_p_wxObject swig_types[51]
263#define SWIGTYPE_p_wxOutputStream swig_types[52]
09c21d3b
RD
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]
5e483524
RD
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]
298static swig_type_info *swig_types[88];
d55e5bfc
RD
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
c32bde28
RD
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
d55e5bfc
RD
315
316#ifdef __cplusplus
317#define SWIGSTATICINLINE(a) static inline a
318#define SWIGSTATIC(a) static a
c32bde28
RD
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
d55e5bfc 321#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
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)
d55e5bfc
RD
327
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
c32bde28
RD
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
d55e5bfc 334#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
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)))
d55e5bfc
RD
340
341#endif /* __cplusplus */
342
343
c32bde28
RD
344/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
d55e5bfc
RD
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
c32bde28
RD
382SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
d55e5bfc 385{
c32bde28
RD
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);
d55e5bfc 398 }
c32bde28 399 return 0;
d55e5bfc 400 }
c32bde28 401 return 1;
d55e5bfc
RD
402}
403
404
c32bde28
RD
405// See my_fragments.i
406SWIGSTATICINLINE(int)
407SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 408{
c32bde28
RD
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
d55e5bfc
RD
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);
d55e5bfc 418 }
c32bde28 419 return 0;
d55e5bfc
RD
420}
421
422
423#if INT_MAX != LONG_MAX
424SWIGSTATICINLINE(int)
c32bde28 425 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 426{
c32bde28
RD
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;
d55e5bfc
RD
443}
444#else
c32bde28
RD
445SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447{
448 return SWIG_AsVal_long(obj,(long*)val);
449}
d55e5bfc
RD
450#endif
451
452
453SWIGSTATICINLINE(int)
c32bde28 454SWIG_As_int(PyObject* obj)
d55e5bfc 455{
c32bde28
RD
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));
d55e5bfc 464 }
c32bde28 465 return v;
d55e5bfc
RD
466}
467
468
c32bde28
RD
469SWIGSTATICINLINE(long)
470SWIG_As_long(PyObject* obj)
d55e5bfc 471{
c32bde28
RD
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));
d55e5bfc 480 }
c32bde28 481 return v;
d55e5bfc
RD
482}
483
c32bde28
RD
484
485SWIGSTATICINLINE(int)
486SWIG_Check_int(PyObject* obj)
487{
488 return SWIG_AsVal_int(obj, (int*)0);
489}
d55e5bfc 490
c32bde28
RD
491
492SWIGSTATICINLINE(int)
493SWIG_Check_long(PyObject* obj)
d55e5bfc 494{
c32bde28 495 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
496}
497
498
499SWIGSTATICINLINE(int)
c32bde28 500 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 501{
c32bde28
RD
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;
d55e5bfc
RD
514 return 1;
515 }
c32bde28
RD
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520}
521
522
523SWIGSTATICINLINE(bool)
524SWIG_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;
d55e5bfc
RD
536}
537
c32bde28
RD
538
539SWIGSTATICINLINE(int)
540SWIG_Check_bool(PyObject* obj)
541{
542 return SWIG_AsVal_bool(obj, (bool*)0);
543}
d55e5bfc 544
c32bde28
RD
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
547 PyObject* o2;
548 PyObject* o3;
c32bde28 549
d55e5bfc
RD
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
7e63a440
RD
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
d55e5bfc
RD
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;
7e63a440 570 }
d55e5bfc
RD
571
572
c32bde28
RD
573
574// See my_fragments.i
575SWIGSTATICINLINE(int)
576SWIG_AsVal_double(PyObject *obj, double* val)
d55e5bfc 577{
c32bde28
RD
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
d55e5bfc
RD
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);
d55e5bfc 587 }
c32bde28 588 return 0;
d55e5bfc
RD
589}
590
591
c32bde28
RD
592SWIGSTATICINLINE(double)
593SWIG_As_double(PyObject* obj)
d55e5bfc 594{
c32bde28
RD
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));
d55e5bfc 603 }
c32bde28
RD
604 return v;
605}
606
607
608SWIGSTATICINLINE(int)
609SWIG_Check_double(PyObject* obj)
610{
611 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
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);
84f85550
RD
618void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
619bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
d55e5bfc
RD
620
621
622wxRect 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
634class wxPyPopupTransientWindow : public wxPopupTransientWindow
635{
636public:
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
648IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
649IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
650IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
651
652
653#include <wx/tipwin.h>
654
655wxTipWindow *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
665class wxPyVScrolledWindow : public wxVScrolledWindow
666{
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
668public:
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
ae8162c8 719 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
d55e5bfc
RD
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
731IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
732
733IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
734IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
735IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
736
737
c32bde28
RD
738// See my_fragments.i
739SWIGSTATICINLINE(int)
740SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 741{
c32bde28
RD
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;
d55e5bfc 746 }
c32bde28
RD
747 else if (val)
748 *val = (unsigned long)v;
749 return 1;
d55e5bfc
RD
750}
751
752
c32bde28
RD
753SWIGSTATICINLINE(unsigned long)
754SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 755{
c32bde28
RD
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));
d55e5bfc 764 }
c32bde28
RD
765 return v;
766}
767
768
769SWIGSTATICINLINE(int)
770SWIG_Check_unsigned_SS_long(PyObject* obj)
771{
772 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
773}
774
775
776SWIGSTATICINLINE(PyObject* )
c32bde28 777 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
778{
779 return (value > LONG_MAX) ?
780 PyLong_FromUnsignedLong(value)
c32bde28 781 : PyInt_FromLong(swig_numeric_cast(value,long));
d55e5bfc
RD
782}
783
784
785#include <wx/vlbox.h>
786
787 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
788
789class wxPyVListBox : public wxVListBox
790{
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
792public:
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
841IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
842
843IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
844IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
845IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
846IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
847
848
09c21d3b
RD
849PyObject *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 }
859PyObject *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 }
d55e5bfc
RD
868
869#include <wx/htmllbox.h>
870
871
872class wxPyHtmlListBox : public wxHtmlListBox
873{
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
875public:
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
915IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
916
917IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
918IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
919
920
921
922
923
ae8162c8
RD
924#ifndef wxHAS_TASK_BAR_ICON
925// implement dummy classes for platforms that don't have it
d55e5bfc
RD
926
927class wxTaskBarIcon : public wxEvtHandler
928{
929public:
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
931};
09c21d3b 932
d55e5bfc
RD
933
934class wxTaskBarIconEvent : public wxEvent
935{
936public:
937 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
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; }
d55e5bfc
RD
945};
946
947enum {
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};
09c21d3b
RD
956
957
958#else
5e483524
RD
959// Otherwise make a class that can virtualize CreatePopupMenu
960class wxPyTaskBarIcon : public wxTaskBarIcon
961{
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
963public:
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
990IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 991
d55e5bfc
RD
992#endif
993
5e483524 994void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 995 self->RemoveIcon();
5e483524 996 delete self;
d55e5bfc
RD
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);
1004PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1005 wxArrayString arr;
1006 self->GetFilenames(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1010 wxArrayString arr;
1011 self->GetPaths(arr);
1012 return wxArrayString2PyList_helper(arr);
1013 }
1014PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1015 return wxArrayInt2PyList_helper(self->GetSelections());
1016 }
1017wxSingleChoiceDialog *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
1022#include <wx/mdi.h>
1023
1024 // C++ version of Python aware wxWindow
1025class wxPyWindow : public wxWindow
1026{
1027 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1028public:
1029 wxPyWindow() : wxWindow() {}
1030 wxPyWindow(wxWindow* parent, const wxWindowID id,
1031 const wxPoint& pos = wxDefaultPosition,
1032 const wxSize& size = wxDefaultSize,
1033 long style = 0,
1034 const wxString& name = wxPyPanelNameStr)
1035 : wxWindow(parent, id, pos, size, style, name) {}
1036
caef1a4d 1037 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
1038
1039 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1040 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1041 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1043
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1047
1048 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1049 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1050
1051 DEC_PYCALLBACK__(InitDialog);
1052 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1053 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1054 DEC_PYCALLBACK_BOOL_(Validate);
1055
1056 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1058 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1059
1060 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1061 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1062
caef1a4d 1063 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1064 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1065 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1066
1067 PYPRIVATE;
1068};
1069
1070IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1071
1072IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1073IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1074IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1075IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1076
1077IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1078IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1079IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1080
1081IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1082IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1083
1084IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1085IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1086IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1087IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1088
1089IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1090IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1091IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1092
1093IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1094IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1095
caef1a4d 1096IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 1097IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
caef1a4d 1098IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
d55e5bfc
RD
1099
1100
1101 // C++ version of Python aware wxPanel
1102class wxPyPanel : public wxPanel
1103{
1104 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1105public:
1106 wxPyPanel() : wxPanel() {}
1107 wxPyPanel(wxWindow* parent, const wxWindowID id,
1108 const wxPoint& pos = wxDefaultPosition,
1109 const wxSize& size = wxDefaultSize,
1110 long style = 0,
1111 const wxString& name = wxPyPanelNameStr)
1112 : wxPanel(parent, id, pos, size, style, name) {}
1113
caef1a4d
RD
1114 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1115
d55e5bfc
RD
1116
1117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1118 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1121
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1125
1126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1128
1129 DEC_PYCALLBACK__(InitDialog);
1130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1132 DEC_PYCALLBACK_BOOL_(Validate);
1133
1134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1136 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1137
1138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1140
caef1a4d 1141 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1142 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1143 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1144
1145 PYPRIVATE;
1146};
1147
1148IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1149
1150IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1151IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1152IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1153IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1154
1155IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1157IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1158
1159IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1160IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1161
1162IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1163IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1164IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1165IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1166
1167IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1168IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1169IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1170
1171IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1172IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1173
caef1a4d 1174IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 1175IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
caef1a4d 1176IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 1177
caef1a4d 1178
d55e5bfc
RD
1179 // C++ version of Python aware wxScrolledWindow
1180class wxPyScrolledWindow : public wxScrolledWindow
1181{
1182 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1183public:
1184 wxPyScrolledWindow() : wxScrolledWindow() {}
1185 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1186 const wxPoint& pos = wxDefaultPosition,
1187 const wxSize& size = wxDefaultSize,
1188 long style = 0,
1189 const wxString& name = wxPyPanelNameStr)
1190 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1191
caef1a4d 1192 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
1193
1194 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1195 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1196 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1198
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1202
1203 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1204 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1205
1206 DEC_PYCALLBACK__(InitDialog);
1207 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1208 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1209 DEC_PYCALLBACK_BOOL_(Validate);
1210
1211 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1213 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1214
1215 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1216 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1217
caef1a4d 1218 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1219 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1221
1222 PYPRIVATE;
1223};
1224
1225IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1226
1227IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1228IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1229IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1230IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1231
1232IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1233IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1234IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1235
1236IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1237IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1238
1239IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1240IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1241IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1242IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1243
1244IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1245IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1246IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1247
1248IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1249IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1250
caef1a4d 1251IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 1252IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
caef1a4d
RD
1253IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1254
d55e5bfc
RD
1255
1256
1257#include "wx/wxPython/printfw.h"
1258
1259
1260 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1261 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1262
1263
1264
1265// Since this one would be tough and ugly to do with the Macros...
1266void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 1267 bool hadErr = false;
d55e5bfc
RD
1268 bool found;
1269
1270 bool blocked = wxPyBeginBlockThreads();
1271 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1272 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1273 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1274 PyObject* val;
1275
1276 val = PyTuple_GetItem(result, 0);
1277 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 1278 else hadErr = true;
d55e5bfc
RD
1279
1280 val = PyTuple_GetItem(result, 1);
1281 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 1282 else hadErr = true;
d55e5bfc
RD
1283
1284 val = PyTuple_GetItem(result, 2);
1285 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 1286 else hadErr = true;
d55e5bfc
RD
1287
1288 val = PyTuple_GetItem(result, 3);
1289 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 1290 else hadErr = true;
d55e5bfc
RD
1291 }
1292 else
ae8162c8 1293 hadErr = true;
d55e5bfc
RD
1294
1295 if (hadErr) {
1296 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1297 PyErr_Print();
1298 }
1299 Py_DECREF(result);
1300 }
1301 wxPyEndBlockThreads(blocked);
1302 if (! found)
1303 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1304}
1305
1306void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1307 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1308}
1309
1310
1311IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1312IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1313IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1314IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1315IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1316IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1317IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1318
1319
1320
1321
1322
ae8162c8
RD
1323#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1324 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
1325 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1326
1327
ae8162c8
RD
1328#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1329 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1330 bool rval=false; \
1331 bool found; \
1332 bool blocked = wxPyBeginBlockThreads(); \
1333 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1334 PyObject* win = wxPyMake_wxObject(a,false); \
1335 PyObject* dc = wxPyMake_wxObject(&b,false); \
1336 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1337 Py_DECREF(win); \
1338 Py_DECREF(dc); \
1339 } \
1340 wxPyEndBlockThreads(blocked); \
1341 if (! found) \
1342 rval = PCLASS::CBNAME(a, b); \
1343 return rval; \
1344 } \
1345 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1346 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
1347 }
1348
1349
1350
1351
1352class wxPyPrintPreview : public wxPrintPreview
1353{
1354 DECLARE_CLASS(wxPyPrintPreview)
1355public:
1356 wxPyPrintPreview(wxPyPrintout* printout,
1357 wxPyPrintout* printoutForPrinting,
1358 wxPrintDialogData* data=NULL)
1359 : wxPrintPreview(printout, printoutForPrinting, data)
1360 {}
1361 wxPyPrintPreview(wxPyPrintout* printout,
1362 wxPyPrintout* printoutForPrinting,
1363 wxPrintData* data=NULL)
1364 : wxPrintPreview(printout, printoutForPrinting, data)
1365 {}
1366
1367 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1368 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1369 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1370 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1371 DEC_PYCALLBACK_VOID_INT(SetZoom);
1372 DEC_PYCALLBACK_BOOL_BOOL(Print);
1373 DEC_PYCALLBACK_VOID_(DetermineScaling);
1374
1375 PYPRIVATE;
1376};
1377
1378// Stupid renamed classes... Fix this in 2.5...
1379#if defined(__WXMSW__)
1380IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1381#elif defined(__WXMAC__)
1382IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1383#else
1384IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1385#endif
1386
1387IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1388IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1389IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1390IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1391IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1392IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1393IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1394
1395
1396class wxPyPreviewFrame : public wxPreviewFrame
1397{
1398 DECLARE_CLASS(wxPyPreviewFrame);
1399public:
1400 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1401 const wxString& title,
1402 const wxPoint& pos = wxDefaultPosition,
1403 const wxSize& size = wxDefaultSize,
1404 long style = wxDEFAULT_FRAME_STYLE,
1405 const wxString& name = wxPyFrameNameStr)
1406 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1407 {}
1408
1409 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1410 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1411
1412 DEC_PYCALLBACK_VOID_(Initialize);
1413 DEC_PYCALLBACK_VOID_(CreateCanvas);
1414 DEC_PYCALLBACK_VOID_(CreateControlBar);
1415
1416 PYPRIVATE;
1417};
1418
1419IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1420
1421IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1422IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1423IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1424
1425
1426class wxPyPreviewControlBar : public wxPreviewControlBar
1427{
1428 DECLARE_CLASS(wxPyPreviewControlBar);
1429public:
1430 wxPyPreviewControlBar(wxPrintPreview *preview,
1431 long buttons,
1432 wxWindow *parent,
1433 const wxPoint& pos = wxDefaultPosition,
1434 const wxSize& size = wxDefaultSize,
1435 long style = 0,
1436 const wxString& name = wxPyPanelNameStr)
1437 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1438 {}
1439
1440 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1441
1442 DEC_PYCALLBACK_VOID_(CreateButtons);
1443 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1444
1445 PYPRIVATE;
1446};
1447
1448IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1449IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1450IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1451
1452#ifdef __cplusplus
1453extern "C" {
1454#endif
c32bde28 1455static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1456 PyObject *resultobj;
1457 wxWindow *arg1 = (wxWindow *) 0 ;
1458 int arg2 = (int) (int)-1 ;
1459 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1460 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1461 wxSize const &arg4_defvalue = wxDefaultSize ;
1462 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1463 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1464 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1465 wxString *arg6 = (wxString *) &arg6_defvalue ;
1466 wxPanel *result;
1467 wxPoint temp3 ;
1468 wxSize temp4 ;
ae8162c8 1469 bool temp6 = false ;
d55e5bfc
RD
1470 PyObject * obj0 = 0 ;
1471 PyObject * obj1 = 0 ;
1472 PyObject * obj2 = 0 ;
1473 PyObject * obj3 = 0 ;
1474 PyObject * obj4 = 0 ;
1475 PyObject * obj5 = 0 ;
1476 char *kwnames[] = {
1477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1478 };
1479
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1483 if (obj1) {
c32bde28 1484 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1485 if (PyErr_Occurred()) SWIG_fail;
1486 }
1487 if (obj2) {
1488 {
1489 arg3 = &temp3;
1490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1491 }
1492 }
1493 if (obj3) {
1494 {
1495 arg4 = &temp4;
1496 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1497 }
1498 }
1499 if (obj4) {
c32bde28 1500 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
1501 if (PyErr_Occurred()) SWIG_fail;
1502 }
1503 if (obj5) {
1504 {
1505 arg6 = wxString_in_helper(obj5);
1506 if (arg6 == NULL) SWIG_fail;
ae8162c8 1507 temp6 = true;
d55e5bfc
RD
1508 }
1509 }
1510 {
0439c23b 1511 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1514
1515 wxPyEndAllowThreads(__tstate);
110da5b0 1516 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1517 }
b0f7404b 1518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
1519 {
1520 if (temp6)
1521 delete arg6;
1522 }
1523 return resultobj;
1524 fail:
1525 {
1526 if (temp6)
1527 delete arg6;
1528 }
1529 return NULL;
1530}
1531
1532
c32bde28 1533static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1534 PyObject *resultobj;
1535 wxPanel *result;
1536 char *kwnames[] = {
1537 NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1541 {
0439c23b 1542 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 result = (wxPanel *)new wxPanel();
1545
1546 wxPyEndAllowThreads(__tstate);
110da5b0 1547 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1548 }
b0f7404b 1549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
1550 return resultobj;
1551 fail:
1552 return NULL;
1553}
1554
1555
c32bde28 1556static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1557 PyObject *resultobj;
1558 wxPanel *arg1 = (wxPanel *) 0 ;
1559 wxWindow *arg2 = (wxWindow *) 0 ;
1560 int arg3 = (int) (int)-1 ;
1561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1563 wxSize const &arg5_defvalue = wxDefaultSize ;
1564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1565 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1566 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1567 wxString *arg7 = (wxString *) &arg7_defvalue ;
1568 bool result;
1569 wxPoint temp4 ;
1570 wxSize temp5 ;
ae8162c8 1571 bool temp7 = false ;
d55e5bfc
RD
1572 PyObject * obj0 = 0 ;
1573 PyObject * obj1 = 0 ;
1574 PyObject * obj2 = 0 ;
1575 PyObject * obj3 = 0 ;
1576 PyObject * obj4 = 0 ;
1577 PyObject * obj5 = 0 ;
1578 PyObject * obj6 = 0 ;
1579 char *kwnames[] = {
1580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1581 };
1582
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1588 if (obj2) {
c32bde28 1589 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1590 if (PyErr_Occurred()) SWIG_fail;
1591 }
1592 if (obj3) {
1593 {
1594 arg4 = &temp4;
1595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1596 }
1597 }
1598 if (obj4) {
1599 {
1600 arg5 = &temp5;
1601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1602 }
1603 }
1604 if (obj5) {
c32bde28 1605 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 if (obj6) {
1609 {
1610 arg7 = wxString_in_helper(obj6);
1611 if (arg7 == NULL) SWIG_fail;
ae8162c8 1612 temp7 = true;
d55e5bfc
RD
1613 }
1614 }
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 {
1623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1624 }
1625 {
1626 if (temp7)
1627 delete arg7;
1628 }
1629 return resultobj;
1630 fail:
1631 {
1632 if (temp7)
1633 delete arg7;
1634 }
1635 return NULL;
1636}
1637
1638
c32bde28 1639static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1640 PyObject *resultobj;
1641 wxPanel *arg1 = (wxPanel *) 0 ;
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "self", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 (arg1)->InitDialog();
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 Py_INCREF(Py_None); resultobj = Py_None;
1658 return resultobj;
1659 fail:
1660 return NULL;
1661}
1662
1663
c32bde28 1664static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
1665 PyObject *resultobj;
1666 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1667 wxVisualAttributes result;
1668 PyObject * obj0 = 0 ;
1669 char *kwnames[] = {
1670 (char *) "variant", NULL
1671 };
1672
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1674 if (obj0) {
c32bde28 1675 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
1676 if (PyErr_Occurred()) SWIG_fail;
1677 }
1678 {
0439c23b 1679 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1682
1683 wxPyEndAllowThreads(__tstate);
110da5b0 1684 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1685 }
1686 {
1687 wxVisualAttributes * resultptr;
1688 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1690 }
1691 return resultobj;
1692 fail:
1693 return NULL;
1694}
1695
1696
c32bde28 1697static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
1698 PyObject *obj;
1699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1700 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1701 Py_INCREF(obj);
1702 return Py_BuildValue((char *)"");
1703}
c32bde28 1704static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1705 PyObject *resultobj;
1706 wxWindow *arg1 = (wxWindow *) 0 ;
1707 int arg2 = (int) (int)-1 ;
1708 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1709 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1710 wxSize const &arg4_defvalue = wxDefaultSize ;
1711 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1712 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1713 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1714 wxString *arg6 = (wxString *) &arg6_defvalue ;
1715 wxScrolledWindow *result;
1716 wxPoint temp3 ;
1717 wxSize temp4 ;
ae8162c8 1718 bool temp6 = false ;
d55e5bfc
RD
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1721 PyObject * obj2 = 0 ;
1722 PyObject * obj3 = 0 ;
1723 PyObject * obj4 = 0 ;
1724 PyObject * obj5 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1727 };
1728
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1732 if (obj1) {
c32bde28 1733 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
1736 if (obj2) {
1737 {
1738 arg3 = &temp3;
1739 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1740 }
1741 }
1742 if (obj3) {
1743 {
1744 arg4 = &temp4;
1745 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1746 }
1747 }
1748 if (obj4) {
c32bde28 1749 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
1752 if (obj5) {
1753 {
1754 arg6 = wxString_in_helper(obj5);
1755 if (arg6 == NULL) SWIG_fail;
ae8162c8 1756 temp6 = true;
d55e5bfc
RD
1757 }
1758 }
1759 {
0439c23b 1760 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1761 PyThreadState* __tstate = wxPyBeginAllowThreads();
1762 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1763
1764 wxPyEndAllowThreads(__tstate);
110da5b0 1765 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1766 }
b0f7404b 1767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
1768 {
1769 if (temp6)
1770 delete arg6;
1771 }
1772 return resultobj;
1773 fail:
1774 {
1775 if (temp6)
1776 delete arg6;
1777 }
1778 return NULL;
1779}
1780
1781
c32bde28 1782static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1783 PyObject *resultobj;
1784 wxScrolledWindow *result;
1785 char *kwnames[] = {
1786 NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1790 {
0439c23b 1791 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 result = (wxScrolledWindow *)new wxScrolledWindow();
1794
1795 wxPyEndAllowThreads(__tstate);
110da5b0 1796 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1797 }
b0f7404b 1798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
1799 return resultobj;
1800 fail:
1801 return NULL;
1802}
1803
1804
c32bde28 1805static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1806 PyObject *resultobj;
1807 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1808 wxWindow *arg2 = (wxWindow *) 0 ;
1809 int arg3 = (int) (int)-1 ;
1810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1812 wxSize const &arg5_defvalue = wxDefaultSize ;
1813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1814 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1815 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1816 wxString *arg7 = (wxString *) &arg7_defvalue ;
1817 bool result;
1818 wxPoint temp4 ;
1819 wxSize temp5 ;
ae8162c8 1820 bool temp7 = false ;
d55e5bfc
RD
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1823 PyObject * obj2 = 0 ;
1824 PyObject * obj3 = 0 ;
1825 PyObject * obj4 = 0 ;
1826 PyObject * obj5 = 0 ;
1827 PyObject * obj6 = 0 ;
1828 char *kwnames[] = {
1829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1830 };
1831
1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 if (obj2) {
c32bde28 1838 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 if (obj3) {
1842 {
1843 arg4 = &temp4;
1844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1845 }
1846 }
1847 if (obj4) {
1848 {
1849 arg5 = &temp5;
1850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1851 }
1852 }
1853 if (obj5) {
c32bde28 1854 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 if (obj6) {
1858 {
1859 arg7 = wxString_in_helper(obj6);
1860 if (arg7 == NULL) SWIG_fail;
ae8162c8 1861 temp7 = true;
d55e5bfc
RD
1862 }
1863 }
1864 {
1865 PyThreadState* __tstate = wxPyBeginAllowThreads();
1866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1867
1868 wxPyEndAllowThreads(__tstate);
1869 if (PyErr_Occurred()) SWIG_fail;
1870 }
1871 {
1872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1873 }
1874 {
1875 if (temp7)
1876 delete arg7;
1877 }
1878 return resultobj;
1879 fail:
1880 {
1881 if (temp7)
1882 delete arg7;
1883 }
1884 return NULL;
1885}
1886
1887
c32bde28 1888static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1889 PyObject *resultobj;
1890 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1891 int arg2 ;
1892 int arg3 ;
1893 int arg4 ;
1894 int arg5 ;
1895 int arg6 = (int) 0 ;
1896 int arg7 = (int) 0 ;
ae8162c8 1897 bool arg8 = (bool) false ;
d55e5bfc
RD
1898 PyObject * obj0 = 0 ;
1899 PyObject * obj1 = 0 ;
1900 PyObject * obj2 = 0 ;
1901 PyObject * obj3 = 0 ;
1902 PyObject * obj4 = 0 ;
1903 PyObject * obj5 = 0 ;
1904 PyObject * obj6 = 0 ;
1905 PyObject * obj7 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1913 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 1914 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1915 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 1916 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1917 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 1918 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1919 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
1920 if (PyErr_Occurred()) SWIG_fail;
1921 if (obj5) {
c32bde28 1922 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 if (obj6) {
c32bde28 1926 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
1927 if (PyErr_Occurred()) SWIG_fail;
1928 }
1929 if (obj7) {
c32bde28 1930 arg8 = (bool)SWIG_As_bool(obj7);
d55e5bfc
RD
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 Py_INCREF(Py_None); resultobj = Py_None;
1941 return resultobj;
1942 fail:
1943 return NULL;
1944}
1945
1946
c32bde28 1947static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1948 PyObject *resultobj;
1949 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1950 int arg2 ;
1951 int arg3 ;
1952 PyObject * obj0 = 0 ;
1953 PyObject * obj1 = 0 ;
1954 PyObject * obj2 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self",(char *) "x",(char *) "y", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1962 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 1963 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1964 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1965 if (PyErr_Occurred()) SWIG_fail;
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 (arg1)->Scroll(arg2,arg3);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 Py_INCREF(Py_None); resultobj = Py_None;
1974 return resultobj;
1975 fail:
1976 return NULL;
1977}
1978
1979
c32bde28 1980static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1981 PyObject *resultobj;
1982 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1983 int arg2 ;
1984 int result;
1985 PyObject * obj0 = 0 ;
1986 PyObject * obj1 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self",(char *) "orient", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1994 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1995 if (PyErr_Occurred()) SWIG_fail;
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
c32bde28 2003 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2004 return resultobj;
2005 fail:
2006 return NULL;
2007}
2008
2009
c32bde28 2010static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2011 PyObject *resultobj;
2012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2013 int arg2 ;
2014 int arg3 ;
2015 PyObject * obj0 = 0 ;
2016 PyObject * obj1 = 0 ;
2017 PyObject * obj2 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2025 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2026 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2027 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2028 if (PyErr_Occurred()) SWIG_fail;
2029 {
2030 PyThreadState* __tstate = wxPyBeginAllowThreads();
2031 (arg1)->SetScrollPageSize(arg2,arg3);
2032
2033 wxPyEndAllowThreads(__tstate);
2034 if (PyErr_Occurred()) SWIG_fail;
2035 }
2036 Py_INCREF(Py_None); resultobj = Py_None;
2037 return resultobj;
2038 fail:
2039 return NULL;
2040}
2041
2042
c32bde28 2043static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2044 PyObject *resultobj;
2045 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2046 int arg2 ;
2047 int arg3 ;
2048 PyObject * obj0 = 0 ;
2049 PyObject * obj1 = 0 ;
2050 PyObject * obj2 = 0 ;
2051 char *kwnames[] = {
2052 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2053 };
2054
2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2058 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2059 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2060 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2061 if (PyErr_Occurred()) SWIG_fail;
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 (arg1)->SetScrollRate(arg2,arg3);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 Py_INCREF(Py_None); resultobj = Py_None;
2070 return resultobj;
2071 fail:
2072 return NULL;
2073}
2074
2075
c32bde28 2076static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2077 PyObject *resultobj;
2078 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2079 int *arg2 = (int *) 0 ;
2080 int *arg3 = (int *) 0 ;
2081 int temp2 ;
c32bde28 2082 int res2 = 0 ;
d55e5bfc 2083 int temp3 ;
c32bde28 2084 int res3 = 0 ;
d55e5bfc
RD
2085 PyObject * obj0 = 0 ;
2086 char *kwnames[] = {
2087 (char *) "self", NULL
2088 };
2089
c32bde28
RD
2090 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2091 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2103 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2104 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2105 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2106 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2107 return resultobj;
2108 fail:
2109 return NULL;
2110}
2111
2112
c32bde28 2113static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2114 PyObject *resultobj;
2115 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2116 bool arg2 ;
2117 bool arg3 ;
2118 PyObject * obj0 = 0 ;
2119 PyObject * obj1 = 0 ;
2120 PyObject * obj2 = 0 ;
2121 char *kwnames[] = {
2122 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2128 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc 2129 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2130 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
2131 if (PyErr_Occurred()) SWIG_fail;
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 (arg1)->EnableScrolling(arg2,arg3);
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
2139 Py_INCREF(Py_None); resultobj = Py_None;
2140 return resultobj;
2141 fail:
2142 return NULL;
2143}
2144
2145
c32bde28 2146static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2147 PyObject *resultobj;
2148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2149 int *arg2 = (int *) 0 ;
2150 int *arg3 = (int *) 0 ;
2151 int temp2 ;
c32bde28 2152 int res2 = 0 ;
d55e5bfc 2153 int temp3 ;
c32bde28 2154 int res3 = 0 ;
d55e5bfc
RD
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
c32bde28
RD
2160 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2161 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
2172 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2173 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2174 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2175 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2176 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2177 return resultobj;
2178 fail:
2179 return NULL;
2180}
2181
2182
c32bde28 2183static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2184 PyObject *resultobj;
2185 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2186 double arg2 ;
2187 double arg3 ;
2188 PyObject * obj0 = 0 ;
2189 PyObject * obj1 = 0 ;
2190 PyObject * obj2 = 0 ;
2191 char *kwnames[] = {
2192 (char *) "self",(char *) "xs",(char *) "ys", NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2198 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 2199 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2200 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
2201 if (PyErr_Occurred()) SWIG_fail;
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 (arg1)->SetScale(arg2,arg3);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 Py_INCREF(Py_None); resultobj = Py_None;
2210 return resultobj;
2211 fail:
2212 return NULL;
2213}
2214
2215
c32bde28 2216static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2217 PyObject *resultobj;
2218 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2219 double result;
2220 PyObject * obj0 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
c32bde28 2235 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2236 return resultobj;
2237 fail:
2238 return NULL;
2239}
2240
2241
c32bde28 2242static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2243 PyObject *resultobj;
2244 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2245 double result;
2246 PyObject * obj0 = 0 ;
2247 char *kwnames[] = {
2248 (char *) "self", NULL
2249 };
2250
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2254 {
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2257
2258 wxPyEndAllowThreads(__tstate);
2259 if (PyErr_Occurred()) SWIG_fail;
2260 }
c32bde28 2261 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2262 return resultobj;
2263 fail:
2264 return NULL;
2265}
2266
2267
c32bde28 2268static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
2269 PyObject *resultobj;
2270 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2271 wxPoint *arg2 = 0 ;
2272 wxPoint result;
2273 wxPoint temp2 ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276
2277 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2280 {
2281 arg2 = &temp2;
2282 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2283 }
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 {
2292 wxPoint * resultptr;
2293 resultptr = new wxPoint((wxPoint &) result);
2294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2295 }
2296 return resultobj;
2297 fail:
2298 return NULL;
2299}
2300
2301
c32bde28 2302static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
2303 PyObject *resultobj;
2304 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2305 int arg2 ;
2306 int arg3 ;
2307 int *arg4 = (int *) 0 ;
2308 int *arg5 = (int *) 0 ;
2309 int temp4 ;
c32bde28 2310 int res4 = 0 ;
d55e5bfc 2311 int temp5 ;
c32bde28 2312 int res5 = 0 ;
d55e5bfc
RD
2313 PyObject * obj0 = 0 ;
2314 PyObject * obj1 = 0 ;
2315 PyObject * obj2 = 0 ;
2316
c32bde28
RD
2317 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2318 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
2319 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2322 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2323 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2324 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2325 if (PyErr_Occurred()) SWIG_fail;
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2334 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2335 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2336 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2337 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2338 return resultobj;
2339 fail:
2340 return NULL;
2341}
2342
2343
2344static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2345 int argc;
2346 PyObject *argv[4];
2347 int ii;
2348
2349 argc = PyObject_Length(args);
2350 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2351 argv[ii] = PyTuple_GetItem(args,ii);
2352 }
2353 if (argc == 2) {
2354 int _v;
2355 {
2356 void *ptr;
2357 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2358 _v = 0;
2359 PyErr_Clear();
2360 } else {
2361 _v = 1;
2362 }
2363 }
2364 if (_v) {
2365 {
2366 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2367 }
2368 if (_v) {
2369 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2370 }
2371 }
2372 }
2373 if (argc == 3) {
2374 int _v;
2375 {
2376 void *ptr;
2377 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2378 _v = 0;
2379 PyErr_Clear();
2380 } else {
2381 _v = 1;
2382 }
2383 }
2384 if (_v) {
c32bde28 2385 _v = SWIG_Check_int(argv[1]);
d55e5bfc 2386 if (_v) {
c32bde28 2387 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
2388 if (_v) {
2389 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2390 }
2391 }
2392 }
2393 }
2394
2395 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2396 return NULL;
2397}
2398
2399
c32bde28 2400static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
2401 PyObject *resultobj;
2402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2403 wxPoint *arg2 = 0 ;
2404 wxPoint result;
2405 wxPoint temp2 ;
2406 PyObject * obj0 = 0 ;
2407 PyObject * obj1 = 0 ;
2408
2409 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2412 {
2413 arg2 = &temp2;
2414 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2415 }
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 {
2424 wxPoint * resultptr;
2425 resultptr = new wxPoint((wxPoint &) result);
2426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2427 }
2428 return resultobj;
2429 fail:
2430 return NULL;
2431}
2432
2433
c32bde28 2434static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
2435 PyObject *resultobj;
2436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2437 int arg2 ;
2438 int arg3 ;
2439 int *arg4 = (int *) 0 ;
2440 int *arg5 = (int *) 0 ;
2441 int temp4 ;
c32bde28 2442 int res4 = 0 ;
d55e5bfc 2443 int temp5 ;
c32bde28 2444 int res5 = 0 ;
d55e5bfc
RD
2445 PyObject * obj0 = 0 ;
2446 PyObject * obj1 = 0 ;
2447 PyObject * obj2 = 0 ;
2448
c32bde28
RD
2449 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2450 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
2451 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2454 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2455 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2456 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2457 if (PyErr_Occurred()) SWIG_fail;
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2466 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2467 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2468 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2469 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
2476static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2477 int argc;
2478 PyObject *argv[4];
2479 int ii;
2480
2481 argc = PyObject_Length(args);
2482 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2483 argv[ii] = PyTuple_GetItem(args,ii);
2484 }
2485 if (argc == 2) {
2486 int _v;
2487 {
2488 void *ptr;
2489 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2490 _v = 0;
2491 PyErr_Clear();
2492 } else {
2493 _v = 1;
2494 }
2495 }
2496 if (_v) {
2497 {
2498 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2499 }
2500 if (_v) {
2501 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2502 }
2503 }
2504 }
2505 if (argc == 3) {
2506 int _v;
2507 {
2508 void *ptr;
2509 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2510 _v = 0;
2511 PyErr_Clear();
2512 } else {
2513 _v = 1;
2514 }
2515 }
2516 if (_v) {
c32bde28 2517 _v = SWIG_Check_int(argv[1]);
d55e5bfc 2518 if (_v) {
c32bde28 2519 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
2520 if (_v) {
2521 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2522 }
2523 }
2524 }
2525 }
2526
2527 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2528 return NULL;
2529}
2530
2531
c32bde28 2532static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2533 PyObject *resultobj;
2534 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2535 PyObject * obj0 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2543 {
2544 PyThreadState* __tstate = wxPyBeginAllowThreads();
2545 (arg1)->AdjustScrollbars();
2546
2547 wxPyEndAllowThreads(__tstate);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 Py_INCREF(Py_None); resultobj = Py_None;
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
c32bde28 2557static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2558 PyObject *resultobj;
2559 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2560 wxScrollWinEvent *arg2 = 0 ;
2561 int result;
2562 PyObject * obj0 = 0 ;
2563 PyObject * obj1 = 0 ;
2564 char *kwnames[] = {
2565 (char *) "self",(char *) "event", NULL
2566 };
2567
2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2572 SWIG_POINTER_EXCEPTION | 0)) == -1)
2573 SWIG_fail;
2574 if (arg2 == NULL) {
2575 PyErr_SetString(PyExc_TypeError,"null reference");
2576 SWIG_fail;
2577 }
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (int)(arg1)->CalcScrollInc(*arg2);
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
c32bde28 2585 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2586 return resultobj;
2587 fail:
2588 return NULL;
2589}
2590
2591
c32bde28 2592static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2593 PyObject *resultobj;
2594 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2595 wxWindow *arg2 = (wxWindow *) 0 ;
2596 PyObject * obj0 = 0 ;
2597 PyObject * obj1 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self",(char *) "target", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 (arg1)->SetTargetWindow(arg2);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 Py_INCREF(Py_None); resultobj = Py_None;
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
c32bde28 2621static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2622 PyObject *resultobj;
2623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2624 wxWindow *result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 {
412d302d 2641 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
2642 }
2643 return resultobj;
2644 fail:
2645 return NULL;
2646}
2647
2648
c32bde28 2649static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2650 PyObject *resultobj;
2651 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2652 wxRect *arg2 = 0 ;
2653 wxRect temp2 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "rect", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2663 {
2664 arg2 = &temp2;
2665 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->SetTargetRect((wxRect const &)*arg2);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678}
2679
2680
c32bde28 2681static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2682 PyObject *resultobj;
2683 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2684 wxRect result;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 {
2701 wxRect * resultptr;
2702 resultptr = new wxRect((wxRect &) result);
2703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2704 }
2705 return resultobj;
2706 fail:
2707 return NULL;
2708}
2709
2710
c32bde28 2711static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
2712 PyObject *resultobj;
2713 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2714 wxDC *arg2 = 0 ;
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "dc", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2725 SWIG_POINTER_EXCEPTION | 0)) == -1)
2726 SWIG_fail;
2727 if (arg2 == NULL) {
2728 PyErr_SetString(PyExc_TypeError,"null reference");
2729 SWIG_fail;
2730 }
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 (arg1)->DoPrepareDC(*arg2);
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
2738 Py_INCREF(Py_None); resultobj = Py_None;
2739 return resultobj;
2740 fail:
2741 return NULL;
2742}
2743
2744
c32bde28 2745static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
2746 PyObject *resultobj;
2747 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2748 wxVisualAttributes result;
2749 PyObject * obj0 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "variant", NULL
2752 };
2753
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2755 if (obj0) {
c32bde28 2756 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 {
0439c23b 2760 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2763
2764 wxPyEndAllowThreads(__tstate);
110da5b0 2765 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2766 }
2767 {
2768 wxVisualAttributes * resultptr;
2769 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2771 }
2772 return resultobj;
2773 fail:
2774 return NULL;
2775}
2776
2777
c32bde28 2778static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2779 PyObject *obj;
2780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2781 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2782 Py_INCREF(obj);
2783 return Py_BuildValue((char *)"");
2784}
c32bde28 2785static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
2786 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2787 return 1;
2788}
2789
2790
2791static PyObject *_wrap_FrameNameStr_get() {
2792 PyObject *pyobj;
2793
2794 {
2795#if wxUSE_UNICODE
2796 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2797#else
2798 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2799#endif
2800 }
2801 return pyobj;
2802}
2803
2804
c32bde28 2805static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
2806 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2807 return 1;
2808}
2809
2810
2811static PyObject *_wrap_DialogNameStr_get() {
2812 PyObject *pyobj;
2813
2814 {
2815#if wxUSE_UNICODE
2816 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2817#else
2818 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2819#endif
2820 }
2821 return pyobj;
2822}
2823
2824
c32bde28 2825static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
2826 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2827 return 1;
2828}
2829
2830
2831static PyObject *_wrap_StatusLineNameStr_get() {
2832 PyObject *pyobj;
2833
2834 {
2835#if wxUSE_UNICODE
2836 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2837#else
2838 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2839#endif
2840 }
2841 return pyobj;
2842}
2843
2844
c32bde28 2845static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
2846 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2847 return 1;
2848}
2849
2850
2851static PyObject *_wrap_ToolBarNameStr_get() {
2852 PyObject *pyobj;
2853
2854 {
2855#if wxUSE_UNICODE
2856 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2857#else
2858 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2859#endif
2860 }
2861 return pyobj;
2862}
2863
2864
c32bde28 2865static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2866 PyObject *resultobj;
2867 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 2868 bool arg2 = (bool) true ;
d55e5bfc
RD
2869 PyObject * obj0 = 0 ;
2870 PyObject * obj1 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self",(char *) "maximize", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2878 if (obj1) {
c32bde28 2879 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 (arg1)->Maximize(arg2);
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 Py_INCREF(Py_None); resultobj = Py_None;
2890 return resultobj;
2891 fail:
2892 return NULL;
2893}
2894
2895
c32bde28 2896static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2897 PyObject *resultobj;
2898 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2899 PyObject * obj0 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 (arg1)->Restore();
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 Py_INCREF(Py_None); resultobj = Py_None;
2915 return resultobj;
2916 fail:
2917 return NULL;
2918}
2919
2920
c32bde28 2921static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2922 PyObject *resultobj;
2923 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 2924 bool arg2 = (bool) true ;
d55e5bfc
RD
2925 PyObject * obj0 = 0 ;
2926 PyObject * obj1 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self",(char *) "iconize", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2934 if (obj1) {
c32bde28 2935 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 (arg1)->Iconize(arg2);
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 Py_INCREF(Py_None); resultobj = Py_None;
2946 return resultobj;
2947 fail:
2948 return NULL;
2949}
2950
2951
c32bde28 2952static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2953 PyObject *resultobj;
2954 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2955 bool result;
2956 PyObject * obj0 = 0 ;
2957 char *kwnames[] = {
2958 (char *) "self", NULL
2959 };
2960
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 {
2972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2973 }
2974 return resultobj;
2975 fail:
2976 return NULL;
2977}
2978
2979
c32bde28 2980static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2981 PyObject *resultobj;
2982 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2983 bool result;
2984 PyObject * obj0 = 0 ;
2985 char *kwnames[] = {
2986 (char *) "self", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 {
3000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3001 }
3002 return resultobj;
3003 fail:
3004 return NULL;
3005}
3006
3007
c32bde28 3008static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3009 PyObject *resultobj;
3010 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3011 wxIcon result;
3012 PyObject * obj0 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "self", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 {
3028 wxIcon * resultptr;
3029 resultptr = new wxIcon((wxIcon &) result);
3030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3031 }
3032 return resultobj;
3033 fail:
3034 return NULL;
3035}
3036
3037
c32bde28 3038static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3039 PyObject *resultobj;
3040 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3041 wxIcon *arg2 = 0 ;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
3044 char *kwnames[] = {
3045 (char *) "self",(char *) "icon", NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3052 SWIG_POINTER_EXCEPTION | 0)) == -1)
3053 SWIG_fail;
3054 if (arg2 == NULL) {
3055 PyErr_SetString(PyExc_TypeError,"null reference");
3056 SWIG_fail;
3057 }
3058 {
3059 PyThreadState* __tstate = wxPyBeginAllowThreads();
3060 (arg1)->SetIcon((wxIcon const &)*arg2);
3061
3062 wxPyEndAllowThreads(__tstate);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 }
3065 Py_INCREF(Py_None); resultobj = Py_None;
3066 return resultobj;
3067 fail:
3068 return NULL;
3069}
3070
3071
c32bde28 3072static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3073 PyObject *resultobj;
3074 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3075 wxIconBundle *arg2 = 0 ;
3076 PyObject * obj0 = 0 ;
3077 PyObject * obj1 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self",(char *) "icons", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3086 SWIG_POINTER_EXCEPTION | 0)) == -1)
3087 SWIG_fail;
3088 if (arg2 == NULL) {
3089 PyErr_SetString(PyExc_TypeError,"null reference");
3090 SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103}
3104
3105
c32bde28 3106static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3107 PyObject *resultobj;
3108 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3109 bool arg2 ;
3110 long arg3 = (long) wxFULLSCREEN_ALL ;
3111 bool result;
3112 PyObject * obj0 = 0 ;
3113 PyObject * obj1 = 0 ;
3114 PyObject * obj2 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "show",(char *) "style", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3122 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
3123 if (PyErr_Occurred()) SWIG_fail;
3124 if (obj2) {
c32bde28 3125 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 {
3136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3137 }
3138 return resultobj;
3139 fail:
3140 return NULL;
3141}
3142
3143
c32bde28 3144static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3145 PyObject *resultobj;
3146 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3147 bool result;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 {
3164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3165 }
3166 return resultobj;
3167 fail:
3168 return NULL;
3169}
3170
3171
c32bde28 3172static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3173 PyObject *resultobj;
3174 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3175 wxString *arg2 = 0 ;
ae8162c8 3176 bool temp2 = false ;
d55e5bfc
RD
3177 PyObject * obj0 = 0 ;
3178 PyObject * obj1 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self",(char *) "title", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3186 {
3187 arg2 = wxString_in_helper(obj1);
3188 if (arg2 == NULL) SWIG_fail;
ae8162c8 3189 temp2 = true;
d55e5bfc
RD
3190 }
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 (arg1)->SetTitle((wxString const &)*arg2);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 Py_INCREF(Py_None); resultobj = Py_None;
3199 {
3200 if (temp2)
3201 delete arg2;
3202 }
3203 return resultobj;
3204 fail:
3205 {
3206 if (temp2)
3207 delete arg2;
3208 }
3209 return NULL;
3210}
3211
3212
c32bde28 3213static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3214 PyObject *resultobj;
3215 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3216 wxString result;
3217 PyObject * obj0 = 0 ;
3218 char *kwnames[] = {
3219 (char *) "self", NULL
3220 };
3221
3222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233#if wxUSE_UNICODE
3234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3235#else
3236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3237#endif
3238 }
3239 return resultobj;
3240 fail:
3241 return NULL;
3242}
3243
3244
c32bde28 3245static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3246 PyObject *resultobj;
3247 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3248 wxRegion *arg2 = 0 ;
3249 bool result;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "region", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3260 SWIG_POINTER_EXCEPTION | 0)) == -1)
3261 SWIG_fail;
3262 if (arg2 == NULL) {
3263 PyErr_SetString(PyExc_TypeError,"null reference");
3264 SWIG_fail;
3265 }
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 {
3274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3275 }
3276 return resultobj;
3277 fail:
3278 return NULL;
3279}
3280
3281
c32bde28
RD
3282static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj;
3284 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3285 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3286 PyObject * obj0 = 0 ;
3287 PyObject * obj1 = 0 ;
3288 char *kwnames[] = {
3289 (char *) "self",(char *) "flags", NULL
3290 };
3291
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3295 if (obj1) {
3296 arg2 = (int)SWIG_As_int(obj1);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 (arg1)->RequestUserAttention(arg2);
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
3306 Py_INCREF(Py_None); resultobj = Py_None;
3307 return resultobj;
3308 fail:
3309 return NULL;
3310}
3311
3312
5e483524
RD
3313static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3316 bool result;
3317 PyObject * obj0 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = (bool)(arg1)->IsActive();
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 {
3333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3334 }
3335 return resultobj;
3336 fail:
3337 return NULL;
3338}
3339
3340
84f85550
RD
3341static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3344 bool arg2 ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self",(char *) "on", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 arg2 = (bool)SWIG_As_bool(obj1);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 Py_INCREF(Py_None); resultobj = Py_None;
3364 return resultobj;
3365 fail:
3366 return NULL;
3367}
3368
3369
3370static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3373 bool result;
3374 PyObject * obj0 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 {
3390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3391 }
3392 return resultobj;
3393 fail:
3394 return NULL;
3395}
3396
3397
c32bde28 3398static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3399 PyObject *obj;
3400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3401 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3402 Py_INCREF(obj);
3403 return Py_BuildValue((char *)"");
3404}
c32bde28 3405static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3406 PyObject *resultobj;
3407 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3408 int arg2 = (int) (int)-1 ;
3409 wxString const &arg3_defvalue = wxPyEmptyString ;
3410 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3413 wxSize const &arg5_defvalue = wxDefaultSize ;
3414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3415 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3416 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3417 wxString *arg7 = (wxString *) &arg7_defvalue ;
3418 wxFrame *result;
ae8162c8 3419 bool temp3 = false ;
d55e5bfc
RD
3420 wxPoint temp4 ;
3421 wxSize temp5 ;
ae8162c8 3422 bool temp7 = false ;
d55e5bfc
RD
3423 PyObject * obj0 = 0 ;
3424 PyObject * obj1 = 0 ;
3425 PyObject * obj2 = 0 ;
3426 PyObject * obj3 = 0 ;
3427 PyObject * obj4 = 0 ;
3428 PyObject * obj5 = 0 ;
3429 PyObject * obj6 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3432 };
3433
248ed943 3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
3435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3437 if (obj1) {
c32bde28 3438 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
3439 if (PyErr_Occurred()) SWIG_fail;
3440 }
3441 if (obj2) {
3442 {
3443 arg3 = wxString_in_helper(obj2);
3444 if (arg3 == NULL) SWIG_fail;
ae8162c8 3445 temp3 = true;
248ed943 3446 }
d55e5bfc
RD
3447 }
3448 if (obj3) {
3449 {
3450 arg4 = &temp4;
3451 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3452 }
3453 }
3454 if (obj4) {
3455 {
3456 arg5 = &temp5;
3457 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3458 }
3459 }
3460 if (obj5) {
c32bde28 3461 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
3464 if (obj6) {
3465 {
3466 arg7 = wxString_in_helper(obj6);
3467 if (arg7 == NULL) SWIG_fail;
ae8162c8 3468 temp7 = true;
d55e5bfc
RD
3469 }
3470 }
3471 {
0439c23b 3472 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3475
3476 wxPyEndAllowThreads(__tstate);
110da5b0 3477 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3478 }
b0f7404b 3479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
3480 {
3481 if (temp3)
3482 delete arg3;
3483 }
3484 {
3485 if (temp7)
3486 delete arg7;
3487 }
3488 return resultobj;
3489 fail:
3490 {
3491 if (temp3)
3492 delete arg3;
3493 }
3494 {
3495 if (temp7)
3496 delete arg7;
3497 }
3498 return NULL;
3499}
3500
3501
c32bde28 3502static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3503 PyObject *resultobj;
3504 wxFrame *result;
3505 char *kwnames[] = {
3506 NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3510 {
0439c23b 3511 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 result = (wxFrame *)new wxFrame();
3514
3515 wxPyEndAllowThreads(__tstate);
110da5b0 3516 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3517 }
b0f7404b 3518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
3519 return resultobj;
3520 fail:
3521 return NULL;
3522}
3523
3524
c32bde28 3525static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3526 PyObject *resultobj;
3527 wxFrame *arg1 = (wxFrame *) 0 ;
3528 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3529 int arg3 = (int) (int)-1 ;
3530 wxString const &arg4_defvalue = wxPyEmptyString ;
3531 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3532 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3533 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3534 wxSize const &arg6_defvalue = wxDefaultSize ;
3535 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3536 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3537 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3538 wxString *arg8 = (wxString *) &arg8_defvalue ;
3539 bool result;
ae8162c8 3540 bool temp4 = false ;
d55e5bfc
RD
3541 wxPoint temp5 ;
3542 wxSize temp6 ;
ae8162c8 3543 bool temp8 = false ;
d55e5bfc
RD
3544 PyObject * obj0 = 0 ;
3545 PyObject * obj1 = 0 ;
3546 PyObject * obj2 = 0 ;
3547 PyObject * obj3 = 0 ;
3548 PyObject * obj4 = 0 ;
3549 PyObject * obj5 = 0 ;
3550 PyObject * obj6 = 0 ;
3551 PyObject * obj7 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3554 };
3555
248ed943 3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3561 if (obj2) {
c32bde28 3562 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 if (obj3) {
3566 {
3567 arg4 = wxString_in_helper(obj3);
3568 if (arg4 == NULL) SWIG_fail;
ae8162c8 3569 temp4 = true;
248ed943 3570 }
d55e5bfc
RD
3571 }
3572 if (obj4) {
3573 {
3574 arg5 = &temp5;
3575 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3576 }
3577 }
3578 if (obj5) {
3579 {
3580 arg6 = &temp6;
3581 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3582 }
3583 }
3584 if (obj6) {
c32bde28 3585 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 if (obj7) {
3589 {
3590 arg8 = wxString_in_helper(obj7);
3591 if (arg8 == NULL) SWIG_fail;
ae8162c8 3592 temp8 = true;
d55e5bfc
RD
3593 }
3594 }
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 {
3603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3604 }
3605 {
3606 if (temp4)
3607 delete arg4;
3608 }
3609 {
3610 if (temp8)
3611 delete arg8;
3612 }
3613 return resultobj;
3614 fail:
3615 {
3616 if (temp4)
3617 delete arg4;
3618 }
3619 {
3620 if (temp8)
3621 delete arg8;
3622 }
3623 return NULL;
3624}
3625
3626
c32bde28 3627static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 wxPoint result;
3631 PyObject * obj0 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 {
3647 wxPoint * resultptr;
3648 resultptr = new wxPoint((wxPoint &) result);
3649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3650 }
3651 return resultobj;
3652 fail:
3653 return NULL;
3654}
3655
3656
c32bde28 3657static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3658 PyObject *resultobj;
3659 wxFrame *arg1 = (wxFrame *) 0 ;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 (arg1)->SendSizeEvent();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 Py_INCREF(Py_None); resultobj = Py_None;
3676 return resultobj;
3677 fail:
3678 return NULL;
3679}
3680
3681
c32bde28 3682static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3683 PyObject *resultobj;
3684 wxFrame *arg1 = (wxFrame *) 0 ;
3685 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3686 PyObject * obj0 = 0 ;
3687 PyObject * obj1 = 0 ;
3688 char *kwnames[] = {
3689 (char *) "self",(char *) "menubar", NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 (arg1)->SetMenuBar(arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 Py_INCREF(Py_None); resultobj = Py_None;
3705 return resultobj;
3706 fail:
3707 return NULL;
3708}
3709
3710
c32bde28 3711static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3712 PyObject *resultobj;
3713 wxFrame *arg1 = (wxFrame *) 0 ;
3714 wxMenuBar *result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 {
412d302d 3731 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3732 }
3733 return resultobj;
3734 fail:
3735 return NULL;
3736}
3737
3738
c32bde28 3739static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3740 PyObject *resultobj;
3741 wxFrame *arg1 = (wxFrame *) 0 ;
3742 int arg2 ;
3743 bool result;
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "winid", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3753 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3754 if (PyErr_Occurred()) SWIG_fail;
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 result = (bool)(arg1)->ProcessCommand(arg2);
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 {
3763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3764 }
3765 return resultobj;
3766 fail:
3767 return NULL;
3768}
3769
3770
c32bde28 3771static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3772 PyObject *resultobj;
3773 wxFrame *arg1 = (wxFrame *) 0 ;
3774 int arg2 = (int) 1 ;
3775 long arg3 = (long) wxST_SIZEGRIP ;
3776 int arg4 = (int) 0 ;
3777 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3778 wxString *arg5 = (wxString *) &arg5_defvalue ;
3779 wxStatusBar *result;
ae8162c8 3780 bool temp5 = false ;
d55e5bfc
RD
3781 PyObject * obj0 = 0 ;
3782 PyObject * obj1 = 0 ;
3783 PyObject * obj2 = 0 ;
3784 PyObject * obj3 = 0 ;
3785 PyObject * obj4 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3793 if (obj1) {
c32bde28 3794 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 if (obj2) {
c32bde28 3798 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 if (obj3) {
c32bde28 3802 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 if (obj4) {
3806 {
3807 arg5 = wxString_in_helper(obj4);
3808 if (arg5 == NULL) SWIG_fail;
ae8162c8 3809 temp5 = true;
d55e5bfc
RD
3810 }
3811 }
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 {
412d302d 3820 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3821 }
3822 {
3823 if (temp5)
3824 delete arg5;
3825 }
3826 return resultobj;
3827 fail:
3828 {
3829 if (temp5)
3830 delete arg5;
3831 }
3832 return NULL;
3833}
3834
3835
c32bde28 3836static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3837 PyObject *resultobj;
3838 wxFrame *arg1 = (wxFrame *) 0 ;
3839 wxStatusBar *result;
3840 PyObject * obj0 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "self", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 {
412d302d 3856 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3857 }
3858 return resultobj;
3859 fail:
3860 return NULL;
3861}
3862
3863
c32bde28 3864static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3865 PyObject *resultobj;
3866 wxFrame *arg1 = (wxFrame *) 0 ;
3867 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3868 PyObject * obj0 = 0 ;
3869 PyObject * obj1 = 0 ;
3870 char *kwnames[] = {
3871 (char *) "self",(char *) "statBar", NULL
3872 };
3873
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3879 {
3880 PyThreadState* __tstate = wxPyBeginAllowThreads();
3881 (arg1)->SetStatusBar(arg2);
3882
3883 wxPyEndAllowThreads(__tstate);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 }
3886 Py_INCREF(Py_None); resultobj = Py_None;
3887 return resultobj;
3888 fail:
3889 return NULL;
3890}
3891
3892
c32bde28 3893static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3894 PyObject *resultobj;
3895 wxFrame *arg1 = (wxFrame *) 0 ;
3896 wxString *arg2 = 0 ;
3897 int arg3 = (int) 0 ;
ae8162c8 3898 bool temp2 = false ;
d55e5bfc
RD
3899 PyObject * obj0 = 0 ;
3900 PyObject * obj1 = 0 ;
3901 PyObject * obj2 = 0 ;
3902 char *kwnames[] = {
3903 (char *) "self",(char *) "text",(char *) "number", NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3909 {
3910 arg2 = wxString_in_helper(obj1);
3911 if (arg2 == NULL) SWIG_fail;
ae8162c8 3912 temp2 = true;
d55e5bfc
RD
3913 }
3914 if (obj2) {
c32bde28 3915 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 {
3927 if (temp2)
3928 delete arg2;
3929 }
3930 return resultobj;
3931 fail:
3932 {
3933 if (temp2)
3934 delete arg2;
3935 }
3936 return NULL;
3937}
3938
3939
c32bde28 3940static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3941 PyObject *resultobj;
3942 wxFrame *arg1 = (wxFrame *) 0 ;
3943 int arg2 ;
3944 int *arg3 = (int *) 0 ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "widths", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3954 {
3955 arg2 = PyList_Size(obj1);
3956 arg3 = int_LIST_helper(obj1);
3957 if (arg3 == NULL) SWIG_fail;
3958 }
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 Py_INCREF(Py_None); resultobj = Py_None;
3967 {
3968 if (arg3) delete [] arg3;
3969 }
3970 return resultobj;
3971 fail:
3972 {
3973 if (arg3) delete [] arg3;
3974 }
3975 return NULL;
3976}
3977
3978
c32bde28 3979static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3980 PyObject *resultobj;
3981 wxFrame *arg1 = (wxFrame *) 0 ;
3982 wxString *arg2 = 0 ;
3983 int arg3 = (int) 0 ;
ae8162c8 3984 bool temp2 = false ;
d55e5bfc
RD
3985 PyObject * obj0 = 0 ;
3986 PyObject * obj1 = 0 ;
3987 PyObject * obj2 = 0 ;
3988 char *kwnames[] = {
3989 (char *) "self",(char *) "text",(char *) "number", NULL
3990 };
3991
3992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3995 {
3996 arg2 = wxString_in_helper(obj1);
3997 if (arg2 == NULL) SWIG_fail;
ae8162c8 3998 temp2 = true;
d55e5bfc
RD
3999 }
4000 if (obj2) {
c32bde28 4001 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 Py_INCREF(Py_None); resultobj = Py_None;
4012 {
4013 if (temp2)
4014 delete arg2;
4015 }
4016 return resultobj;
4017 fail:
4018 {
4019 if (temp2)
4020 delete arg2;
4021 }
4022 return NULL;
4023}
4024
4025
c32bde28 4026static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4027 PyObject *resultobj;
4028 wxFrame *arg1 = (wxFrame *) 0 ;
4029 int arg2 = (int) 0 ;
4030 PyObject * obj0 = 0 ;
4031 PyObject * obj1 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "self",(char *) "number", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4039 if (obj1) {
c32bde28 4040 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 {
4044 PyThreadState* __tstate = wxPyBeginAllowThreads();
4045 (arg1)->PopStatusText(arg2);
4046
4047 wxPyEndAllowThreads(__tstate);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 }
4050 Py_INCREF(Py_None); resultobj = Py_None;
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
c32bde28 4057static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4058 PyObject *resultobj;
4059 wxFrame *arg1 = (wxFrame *) 0 ;
4060 int arg2 ;
4061 PyObject * obj0 = 0 ;
4062 PyObject * obj1 = 0 ;
4063 char *kwnames[] = {
4064 (char *) "self",(char *) "n", NULL
4065 };
4066
4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4070 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4071 if (PyErr_Occurred()) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 (arg1)->SetStatusBarPane(arg2);
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 Py_INCREF(Py_None); resultobj = Py_None;
4080 return resultobj;
4081 fail:
4082 return NULL;
4083}
4084
4085
c32bde28 4086static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4087 PyObject *resultobj;
4088 wxFrame *arg1 = (wxFrame *) 0 ;
4089 int result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
c32bde28 4105 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
c32bde28 4112static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4113 PyObject *resultobj;
4114 wxFrame *arg1 = (wxFrame *) 0 ;
4115 long arg2 = (long) -1 ;
4116 int arg3 = (int) -1 ;
4117 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4118 wxString *arg4 = (wxString *) &arg4_defvalue ;
4119 wxToolBar *result;
ae8162c8 4120 bool temp4 = false ;
d55e5bfc
RD
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj1 = 0 ;
4123 PyObject * obj2 = 0 ;
4124 PyObject * obj3 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4132 if (obj1) {
c32bde28 4133 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 if (obj2) {
c32bde28 4137 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 if (obj3) {
4141 {
4142 arg4 = wxString_in_helper(obj3);
4143 if (arg4 == NULL) SWIG_fail;
ae8162c8 4144 temp4 = true;
d55e5bfc
RD
4145 }
4146 }
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 {
412d302d 4155 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4156 }
4157 {
4158 if (temp4)
4159 delete arg4;
4160 }
4161 return resultobj;
4162 fail:
4163 {
4164 if (temp4)
4165 delete arg4;
4166 }
4167 return NULL;
4168}
4169
4170
c32bde28 4171static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4172 PyObject *resultobj;
4173 wxFrame *arg1 = (wxFrame *) 0 ;
4174 wxToolBar *result;
4175 PyObject * obj0 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "self", NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 {
412d302d 4191 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4192 }
4193 return resultobj;
4194 fail:
4195 return NULL;
4196}
4197
4198
c32bde28 4199static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4200 PyObject *resultobj;
4201 wxFrame *arg1 = (wxFrame *) 0 ;
4202 wxToolBar *arg2 = (wxToolBar *) 0 ;
4203 PyObject * obj0 = 0 ;
4204 PyObject * obj1 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self",(char *) "toolbar", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 (arg1)->SetToolBar(arg2);
4217
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 Py_INCREF(Py_None); resultobj = Py_None;
4222 return resultobj;
4223 fail:
4224 return NULL;
4225}
4226
4227
c32bde28 4228static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4229 PyObject *resultobj;
4230 wxFrame *arg1 = (wxFrame *) 0 ;
4231 wxString *arg2 = 0 ;
4232 bool arg3 ;
ae8162c8 4233 bool temp2 = false ;
d55e5bfc
RD
4234 PyObject * obj0 = 0 ;
4235 PyObject * obj1 = 0 ;
4236 PyObject * obj2 = 0 ;
4237 char *kwnames[] = {
4238 (char *) "self",(char *) "text",(char *) "show", NULL
4239 };
4240
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4244 {
4245 arg2 = wxString_in_helper(obj1);
4246 if (arg2 == NULL) SWIG_fail;
ae8162c8 4247 temp2 = true;
d55e5bfc 4248 }
c32bde28 4249 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
4250 if (PyErr_Occurred()) SWIG_fail;
4251 {
4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
4253 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4254
4255 wxPyEndAllowThreads(__tstate);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 Py_INCREF(Py_None); resultobj = Py_None;
4259 {
4260 if (temp2)
4261 delete arg2;
4262 }
4263 return resultobj;
4264 fail:
4265 {
4266 if (temp2)
4267 delete arg2;
4268 }
4269 return NULL;
4270}
4271
4272
c32bde28 4273static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4274 PyObject *resultobj;
4275 wxFrame *arg1 = (wxFrame *) 0 ;
4276 wxMenu *arg2 = (wxMenu *) NULL ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "menu", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4286 if (obj1) {
4287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4289 }
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->DoMenuUpdates(arg2);
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 Py_INCREF(Py_None); resultobj = Py_None;
4298 return resultobj;
4299 fail:
4300 return NULL;
4301}
4302
4303
c32bde28 4304static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4305 PyObject *resultobj;
4306 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4307 wxVisualAttributes result;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "variant", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4314 if (obj0) {
c32bde28 4315 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 {
0439c23b 4319 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4322
4323 wxPyEndAllowThreads(__tstate);
110da5b0 4324 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4325 }
4326 {
4327 wxVisualAttributes * resultptr;
4328 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4330 }
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
c32bde28 4337static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4338 PyObject *obj;
4339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4340 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4341 Py_INCREF(obj);
4342 return Py_BuildValue((char *)"");
4343}
c32bde28 4344static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4345 PyObject *resultobj;
4346 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4347 int arg2 = (int) (int)-1 ;
4348 wxString const &arg3_defvalue = wxPyEmptyString ;
4349 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4350 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4351 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4352 wxSize const &arg5_defvalue = wxDefaultSize ;
4353 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4354 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4355 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4356 wxString *arg7 = (wxString *) &arg7_defvalue ;
4357 wxDialog *result;
ae8162c8 4358 bool temp3 = false ;
d55e5bfc
RD
4359 wxPoint temp4 ;
4360 wxSize temp5 ;
ae8162c8 4361 bool temp7 = false ;
d55e5bfc
RD
4362 PyObject * obj0 = 0 ;
4363 PyObject * obj1 = 0 ;
4364 PyObject * obj2 = 0 ;
4365 PyObject * obj3 = 0 ;
4366 PyObject * obj4 = 0 ;
4367 PyObject * obj5 = 0 ;
4368 PyObject * obj6 = 0 ;
4369 char *kwnames[] = {
4370 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4371 };
4372
248ed943 4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4376 if (obj1) {
c32bde28 4377 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 if (obj2) {
4381 {
4382 arg3 = wxString_in_helper(obj2);
4383 if (arg3 == NULL) SWIG_fail;
ae8162c8 4384 temp3 = true;
248ed943 4385 }
d55e5bfc
RD
4386 }
4387 if (obj3) {
4388 {
4389 arg4 = &temp4;
4390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4391 }
4392 }
4393 if (obj4) {
4394 {
4395 arg5 = &temp5;
4396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4397 }
4398 }
4399 if (obj5) {
c32bde28 4400 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 if (obj6) {
4404 {
4405 arg7 = wxString_in_helper(obj6);
4406 if (arg7 == NULL) SWIG_fail;
ae8162c8 4407 temp7 = true;
d55e5bfc
RD
4408 }
4409 }
4410 {
0439c23b 4411 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4414
4415 wxPyEndAllowThreads(__tstate);
110da5b0 4416 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4417 }
b0f7404b 4418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
4419 {
4420 if (temp3)
4421 delete arg3;
4422 }
4423 {
4424 if (temp7)
4425 delete arg7;
4426 }
4427 return resultobj;
4428 fail:
4429 {
4430 if (temp3)
4431 delete arg3;
4432 }
4433 {
4434 if (temp7)
4435 delete arg7;
4436 }
4437 return NULL;
4438}
4439
4440
c32bde28 4441static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4442 PyObject *resultobj;
4443 wxDialog *result;
4444 char *kwnames[] = {
4445 NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4449 {
0439c23b 4450 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (wxDialog *)new wxDialog();
4453
4454 wxPyEndAllowThreads(__tstate);
110da5b0 4455 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4456 }
b0f7404b 4457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
4458 return resultobj;
4459 fail:
4460 return NULL;
4461}
4462
4463
c32bde28 4464static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4465 PyObject *resultobj;
4466 wxDialog *arg1 = (wxDialog *) 0 ;
4467 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4468 int arg3 = (int) (int)-1 ;
4469 wxString const &arg4_defvalue = wxPyEmptyString ;
4470 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4471 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4472 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4473 wxSize const &arg6_defvalue = wxDefaultSize ;
4474 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4475 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4476 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4477 wxString *arg8 = (wxString *) &arg8_defvalue ;
4478 bool result;
ae8162c8 4479 bool temp4 = false ;
d55e5bfc
RD
4480 wxPoint temp5 ;
4481 wxSize temp6 ;
ae8162c8 4482 bool temp8 = false ;
d55e5bfc
RD
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 PyObject * obj2 = 0 ;
4486 PyObject * obj3 = 0 ;
4487 PyObject * obj4 = 0 ;
4488 PyObject * obj5 = 0 ;
4489 PyObject * obj6 = 0 ;
4490 PyObject * obj7 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4493 };
4494
248ed943 4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4500 if (obj2) {
c32bde28 4501 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4502 if (PyErr_Occurred()) SWIG_fail;
4503 }
4504 if (obj3) {
4505 {
4506 arg4 = wxString_in_helper(obj3);
4507 if (arg4 == NULL) SWIG_fail;
ae8162c8 4508 temp4 = true;
248ed943 4509 }
d55e5bfc
RD
4510 }
4511 if (obj4) {
4512 {
4513 arg5 = &temp5;
4514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4515 }
4516 }
4517 if (obj5) {
4518 {
4519 arg6 = &temp6;
4520 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4521 }
4522 }
4523 if (obj6) {
c32bde28 4524 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 if (obj7) {
4528 {
4529 arg8 = wxString_in_helper(obj7);
4530 if (arg8 == NULL) SWIG_fail;
ae8162c8 4531 temp8 = true;
d55e5bfc
RD
4532 }
4533 }
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 {
4542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4543 }
4544 {
4545 if (temp4)
4546 delete arg4;
4547 }
4548 {
4549 if (temp8)
4550 delete arg8;
4551 }
4552 return resultobj;
4553 fail:
4554 {
4555 if (temp4)
4556 delete arg4;
4557 }
4558 {
4559 if (temp8)
4560 delete arg8;
4561 }
4562 return NULL;
4563}
4564
4565
c32bde28 4566static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4567 PyObject *resultobj;
4568 wxDialog *arg1 = (wxDialog *) 0 ;
4569 int arg2 ;
4570 PyObject * obj0 = 0 ;
4571 PyObject * obj1 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "self",(char *) "returnCode", NULL
4574 };
4575
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4579 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4580 if (PyErr_Occurred()) SWIG_fail;
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 (arg1)->SetReturnCode(arg2);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 Py_INCREF(Py_None); resultobj = Py_None;
4589 return resultobj;
4590 fail:
4591 return NULL;
4592}
4593
4594
c32bde28 4595static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4596 PyObject *resultobj;
4597 wxDialog *arg1 = (wxDialog *) 0 ;
4598 int result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
c32bde28 4614 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4615 return resultobj;
4616 fail:
4617 return NULL;
4618}
4619
4620
c32bde28 4621static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4622 PyObject *resultobj;
4623 wxDialog *arg1 = (wxDialog *) 0 ;
4624 wxString *arg2 = 0 ;
4625 wxSizer *result;
ae8162c8 4626 bool temp2 = false ;
d55e5bfc
RD
4627 PyObject * obj0 = 0 ;
4628 PyObject * obj1 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self",(char *) "message", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4636 {
4637 arg2 = wxString_in_helper(obj1);
4638 if (arg2 == NULL) SWIG_fail;
ae8162c8 4639 temp2 = true;
d55e5bfc
RD
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 {
412d302d 4649 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
4650 }
4651 {
4652 if (temp2)
4653 delete arg2;
4654 }
4655 return resultobj;
4656 fail:
4657 {
4658 if (temp2)
4659 delete arg2;
4660 }
4661 return NULL;
4662}
4663
4664
c32bde28 4665static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4666 PyObject *resultobj;
4667 wxDialog *arg1 = (wxDialog *) 0 ;
4668 long arg2 ;
4669 wxSizer *result;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 char *kwnames[] = {
4673 (char *) "self",(char *) "flags", NULL
4674 };
4675
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4679 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
4680 if (PyErr_Occurred()) SWIG_fail;
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 {
412d302d 4689 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
4690 }
4691 return resultobj;
4692 fail:
4693 return NULL;
4694}
4695
4696
c32bde28 4697static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4698 PyObject *resultobj;
4699 wxDialog *arg1 = (wxDialog *) 0 ;
4700 bool result;
4701 PyObject * obj0 = 0 ;
4702 char *kwnames[] = {
4703 (char *) "self", NULL
4704 };
4705
4706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 result = (bool)((wxDialog const *)arg1)->IsModal();
4712
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 {
4717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4718 }
4719 return resultobj;
4720 fail:
4721 return NULL;
4722}
4723
4724
c32bde28 4725static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4726 PyObject *resultobj;
4727 wxDialog *arg1 = (wxDialog *) 0 ;
4728 int result;
4729 PyObject * obj0 = 0 ;
4730 char *kwnames[] = {
4731 (char *) "self", NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (int)(arg1)->ShowModal();
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
c32bde28 4744 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
c32bde28 4751static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4752 PyObject *resultobj;
4753 wxDialog *arg1 = (wxDialog *) 0 ;
4754 int arg2 ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "retCode", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4764 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4765 if (PyErr_Occurred()) SWIG_fail;
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 (arg1)->EndModal(arg2);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
c32bde28 4780static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4781 PyObject *resultobj;
4782 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4783 wxVisualAttributes result;
4784 PyObject * obj0 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "variant", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4790 if (obj0) {
c32bde28 4791 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 {
0439c23b 4795 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4798
4799 wxPyEndAllowThreads(__tstate);
110da5b0 4800 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4801 }
4802 {
4803 wxVisualAttributes * resultptr;
4804 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4806 }
4807 return resultobj;
4808 fail:
4809 return NULL;
4810}
4811
4812
c32bde28 4813static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4814 PyObject *obj;
4815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4817 Py_INCREF(obj);
4818 return Py_BuildValue((char *)"");
4819}
c32bde28 4820static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4821 PyObject *resultobj;
4822 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4823 int arg2 = (int) (int)-1 ;
4824 wxString const &arg3_defvalue = wxPyEmptyString ;
4825 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4826 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4827 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4828 wxSize const &arg5_defvalue = wxDefaultSize ;
4829 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4830 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4831 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4832 wxString *arg7 = (wxString *) &arg7_defvalue ;
4833 wxMiniFrame *result;
ae8162c8 4834 bool temp3 = false ;
d55e5bfc
RD
4835 wxPoint temp4 ;
4836 wxSize temp5 ;
ae8162c8 4837 bool temp7 = false ;
d55e5bfc
RD
4838 PyObject * obj0 = 0 ;
4839 PyObject * obj1 = 0 ;
4840 PyObject * obj2 = 0 ;
4841 PyObject * obj3 = 0 ;
4842 PyObject * obj4 = 0 ;
4843 PyObject * obj5 = 0 ;
4844 PyObject * obj6 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4847 };
4848
248ed943 4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4852 if (obj1) {
c32bde28 4853 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 if (obj2) {
4857 {
4858 arg3 = wxString_in_helper(obj2);
4859 if (arg3 == NULL) SWIG_fail;
ae8162c8 4860 temp3 = true;
248ed943 4861 }
d55e5bfc
RD
4862 }
4863 if (obj3) {
4864 {
4865 arg4 = &temp4;
4866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4867 }
4868 }
4869 if (obj4) {
4870 {
4871 arg5 = &temp5;
4872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4873 }
4874 }
4875 if (obj5) {
c32bde28 4876 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 if (obj6) {
4880 {
4881 arg7 = wxString_in_helper(obj6);
4882 if (arg7 == NULL) SWIG_fail;
ae8162c8 4883 temp7 = true;
d55e5bfc
RD
4884 }
4885 }
4886 {
0439c23b 4887 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4890
4891 wxPyEndAllowThreads(__tstate);
110da5b0 4892 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4893 }
4894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4895 {
4896 if (temp3)
4897 delete arg3;
4898 }
4899 {
4900 if (temp7)
4901 delete arg7;
4902 }
4903 return resultobj;
4904 fail:
4905 {
4906 if (temp3)
4907 delete arg3;
4908 }
4909 {
4910 if (temp7)
4911 delete arg7;
4912 }
4913 return NULL;
4914}
4915
4916
c32bde28 4917static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4918 PyObject *resultobj;
4919 wxMiniFrame *result;
4920 char *kwnames[] = {
4921 NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4925 {
0439c23b 4926 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 result = (wxMiniFrame *)new wxMiniFrame();
4929
4930 wxPyEndAllowThreads(__tstate);
110da5b0 4931 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4932 }
4933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4934 return resultobj;
4935 fail:
4936 return NULL;
4937}
4938
4939
c32bde28 4940static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4941 PyObject *resultobj;
4942 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4943 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4944 int arg3 = (int) (int)-1 ;
4945 wxString const &arg4_defvalue = wxPyEmptyString ;
4946 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4947 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4948 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4949 wxSize const &arg6_defvalue = wxDefaultSize ;
4950 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4951 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4952 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4953 wxString *arg8 = (wxString *) &arg8_defvalue ;
4954 bool result;
ae8162c8 4955 bool temp4 = false ;
d55e5bfc
RD
4956 wxPoint temp5 ;
4957 wxSize temp6 ;
ae8162c8 4958 bool temp8 = false ;
d55e5bfc
RD
4959 PyObject * obj0 = 0 ;
4960 PyObject * obj1 = 0 ;
4961 PyObject * obj2 = 0 ;
4962 PyObject * obj3 = 0 ;
4963 PyObject * obj4 = 0 ;
4964 PyObject * obj5 = 0 ;
4965 PyObject * obj6 = 0 ;
4966 PyObject * obj7 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4969 };
4970
248ed943 4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4976 if (obj2) {
c32bde28 4977 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 if (obj3) {
4981 {
4982 arg4 = wxString_in_helper(obj3);
4983 if (arg4 == NULL) SWIG_fail;
ae8162c8 4984 temp4 = true;
248ed943 4985 }
d55e5bfc
RD
4986 }
4987 if (obj4) {
4988 {
4989 arg5 = &temp5;
4990 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4991 }
4992 }
4993 if (obj5) {
4994 {
4995 arg6 = &temp6;
4996 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4997 }
4998 }
4999 if (obj6) {
c32bde28 5000 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 if (obj7) {
5004 {
5005 arg8 = wxString_in_helper(obj7);
5006 if (arg8 == NULL) SWIG_fail;
ae8162c8 5007 temp8 = true;
d55e5bfc
RD
5008 }
5009 }
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 {
5018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5019 }
5020 {
5021 if (temp4)
5022 delete arg4;
5023 }
5024 {
5025 if (temp8)
5026 delete arg8;
5027 }
5028 return resultobj;
5029 fail:
5030 {
5031 if (temp4)
5032 delete arg4;
5033 }
5034 {
5035 if (temp8)
5036 delete arg8;
5037 }
5038 return NULL;
5039}
5040
5041
c32bde28 5042static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5043 PyObject *obj;
5044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5046 Py_INCREF(obj);
5047 return Py_BuildValue((char *)"");
5048}
c32bde28 5049static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5050 PyObject *resultobj;
5051 wxBitmap *arg1 = 0 ;
5052 wxWindow *arg2 = (wxWindow *) 0 ;
5053 int arg3 ;
5054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5056 wxSize const &arg5_defvalue = wxDefaultSize ;
5057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5058 long arg6 = (long) wxNO_BORDER ;
5059 wxSplashScreenWindow *result;
5060 wxPoint temp4 ;
5061 wxSize temp5 ;
5062 PyObject * obj0 = 0 ;
5063 PyObject * obj1 = 0 ;
5064 PyObject * obj2 = 0 ;
5065 PyObject * obj3 = 0 ;
5066 PyObject * obj4 = 0 ;
5067 PyObject * obj5 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5074 SWIG_POINTER_EXCEPTION | 0)) == -1)
5075 SWIG_fail;
5076 if (arg1 == NULL) {
5077 PyErr_SetString(PyExc_TypeError,"null reference");
5078 SWIG_fail;
5079 }
5080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5082 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5083 if (PyErr_Occurred()) SWIG_fail;
5084 if (obj3) {
5085 {
5086 arg4 = &temp4;
5087 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5088 }
5089 }
5090 if (obj4) {
5091 {
5092 arg5 = &temp5;
5093 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5094 }
5095 }
5096 if (obj5) {
c32bde28 5097 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
0439c23b 5101 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5104
5105 wxPyEndAllowThreads(__tstate);
110da5b0 5106 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5107 }
5108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5109 return resultobj;
5110 fail:
5111 return NULL;
5112}
5113
5114
c32bde28 5115static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5116 PyObject *resultobj;
5117 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5118 wxBitmap *arg2 = 0 ;
5119 PyObject * obj0 = 0 ;
5120 PyObject * obj1 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "self",(char *) "bitmap", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5129 SWIG_POINTER_EXCEPTION | 0)) == -1)
5130 SWIG_fail;
5131 if (arg2 == NULL) {
5132 PyErr_SetString(PyExc_TypeError,"null reference");
5133 SWIG_fail;
5134 }
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 return resultobj;
5144 fail:
5145 return NULL;
5146}
5147
5148
c32bde28 5149static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5150 PyObject *resultobj;
5151 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5152 wxBitmap *result;
5153 PyObject * obj0 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 {
5164 wxBitmap &_result_ref = (arg1)->GetBitmap();
5165 result = (wxBitmap *) &_result_ref;
5166 }
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 {
5172 wxBitmap* resultptr = new wxBitmap(*result);
5173 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5174 }
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
c32bde28 5181static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5182 PyObject *obj;
5183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5185 Py_INCREF(obj);
5186 return Py_BuildValue((char *)"");
5187}
c32bde28 5188static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5189 PyObject *resultobj;
5190 wxBitmap *arg1 = 0 ;
5191 long arg2 ;
5192 int arg3 ;
5193 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 5194 int arg5 = (int) -1 ;
d55e5bfc
RD
5195 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5196 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5197 wxSize const &arg7_defvalue = wxDefaultSize ;
5198 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5199 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5200 wxSplashScreen *result;
5201 wxPoint temp6 ;
5202 wxSize temp7 ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 PyObject * obj2 = 0 ;
5206 PyObject * obj3 = 0 ;
5207 PyObject * obj4 = 0 ;
5208 PyObject * obj5 = 0 ;
5209 PyObject * obj6 = 0 ;
5210 PyObject * obj7 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5213 };
5214
248ed943 5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5217 SWIG_POINTER_EXCEPTION | 0)) == -1)
5218 SWIG_fail;
5219 if (arg1 == NULL) {
5220 PyErr_SetString(PyExc_TypeError,"null reference");
5221 SWIG_fail;
5222 }
c32bde28 5223 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 5224 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5225 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5226 if (PyErr_Occurred()) SWIG_fail;
5227 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5229 if (obj4) {
c32bde28 5230 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
d55e5bfc
RD
5233 if (obj5) {
5234 {
5235 arg6 = &temp6;
5236 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5237 }
5238 }
5239 if (obj6) {
5240 {
5241 arg7 = &temp7;
5242 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5243 }
5244 }
5245 if (obj7) {
c32bde28 5246 arg8 = (long)SWIG_As_long(obj7);
d55e5bfc
RD
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 {
0439c23b 5250 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5253
5254 wxPyEndAllowThreads(__tstate);
110da5b0 5255 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5256 }
5257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5258 return resultobj;
5259 fail:
5260 return NULL;
5261}
5262
5263
c32bde28 5264static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5265 PyObject *resultobj;
5266 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5267 long result;
5268 PyObject * obj0 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
c32bde28 5283 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
5284 return resultobj;
5285 fail:
5286 return NULL;
5287}
5288
5289
c32bde28 5290static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5291 PyObject *resultobj;
5292 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5293 wxSplashScreenWindow *result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5310 return resultobj;
5311 fail:
5312 return NULL;
5313}
5314
5315
c32bde28 5316static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5317 PyObject *resultobj;
5318 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5319 int result;
5320 PyObject * obj0 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
c32bde28 5335 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5336 return resultobj;
5337 fail:
5338 return NULL;
5339}
5340
5341
c32bde28 5342static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5343 PyObject *obj;
5344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5346 Py_INCREF(obj);
5347 return Py_BuildValue((char *)"");
5348}
c32bde28 5349static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5350 PyObject *resultobj;
5351 wxWindow *arg1 = (wxWindow *) 0 ;
5352 int arg2 = (int) -1 ;
5353 long arg3 = (long) wxST_SIZEGRIP ;
5354 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5355 wxString *arg4 = (wxString *) &arg4_defvalue ;
5356 wxStatusBar *result;
ae8162c8 5357 bool temp4 = false ;
d55e5bfc
RD
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 PyObject * obj2 = 0 ;
5361 PyObject * obj3 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5369 if (obj1) {
c32bde28 5370 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 if (obj2) {
c32bde28 5374 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 if (obj3) {
5378 {
5379 arg4 = wxString_in_helper(obj3);
5380 if (arg4 == NULL) SWIG_fail;
ae8162c8 5381 temp4 = true;
d55e5bfc
RD
5382 }
5383 }
5384 {
0439c23b 5385 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5388
5389 wxPyEndAllowThreads(__tstate);
110da5b0 5390 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5391 }
b0f7404b 5392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
5393 {
5394 if (temp4)
5395 delete arg4;
5396 }
5397 return resultobj;
5398 fail:
5399 {
5400 if (temp4)
5401 delete arg4;
5402 }
5403 return NULL;
5404}
5405
5406
c32bde28 5407static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5408 PyObject *resultobj;
5409 wxStatusBar *result;
5410 char *kwnames[] = {
5411 NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5415 {
0439c23b 5416 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (wxStatusBar *)new wxStatusBar();
5419
5420 wxPyEndAllowThreads(__tstate);
110da5b0 5421 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5422 }
b0f7404b 5423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
5424 return resultobj;
5425 fail:
5426 return NULL;
5427}
5428
5429
c32bde28 5430static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5431 PyObject *resultobj;
5432 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5433 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5434 int arg3 = (int) -1 ;
d55e5bfc
RD
5435 long arg4 = (long) wxST_SIZEGRIP ;
5436 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5437 wxString *arg5 = (wxString *) &arg5_defvalue ;
5438 bool result;
ae8162c8 5439 bool temp5 = false ;
d55e5bfc
RD
5440 PyObject * obj0 = 0 ;
5441 PyObject * obj1 = 0 ;
5442 PyObject * obj2 = 0 ;
5443 PyObject * obj3 = 0 ;
5444 PyObject * obj4 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5447 };
5448
248ed943 5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d55e5bfc
RD
5450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5454 if (obj2) {
c32bde28 5455 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
d55e5bfc 5458 if (obj3) {
c32bde28 5459 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 if (obj4) {
5463 {
5464 arg5 = wxString_in_helper(obj4);
5465 if (arg5 == NULL) SWIG_fail;
ae8162c8 5466 temp5 = true;
d55e5bfc
RD
5467 }
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 {
5477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5478 }
5479 {
5480 if (temp5)
5481 delete arg5;
5482 }
5483 return resultobj;
5484 fail:
5485 {
5486 if (temp5)
5487 delete arg5;
5488 }
5489 return NULL;
5490}
5491
5492
c32bde28 5493static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5494 PyObject *resultobj;
5495 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5496 int arg2 = (int) 1 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "number", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 if (obj1) {
c32bde28 5507 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 (arg1)->SetFieldsCount(arg2);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 Py_INCREF(Py_None); resultobj = Py_None;
5518 return resultobj;
5519 fail:
5520 return NULL;
5521}
5522
5523
c32bde28 5524static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5525 PyObject *resultobj;
5526 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5527 int result;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5539
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
c32bde28 5543 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5544 return resultobj;
5545 fail:
5546 return NULL;
5547}
5548
5549
c32bde28 5550static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5551 PyObject *resultobj;
5552 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5553 wxString *arg2 = 0 ;
5554 int arg3 = (int) 0 ;
ae8162c8 5555 bool temp2 = false ;
d55e5bfc
RD
5556 PyObject * obj0 = 0 ;
5557 PyObject * obj1 = 0 ;
5558 PyObject * obj2 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self",(char *) "text",(char *) "number", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5566 {
5567 arg2 = wxString_in_helper(obj1);
5568 if (arg2 == NULL) SWIG_fail;
ae8162c8 5569 temp2 = true;
d55e5bfc
RD
5570 }
5571 if (obj2) {
c32bde28 5572 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 {
5576 PyThreadState* __tstate = wxPyBeginAllowThreads();
5577 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5578
5579 wxPyEndAllowThreads(__tstate);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 }
5582 Py_INCREF(Py_None); resultobj = Py_None;
5583 {
5584 if (temp2)
5585 delete arg2;
5586 }
5587 return resultobj;
5588 fail:
5589 {
5590 if (temp2)
5591 delete arg2;
5592 }
5593 return NULL;
5594}
5595
5596
c32bde28 5597static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5598 PyObject *resultobj;
5599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5600 int arg2 = (int) 0 ;
5601 wxString result;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "number", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 if (obj1) {
c32bde28 5612 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 {
5623#if wxUSE_UNICODE
5624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5625#else
5626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5627#endif
5628 }
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
c32bde28 5635static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5636 PyObject *resultobj;
5637 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5638 wxString *arg2 = 0 ;
5639 int arg3 = (int) 0 ;
ae8162c8 5640 bool temp2 = false ;
d55e5bfc
RD
5641 PyObject * obj0 = 0 ;
5642 PyObject * obj1 = 0 ;
5643 PyObject * obj2 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self",(char *) "text",(char *) "number", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5651 {
5652 arg2 = wxString_in_helper(obj1);
5653 if (arg2 == NULL) SWIG_fail;
ae8162c8 5654 temp2 = true;
d55e5bfc
RD
5655 }
5656 if (obj2) {
c32bde28 5657 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 Py_INCREF(Py_None); resultobj = Py_None;
5668 {
5669 if (temp2)
5670 delete arg2;
5671 }
5672 return resultobj;
5673 fail:
5674 {
5675 if (temp2)
5676 delete arg2;
5677 }
5678 return NULL;
5679}
5680
5681
c32bde28 5682static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5683 PyObject *resultobj;
5684 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5685 int arg2 = (int) 0 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 char *kwnames[] = {
5689 (char *) "self",(char *) "number", NULL
5690 };
5691
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5695 if (obj1) {
c32bde28 5696 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 (arg1)->PopStatusText(arg2);
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 Py_INCREF(Py_None); resultobj = Py_None;
5707 return resultobj;
5708 fail:
5709 return NULL;
5710}
5711
5712
c32bde28 5713static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5714 PyObject *resultobj;
5715 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5716 int arg2 ;
5717 int *arg3 = (int *) 0 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "widths", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5727 {
5728 arg2 = PyList_Size(obj1);
5729 arg3 = int_LIST_helper(obj1);
5730 if (arg3 == NULL) SWIG_fail;
5731 }
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 {
5741 if (arg3) delete [] arg3;
5742 }
5743 return resultobj;
5744 fail:
5745 {
5746 if (arg3) delete [] arg3;
5747 }
5748 return NULL;
5749}
5750
5751
c32bde28 5752static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
5753 PyObject *resultobj;
5754 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5755 int arg2 ;
5756 int *arg3 = (int *) 0 ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char *kwnames[] = {
5760 (char *) "self",(char *) "styles", NULL
5761 };
5762
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5766 {
5767 arg2 = PyList_Size(obj1);
5768 arg3 = int_LIST_helper(obj1);
5769 if (arg3 == NULL) SWIG_fail;
5770 }
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 Py_INCREF(Py_None); resultobj = Py_None;
5779 {
5780 if (arg3) delete [] arg3;
5781 }
5782 return resultobj;
5783 fail:
5784 {
5785 if (arg3) delete [] arg3;
5786 }
5787 return NULL;
5788}
5789
5790
c32bde28 5791static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5792 PyObject *resultobj;
5793 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5794 int arg2 ;
5795 wxRect result;
5796 PyObject * obj0 = 0 ;
5797 PyObject * obj1 = 0 ;
5798 char *kwnames[] = {
5799 (char *) "self",(char *) "i", NULL
5800 };
5801
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5805 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5806 if (PyErr_Occurred()) SWIG_fail;
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = wxStatusBar_GetFieldRect(arg1,arg2);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 wxRect * resultptr;
5816 resultptr = new wxRect((wxRect &) result);
5817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5818 }
5819 return resultobj;
5820 fail:
5821 return NULL;
5822}
5823
5824
c32bde28 5825static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5826 PyObject *resultobj;
5827 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5828 int arg2 ;
5829 PyObject * obj0 = 0 ;
5830 PyObject * obj1 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self",(char *) "height", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5838 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5839 if (PyErr_Occurred()) SWIG_fail;
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 (arg1)->SetMinHeight(arg2);
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 Py_INCREF(Py_None); resultobj = Py_None;
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
c32bde28 5854static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5855 PyObject *resultobj;
5856 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5857 int result;
5858 PyObject * obj0 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
c32bde28 5873 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5874 return resultobj;
5875 fail:
5876 return NULL;
5877}
5878
5879
c32bde28 5880static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5881 PyObject *resultobj;
5882 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5883 int result;
5884 PyObject * obj0 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
c32bde28 5899 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5900 return resultobj;
5901 fail:
5902 return NULL;
5903}
5904
5905
c32bde28 5906static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
5907 PyObject *resultobj;
5908 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5909 wxVisualAttributes result;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "variant", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5916 if (obj0) {
c32bde28 5917 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 {
0439c23b 5921 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5924
5925 wxPyEndAllowThreads(__tstate);
110da5b0 5926 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5927 }
5928 {
5929 wxVisualAttributes * resultptr;
5930 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5932 }
5933 return resultobj;
5934 fail:
5935 return NULL;
5936}
5937
5938
c32bde28 5939static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5940 PyObject *obj;
5941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5942 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5943 Py_INCREF(obj);
5944 return Py_BuildValue((char *)"");
5945}
c32bde28 5946static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
5947 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5948 return 1;
5949}
5950
5951
5952static PyObject *_wrap_SplitterNameStr_get() {
5953 PyObject *pyobj;
5954
5955 {
5956#if wxUSE_UNICODE
5957 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5958#else
5959 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5960#endif
5961 }
5962 return pyobj;
5963}
5964
5965
c32bde28 5966static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5967 PyObject *resultobj;
5968 wxWindow *arg1 = (wxWindow *) 0 ;
5969 int arg2 = (int) -1 ;
5970 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5971 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5972 wxSize const &arg4_defvalue = wxDefaultSize ;
5973 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5974 long arg5 = (long) wxSP_3D ;
5975 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5976 wxString *arg6 = (wxString *) &arg6_defvalue ;
5977 wxSplitterWindow *result;
5978 wxPoint temp3 ;
5979 wxSize temp4 ;
ae8162c8 5980 bool temp6 = false ;
d55e5bfc
RD
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 PyObject * obj2 = 0 ;
5984 PyObject * obj3 = 0 ;
5985 PyObject * obj4 = 0 ;
5986 PyObject * obj5 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5994 if (obj1) {
c32bde28 5995 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 if (obj2) {
5999 {
6000 arg3 = &temp3;
6001 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6002 }
6003 }
6004 if (obj3) {
6005 {
6006 arg4 = &temp4;
6007 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6008 }
6009 }
6010 if (obj4) {
c32bde28 6011 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 if (obj5) {
6015 {
6016 arg6 = wxString_in_helper(obj5);
6017 if (arg6 == NULL) SWIG_fail;
ae8162c8 6018 temp6 = true;
d55e5bfc
RD
6019 }
6020 }
6021 {
0439c23b 6022 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6025
6026 wxPyEndAllowThreads(__tstate);
110da5b0 6027 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6028 }
6029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6030 {
6031 if (temp6)
6032 delete arg6;
6033 }
6034 return resultobj;
6035 fail:
6036 {
6037 if (temp6)
6038 delete arg6;
6039 }
6040 return NULL;
6041}
6042
6043
c32bde28 6044static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6045 PyObject *resultobj;
6046 wxSplitterWindow *result;
6047 char *kwnames[] = {
6048 NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6052 {
0439c23b 6053 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (wxSplitterWindow *)new wxSplitterWindow();
6056
6057 wxPyEndAllowThreads(__tstate);
110da5b0 6058 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6059 }
6060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6061 return resultobj;
6062 fail:
6063 return NULL;
6064}
6065
6066
c32bde28 6067static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6068 PyObject *resultobj;
6069 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6070 wxWindow *arg2 = (wxWindow *) 0 ;
6071 int arg3 = (int) -1 ;
6072 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6073 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6074 wxSize const &arg5_defvalue = wxDefaultSize ;
6075 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6076 long arg6 = (long) wxSP_3D ;
6077 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6078 wxString *arg7 = (wxString *) &arg7_defvalue ;
6079 bool result;
6080 wxPoint temp4 ;
6081 wxSize temp5 ;
ae8162c8 6082 bool temp7 = false ;
d55e5bfc
RD
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 PyObject * obj2 = 0 ;
6086 PyObject * obj3 = 0 ;
6087 PyObject * obj4 = 0 ;
6088 PyObject * obj5 = 0 ;
6089 PyObject * obj6 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6099 if (obj2) {
c32bde28 6100 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 if (obj3) {
6104 {
6105 arg4 = &temp4;
6106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6107 }
6108 }
6109 if (obj4) {
6110 {
6111 arg5 = &temp5;
6112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6113 }
6114 }
6115 if (obj5) {
c32bde28 6116 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 if (obj6) {
6120 {
6121 arg7 = wxString_in_helper(obj6);
6122 if (arg7 == NULL) SWIG_fail;
ae8162c8 6123 temp7 = true;
d55e5bfc
RD
6124 }
6125 }
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6135 }
6136 {
6137 if (temp7)
6138 delete arg7;
6139 }
6140 return resultobj;
6141 fail:
6142 {
6143 if (temp7)
6144 delete arg7;
6145 }
6146 return NULL;
6147}
6148
6149
c32bde28 6150static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6151 PyObject *resultobj;
6152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6153 wxWindow *result;
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 {
412d302d 6170 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6171 }
6172 return resultobj;
6173 fail:
6174 return NULL;
6175}
6176
6177
c32bde28 6178static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6179 PyObject *resultobj;
6180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6181 wxWindow *result;
6182 PyObject * obj0 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 {
412d302d 6198 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6199 }
6200 return resultobj;
6201 fail:
6202 return NULL;
6203}
6204
6205
c32bde28 6206static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6207 PyObject *resultobj;
6208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6209 int arg2 ;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj1 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self",(char *) "mode", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6219 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6220 if (PyErr_Occurred()) SWIG_fail;
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 (arg1)->SetSplitMode(arg2);
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 Py_INCREF(Py_None); resultobj = Py_None;
6229 return resultobj;
6230 fail:
6231 return NULL;
6232}
6233
6234
c32bde28 6235static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6236 PyObject *resultobj;
6237 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6238 int result;
6239 PyObject * obj0 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
c32bde28 6254 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6255 return resultobj;
6256 fail:
6257 return NULL;
6258}
6259
6260
c32bde28 6261static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6262 PyObject *resultobj;
6263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6264 wxWindow *arg2 = (wxWindow *) 0 ;
6265 PyObject * obj0 = 0 ;
6266 PyObject * obj1 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self",(char *) "window", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 (arg1)->Initialize(arg2);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 Py_INCREF(Py_None); resultobj = Py_None;
6284 return resultobj;
6285 fail:
6286 return NULL;
6287}
6288
6289
c32bde28 6290static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6291 PyObject *resultobj;
6292 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6293 wxWindow *arg2 = (wxWindow *) 0 ;
6294 wxWindow *arg3 = (wxWindow *) 0 ;
6295 int arg4 = (int) 0 ;
6296 bool result;
6297 PyObject * obj0 = 0 ;
6298 PyObject * obj1 = 0 ;
6299 PyObject * obj2 = 0 ;
6300 PyObject * obj3 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 if (obj3) {
c32bde28 6313 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 {
6324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6325 }
6326 return resultobj;
6327 fail:
6328 return NULL;
6329}
6330
6331
c32bde28 6332static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6333 PyObject *resultobj;
6334 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6335 wxWindow *arg2 = (wxWindow *) 0 ;
6336 wxWindow *arg3 = (wxWindow *) 0 ;
6337 int arg4 = (int) 0 ;
6338 bool result;
6339 PyObject * obj0 = 0 ;
6340 PyObject * obj1 = 0 ;
6341 PyObject * obj2 = 0 ;
6342 PyObject * obj3 = 0 ;
6343 char *kwnames[] = {
6344 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6345 };
6346
6347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6352 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6354 if (obj3) {
c32bde28 6355 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 {
6366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6367 }
6368 return resultobj;
6369 fail:
6370 return NULL;
6371}
6372
6373
c32bde28 6374static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6375 PyObject *resultobj;
6376 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6377 wxWindow *arg2 = (wxWindow *) NULL ;
6378 bool result;
6379 PyObject * obj0 = 0 ;
6380 PyObject * obj1 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self",(char *) "toRemove", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6388 if (obj1) {
6389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6391 }
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (bool)(arg1)->Unsplit(arg2);
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
6402 return resultobj;
6403 fail:
6404 return NULL;
6405}
6406
6407
c32bde28 6408static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6409 PyObject *resultobj;
6410 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6411 wxWindow *arg2 = (wxWindow *) 0 ;
6412 wxWindow *arg3 = (wxWindow *) 0 ;
6413 bool result;
6414 PyObject * obj0 = 0 ;
6415 PyObject * obj1 = 0 ;
6416 PyObject * obj2 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6426 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6437 }
6438 return resultobj;
6439 fail:
6440 return NULL;
6441}
6442
6443
c32bde28 6444static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6445 PyObject *resultobj;
6446 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6447 PyObject * obj0 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 (arg1)->UpdateSize();
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 Py_INCREF(Py_None); resultobj = Py_None;
6463 return resultobj;
6464 fail:
6465 return NULL;
6466}
6467
6468
c32bde28 6469static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6470 PyObject *resultobj;
6471 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6472 bool result;
6473 PyObject * obj0 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6490 }
6491 return resultobj;
6492 fail:
6493 return NULL;
6494}
6495
6496
c32bde28 6497static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6498 PyObject *resultobj;
6499 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6500 int arg2 ;
6501 PyObject * obj0 = 0 ;
6502 PyObject * obj1 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self",(char *) "width", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6510 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6511 if (PyErr_Occurred()) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->SetSashSize(arg2);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
6520 return resultobj;
6521 fail:
6522 return NULL;
6523}
6524
6525
c32bde28 6526static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6527 PyObject *resultobj;
6528 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6529 int arg2 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self",(char *) "width", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6539 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6540 if (PyErr_Occurred()) SWIG_fail;
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 (arg1)->SetBorderSize(arg2);
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 Py_INCREF(Py_None); resultobj = Py_None;
6549 return resultobj;
6550 fail:
6551 return NULL;
6552}
6553
6554
c32bde28 6555static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6556 PyObject *resultobj;
6557 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6558 int result;
6559 PyObject * obj0 = 0 ;
6560 char *kwnames[] = {
6561 (char *) "self", NULL
6562 };
6563
6564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
c32bde28 6574 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6575 return resultobj;
6576 fail:
6577 return NULL;
6578}
6579
6580
c32bde28 6581static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6582 PyObject *resultobj;
6583 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6584 int result;
6585 PyObject * obj0 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
c32bde28 6600 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6601 return resultobj;
6602 fail:
6603 return NULL;
6604}
6605
6606
c32bde28 6607static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6608 PyObject *resultobj;
6609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6610 int arg2 ;
ae8162c8 6611 bool arg3 = (bool) true ;
d55e5bfc
RD
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 PyObject * obj2 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "position",(char *) "redraw", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6622 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6623 if (PyErr_Occurred()) SWIG_fail;
6624 if (obj2) {
c32bde28 6625 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetSashPosition(arg2,arg3);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639}
6640
6641
c32bde28 6642static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6643 PyObject *resultobj;
6644 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6645 int result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
c32bde28 6661 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6662 return resultobj;
6663 fail:
6664 return NULL;
6665}
6666
6667
c32bde28 6668static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6669 PyObject *resultobj;
6670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6671 int arg2 ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "min", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6681 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6682 if (PyErr_Occurred()) SWIG_fail;
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SetMinimumPaneSize(arg2);
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694}
6695
6696
c32bde28 6697static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6698 PyObject *resultobj;
6699 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6700 int result;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
c32bde28 6716 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
c32bde28 6723static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6724 PyObject *resultobj;
6725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6726 int arg2 ;
6727 int arg3 ;
6728 int arg4 = (int) 5 ;
6729 bool result;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 PyObject * obj2 = 0 ;
6733 PyObject * obj3 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6741 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 6742 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6743 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6744 if (PyErr_Occurred()) SWIG_fail;
6745 if (obj3) {
c32bde28 6746 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 {
6757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6758 }
6759 return resultobj;
6760 fail:
6761 return NULL;
6762}
6763
6764
c32bde28 6765static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6766 PyObject *resultobj;
6767 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6768 PyObject * obj0 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 (arg1)->SizeWindows();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 Py_INCREF(Py_None); resultobj = Py_None;
6784 return resultobj;
6785 fail:
6786 return NULL;
6787}
6788
6789
c32bde28 6790static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6791 PyObject *resultobj;
6792 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6793 bool arg2 ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796 char *kwnames[] = {
6797 (char *) "self",(char *) "needUpdating", NULL
6798 };
6799
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6803 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
6804 if (PyErr_Occurred()) SWIG_fail;
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 (arg1)->SetNeedUpdating(arg2);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 Py_INCREF(Py_None); resultobj = Py_None;
6813 return resultobj;
6814 fail:
6815 return NULL;
6816}
6817
6818
c32bde28 6819static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6820 PyObject *resultobj;
6821 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6822 bool result;
6823 PyObject * obj0 = 0 ;
6824 char *kwnames[] = {
6825 (char *) "self", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 {
6839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6840 }
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
c32bde28 6847static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
6848 PyObject *resultobj;
6849 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6850 wxVisualAttributes result;
6851 PyObject * obj0 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "variant", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6857 if (obj0) {
c32bde28 6858 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 {
0439c23b 6862 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6865
6866 wxPyEndAllowThreads(__tstate);
110da5b0 6867 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6868 }
6869 {
6870 wxVisualAttributes * resultptr;
6871 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6873 }
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
c32bde28 6880static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6881 PyObject *obj;
6882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6883 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6884 Py_INCREF(obj);
6885 return Py_BuildValue((char *)"");
6886}
c32bde28 6887static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6888 PyObject *resultobj;
6889 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6890 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6891 wxSplitterEvent *result;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "type",(char *) "splitter", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6899 if (obj0) {
c32bde28 6900 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 if (obj1) {
6904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6906 }
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918}
6919
6920
c32bde28 6921static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6922 PyObject *resultobj;
6923 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6924 int arg2 ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 char *kwnames[] = {
6928 (char *) "self",(char *) "pos", NULL
6929 };
6930
6931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6934 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6935 if (PyErr_Occurred()) SWIG_fail;
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 (arg1)->SetSashPosition(arg2);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 Py_INCREF(Py_None); resultobj = Py_None;
6944 return resultobj;
6945 fail:
6946 return NULL;
6947}
6948
6949
c32bde28 6950static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6951 PyObject *resultobj;
6952 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6953 int result;
6954 PyObject * obj0 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
c32bde28 6969 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6970 return resultobj;
6971 fail:
6972 return NULL;
6973}
6974
6975
c32bde28 6976static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6977 PyObject *resultobj;
6978 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6979 wxWindow *result;
6980 PyObject * obj0 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 {
412d302d 6996 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6997 }
6998 return resultobj;
6999 fail:
7000 return NULL;
7001}
7002
7003
c32bde28 7004static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7005 PyObject *resultobj;
7006 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7007 int result;
7008 PyObject * obj0 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7016 {
7017 PyThreadState* __tstate = wxPyBeginAllowThreads();
7018 result = (int)((wxSplitterEvent const *)arg1)->GetX();
7019
7020 wxPyEndAllowThreads(__tstate);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
c32bde28 7023 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7024 return resultobj;
7025 fail:
7026 return NULL;
7027}
7028
7029
c32bde28 7030static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7031 PyObject *resultobj;
7032 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7033 int result;
7034 PyObject * obj0 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
c32bde28 7049 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
c32bde28 7056static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7057 PyObject *obj;
7058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7060 Py_INCREF(obj);
7061 return Py_BuildValue((char *)"");
7062}
c32bde28 7063static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
7064 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7065 return 1;
7066}
7067
7068
7069static PyObject *_wrap_SashNameStr_get() {
7070 PyObject *pyobj;
7071
7072 {
7073#if wxUSE_UNICODE
7074 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7075#else
7076 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7077#endif
7078 }
7079 return pyobj;
7080}
7081
7082
c32bde28 7083static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
7084 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7085 return 1;
7086}
7087
7088
7089static PyObject *_wrap_SashLayoutNameStr_get() {
7090 PyObject *pyobj;
7091
7092 {
7093#if wxUSE_UNICODE
7094 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7095#else
7096 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7097#endif
7098 }
7099 return pyobj;
7100}
7101
7102
c32bde28 7103static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7104 PyObject *resultobj;
7105 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7106 int arg2 = (int) -1 ;
d55e5bfc
RD
7107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7109 wxSize const &arg4_defvalue = wxDefaultSize ;
7110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7111 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7112 wxString const &arg6_defvalue = wxPySashNameStr ;
7113 wxString *arg6 = (wxString *) &arg6_defvalue ;
7114 wxSashWindow *result;
7115 wxPoint temp3 ;
7116 wxSize temp4 ;
ae8162c8 7117 bool temp6 = false ;
d55e5bfc
RD
7118 PyObject * obj0 = 0 ;
7119 PyObject * obj1 = 0 ;
7120 PyObject * obj2 = 0 ;
7121 PyObject * obj3 = 0 ;
7122 PyObject * obj4 = 0 ;
7123 PyObject * obj5 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7126 };
7127
248ed943 7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
7129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7131 if (obj1) {
c32bde28 7132 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
d55e5bfc
RD
7135 if (obj2) {
7136 {
7137 arg3 = &temp3;
7138 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7139 }
7140 }
7141 if (obj3) {
7142 {
7143 arg4 = &temp4;
7144 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7145 }
7146 }
7147 if (obj4) {
c32bde28 7148 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 if (obj5) {
7152 {
7153 arg6 = wxString_in_helper(obj5);
7154 if (arg6 == NULL) SWIG_fail;
ae8162c8 7155 temp6 = true;
d55e5bfc
RD
7156 }
7157 }
7158 {
0439c23b 7159 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7162
7163 wxPyEndAllowThreads(__tstate);
110da5b0 7164 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7165 }
7166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7167 {
7168 if (temp6)
7169 delete arg6;
7170 }
7171 return resultobj;
7172 fail:
7173 {
7174 if (temp6)
7175 delete arg6;
7176 }
7177 return NULL;
7178}
7179
7180
c32bde28 7181static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7182 PyObject *resultobj;
7183 wxSashWindow *result;
7184 char *kwnames[] = {
7185 NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7189 {
0439c23b 7190 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (wxSashWindow *)new wxSashWindow();
7193
7194 wxPyEndAllowThreads(__tstate);
110da5b0 7195 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7196 }
7197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7198 return resultobj;
7199 fail:
7200 return NULL;
7201}
7202
7203
c32bde28 7204static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7205 PyObject *resultobj;
7206 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7207 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7208 int arg3 = (int) -1 ;
d55e5bfc
RD
7209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7211 wxSize const &arg5_defvalue = wxDefaultSize ;
7212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7213 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7214 wxString const &arg7_defvalue = wxPySashNameStr ;
7215 wxString *arg7 = (wxString *) &arg7_defvalue ;
7216 bool result;
7217 wxPoint temp4 ;
7218 wxSize temp5 ;
ae8162c8 7219 bool temp7 = false ;
d55e5bfc
RD
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 PyObject * obj2 = 0 ;
7223 PyObject * obj3 = 0 ;
7224 PyObject * obj4 = 0 ;
7225 PyObject * obj5 = 0 ;
7226 PyObject * obj6 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7229 };
7230
248ed943 7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
7232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7236 if (obj2) {
c32bde28 7237 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
d55e5bfc
RD
7240 if (obj3) {
7241 {
7242 arg4 = &temp4;
7243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7244 }
7245 }
7246 if (obj4) {
7247 {
7248 arg5 = &temp5;
7249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7250 }
7251 }
7252 if (obj5) {
c32bde28 7253 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 if (obj6) {
7257 {
7258 arg7 = wxString_in_helper(obj6);
7259 if (arg7 == NULL) SWIG_fail;
ae8162c8 7260 temp7 = true;
d55e5bfc
RD
7261 }
7262 }
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 {
7271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7272 }
7273 {
7274 if (temp7)
7275 delete arg7;
7276 }
7277 return resultobj;
7278 fail:
7279 {
7280 if (temp7)
7281 delete arg7;
7282 }
7283 return NULL;
7284}
7285
7286
c32bde28 7287static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7288 PyObject *resultobj;
7289 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7290 int arg2 ;
7291 bool arg3 ;
7292 PyObject * obj0 = 0 ;
7293 PyObject * obj1 = 0 ;
7294 PyObject * obj2 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "self",(char *) "edge",(char *) "sash", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7302 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7303 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7304 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7305 if (PyErr_Occurred()) SWIG_fail;
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 Py_INCREF(Py_None); resultobj = Py_None;
7314 return resultobj;
7315 fail:
7316 return NULL;
7317}
7318
7319
c32bde28 7320static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7321 PyObject *resultobj;
7322 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7323 int arg2 ;
7324 bool result;
7325 PyObject * obj0 = 0 ;
7326 PyObject * obj1 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self",(char *) "edge", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7334 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7335 if (PyErr_Occurred()) SWIG_fail;
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 {
7344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7345 }
7346 return resultobj;
7347 fail:
7348 return NULL;
7349}
7350
7351
c32bde28 7352static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7353 PyObject *resultobj;
7354 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7355 int arg2 ;
7356 bool arg3 ;
7357 PyObject * obj0 = 0 ;
7358 PyObject * obj1 = 0 ;
7359 PyObject * obj2 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self",(char *) "edge",(char *) "border", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7367 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7368 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7369 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7370 if (PyErr_Occurred()) SWIG_fail;
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 Py_INCREF(Py_None); resultobj = Py_None;
7379 return resultobj;
7380 fail:
7381 return NULL;
7382}
7383
7384
c32bde28 7385static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7386 PyObject *resultobj;
7387 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7388 int arg2 ;
7389 bool result;
7390 PyObject * obj0 = 0 ;
7391 PyObject * obj1 = 0 ;
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "edge", NULL
7394 };
7395
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7399 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7400 if (PyErr_Occurred()) SWIG_fail;
7401 {
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7404
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 {
7409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7410 }
7411 return resultobj;
7412 fail:
7413 return NULL;
7414}
7415
7416
c32bde28 7417static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7418 PyObject *resultobj;
7419 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7420 int arg2 ;
7421 int result;
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self",(char *) "edge", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7431 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7432 if (PyErr_Occurred()) SWIG_fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
c32bde28 7440 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7441 return resultobj;
7442 fail:
7443 return NULL;
7444}
7445
7446
c32bde28 7447static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7448 PyObject *resultobj;
7449 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7450 int arg2 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "width", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7460 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7461 if (PyErr_Occurred()) SWIG_fail;
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->SetDefaultBorderSize(arg2);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 return resultobj;
7471 fail:
7472 return NULL;
7473}
7474
7475
c32bde28 7476static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7477 PyObject *resultobj;
7478 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7479 int result;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
c32bde28 7495 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7496 return resultobj;
7497 fail:
7498 return NULL;
7499}
7500
7501
c32bde28 7502static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7503 PyObject *resultobj;
7504 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7505 int arg2 ;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self",(char *) "width", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7515 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7516 if (PyErr_Occurred()) SWIG_fail;
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 (arg1)->SetExtraBorderSize(arg2);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 Py_INCREF(Py_None); resultobj = Py_None;
7525 return resultobj;
7526 fail:
7527 return NULL;
7528}
7529
7530
c32bde28 7531static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7532 PyObject *resultobj;
7533 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7534 int result;
7535 PyObject * obj0 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
c32bde28 7550 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7551 return resultobj;
7552 fail:
7553 return NULL;
7554}
7555
7556
c32bde28 7557static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7558 PyObject *resultobj;
7559 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7560 int arg2 ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "min", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7570 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7571 if (PyErr_Occurred()) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->SetMinimumSizeX(arg2);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
c32bde28 7586static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7587 PyObject *resultobj;
7588 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7589 int arg2 ;
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj1 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self",(char *) "min", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7599 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7600 if (PyErr_Occurred()) SWIG_fail;
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetMinimumSizeY(arg2);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 Py_INCREF(Py_None); resultobj = Py_None;
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
c32bde28 7615static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7616 PyObject *resultobj;
7617 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7618 int result;
7619 PyObject * obj0 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
c32bde28 7634 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
c32bde28 7641static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7642 PyObject *resultobj;
7643 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7644 int result;
7645 PyObject * obj0 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
c32bde28 7660 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7661 return resultobj;
7662 fail:
7663 return NULL;
7664}
7665
7666
c32bde28 7667static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7668 PyObject *resultobj;
7669 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7670 int arg2 ;
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self",(char *) "max", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7680 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7681 if (PyErr_Occurred()) SWIG_fail;
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->SetMaximumSizeX(arg2);
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 Py_INCREF(Py_None); resultobj = Py_None;
7690 return resultobj;
7691 fail:
7692 return NULL;
7693}
7694
7695
c32bde28 7696static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7697 PyObject *resultobj;
7698 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7699 int arg2 ;
7700 PyObject * obj0 = 0 ;
7701 PyObject * obj1 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self",(char *) "max", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7709 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7710 if (PyErr_Occurred()) SWIG_fail;
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 (arg1)->SetMaximumSizeY(arg2);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 Py_INCREF(Py_None); resultobj = Py_None;
7719 return resultobj;
7720 fail:
7721 return NULL;
7722}
7723
7724
c32bde28 7725static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7726 PyObject *resultobj;
7727 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7728 int result;
7729 PyObject * obj0 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
c32bde28 7744 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7745 return resultobj;
7746 fail:
7747 return NULL;
7748}
7749
7750
c32bde28 7751static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7752 PyObject *resultobj;
7753 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7754 int result;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
c32bde28 7770 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7771 return resultobj;
7772 fail:
7773 return NULL;
7774}
7775
7776
c32bde28 7777static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7778 PyObject *resultobj;
7779 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7780 int arg2 ;
7781 int arg3 ;
7782 int arg4 = (int) 2 ;
7783 int result;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 PyObject * obj2 = 0 ;
7787 PyObject * obj3 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7795 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7796 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7797 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7798 if (PyErr_Occurred()) SWIG_fail;
7799 if (obj3) {
c32bde28 7800 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
c32bde28 7810 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7811 return resultobj;
7812 fail:
7813 return NULL;
7814}
7815
7816
c32bde28 7817static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7818 PyObject *resultobj;
7819 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7820 PyObject * obj0 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 (arg1)->SizeWindows();
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 Py_INCREF(Py_None); resultobj = Py_None;
7836 return resultobj;
7837 fail:
7838 return NULL;
7839}
7840
7841
c32bde28 7842static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7843 PyObject *obj;
7844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7845 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7846 Py_INCREF(obj);
7847 return Py_BuildValue((char *)"");
7848}
c32bde28 7849static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7850 PyObject *resultobj;
7851 int arg1 = (int) 0 ;
7852 int arg2 = (int) wxSASH_NONE ;
7853 wxSashEvent *result;
7854 PyObject * obj0 = 0 ;
7855 PyObject * obj1 = 0 ;
7856 char *kwnames[] = {
7857 (char *) "id",(char *) "edge", NULL
7858 };
7859
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7861 if (obj0) {
c32bde28 7862 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 if (obj1) {
c32bde28 7866 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880}
7881
7882
c32bde28 7883static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7884 PyObject *resultobj;
7885 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7886 int arg2 ;
7887 PyObject * obj0 = 0 ;
7888 PyObject * obj1 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self",(char *) "edge", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7896 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7897 if (PyErr_Occurred()) SWIG_fail;
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 Py_INCREF(Py_None); resultobj = Py_None;
7906 return resultobj;
7907 fail:
7908 return NULL;
7909}
7910
7911
c32bde28 7912static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7913 PyObject *resultobj;
7914 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7915 int result;
7916 PyObject * obj0 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
c32bde28 7931 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7932 return resultobj;
7933 fail:
7934 return NULL;
7935}
7936
7937
c32bde28 7938static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7939 PyObject *resultobj;
7940 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7941 wxRect *arg2 = 0 ;
7942 wxRect temp2 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self",(char *) "rect", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7952 {
7953 arg2 = &temp2;
7954 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7955 }
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 (arg1)->SetDragRect((wxRect const &)*arg2);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
c32bde28 7970static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7971 PyObject *resultobj;
7972 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7973 wxRect result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = ((wxSashEvent const *)arg1)->GetDragRect();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 {
7990 wxRect * resultptr;
7991 resultptr = new wxRect((wxRect &) result);
7992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7993 }
7994 return resultobj;
7995 fail:
7996 return NULL;
7997}
7998
7999
c32bde28 8000static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8001 PyObject *resultobj;
8002 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8003 int arg2 ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "status", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8013 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8014 if (PyErr_Occurred()) SWIG_fail;
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 return resultobj;
8024 fail:
8025 return NULL;
8026}
8027
8028
c32bde28 8029static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8030 PyObject *resultobj;
8031 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8032 int result;
8033 PyObject * obj0 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
8039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
c32bde28 8048 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8049 return resultobj;
8050 fail:
8051 return NULL;
8052}
8053
8054
c32bde28 8055static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8056 PyObject *obj;
8057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8058 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8059 Py_INCREF(obj);
8060 return Py_BuildValue((char *)"");
8061}
c32bde28 8062static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8063 PyObject *resultobj;
8064 int arg1 = (int) 0 ;
8065 wxQueryLayoutInfoEvent *result;
8066 PyObject * obj0 = 0 ;
8067 char *kwnames[] = {
8068 (char *) "id", NULL
8069 };
8070
8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8072 if (obj0) {
c32bde28 8073 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 {
8077 PyThreadState* __tstate = wxPyBeginAllowThreads();
8078 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8079
8080 wxPyEndAllowThreads(__tstate);
8081 if (PyErr_Occurred()) SWIG_fail;
8082 }
8083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8084 return resultobj;
8085 fail:
8086 return NULL;
8087}
8088
8089
c32bde28 8090static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8091 PyObject *resultobj;
8092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8093 int arg2 ;
8094 PyObject * obj0 = 0 ;
8095 PyObject * obj1 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "self",(char *) "length", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8103 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8104 if (PyErr_Occurred()) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 (arg1)->SetRequestedLength(arg2);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 return resultobj;
8114 fail:
8115 return NULL;
8116}
8117
8118
c32bde28 8119static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8120 PyObject *resultobj;
8121 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8122 int result;
8123 PyObject * obj0 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
c32bde28 8138 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8139 return resultobj;
8140 fail:
8141 return NULL;
8142}
8143
8144
c32bde28 8145static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8146 PyObject *resultobj;
8147 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8148 int arg2 ;
8149 PyObject * obj0 = 0 ;
8150 PyObject * obj1 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self",(char *) "flags", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8158 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8159 if (PyErr_Occurred()) SWIG_fail;
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 (arg1)->SetFlags(arg2);
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 Py_INCREF(Py_None); resultobj = Py_None;
8168 return resultobj;
8169 fail:
8170 return NULL;
8171}
8172
8173
c32bde28 8174static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8175 PyObject *resultobj;
8176 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8177 int result;
8178 PyObject * obj0 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
c32bde28 8193 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8194 return resultobj;
8195 fail:
8196 return NULL;
8197}
8198
8199
c32bde28 8200static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8201 PyObject *resultobj;
8202 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8203 wxSize *arg2 = 0 ;
8204 wxSize temp2 ;
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self",(char *) "size", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8214 {
8215 arg2 = &temp2;
8216 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8217 }
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 (arg1)->SetSize((wxSize const &)*arg2);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229}
8230
8231
c32bde28 8232static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8233 PyObject *resultobj;
8234 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8235 wxSize result;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 {
8252 wxSize * resultptr;
8253 resultptr = new wxSize((wxSize &) result);
8254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8255 }
8256 return resultobj;
8257 fail:
8258 return NULL;
8259}
8260
8261
c32bde28 8262static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8263 PyObject *resultobj;
8264 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8265 int arg2 ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 char *kwnames[] = {
8269 (char *) "self",(char *) "orient", NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8275 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8276 if (PyErr_Occurred()) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 Py_INCREF(Py_None); resultobj = Py_None;
8285 return resultobj;
8286 fail:
8287 return NULL;
8288}
8289
8290
c32bde28 8291static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8292 PyObject *resultobj;
8293 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8294 int result;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8306
8307 wxPyEndAllowThreads(__tstate);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
c32bde28 8310 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8311 return resultobj;
8312 fail:
8313 return NULL;
8314}
8315
8316
c32bde28 8317static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8318 PyObject *resultobj;
8319 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8320 int arg2 ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 char *kwnames[] = {
8324 (char *) "self",(char *) "align", NULL
8325 };
8326
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8330 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8331 if (PyErr_Occurred()) SWIG_fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 Py_INCREF(Py_None); resultobj = Py_None;
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
c32bde28 8346static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8347 PyObject *resultobj;
8348 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8349 int result;
8350 PyObject * obj0 = 0 ;
8351 char *kwnames[] = {
8352 (char *) "self", NULL
8353 };
8354
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
c32bde28 8365 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8366 return resultobj;
8367 fail:
8368 return NULL;
8369}
8370
8371
c32bde28 8372static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8373 PyObject *obj;
8374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8375 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8376 Py_INCREF(obj);
8377 return Py_BuildValue((char *)"");
8378}
c32bde28 8379static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8380 PyObject *resultobj;
8381 int arg1 = (int) 0 ;
8382 wxCalculateLayoutEvent *result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "id", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8389 if (obj0) {
c32bde28 8390 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
c32bde28 8407static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8408 PyObject *resultobj;
8409 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8410 int arg2 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "flags", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8420 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8421 if (PyErr_Occurred()) SWIG_fail;
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 (arg1)->SetFlags(arg2);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 Py_INCREF(Py_None); resultobj = Py_None;
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
c32bde28 8436static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8437 PyObject *resultobj;
8438 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8439 int result;
8440 PyObject * obj0 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
c32bde28 8455 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
c32bde28 8462static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8463 PyObject *resultobj;
8464 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8465 wxRect *arg2 = 0 ;
8466 wxRect temp2 ;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self",(char *) "rect", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8476 {
8477 arg2 = &temp2;
8478 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8479 }
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 (arg1)->SetRect((wxRect const &)*arg2);
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 Py_INCREF(Py_None); resultobj = Py_None;
8488 return resultobj;
8489 fail:
8490 return NULL;
8491}
8492
8493
c32bde28 8494static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8495 PyObject *resultobj;
8496 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8497 wxRect result;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
8514 wxRect * resultptr;
8515 resultptr = new wxRect((wxRect &) result);
8516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8517 }
8518 return resultobj;
8519 fail:
8520 return NULL;
8521}
8522
8523
c32bde28 8524static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8525 PyObject *obj;
8526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8527 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8528 Py_INCREF(obj);
8529 return Py_BuildValue((char *)"");
8530}
c32bde28 8531static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8532 PyObject *resultobj;
8533 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8534 int arg2 = (int) -1 ;
d55e5bfc
RD
8535 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8536 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8537 wxSize const &arg4_defvalue = wxDefaultSize ;
8538 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8539 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8540 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8541 wxString *arg6 = (wxString *) &arg6_defvalue ;
8542 wxSashLayoutWindow *result;
8543 wxPoint temp3 ;
8544 wxSize temp4 ;
ae8162c8 8545 bool temp6 = false ;
d55e5bfc
RD
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 PyObject * obj2 = 0 ;
8549 PyObject * obj3 = 0 ;
8550 PyObject * obj4 = 0 ;
8551 PyObject * obj5 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8554 };
8555
248ed943 8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
8557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8559 if (obj1) {
c32bde28 8560 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
d55e5bfc
RD
8563 if (obj2) {
8564 {
8565 arg3 = &temp3;
8566 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8567 }
8568 }
8569 if (obj3) {
8570 {
8571 arg4 = &temp4;
8572 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8573 }
8574 }
8575 if (obj4) {
c32bde28 8576 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 if (obj5) {
8580 {
8581 arg6 = wxString_in_helper(obj5);
8582 if (arg6 == NULL) SWIG_fail;
ae8162c8 8583 temp6 = true;
d55e5bfc
RD
8584 }
8585 }
8586 {
0439c23b 8587 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8590
8591 wxPyEndAllowThreads(__tstate);
110da5b0 8592 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8593 }
8594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8595 {
8596 if (temp6)
8597 delete arg6;
8598 }
8599 return resultobj;
8600 fail:
8601 {
8602 if (temp6)
8603 delete arg6;
8604 }
8605 return NULL;
8606}
8607
8608
c32bde28 8609static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8610 PyObject *resultobj;
8611 wxSashLayoutWindow *result;
8612 char *kwnames[] = {
8613 NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8617 {
0439c23b 8618 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8621
8622 wxPyEndAllowThreads(__tstate);
110da5b0 8623 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8624 }
8625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8626 return resultobj;
8627 fail:
8628 return NULL;
8629}
8630
8631
c32bde28 8632static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8633 PyObject *resultobj;
8634 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8635 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8636 int arg3 = (int) -1 ;
d55e5bfc
RD
8637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8639 wxSize const &arg5_defvalue = wxDefaultSize ;
8640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8641 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8642 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8643 wxString *arg7 = (wxString *) &arg7_defvalue ;
8644 bool result;
8645 wxPoint temp4 ;
8646 wxSize temp5 ;
ae8162c8 8647 bool temp7 = false ;
d55e5bfc
RD
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650 PyObject * obj2 = 0 ;
8651 PyObject * obj3 = 0 ;
8652 PyObject * obj4 = 0 ;
8653 PyObject * obj5 = 0 ;
8654 PyObject * obj6 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8657 };
8658
248ed943 8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
8660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8664 if (obj2) {
c32bde28 8665 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
d55e5bfc
RD
8668 if (obj3) {
8669 {
8670 arg4 = &temp4;
8671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8672 }
8673 }
8674 if (obj4) {
8675 {
8676 arg5 = &temp5;
8677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8678 }
8679 }
8680 if (obj5) {
c32bde28 8681 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 if (obj6) {
8685 {
8686 arg7 = wxString_in_helper(obj6);
8687 if (arg7 == NULL) SWIG_fail;
ae8162c8 8688 temp7 = true;
d55e5bfc
RD
8689 }
8690 }
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 {
8699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8700 }
8701 {
8702 if (temp7)
8703 delete arg7;
8704 }
8705 return resultobj;
8706 fail:
8707 {
8708 if (temp7)
8709 delete arg7;
8710 }
8711 return NULL;
8712}
8713
8714
c32bde28 8715static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8716 PyObject *resultobj;
8717 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8718 int result;
8719 PyObject * obj0 = 0 ;
8720 char *kwnames[] = {
8721 (char *) "self", NULL
8722 };
8723
8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 result = (int)(arg1)->GetAlignment();
8730
8731 wxPyEndAllowThreads(__tstate);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 }
c32bde28 8734 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8735 return resultobj;
8736 fail:
8737 return NULL;
8738}
8739
8740
c32bde28 8741static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8742 PyObject *resultobj;
8743 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8744 int result;
8745 PyObject * obj0 = 0 ;
8746 char *kwnames[] = {
8747 (char *) "self", NULL
8748 };
8749
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (int)(arg1)->GetOrientation();
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
c32bde28 8760 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8761 return resultobj;
8762 fail:
8763 return NULL;
8764}
8765
8766
c32bde28 8767static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8768 PyObject *resultobj;
8769 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8770 int arg2 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj1 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self",(char *) "alignment", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8780 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8781 if (PyErr_Occurred()) SWIG_fail;
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 return resultobj;
8791 fail:
8792 return NULL;
8793}
8794
8795
c32bde28 8796static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8797 PyObject *resultobj;
8798 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8799 wxSize *arg2 = 0 ;
8800 wxSize temp2 ;
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "size", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8810 {
8811 arg2 = &temp2;
8812 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8813 }
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
c32bde28 8828static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8829 PyObject *resultobj;
8830 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8831 int arg2 ;
8832 PyObject * obj0 = 0 ;
8833 PyObject * obj1 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "orientation", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8841 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8842 if (PyErr_Occurred()) SWIG_fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 Py_INCREF(Py_None); resultobj = Py_None;
8851 return resultobj;
8852 fail:
8853 return NULL;
8854}
8855
8856
c32bde28 8857static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8858 PyObject *obj;
8859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8860 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8861 Py_INCREF(obj);
8862 return Py_BuildValue((char *)"");
8863}
c32bde28 8864static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8865 PyObject *resultobj;
8866 wxLayoutAlgorithm *result;
8867 char *kwnames[] = {
8868 NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8880 return resultobj;
8881 fail:
8882 return NULL;
8883}
8884
8885
c32bde28 8886static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8887 PyObject *resultobj;
8888 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 delete arg1;
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 Py_INCREF(Py_None); resultobj = Py_None;
8905 return resultobj;
8906 fail:
8907 return NULL;
8908}
8909
8910
c32bde28 8911static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8912 PyObject *resultobj;
8913 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8914 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8915 wxRect *arg3 = (wxRect *) NULL ;
8916 bool result;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 PyObject * obj2 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self",(char *) "frame",(char *) "rect", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 if (obj2) {
8930 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8932 }
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 {
8941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8942 }
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
c32bde28 8949static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8950 PyObject *resultobj;
8951 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8952 wxFrame *arg2 = (wxFrame *) 0 ;
8953 wxWindow *arg3 = (wxWindow *) NULL ;
8954 bool result;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 PyObject * obj2 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8967 if (obj2) {
8968 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 {
8979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8980 }
8981 return resultobj;
8982 fail:
8983 return NULL;
8984}
8985
8986
c32bde28 8987static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8988 PyObject *resultobj;
8989 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8990 wxWindow *arg2 = (wxWindow *) 0 ;
8991 wxWindow *arg3 = (wxWindow *) NULL ;
8992 bool result;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 PyObject * obj2 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9005 if (obj2) {
9006 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 {
9017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9018 }
9019 return resultobj;
9020 fail:
9021 return NULL;
9022}
9023
9024
c32bde28 9025static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9026 PyObject *obj;
9027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9028 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
9029 Py_INCREF(obj);
9030 return Py_BuildValue((char *)"");
9031}
c32bde28 9032static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9033 PyObject *resultobj;
9034 wxWindow *arg1 = (wxWindow *) 0 ;
9035 int arg2 = (int) wxBORDER_NONE ;
9036 wxPopupWindow *result;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "parent",(char *) "flags", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 if (obj1) {
c32bde28 9047 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 {
0439c23b 9051 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9054
9055 wxPyEndAllowThreads(__tstate);
110da5b0 9056 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9057 }
9058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9059 return resultobj;
9060 fail:
9061 return NULL;
9062}
9063
9064
c32bde28 9065static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9066 PyObject *resultobj;
9067 wxPopupWindow *result;
9068 char *kwnames[] = {
9069 NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9073 {
0439c23b 9074 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (wxPopupWindow *)new wxPopupWindow();
9077
9078 wxPyEndAllowThreads(__tstate);
110da5b0 9079 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9080 }
9081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9082 return resultobj;
9083 fail:
9084 return NULL;
9085}
9086
9087
c32bde28 9088static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9089 PyObject *resultobj;
9090 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9091 wxWindow *arg2 = (wxWindow *) 0 ;
9092 int arg3 = (int) wxBORDER_NONE ;
9093 bool result;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 PyObject * obj2 = 0 ;
9097 char *kwnames[] = {
9098 (char *) "self",(char *) "parent",(char *) "flags", NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 if (obj2) {
c32bde28 9107 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)(arg1)->Create(arg2,arg3);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 return resultobj;
9121 fail:
9122 return NULL;
9123}
9124
9125
c32bde28 9126static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9127 PyObject *resultobj;
9128 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9129 wxPoint *arg2 = 0 ;
9130 wxSize *arg3 = 0 ;
9131 wxPoint temp2 ;
9132 wxSize temp3 ;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 PyObject * obj2 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9143 {
9144 arg2 = &temp2;
9145 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9146 }
9147 {
9148 arg3 = &temp3;
9149 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 Py_INCREF(Py_None); resultobj = Py_None;
9159 return resultobj;
9160 fail:
9161 return NULL;
9162}
9163
9164
c32bde28 9165static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9166 PyObject *obj;
9167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9168 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9169 Py_INCREF(obj);
9170 return Py_BuildValue((char *)"");
9171}
c32bde28 9172static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9173 PyObject *resultobj;
9174 wxWindow *arg1 = (wxWindow *) 0 ;
9175 int arg2 = (int) wxBORDER_NONE ;
9176 wxPyPopupTransientWindow *result;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "parent",(char *) "style", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9186 if (obj1) {
c32bde28 9187 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 {
0439c23b 9191 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9194
9195 wxPyEndAllowThreads(__tstate);
110da5b0 9196 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9197 }
9198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9199 return resultobj;
9200 fail:
9201 return NULL;
9202}
9203
9204
c32bde28 9205static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9206 PyObject *resultobj;
9207 wxPyPopupTransientWindow *result;
9208 char *kwnames[] = {
9209 NULL
9210 };
9211
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9213 {
0439c23b 9214 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9217
9218 wxPyEndAllowThreads(__tstate);
110da5b0 9219 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9220 }
9221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9222 return resultobj;
9223 fail:
9224 return NULL;
9225}
9226
9227
c32bde28 9228static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9229 PyObject *resultobj;
9230 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9231 PyObject *arg2 = (PyObject *) 0 ;
9232 PyObject *arg3 = (PyObject *) 0 ;
9233 PyObject * obj0 = 0 ;
9234 PyObject * obj1 = 0 ;
9235 PyObject * obj2 = 0 ;
9236 char *kwnames[] = {
9237 (char *) "self",(char *) "self",(char *) "_class", NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9243 arg2 = obj1;
9244 arg3 = obj2;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 (arg1)->_setCallbackInfo(arg2,arg3);
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 Py_INCREF(Py_None); resultobj = Py_None;
9253 return resultobj;
9254 fail:
9255 return NULL;
9256}
9257
9258
c32bde28 9259static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9260 PyObject *resultobj;
9261 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9262 wxWindow *arg2 = (wxWindow *) NULL ;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj1 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self",(char *) "focus", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 if (obj1) {
9273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9275 }
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 (arg1)->Popup(arg2);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 return resultobj;
9285 fail:
9286 return NULL;
9287}
9288
9289
c32bde28 9290static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9291 PyObject *resultobj;
9292 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9293 PyObject * obj0 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 (arg1)->Dismiss();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 Py_INCREF(Py_None); resultobj = Py_None;
9309 return resultobj;
9310 fail:
9311 return NULL;
9312}
9313
9314
c32bde28 9315static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9316 PyObject *obj;
9317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9318 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9319 Py_INCREF(obj);
9320 return Py_BuildValue((char *)"");
9321}
c32bde28 9322static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9323 PyObject *resultobj;
9324 wxWindow *arg1 = (wxWindow *) 0 ;
9325 wxString *arg2 = 0 ;
9326 int arg3 = (int) 100 ;
9327 wxRect *arg4 = (wxRect *) NULL ;
9328 wxTipWindow *result;
ae8162c8 9329 bool temp2 = false ;
d55e5bfc
RD
9330 PyObject * obj0 = 0 ;
9331 PyObject * obj1 = 0 ;
9332 PyObject * obj2 = 0 ;
9333 PyObject * obj3 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 {
9342 arg2 = wxString_in_helper(obj1);
9343 if (arg2 == NULL) SWIG_fail;
ae8162c8 9344 temp2 = true;
d55e5bfc
RD
9345 }
9346 if (obj2) {
c32bde28 9347 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 if (obj3) {
9351 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9353 }
9354 {
0439c23b 9355 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9358
9359 wxPyEndAllowThreads(__tstate);
110da5b0 9360 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9361 }
9362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9363 {
9364 if (temp2)
9365 delete arg2;
9366 }
9367 return resultobj;
9368 fail:
9369 {
9370 if (temp2)
9371 delete arg2;
9372 }
9373 return NULL;
9374}
9375
9376
c32bde28 9377static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9378 PyObject *resultobj;
9379 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9380 wxRect *arg2 = 0 ;
9381 wxRect temp2 ;
9382 PyObject * obj0 = 0 ;
9383 PyObject * obj1 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self",(char *) "rectBound", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9391 {
9392 arg2 = &temp2;
9393 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 Py_INCREF(Py_None); resultobj = Py_None;
9403 return resultobj;
9404 fail:
9405 return NULL;
9406}
9407
9408
c32bde28 9409static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9410 PyObject *resultobj;
9411 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9412 PyObject * obj0 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 (arg1)->Close();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 Py_INCREF(Py_None); resultobj = Py_None;
9428 return resultobj;
9429 fail:
9430 return NULL;
9431}
9432
9433
c32bde28 9434static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9435 PyObject *obj;
9436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9437 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9438 Py_INCREF(obj);
9439 return Py_BuildValue((char *)"");
9440}
c32bde28 9441static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9442 PyObject *resultobj;
9443 wxWindow *arg1 = (wxWindow *) 0 ;
9444 int arg2 = (int) wxID_ANY ;
9445 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9446 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9447 wxSize const &arg4_defvalue = wxDefaultSize ;
9448 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9449 long arg5 = (long) 0 ;
9450 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9451 wxString *arg6 = (wxString *) &arg6_defvalue ;
9452 wxPyVScrolledWindow *result;
9453 wxPoint temp3 ;
9454 wxSize temp4 ;
ae8162c8 9455 bool temp6 = false ;
d55e5bfc
RD
9456 PyObject * obj0 = 0 ;
9457 PyObject * obj1 = 0 ;
9458 PyObject * obj2 = 0 ;
9459 PyObject * obj3 = 0 ;
9460 PyObject * obj4 = 0 ;
9461 PyObject * obj5 = 0 ;
9462 char *kwnames[] = {
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9464 };
9465
9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9469 if (obj1) {
c32bde28 9470 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 if (obj2) {
9474 {
9475 arg3 = &temp3;
9476 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9477 }
9478 }
9479 if (obj3) {
9480 {
9481 arg4 = &temp4;
9482 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9483 }
9484 }
9485 if (obj4) {
c32bde28 9486 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 if (obj5) {
9490 {
9491 arg6 = wxString_in_helper(obj5);
9492 if (arg6 == NULL) SWIG_fail;
ae8162c8 9493 temp6 = true;
d55e5bfc
RD
9494 }
9495 }
9496 {
0439c23b 9497 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9500
9501 wxPyEndAllowThreads(__tstate);
110da5b0 9502 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9503 }
9504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9505 {
9506 if (temp6)
9507 delete arg6;
9508 }
9509 return resultobj;
9510 fail:
9511 {
9512 if (temp6)
9513 delete arg6;
9514 }
9515 return NULL;
9516}
9517
9518
c32bde28 9519static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9520 PyObject *resultobj;
9521 wxPyVScrolledWindow *result;
9522 char *kwnames[] = {
9523 NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9527 {
0439c23b 9528 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9531
9532 wxPyEndAllowThreads(__tstate);
110da5b0 9533 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9534 }
9535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9536 return resultobj;
9537 fail:
9538 return NULL;
9539}
9540
9541
c32bde28 9542static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9543 PyObject *resultobj;
9544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9545 PyObject *arg2 = (PyObject *) 0 ;
9546 PyObject *arg3 = (PyObject *) 0 ;
9547 PyObject * obj0 = 0 ;
9548 PyObject * obj1 = 0 ;
9549 PyObject * obj2 = 0 ;
9550 char *kwnames[] = {
9551 (char *) "self",(char *) "self",(char *) "_class", NULL
9552 };
9553
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9557 arg2 = obj1;
9558 arg3 = obj2;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 (arg1)->_setCallbackInfo(arg2,arg3);
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 Py_INCREF(Py_None); resultobj = Py_None;
9567 return resultobj;
9568 fail:
9569 return NULL;
9570}
9571
9572
c32bde28 9573static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9574 PyObject *resultobj;
9575 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9576 wxWindow *arg2 = (wxWindow *) 0 ;
9577 int arg3 = (int) wxID_ANY ;
9578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9580 wxSize const &arg5_defvalue = wxDefaultSize ;
9581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9582 long arg6 = (long) 0 ;
9583 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9584 wxString *arg7 = (wxString *) &arg7_defvalue ;
9585 bool result;
9586 wxPoint temp4 ;
9587 wxSize temp5 ;
ae8162c8 9588 bool temp7 = false ;
d55e5bfc
RD
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj1 = 0 ;
9591 PyObject * obj2 = 0 ;
9592 PyObject * obj3 = 0 ;
9593 PyObject * obj4 = 0 ;
9594 PyObject * obj5 = 0 ;
9595 PyObject * obj6 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9605 if (obj2) {
c32bde28 9606 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 if (obj3) {
9610 {
9611 arg4 = &temp4;
9612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9613 }
9614 }
9615 if (obj4) {
9616 {
9617 arg5 = &temp5;
9618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9619 }
9620 }
9621 if (obj5) {
c32bde28 9622 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
9623 if (PyErr_Occurred()) SWIG_fail;
9624 }
9625 if (obj6) {
9626 {
9627 arg7 = wxString_in_helper(obj6);
9628 if (arg7 == NULL) SWIG_fail;
ae8162c8 9629 temp7 = true;
d55e5bfc
RD
9630 }
9631 }
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 {
9640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9641 }
9642 {
9643 if (temp7)
9644 delete arg7;
9645 }
9646 return resultobj;
9647 fail:
9648 {
9649 if (temp7)
9650 delete arg7;
9651 }
9652 return NULL;
9653}
9654
9655
c32bde28 9656static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9657 PyObject *resultobj;
9658 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9659 size_t arg2 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "count", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9669 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9670 if (PyErr_Occurred()) SWIG_fail;
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 (arg1)->SetLineCount(arg2);
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682}
9683
9684
c32bde28 9685static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9686 PyObject *resultobj;
9687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9688 size_t arg2 ;
9689 bool result;
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self",(char *) "line", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9699 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9700 if (PyErr_Occurred()) SWIG_fail;
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (bool)(arg1)->ScrollToLine(arg2);
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 {
9709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9710 }
9711 return resultobj;
9712 fail:
9713 return NULL;
9714}
9715
9716
c32bde28 9717static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9718 PyObject *resultobj;
9719 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9720 int arg2 ;
9721 bool result;
9722 PyObject * obj0 = 0 ;
9723 PyObject * obj1 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self",(char *) "lines", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9731 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9732 if (PyErr_Occurred()) SWIG_fail;
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 result = (bool)(arg1)->ScrollLines(arg2);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 {
9741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9742 }
9743 return resultobj;
9744 fail:
9745 return NULL;
9746}
9747
9748
c32bde28 9749static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9750 PyObject *resultobj;
9751 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9752 int arg2 ;
9753 bool result;
9754 PyObject * obj0 = 0 ;
9755 PyObject * obj1 = 0 ;
9756 char *kwnames[] = {
9757 (char *) "self",(char *) "pages", NULL
9758 };
9759
9760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9763 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9764 if (PyErr_Occurred()) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (bool)(arg1)->ScrollPages(arg2);
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 {
9773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9774 }
9775 return resultobj;
9776 fail:
9777 return NULL;
9778}
9779
9780
c32bde28 9781static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9782 PyObject *resultobj;
9783 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9784 size_t arg2 ;
9785 PyObject * obj0 = 0 ;
9786 PyObject * obj1 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self",(char *) "line", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9794 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9795 if (PyErr_Occurred()) SWIG_fail;
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 (arg1)->RefreshLine(arg2);
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 Py_INCREF(Py_None); resultobj = Py_None;
9804 return resultobj;
9805 fail:
9806 return NULL;
9807}
9808
9809
c32bde28 9810static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9811 PyObject *resultobj;
9812 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9813 size_t arg2 ;
9814 size_t arg3 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 PyObject * obj2 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "self",(char *) "from",(char *) "to", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9825 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 9826 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9827 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
9828 if (PyErr_Occurred()) SWIG_fail;
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 (arg1)->RefreshLines(arg2,arg3);
9832
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 Py_INCREF(Py_None); resultobj = Py_None;
9837 return resultobj;
9838 fail:
9839 return NULL;
9840}
9841
9842
c32bde28 9843static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9844 PyObject *resultobj;
9845 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9846 int arg2 ;
9847 int arg3 ;
9848 int result;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 PyObject * obj2 = 0 ;
9852 char *kwnames[] = {
9853 (char *) "self",(char *) "x",(char *) "y", NULL
9854 };
9855
354693ff 9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
9857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9859 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9860 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9861 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9862 if (PyErr_Occurred()) SWIG_fail;
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
c32bde28 9870 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9871 return resultobj;
9872 fail:
9873 return NULL;
9874}
9875
9876
c32bde28 9877static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9878 PyObject *resultobj;
9879 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9880 wxPoint *arg2 = 0 ;
9881 int result;
9882 wxPoint temp2 ;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self",(char *) "pt", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9892 {
9893 arg2 = &temp2;
9894 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9895 }
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
c32bde28 9903 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9904 return resultobj;
9905 fail:
9906 return NULL;
9907}
9908
9909
c32bde28 9910static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9911 PyObject *resultobj;
9912 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9913 PyObject * obj0 = 0 ;
9914 char *kwnames[] = {
9915 (char *) "self", NULL
9916 };
9917
9918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 (arg1)->RefreshAll();
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 Py_INCREF(Py_None); resultobj = Py_None;
9929 return resultobj;
9930 fail:
9931 return NULL;
9932}
9933
9934
c32bde28 9935static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9936 PyObject *resultobj;
9937 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9938 size_t result;
9939 PyObject * obj0 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "self", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
c32bde28 9954 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9955 return resultobj;
9956 fail:
9957 return NULL;
9958}
9959
9960
c32bde28 9961static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9962 PyObject *resultobj;
9963 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9964 size_t result;
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
c32bde28 9980 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9981 return resultobj;
9982 fail:
9983 return NULL;
9984}
9985
9986
c32bde28 9987static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9988 PyObject *resultobj;
9989 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9990 size_t result;
9991 PyObject * obj0 = 0 ;
9992 char *kwnames[] = {
9993 (char *) "self", NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
c32bde28 10006 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10007 return resultobj;
10008 fail:
10009 return NULL;
10010}
10011
10012
c32bde28 10013static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10014 PyObject *resultobj;
10015 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10016 size_t arg2 ;
10017 bool result;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self",(char *) "line", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10027 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10028 if (PyErr_Occurred()) SWIG_fail;
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 {
10037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10038 }
10039 return resultobj;
10040 fail:
10041 return NULL;
10042}
10043
10044
c32bde28 10045static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10046 PyObject *obj;
10047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10048 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
10049 Py_INCREF(obj);
10050 return Py_BuildValue((char *)"");
10051}
c32bde28 10052static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
10053 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
10054 return 1;
10055}
10056
10057
10058static PyObject *_wrap_VListBoxNameStr_get() {
10059 PyObject *pyobj;
10060
10061 {
10062#if wxUSE_UNICODE
10063 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10064#else
10065 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10066#endif
10067 }
10068 return pyobj;
10069}
10070
10071
c32bde28 10072static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10073 PyObject *resultobj;
10074 wxWindow *arg1 = (wxWindow *) 0 ;
10075 int arg2 = (int) wxID_ANY ;
10076 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10077 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10078 wxSize const &arg4_defvalue = wxDefaultSize ;
10079 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10080 long arg5 = (long) 0 ;
10081 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10082 wxString *arg6 = (wxString *) &arg6_defvalue ;
10083 wxPyVListBox *result;
10084 wxPoint temp3 ;
10085 wxSize temp4 ;
ae8162c8 10086 bool temp6 = false ;
d55e5bfc
RD
10087 PyObject * obj0 = 0 ;
10088 PyObject * obj1 = 0 ;
10089 PyObject * obj2 = 0 ;
10090 PyObject * obj3 = 0 ;
10091 PyObject * obj4 = 0 ;
10092 PyObject * obj5 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 if (obj1) {
c32bde28 10101 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 if (obj2) {
10105 {
10106 arg3 = &temp3;
10107 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10108 }
10109 }
10110 if (obj3) {
10111 {
10112 arg4 = &temp4;
10113 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10114 }
10115 }
10116 if (obj4) {
c32bde28 10117 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 if (obj5) {
10121 {
10122 arg6 = wxString_in_helper(obj5);
10123 if (arg6 == NULL) SWIG_fail;
ae8162c8 10124 temp6 = true;
d55e5bfc
RD
10125 }
10126 }
10127 {
0439c23b 10128 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10131
10132 wxPyEndAllowThreads(__tstate);
110da5b0 10133 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10134 }
10135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10136 {
10137 if (temp6)
10138 delete arg6;
10139 }
10140 return resultobj;
10141 fail:
10142 {
10143 if (temp6)
10144 delete arg6;
10145 }
10146 return NULL;
10147}
10148
10149
c32bde28 10150static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10151 PyObject *resultobj;
10152 wxPyVListBox *result;
10153 char *kwnames[] = {
10154 NULL
10155 };
10156
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10158 {
0439c23b 10159 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = (wxPyVListBox *)new wxPyVListBox();
10162
10163 wxPyEndAllowThreads(__tstate);
110da5b0 10164 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10165 }
10166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10167 return resultobj;
10168 fail:
10169 return NULL;
10170}
10171
10172
c32bde28 10173static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10174 PyObject *resultobj;
10175 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10176 PyObject *arg2 = (PyObject *) 0 ;
10177 PyObject *arg3 = (PyObject *) 0 ;
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
10180 PyObject * obj2 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self",(char *) "self",(char *) "_class", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10188 arg2 = obj1;
10189 arg3 = obj2;
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 (arg1)->_setCallbackInfo(arg2,arg3);
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 Py_INCREF(Py_None); resultobj = Py_None;
10198 return resultobj;
10199 fail:
10200 return NULL;
10201}
10202
10203
c32bde28 10204static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10205 PyObject *resultobj;
10206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10207 wxWindow *arg2 = (wxWindow *) 0 ;
10208 int arg3 = (int) wxID_ANY ;
10209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10211 wxSize const &arg5_defvalue = wxDefaultSize ;
10212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10213 long arg6 = (long) 0 ;
10214 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10215 wxString *arg7 = (wxString *) &arg7_defvalue ;
10216 bool result;
10217 wxPoint temp4 ;
10218 wxSize temp5 ;
ae8162c8 10219 bool temp7 = false ;
d55e5bfc
RD
10220 PyObject * obj0 = 0 ;
10221 PyObject * obj1 = 0 ;
10222 PyObject * obj2 = 0 ;
10223 PyObject * obj3 = 0 ;
10224 PyObject * obj4 = 0 ;
10225 PyObject * obj5 = 0 ;
10226 PyObject * obj6 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10236 if (obj2) {
c32bde28 10237 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 if (obj3) {
10241 {
10242 arg4 = &temp4;
10243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10244 }
10245 }
10246 if (obj4) {
10247 {
10248 arg5 = &temp5;
10249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10250 }
10251 }
10252 if (obj5) {
c32bde28 10253 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 if (obj6) {
10257 {
10258 arg7 = wxString_in_helper(obj6);
10259 if (arg7 == NULL) SWIG_fail;
ae8162c8 10260 temp7 = true;
d55e5bfc
RD
10261 }
10262 }
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10266
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 {
10271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10272 }
10273 {
10274 if (temp7)
10275 delete arg7;
10276 }
10277 return resultobj;
10278 fail:
10279 {
10280 if (temp7)
10281 delete arg7;
10282 }
10283 return NULL;
10284}
10285
10286
c32bde28 10287static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10288 PyObject *resultobj;
10289 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10290 size_t result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
c32bde28 10306 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10307 return resultobj;
10308 fail:
10309 return NULL;
10310}
10311
10312
c32bde28 10313static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10314 PyObject *resultobj;
10315 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10316 bool result;
10317 PyObject * obj0 = 0 ;
10318 char *kwnames[] = {
10319 (char *) "self", NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 {
10333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10334 }
10335 return resultobj;
10336 fail:
10337 return NULL;
10338}
10339
10340
c32bde28 10341static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10342 PyObject *resultobj;
10343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10344 int result;
10345 PyObject * obj0 = 0 ;
10346 char *kwnames[] = {
10347 (char *) "self", NULL
10348 };
10349
10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10353 {
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10356
10357 wxPyEndAllowThreads(__tstate);
10358 if (PyErr_Occurred()) SWIG_fail;
10359 }
c32bde28 10360 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10361 return resultobj;
10362 fail:
10363 return NULL;
10364}
10365
10366
c32bde28 10367static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10368 PyObject *resultobj;
10369 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10370 size_t arg2 ;
10371 bool result;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char *kwnames[] = {
10375 (char *) "self",(char *) "item", NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10381 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10382 if (PyErr_Occurred()) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 {
10391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10392 }
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
c32bde28 10399static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10400 PyObject *resultobj;
10401 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10402 size_t arg2 ;
10403 bool result;
10404 PyObject * obj0 = 0 ;
10405 PyObject * obj1 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self",(char *) "item", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10413 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10414 if (PyErr_Occurred()) SWIG_fail;
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 {
10423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10424 }
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
c32bde28 10431static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10432 PyObject *resultobj;
10433 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10434 size_t result;
10435 PyObject * obj0 = 0 ;
10436 char *kwnames[] = {
10437 (char *) "self", NULL
10438 };
10439
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
c32bde28 10450 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10451 return resultobj;
10452 fail:
10453 return NULL;
10454}
10455
10456
c32bde28 10457static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10458 PyObject *resultobj;
10459 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 10460 PyObject *result;
d55e5bfc 10461 PyObject * obj0 = 0 ;
d55e5bfc 10462 char *kwnames[] = {
09c21d3b 10463 (char *) "self", NULL
d55e5bfc
RD
10464 };
10465
09c21d3b 10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
d55e5bfc
RD
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d55e5bfc
RD
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10471 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
09c21d3b 10476 resultobj = result;
d55e5bfc
RD
10477 return resultobj;
10478 fail:
10479 return NULL;
10480}
10481
10482
c32bde28 10483static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10484 PyObject *resultobj;
10485 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
10486 unsigned long arg2 ;
10487 PyObject *result;
d55e5bfc
RD
10488 PyObject * obj0 = 0 ;
10489 PyObject * obj1 = 0 ;
10490 char *kwnames[] = {
10491 (char *) "self",(char *) "cookie", NULL
10492 };
10493
10494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10497 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
09c21d3b 10498 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10501 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
09c21d3b 10506 resultobj = result;
d55e5bfc
RD
10507 return resultobj;
10508 fail:
10509 return NULL;
10510}
10511
10512
c32bde28 10513static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10514 PyObject *resultobj;
10515 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10516 wxPoint result;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = ((wxPyVListBox const *)arg1)->GetMargins();
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 {
10533 wxPoint * resultptr;
10534 resultptr = new wxPoint((wxPoint &) result);
10535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10536 }
10537 return resultobj;
10538 fail:
10539 return NULL;
10540}
10541
10542
c32bde28 10543static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10544 PyObject *resultobj;
10545 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10546 wxColour *result;
10547 PyObject * obj0 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 {
10558 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10559 result = (wxColour *) &_result_ref;
10560 }
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10566 return resultobj;
10567 fail:
10568 return NULL;
10569}
10570
10571
c32bde28 10572static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10573 PyObject *resultobj;
10574 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10575 size_t arg2 ;
10576 PyObject * obj0 = 0 ;
10577 PyObject * obj1 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self",(char *) "count", NULL
10580 };
10581
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10585 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10586 if (PyErr_Occurred()) SWIG_fail;
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->SetItemCount(arg2);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 Py_INCREF(Py_None); resultobj = Py_None;
10595 return resultobj;
10596 fail:
10597 return NULL;
10598}
10599
10600
c32bde28 10601static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10602 PyObject *resultobj;
10603 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10604 PyObject * obj0 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 (arg1)->Clear();
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 Py_INCREF(Py_None); resultobj = Py_None;
10620 return resultobj;
10621 fail:
10622 return NULL;
10623}
10624
10625
c32bde28 10626static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10627 PyObject *resultobj;
10628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10629 int arg2 ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self",(char *) "selection", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10639 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10640 if (PyErr_Occurred()) SWIG_fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 (arg1)->SetSelection(arg2);
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 Py_INCREF(Py_None); resultobj = Py_None;
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
c32bde28 10655static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10656 PyObject *resultobj;
10657 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10658 size_t arg2 ;
ae8162c8 10659 bool arg3 = (bool) true ;
d55e5bfc
RD
10660 bool result;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 PyObject * obj2 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "item",(char *) "select", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10671 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10672 if (PyErr_Occurred()) SWIG_fail;
10673 if (obj2) {
c32bde28 10674 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (bool)(arg1)->Select(arg2,arg3);
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690}
10691
10692
c32bde28 10693static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10694 PyObject *resultobj;
10695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10696 size_t arg2 ;
10697 size_t arg3 ;
10698 bool result;
10699 PyObject * obj0 = 0 ;
10700 PyObject * obj1 = 0 ;
10701 PyObject * obj2 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "from",(char *) "to", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10709 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 10710 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10711 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
10712 if (PyErr_Occurred()) SWIG_fail;
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (bool)(arg1)->SelectRange(arg2,arg3);
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 {
10721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10722 }
10723 return resultobj;
10724 fail:
10725 return NULL;
10726}
10727
10728
c32bde28 10729static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10730 PyObject *resultobj;
10731 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10732 size_t arg2 ;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self",(char *) "item", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10742 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10743 if (PyErr_Occurred()) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->Toggle(arg2);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 return resultobj;
10753 fail:
10754 return NULL;
10755}
10756
10757
c32bde28 10758static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10759 PyObject *resultobj;
10760 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10761 bool result;
10762 PyObject * obj0 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (bool)(arg1)->SelectAll();
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 {
10778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10779 }
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
c32bde28 10786static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10787 PyObject *resultobj;
10788 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10789 bool result;
10790 PyObject * obj0 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (bool)(arg1)->DeselectAll();
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 {
10806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10807 }
10808 return resultobj;
10809 fail:
10810 return NULL;
10811}
10812
10813
c32bde28 10814static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10815 PyObject *resultobj;
10816 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10817 wxPoint *arg2 = 0 ;
10818 wxPoint temp2 ;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self",(char *) "pt", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10828 {
10829 arg2 = &temp2;
10830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10831 }
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->SetMargins((wxPoint const &)*arg2);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843}
10844
10845
c32bde28 10846static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10847 PyObject *resultobj;
10848 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10849 int arg2 ;
10850 int arg3 ;
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 PyObject * obj2 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "x",(char *) "y", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10861 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 10862 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10863 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10864 if (PyErr_Occurred()) SWIG_fail;
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 (arg1)->SetMargins(arg2,arg3);
10868
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 Py_INCREF(Py_None); resultobj = Py_None;
10873 return resultobj;
10874 fail:
10875 return NULL;
10876}
10877
10878
c32bde28 10879static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10880 PyObject *resultobj;
10881 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10882 wxColour *arg2 = 0 ;
10883 wxColour temp2 ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "self",(char *) "col", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10893 {
10894 arg2 = &temp2;
10895 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10896 }
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 Py_INCREF(Py_None); resultobj = Py_None;
10905 return resultobj;
10906 fail:
10907 return NULL;
10908}
10909
10910
c32bde28 10911static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10912 PyObject *obj;
10913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10914 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10915 Py_INCREF(obj);
10916 return Py_BuildValue((char *)"");
10917}
c32bde28 10918static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10919 PyObject *resultobj;
10920 wxWindow *arg1 = (wxWindow *) 0 ;
10921 int arg2 = (int) wxID_ANY ;
10922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10924 wxSize const &arg4_defvalue = wxDefaultSize ;
10925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10926 long arg5 = (long) 0 ;
10927 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10928 wxString *arg6 = (wxString *) &arg6_defvalue ;
10929 wxPyHtmlListBox *result;
10930 wxPoint temp3 ;
10931 wxSize temp4 ;
ae8162c8 10932 bool temp6 = false ;
d55e5bfc
RD
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 PyObject * obj2 = 0 ;
10936 PyObject * obj3 = 0 ;
10937 PyObject * obj4 = 0 ;
10938 PyObject * obj5 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10946 if (obj1) {
c32bde28 10947 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 if (obj2) {
10951 {
10952 arg3 = &temp3;
10953 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10954 }
10955 }
10956 if (obj3) {
10957 {
10958 arg4 = &temp4;
10959 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10960 }
10961 }
10962 if (obj4) {
c32bde28 10963 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 if (obj5) {
10967 {
10968 arg6 = wxString_in_helper(obj5);
10969 if (arg6 == NULL) SWIG_fail;
ae8162c8 10970 temp6 = true;
d55e5bfc
RD
10971 }
10972 }
10973 {
0439c23b 10974 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10977
10978 wxPyEndAllowThreads(__tstate);
110da5b0 10979 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10980 }
10981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10982 {
10983 if (temp6)
10984 delete arg6;
10985 }
10986 return resultobj;
10987 fail:
10988 {
10989 if (temp6)
10990 delete arg6;
10991 }
10992 return NULL;
10993}
10994
10995
c32bde28 10996static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10997 PyObject *resultobj;
10998 wxPyHtmlListBox *result;
10999 char *kwnames[] = {
11000 NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
11004 {
0439c23b 11005 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
11008
11009 wxPyEndAllowThreads(__tstate);
110da5b0 11010 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11011 }
11012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
11013 return resultobj;
11014 fail:
11015 return NULL;
11016}
11017
11018
c32bde28 11019static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11020 PyObject *resultobj;
11021 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11022 PyObject *arg2 = (PyObject *) 0 ;
11023 PyObject *arg3 = (PyObject *) 0 ;
11024 PyObject * obj0 = 0 ;
11025 PyObject * obj1 = 0 ;
11026 PyObject * obj2 = 0 ;
11027 char *kwnames[] = {
11028 (char *) "self",(char *) "self",(char *) "_class", NULL
11029 };
11030
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11034 arg2 = obj1;
11035 arg3 = obj2;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->_setCallbackInfo(arg2,arg3);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047}
11048
11049
c32bde28 11050static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11051 PyObject *resultobj;
11052 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11053 wxWindow *arg2 = (wxWindow *) 0 ;
11054 int arg3 = (int) wxID_ANY ;
11055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11057 wxSize const &arg5_defvalue = wxDefaultSize ;
11058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11059 long arg6 = (long) 0 ;
11060 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11061 wxString *arg7 = (wxString *) &arg7_defvalue ;
11062 bool result;
11063 wxPoint temp4 ;
11064 wxSize temp5 ;
ae8162c8 11065 bool temp7 = false ;
d55e5bfc
RD
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 PyObject * obj4 = 0 ;
11071 PyObject * obj5 = 0 ;
11072 PyObject * obj6 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11082 if (obj2) {
c32bde28 11083 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 if (obj3) {
11087 {
11088 arg4 = &temp4;
11089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11090 }
11091 }
11092 if (obj4) {
11093 {
11094 arg5 = &temp5;
11095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11096 }
11097 }
11098 if (obj5) {
c32bde28 11099 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 if (obj6) {
11103 {
11104 arg7 = wxString_in_helper(obj6);
11105 if (arg7 == NULL) SWIG_fail;
ae8162c8 11106 temp7 = true;
d55e5bfc
RD
11107 }
11108 }
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 {
11117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11118 }
11119 {
11120 if (temp7)
11121 delete arg7;
11122 }
11123 return resultobj;
11124 fail:
11125 {
11126 if (temp7)
11127 delete arg7;
11128 }
11129 return NULL;
11130}
11131
11132
c32bde28 11133static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11134 PyObject *resultobj;
11135 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 (arg1)->RefreshAll();
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 Py_INCREF(Py_None); resultobj = Py_None;
11152 return resultobj;
11153 fail:
11154 return NULL;
11155}
11156
11157
c32bde28 11158static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11159 PyObject *resultobj;
11160 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11161 size_t arg2 ;
11162 PyObject * obj0 = 0 ;
11163 PyObject * obj1 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self",(char *) "count", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11171 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
11172 if (PyErr_Occurred()) SWIG_fail;
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->SetItemCount(arg2);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 Py_INCREF(Py_None); resultobj = Py_None;
11181 return resultobj;
11182 fail:
11183 return NULL;
11184}
11185
11186
c32bde28 11187static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
c24da6d6
RD
11188 PyObject *resultobj;
11189 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11190 wxFileSystem *result;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 {
11202 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11203 result = (wxFileSystem *) &_result_ref;
11204 }
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11210 return resultobj;
11211 fail:
11212 return NULL;
11213}
11214
11215
c32bde28 11216static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11217 PyObject *obj;
11218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11219 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11220 Py_INCREF(obj);
11221 return Py_BuildValue((char *)"");
11222}
c32bde28 11223static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11224 PyObject *resultobj;
5e483524 11225 wxPyTaskBarIcon *result;
d55e5bfc
RD
11226 char *kwnames[] = {
11227 NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11231 {
0439c23b 11232 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11234 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
11235
11236 wxPyEndAllowThreads(__tstate);
110da5b0 11237 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11238 }
5e483524 11239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
11240 return resultobj;
11241 fail:
11242 return NULL;
11243}
11244
11245
5e483524 11246static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11247 PyObject *resultobj;
5e483524
RD
11248 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11249 PyObject *arg2 = (PyObject *) 0 ;
11250 PyObject *arg3 = (PyObject *) 0 ;
11251 int arg4 ;
d55e5bfc 11252 PyObject * obj0 = 0 ;
5e483524
RD
11253 PyObject * obj1 = 0 ;
11254 PyObject * obj2 = 0 ;
11255 PyObject * obj3 = 0 ;
d55e5bfc 11256 char *kwnames[] = {
5e483524 11257 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
11258 };
11259
5e483524
RD
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc 11262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5e483524
RD
11263 arg2 = obj1;
11264 arg3 = obj2;
11265 arg4 = (int)SWIG_As_int(obj3);
11266 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11269 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 Py_INCREF(Py_None); resultobj = Py_None;
11275 return resultobj;
11276 fail:
11277 return NULL;
11278}
11279
11280
c32bde28 11281static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11282 PyObject *resultobj;
5e483524 11283 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11284 PyObject * obj0 = 0 ;
11285 char *kwnames[] = {
11286 (char *) "self", NULL
11287 };
11288
11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
5e483524 11290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11294 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 Py_INCREF(Py_None); resultobj = Py_None;
11300 return resultobj;
11301 fail:
11302 return NULL;
11303}
11304
11305
c32bde28 11306static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11307 PyObject *resultobj;
5e483524 11308 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11309 bool result;
11310 PyObject * obj0 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
5e483524 11316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11320 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d55e5bfc
RD
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 {
11326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11327 }
11328 return resultobj;
11329 fail:
11330 return NULL;
11331}
11332
11333
c32bde28 11334static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11335 PyObject *resultobj;
5e483524 11336 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11337 bool result;
11338 PyObject * obj0 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
5e483524 11344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11348 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d55e5bfc
RD
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 {
11354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11355 }
11356 return resultobj;
11357 fail:
11358 return NULL;
11359}
11360
11361
c32bde28 11362static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11363 PyObject *resultobj;
5e483524 11364 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11365 wxIcon *arg2 = 0 ;
11366 wxString const &arg3_defvalue = wxPyEmptyString ;
11367 wxString *arg3 = (wxString *) &arg3_defvalue ;
11368 bool result;
ae8162c8 11369 bool temp3 = false ;
d55e5bfc
RD
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 PyObject * obj2 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
5e483524 11378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11381 SWIG_POINTER_EXCEPTION | 0)) == -1)
11382 SWIG_fail;
11383 if (arg2 == NULL) {
11384 PyErr_SetString(PyExc_TypeError,"null reference");
11385 SWIG_fail;
11386 }
11387 if (obj2) {
11388 {
11389 arg3 = wxString_in_helper(obj2);
11390 if (arg3 == NULL) SWIG_fail;
ae8162c8 11391 temp3 = true;
d55e5bfc
RD
11392 }
11393 }
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 {
11402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11403 }
11404 {
11405 if (temp3)
11406 delete arg3;
11407 }
11408 return resultobj;
11409 fail:
11410 {
11411 if (temp3)
11412 delete arg3;
11413 }
11414 return NULL;
11415}
11416
11417
c32bde28 11418static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11419 PyObject *resultobj;
5e483524 11420 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11421 bool result;
11422 PyObject * obj0 = 0 ;
11423 char *kwnames[] = {
11424 (char *) "self", NULL
11425 };
11426
11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
5e483524 11428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 result = (bool)(arg1)->RemoveIcon();
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 {
11438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11439 }
11440 return resultobj;
11441 fail:
11442 return NULL;
11443}
11444
11445
c32bde28 11446static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11447 PyObject *resultobj;
5e483524 11448 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11449 wxMenu *arg2 = (wxMenu *) 0 ;
11450 bool result;
11451 PyObject * obj0 = 0 ;
11452 PyObject * obj1 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self",(char *) "menu", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
5e483524 11458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = (bool)(arg1)->PopupMenu(arg2);
11465
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 {
11470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11471 }
11472 return resultobj;
11473 fail:
11474 return NULL;
11475}
11476
11477
c32bde28 11478static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11479 PyObject *obj;
11480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 11481 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
11482 Py_INCREF(obj);
11483 return Py_BuildValue((char *)"");
11484}
c32bde28 11485static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11486 PyObject *resultobj;
11487 wxEventType arg1 ;
11488 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11489 wxTaskBarIconEvent *result;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "evtType",(char *) "tbIcon", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
c32bde28 11497 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
11498 if (PyErr_Occurred()) SWIG_fail;
11499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
c32bde28 11515static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11516 PyObject *obj;
11517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11518 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11519 Py_INCREF(obj);
11520 return Py_BuildValue((char *)"");
11521}
c32bde28 11522static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
11523 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11524 return 1;
11525}
11526
11527
11528static PyObject *_wrap_FileSelectorPromptStr_get() {
11529 PyObject *pyobj;
11530
11531 {
11532#if wxUSE_UNICODE
11533 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11534#else
11535 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11536#endif
11537 }
11538 return pyobj;
11539}
11540
11541
c32bde28 11542static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
11543 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11544 return 1;
11545}
11546
11547
11548static PyObject *_wrap_DirSelectorPromptStr_get() {
11549 PyObject *pyobj;
11550
11551 {
11552#if wxUSE_UNICODE
11553 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11554#else
11555 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11556#endif
11557 }
11558 return pyobj;
11559}
11560
11561
c32bde28 11562static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
11563 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11564 return 1;
11565}
11566
11567
11568static PyObject *_wrap_DirDialogNameStr_get() {
11569 PyObject *pyobj;
11570
11571 {
11572#if wxUSE_UNICODE
11573 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11574#else
11575 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11576#endif
11577 }
11578 return pyobj;
11579}
11580
11581
c32bde28 11582static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
11583 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11584 return 1;
11585}
11586
11587
11588static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11589 PyObject *pyobj;
11590
11591 {
11592#if wxUSE_UNICODE
11593 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11594#else
11595 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11596#endif
11597 }
11598 return pyobj;
11599}
11600
11601
c32bde28 11602static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
11603 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11604 return 1;
11605}
11606
11607
11608static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11609 PyObject *pyobj;
11610
11611 {
11612#if wxUSE_UNICODE
11613 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11614#else
11615 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11616#endif
11617 }
11618 return pyobj;
11619}
11620
11621
c32bde28 11622static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
11623 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11624 return 1;
11625}
11626
11627
11628static PyObject *_wrap_MessageBoxCaptionStr_get() {
11629 PyObject *pyobj;
11630
11631 {
11632#if wxUSE_UNICODE
11633 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11634#else
11635 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11636#endif
11637 }
11638 return pyobj;
11639}
11640
11641
c32bde28 11642static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11643 PyObject *resultobj;
11644 wxColourData *result;
11645 char *kwnames[] = {
11646 NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = (wxColourData *)new wxColourData();
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11658 return resultobj;
11659 fail:
11660 return NULL;
11661}
11662
11663
c32bde28 11664static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11665 PyObject *resultobj;
11666 wxColourData *arg1 = (wxColourData *) 0 ;
11667 PyObject * obj0 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 delete arg1;
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 Py_INCREF(Py_None); resultobj = Py_None;
11683 return resultobj;
11684 fail:
11685 return NULL;
11686}
11687
11688
c32bde28 11689static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11690 PyObject *resultobj;
11691 wxColourData *arg1 = (wxColourData *) 0 ;
11692 bool result;
11693 PyObject * obj0 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (bool)(arg1)->GetChooseFull();
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 {
11709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11710 }
11711 return resultobj;
11712 fail:
11713 return NULL;
11714}
11715
11716
c32bde28 11717static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11718 PyObject *resultobj;
11719 wxColourData *arg1 = (wxColourData *) 0 ;
11720 wxColour result;
11721 PyObject * obj0 = 0 ;
11722 char *kwnames[] = {
11723 (char *) "self", NULL
11724 };
11725
11726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (arg1)->GetColour();
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 {
11737 wxColour * resultptr;
11738 resultptr = new wxColour((wxColour &) result);
11739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
c32bde28 11747static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11748 PyObject *resultobj;
11749 wxColourData *arg1 = (wxColourData *) 0 ;
11750 int arg2 ;
11751 wxColour result;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "i", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11761 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11762 if (PyErr_Occurred()) SWIG_fail;
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 result = (arg1)->GetCustomColour(arg2);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 {
11771 wxColour * resultptr;
11772 resultptr = new wxColour((wxColour &) result);
11773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11774 }
11775 return resultobj;
11776 fail:
11777 return NULL;
11778}
11779
11780
c32bde28 11781static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11782 PyObject *resultobj;
11783 wxColourData *arg1 = (wxColourData *) 0 ;
11784 int arg2 ;
11785 PyObject * obj0 = 0 ;
11786 PyObject * obj1 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self",(char *) "flag", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11794 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11795 if (PyErr_Occurred()) SWIG_fail;
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 (arg1)->SetChooseFull(arg2);
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 Py_INCREF(Py_None); resultobj = Py_None;
11804 return resultobj;
11805 fail:
11806 return NULL;
11807}
11808
11809
c32bde28 11810static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11811 PyObject *resultobj;
11812 wxColourData *arg1 = (wxColourData *) 0 ;
11813 wxColour *arg2 = 0 ;
11814 wxColour temp2 ;
11815 PyObject * obj0 = 0 ;
11816 PyObject * obj1 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self",(char *) "colour", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11824 {
11825 arg2 = &temp2;
11826 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 (arg1)->SetColour((wxColour const &)*arg2);
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 Py_INCREF(Py_None); resultobj = Py_None;
11836 return resultobj;
11837 fail:
11838 return NULL;
11839}
11840
11841
c32bde28 11842static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11843 PyObject *resultobj;
11844 wxColourData *arg1 = (wxColourData *) 0 ;
11845 int arg2 ;
11846 wxColour *arg3 = 0 ;
11847 wxColour temp3 ;
11848 PyObject * obj0 = 0 ;
11849 PyObject * obj1 = 0 ;
11850 PyObject * obj2 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self",(char *) "i",(char *) "colour", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11858 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11859 if (PyErr_Occurred()) SWIG_fail;
11860 {
11861 arg3 = &temp3;
11862 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11863 }
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 Py_INCREF(Py_None); resultobj = Py_None;
11872 return resultobj;
11873 fail:
11874 return NULL;
11875}
11876
11877
c32bde28 11878static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11879 PyObject *obj;
11880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11881 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11882 Py_INCREF(obj);
11883 return Py_BuildValue((char *)"");
11884}
c32bde28 11885static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11886 PyObject *resultobj;
11887 wxWindow *arg1 = (wxWindow *) 0 ;
11888 wxColourData *arg2 = (wxColourData *) NULL ;
11889 wxColourDialog *result;
11890 PyObject * obj0 = 0 ;
11891 PyObject * obj1 = 0 ;
11892 char *kwnames[] = {
11893 (char *) "parent",(char *) "data", NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11899 if (obj1) {
11900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11902 }
11903 {
0439c23b 11904 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11907
11908 wxPyEndAllowThreads(__tstate);
110da5b0 11909 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11910 }
11911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
c32bde28 11918static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11919 PyObject *resultobj;
11920 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11921 wxColourData *result;
11922 PyObject * obj0 = 0 ;
11923 char *kwnames[] = {
11924 (char *) "self", NULL
11925 };
11926
11927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 {
11933 wxColourData &_result_ref = (arg1)->GetColourData();
11934 result = (wxColourData *) &_result_ref;
11935 }
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11941 return resultobj;
11942 fail:
11943 return NULL;
11944}
11945
11946
c32bde28 11947static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11948 PyObject *obj;
11949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11950 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11951 Py_INCREF(obj);
11952 return Py_BuildValue((char *)"");
11953}
c32bde28 11954static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11955 PyObject *resultobj;
11956 wxWindow *arg1 = (wxWindow *) 0 ;
11957 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11958 wxString *arg2 = (wxString *) &arg2_defvalue ;
11959 wxString const &arg3_defvalue = wxPyEmptyString ;
11960 wxString *arg3 = (wxString *) &arg3_defvalue ;
11961 long arg4 = (long) 0 ;
11962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11964 wxSize const &arg6_defvalue = wxDefaultSize ;
11965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11966 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11967 wxString *arg7 = (wxString *) &arg7_defvalue ;
11968 wxDirDialog *result;
ae8162c8
RD
11969 bool temp2 = false ;
11970 bool temp3 = false ;
d55e5bfc
RD
11971 wxPoint temp5 ;
11972 wxSize temp6 ;
ae8162c8 11973 bool temp7 = false ;
d55e5bfc
RD
11974 PyObject * obj0 = 0 ;
11975 PyObject * obj1 = 0 ;
11976 PyObject * obj2 = 0 ;
11977 PyObject * obj3 = 0 ;
11978 PyObject * obj4 = 0 ;
11979 PyObject * obj5 = 0 ;
11980 PyObject * obj6 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11988 if (obj1) {
11989 {
11990 arg2 = wxString_in_helper(obj1);
11991 if (arg2 == NULL) SWIG_fail;
ae8162c8 11992 temp2 = true;
d55e5bfc
RD
11993 }
11994 }
11995 if (obj2) {
11996 {
11997 arg3 = wxString_in_helper(obj2);
11998 if (arg3 == NULL) SWIG_fail;
ae8162c8 11999 temp3 = true;
d55e5bfc
RD
12000 }
12001 }
12002 if (obj3) {
c32bde28 12003 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 if (obj4) {
12007 {
12008 arg5 = &temp5;
12009 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12010 }
12011 }
12012 if (obj5) {
12013 {
12014 arg6 = &temp6;
12015 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12016 }
12017 }
12018 if (obj6) {
12019 {
12020 arg7 = wxString_in_helper(obj6);
12021 if (arg7 == NULL) SWIG_fail;
ae8162c8 12022 temp7 = true;
d55e5bfc
RD
12023 }
12024 }
12025 {
0439c23b 12026 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
12029
12030 wxPyEndAllowThreads(__tstate);
110da5b0 12031 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12032 }
12033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
12034 {
12035 if (temp2)
12036 delete arg2;
12037 }
12038 {
12039 if (temp3)
12040 delete arg3;
12041 }
12042 {
12043 if (temp7)
12044 delete arg7;
12045 }
12046 return resultobj;
12047 fail:
12048 {
12049 if (temp2)
12050 delete arg2;
12051 }
12052 {
12053 if (temp3)
12054 delete arg3;
12055 }
12056 {
12057 if (temp7)
12058 delete arg7;
12059 }
12060 return NULL;
12061}
12062
12063
c32bde28 12064static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12065 PyObject *resultobj;
12066 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12067 wxString result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (arg1)->GetPath();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084#if wxUSE_UNICODE
12085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12086#else
12087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12088#endif
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093}
12094
12095
c32bde28 12096static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12097 PyObject *resultobj;
12098 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12099 wxString result;
12100 PyObject * obj0 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = (arg1)->GetMessage();
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 {
12116#if wxUSE_UNICODE
12117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12118#else
12119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12120#endif
12121 }
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
c32bde28 12128static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12129 PyObject *resultobj;
12130 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12131 long result;
12132 PyObject * obj0 = 0 ;
12133 char *kwnames[] = {
12134 (char *) "self", NULL
12135 };
12136
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 result = (long)(arg1)->GetStyle();
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
c32bde28 12147 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12148 return resultobj;
12149 fail:
12150 return NULL;
12151}
12152
12153
c32bde28 12154static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12155 PyObject *resultobj;
12156 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12157 wxString *arg2 = 0 ;
ae8162c8 12158 bool temp2 = false ;
d55e5bfc
RD
12159 PyObject * obj0 = 0 ;
12160 PyObject * obj1 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self",(char *) "message", NULL
12163 };
12164
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12168 {
12169 arg2 = wxString_in_helper(obj1);
12170 if (arg2 == NULL) SWIG_fail;
ae8162c8 12171 temp2 = true;
d55e5bfc
RD
12172 }
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 (arg1)->SetMessage((wxString const &)*arg2);
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 Py_INCREF(Py_None); resultobj = Py_None;
12181 {
12182 if (temp2)
12183 delete arg2;
12184 }
12185 return resultobj;
12186 fail:
12187 {
12188 if (temp2)
12189 delete arg2;
12190 }
12191 return NULL;
12192}
12193
12194
c32bde28 12195static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12196 PyObject *resultobj;
12197 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12198 wxString *arg2 = 0 ;
ae8162c8 12199 bool temp2 = false ;
d55e5bfc
RD
12200 PyObject * obj0 = 0 ;
12201 PyObject * obj1 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "self",(char *) "path", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12209 {
12210 arg2 = wxString_in_helper(obj1);
12211 if (arg2 == NULL) SWIG_fail;
ae8162c8 12212 temp2 = true;
d55e5bfc
RD
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 (arg1)->SetPath((wxString const &)*arg2);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 {
12223 if (temp2)
12224 delete arg2;
12225 }
12226 return resultobj;
12227 fail:
12228 {
12229 if (temp2)
12230 delete arg2;
12231 }
12232 return NULL;
12233}
12234
12235
c32bde28 12236static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12237 PyObject *obj;
12238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12239 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12240 Py_INCREF(obj);
12241 return Py_BuildValue((char *)"");
12242}
c32bde28 12243static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12244 PyObject *resultobj;
12245 wxWindow *arg1 = (wxWindow *) 0 ;
12246 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12247 wxString *arg2 = (wxString *) &arg2_defvalue ;
12248 wxString const &arg3_defvalue = wxPyEmptyString ;
12249 wxString *arg3 = (wxString *) &arg3_defvalue ;
12250 wxString const &arg4_defvalue = wxPyEmptyString ;
12251 wxString *arg4 = (wxString *) &arg4_defvalue ;
12252 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12253 wxString *arg5 = (wxString *) &arg5_defvalue ;
12254 long arg6 = (long) 0 ;
12255 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12256 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12257 wxFileDialog *result;
ae8162c8
RD
12258 bool temp2 = false ;
12259 bool temp3 = false ;
12260 bool temp4 = false ;
12261 bool temp5 = false ;
d55e5bfc
RD
12262 wxPoint temp7 ;
12263 PyObject * obj0 = 0 ;
12264 PyObject * obj1 = 0 ;
12265 PyObject * obj2 = 0 ;
12266 PyObject * obj3 = 0 ;
12267 PyObject * obj4 = 0 ;
12268 PyObject * obj5 = 0 ;
12269 PyObject * obj6 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12277 if (obj1) {
12278 {
12279 arg2 = wxString_in_helper(obj1);
12280 if (arg2 == NULL) SWIG_fail;
ae8162c8 12281 temp2 = true;
d55e5bfc
RD
12282 }
12283 }
12284 if (obj2) {
12285 {
12286 arg3 = wxString_in_helper(obj2);
12287 if (arg3 == NULL) SWIG_fail;
ae8162c8 12288 temp3 = true;
d55e5bfc
RD
12289 }
12290 }
12291 if (obj3) {
12292 {
12293 arg4 = wxString_in_helper(obj3);
12294 if (arg4 == NULL) SWIG_fail;
ae8162c8 12295 temp4 = true;
d55e5bfc
RD
12296 }
12297 }
12298 if (obj4) {
12299 {
12300 arg5 = wxString_in_helper(obj4);
12301 if (arg5 == NULL) SWIG_fail;
ae8162c8 12302 temp5 = true;
d55e5bfc
RD
12303 }
12304 }
12305 if (obj5) {
c32bde28 12306 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 if (obj6) {
12310 {
12311 arg7 = &temp7;
12312 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12313 }
12314 }
12315 {
0439c23b 12316 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12319
12320 wxPyEndAllowThreads(__tstate);
110da5b0 12321 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12322 }
12323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12324 {
12325 if (temp2)
12326 delete arg2;
12327 }
12328 {
12329 if (temp3)
12330 delete arg3;
12331 }
12332 {
12333 if (temp4)
12334 delete arg4;
12335 }
12336 {
12337 if (temp5)
12338 delete arg5;
12339 }
12340 return resultobj;
12341 fail:
12342 {
12343 if (temp2)
12344 delete arg2;
12345 }
12346 {
12347 if (temp3)
12348 delete arg3;
12349 }
12350 {
12351 if (temp4)
12352 delete arg4;
12353 }
12354 {
12355 if (temp5)
12356 delete arg5;
12357 }
12358 return NULL;
12359}
12360
12361
c32bde28 12362static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12363 PyObject *resultobj;
12364 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12365 wxString *arg2 = 0 ;
ae8162c8 12366 bool temp2 = false ;
d55e5bfc
RD
12367 PyObject * obj0 = 0 ;
12368 PyObject * obj1 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self",(char *) "message", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12376 {
12377 arg2 = wxString_in_helper(obj1);
12378 if (arg2 == NULL) SWIG_fail;
ae8162c8 12379 temp2 = true;
d55e5bfc
RD
12380 }
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 (arg1)->SetMessage((wxString const &)*arg2);
12384
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 Py_INCREF(Py_None); resultobj = Py_None;
12389 {
12390 if (temp2)
12391 delete arg2;
12392 }
12393 return resultobj;
12394 fail:
12395 {
12396 if (temp2)
12397 delete arg2;
12398 }
12399 return NULL;
12400}
12401
12402
c32bde28 12403static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12404 PyObject *resultobj;
12405 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12406 wxString *arg2 = 0 ;
ae8162c8 12407 bool temp2 = false ;
d55e5bfc
RD
12408 PyObject * obj0 = 0 ;
12409 PyObject * obj1 = 0 ;
12410 char *kwnames[] = {
12411 (char *) "self",(char *) "path", NULL
12412 };
12413
12414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12417 {
12418 arg2 = wxString_in_helper(obj1);
12419 if (arg2 == NULL) SWIG_fail;
ae8162c8 12420 temp2 = true;
d55e5bfc
RD
12421 }
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->SetPath((wxString const &)*arg2);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 Py_INCREF(Py_None); resultobj = Py_None;
12430 {
12431 if (temp2)
12432 delete arg2;
12433 }
12434 return resultobj;
12435 fail:
12436 {
12437 if (temp2)
12438 delete arg2;
12439 }
12440 return NULL;
12441}
12442
12443
c32bde28 12444static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12445 PyObject *resultobj;
12446 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12447 wxString *arg2 = 0 ;
ae8162c8 12448 bool temp2 = false ;
d55e5bfc
RD
12449 PyObject * obj0 = 0 ;
12450 PyObject * obj1 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self",(char *) "dir", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12458 {
12459 arg2 = wxString_in_helper(obj1);
12460 if (arg2 == NULL) SWIG_fail;
ae8162c8 12461 temp2 = true;
d55e5bfc
RD
12462 }
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 (arg1)->SetDirectory((wxString const &)*arg2);
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 Py_INCREF(Py_None); resultobj = Py_None;
12471 {
12472 if (temp2)
12473 delete arg2;
12474 }
12475 return resultobj;
12476 fail:
12477 {
12478 if (temp2)
12479 delete arg2;
12480 }
12481 return NULL;
12482}
12483
12484
c32bde28 12485static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12486 PyObject *resultobj;
12487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12488 wxString *arg2 = 0 ;
ae8162c8 12489 bool temp2 = false ;
d55e5bfc
RD
12490 PyObject * obj0 = 0 ;
12491 PyObject * obj1 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "self",(char *) "name", NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12499 {
12500 arg2 = wxString_in_helper(obj1);
12501 if (arg2 == NULL) SWIG_fail;
ae8162c8 12502 temp2 = true;
d55e5bfc
RD
12503 }
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->SetFilename((wxString const &)*arg2);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 Py_INCREF(Py_None); resultobj = Py_None;
12512 {
12513 if (temp2)
12514 delete arg2;
12515 }
12516 return resultobj;
12517 fail:
12518 {
12519 if (temp2)
12520 delete arg2;
12521 }
12522 return NULL;
12523}
12524
12525
c32bde28 12526static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12527 PyObject *resultobj;
12528 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12529 wxString *arg2 = 0 ;
ae8162c8 12530 bool temp2 = false ;
d55e5bfc
RD
12531 PyObject * obj0 = 0 ;
12532 PyObject * obj1 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self",(char *) "wildCard", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12540 {
12541 arg2 = wxString_in_helper(obj1);
12542 if (arg2 == NULL) SWIG_fail;
ae8162c8 12543 temp2 = true;
d55e5bfc
RD
12544 }
12545 {
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 (arg1)->SetWildcard((wxString const &)*arg2);
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 Py_INCREF(Py_None); resultobj = Py_None;
12553 {
12554 if (temp2)
12555 delete arg2;
12556 }
12557 return resultobj;
12558 fail:
12559 {
12560 if (temp2)
12561 delete arg2;
12562 }
12563 return NULL;
12564}
12565
12566
c32bde28 12567static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12568 PyObject *resultobj;
12569 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12570 long arg2 ;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "style", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12580 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
12581 if (PyErr_Occurred()) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->SetStyle(arg2);
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593}
12594
12595
c32bde28 12596static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12597 PyObject *resultobj;
12598 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12599 int arg2 ;
12600 PyObject * obj0 = 0 ;
12601 PyObject * obj1 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self",(char *) "filterIndex", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12609 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12610 if (PyErr_Occurred()) SWIG_fail;
12611 {
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 (arg1)->SetFilterIndex(arg2);
12614
12615 wxPyEndAllowThreads(__tstate);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 Py_INCREF(Py_None); resultobj = Py_None;
12619 return resultobj;
12620 fail:
12621 return NULL;
12622}
12623
12624
c32bde28 12625static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12626 PyObject *resultobj;
12627 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12628 wxString result;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 result = ((wxFileDialog const *)arg1)->GetMessage();
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 {
12645#if wxUSE_UNICODE
12646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12647#else
12648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12649#endif
12650 }
12651 return resultobj;
12652 fail:
12653 return NULL;
12654}
12655
12656
c32bde28 12657static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12658 PyObject *resultobj;
12659 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12660 wxString result;
12661 PyObject * obj0 = 0 ;
12662 char *kwnames[] = {
12663 (char *) "self", NULL
12664 };
12665
12666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 result = ((wxFileDialog const *)arg1)->GetPath();
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 {
12677#if wxUSE_UNICODE
12678 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12679#else
12680 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12681#endif
12682 }
12683 return resultobj;
12684 fail:
12685 return NULL;
12686}
12687
12688
c32bde28 12689static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12690 PyObject *resultobj;
12691 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12692 wxString result;
12693 PyObject * obj0 = 0 ;
12694 char *kwnames[] = {
12695 (char *) "self", NULL
12696 };
12697
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 result = ((wxFileDialog const *)arg1)->GetDirectory();
12704
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 {
12709#if wxUSE_UNICODE
12710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12711#else
12712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12713#endif
12714 }
12715 return resultobj;
12716 fail:
12717 return NULL;
12718}
12719
12720
c32bde28 12721static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12722 PyObject *resultobj;
12723 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12724 wxString result;
12725 PyObject * obj0 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = ((wxFileDialog const *)arg1)->GetFilename();
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 {
12741#if wxUSE_UNICODE
12742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12743#else
12744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12745#endif
12746 }
12747 return resultobj;
12748 fail:
12749 return NULL;
12750}
12751
12752
c32bde28 12753static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12754 PyObject *resultobj;
12755 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12756 wxString result;
12757 PyObject * obj0 = 0 ;
12758 char *kwnames[] = {
12759 (char *) "self", NULL
12760 };
12761
12762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = ((wxFileDialog const *)arg1)->GetWildcard();
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 {
12773#if wxUSE_UNICODE
12774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12775#else
12776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12777#endif
12778 }
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
c32bde28 12785static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12786 PyObject *resultobj;
12787 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12788 long result;
12789 PyObject * obj0 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "self", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
c32bde28 12804 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12805 return resultobj;
12806 fail:
12807 return NULL;
12808}
12809
12810
c32bde28 12811static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12812 PyObject *resultobj;
12813 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12814 int result;
12815 PyObject * obj0 = 0 ;
12816 char *kwnames[] = {
12817 (char *) "self", NULL
12818 };
12819
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
c32bde28 12830 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12831 return resultobj;
12832 fail:
12833 return NULL;
12834}
12835
12836
c32bde28 12837static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12838 PyObject *resultobj;
12839 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12840 PyObject *result;
12841 PyObject * obj0 = 0 ;
12842 char *kwnames[] = {
12843 (char *) "self", NULL
12844 };
12845
12846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 resultobj = result;
12857 return resultobj;
12858 fail:
12859 return NULL;
12860}
12861
12862
c32bde28 12863static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12864 PyObject *resultobj;
12865 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12866 PyObject *result;
12867 PyObject * obj0 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "self", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = result;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886}
12887
12888
c32bde28 12889static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12890 PyObject *obj;
12891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12892 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12893 Py_INCREF(obj);
12894 return Py_BuildValue((char *)"");
12895}
c32bde28 12896static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12897 PyObject *resultobj;
12898 wxWindow *arg1 = (wxWindow *) 0 ;
12899 wxString *arg2 = 0 ;
12900 wxString *arg3 = 0 ;
12901 int arg4 = (int) 0 ;
248ed943 12902 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
12903 long arg6 = (long) wxCHOICEDLG_STYLE ;
12904 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12905 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12906 wxMultiChoiceDialog *result;
ae8162c8
RD
12907 bool temp2 = false ;
12908 bool temp3 = false ;
d55e5bfc
RD
12909 wxPoint temp6 ;
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj1 = 0 ;
12912 PyObject * obj2 = 0 ;
12913 PyObject * obj3 = 0 ;
12914 PyObject * obj4 = 0 ;
12915 PyObject * obj5 = 0 ;
12916 char *kwnames[] = {
12917 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12918 };
12919
12920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12923 {
12924 arg2 = wxString_in_helper(obj1);
12925 if (arg2 == NULL) SWIG_fail;
ae8162c8 12926 temp2 = true;
d55e5bfc
RD
12927 }
12928 {
12929 arg3 = wxString_in_helper(obj2);
12930 if (arg3 == NULL) SWIG_fail;
ae8162c8 12931 temp3 = true;
d55e5bfc
RD
12932 }
12933 if (obj3) {
12934 {
12935 arg4 = PyList_Size(obj3);
12936 arg5 = wxString_LIST_helper(obj3);
12937 if (arg5 == NULL) SWIG_fail;
12938 }
12939 }
12940 if (obj4) {
c32bde28 12941 arg6 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 if (obj5) {
12945 {
12946 arg7 = &temp6;
12947 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12948 }
12949 }
12950 {
0439c23b 12951 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12954
12955 wxPyEndAllowThreads(__tstate);
110da5b0 12956 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12957 }
12958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12959 {
12960 if (temp2)
12961 delete arg2;
12962 }
12963 {
12964 if (temp3)
12965 delete arg3;
12966 }
12967 {
12968 if (arg5) delete [] arg5;
12969 }
12970 return resultobj;
12971 fail:
12972 {
12973 if (temp2)
12974 delete arg2;
12975 }
12976 {
12977 if (temp3)
12978 delete arg3;
12979 }
12980 {
12981 if (arg5) delete [] arg5;
12982 }
12983 return NULL;
12984}
12985
12986
c32bde28 12987static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12988 PyObject *resultobj;
12989 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12990 wxArrayInt *arg2 = 0 ;
ae8162c8 12991 bool temp2 = false ;
d55e5bfc
RD
12992 PyObject * obj0 = 0 ;
12993 PyObject * obj1 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "selections", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13001 {
13002 if (! PySequence_Check(obj1)) {
13003 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
13004 SWIG_fail;
13005 }
13006 arg2 = new wxArrayInt;
ae8162c8 13007 temp2 = true;
d55e5bfc
RD
13008 int i, len=PySequence_Length(obj1);
13009 for (i=0; i<len; i++) {
13010 PyObject* item = PySequence_GetItem(obj1, i);
13011 PyObject* number = PyNumber_Int(item);
13012 arg2->Add(PyInt_AS_LONG(number));
13013 Py_DECREF(item);
13014 Py_DECREF(number);
13015 }
13016 }
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 (arg1)->SetSelections((wxArrayInt const &)*arg2);
13020
13021 wxPyEndAllowThreads(__tstate);
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
13024 Py_INCREF(Py_None); resultobj = Py_None;
13025 {
13026 if (temp2) delete arg2;
13027 }
13028 return resultobj;
13029 fail:
13030 {
13031 if (temp2) delete arg2;
13032 }
13033 return NULL;
13034}
13035
13036
c32bde28 13037static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13038 PyObject *resultobj;
13039 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
13040 PyObject *result;
13041 PyObject * obj0 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
13047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
13048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 resultobj = result;
13057 return resultobj;
13058 fail:
13059 return NULL;
13060}
13061
13062
c32bde28 13063static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13064 PyObject *obj;
13065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13066 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13067 Py_INCREF(obj);
13068 return Py_BuildValue((char *)"");
13069}
c32bde28 13070static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13071 PyObject *resultobj;
13072 wxWindow *arg1 = (wxWindow *) 0 ;
13073 wxString *arg2 = 0 ;
13074 wxString *arg3 = 0 ;
13075 int arg4 ;
13076 wxString *arg5 = (wxString *) 0 ;
13077 long arg6 = (long) wxCHOICEDLG_STYLE ;
13078 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13079 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13080 wxSingleChoiceDialog *result;
ae8162c8
RD
13081 bool temp2 = false ;
13082 bool temp3 = false ;
d55e5bfc
RD
13083 wxPoint temp6 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 PyObject * obj2 = 0 ;
13087 PyObject * obj3 = 0 ;
13088 PyObject * obj4 = 0 ;
13089 PyObject * obj5 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13097 {
13098 arg2 = wxString_in_helper(obj1);
13099 if (arg2 == NULL) SWIG_fail;
ae8162c8 13100 temp2 = true;
d55e5bfc
RD
13101 }
13102 {
13103 arg3 = wxString_in_helper(obj2);
13104 if (arg3 == NULL) SWIG_fail;
ae8162c8 13105 temp3 = true;
d55e5bfc
RD
13106 }
13107 {
13108 arg4 = PyList_Size(obj3);
13109 arg5 = wxString_LIST_helper(obj3);
13110 if (arg5 == NULL) SWIG_fail;
13111 }
13112 if (obj4) {
c32bde28 13113 arg6 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 if (obj5) {
13117 {
13118 arg7 = &temp6;
13119 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13120 }
13121 }
13122 {
0439c23b 13123 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13126
13127 wxPyEndAllowThreads(__tstate);
110da5b0 13128 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13129 }
13130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13131 {
13132 if (temp2)
13133 delete arg2;
13134 }
13135 {
13136 if (temp3)
13137 delete arg3;
13138 }
13139 {
13140 if (arg5) delete [] arg5;
13141 }
13142 return resultobj;
13143 fail:
13144 {
13145 if (temp2)
13146 delete arg2;
13147 }
13148 {
13149 if (temp3)
13150 delete arg3;
13151 }
13152 {
13153 if (arg5) delete [] arg5;
13154 }
13155 return NULL;
13156}
13157
13158
c32bde28 13159static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13160 PyObject *resultobj;
13161 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13162 int result;
13163 PyObject * obj0 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 result = (int)(arg1)->GetSelection();
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
c32bde28 13178 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13179 return resultobj;
13180 fail:
13181 return NULL;
13182}
13183
13184
c32bde28 13185static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13186 PyObject *resultobj;
13187 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13188 wxString result;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (arg1)->GetStringSelection();
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 {
13205#if wxUSE_UNICODE
13206 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13207#else
13208 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13209#endif
13210 }
13211 return resultobj;
13212 fail:
13213 return NULL;
13214}
13215
13216
c32bde28 13217static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13218 PyObject *resultobj;
13219 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13220 int arg2 ;
13221 PyObject * obj0 = 0 ;
13222 PyObject * obj1 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self",(char *) "sel", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13230 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13231 if (PyErr_Occurred()) SWIG_fail;
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->SetSelection(arg2);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 Py_INCREF(Py_None); resultobj = Py_None;
13240 return resultobj;
13241 fail:
13242 return NULL;
13243}
13244
13245
c32bde28 13246static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13247 PyObject *obj;
13248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13249 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13250 Py_INCREF(obj);
13251 return Py_BuildValue((char *)"");
13252}
c32bde28 13253static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13254 PyObject *resultobj;
13255 wxWindow *arg1 = (wxWindow *) 0 ;
13256 wxString *arg2 = 0 ;
13257 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13258 wxString *arg3 = (wxString *) &arg3_defvalue ;
13259 wxString const &arg4_defvalue = wxPyEmptyString ;
13260 wxString *arg4 = (wxString *) &arg4_defvalue ;
13261 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13262 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13263 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13264 wxTextEntryDialog *result;
ae8162c8
RD
13265 bool temp2 = false ;
13266 bool temp3 = false ;
13267 bool temp4 = false ;
d55e5bfc
RD
13268 wxPoint temp6 ;
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 PyObject * obj2 = 0 ;
13272 PyObject * obj3 = 0 ;
13273 PyObject * obj4 = 0 ;
13274 PyObject * obj5 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13282 {
13283 arg2 = wxString_in_helper(obj1);
13284 if (arg2 == NULL) SWIG_fail;
ae8162c8 13285 temp2 = true;
d55e5bfc
RD
13286 }
13287 if (obj2) {
13288 {
13289 arg3 = wxString_in_helper(obj2);
13290 if (arg3 == NULL) SWIG_fail;
ae8162c8 13291 temp3 = true;
d55e5bfc
RD
13292 }
13293 }
13294 if (obj3) {
13295 {
13296 arg4 = wxString_in_helper(obj3);
13297 if (arg4 == NULL) SWIG_fail;
ae8162c8 13298 temp4 = true;
d55e5bfc
RD
13299 }
13300 }
13301 if (obj4) {
c32bde28 13302 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 if (obj5) {
13306 {
13307 arg6 = &temp6;
13308 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13309 }
13310 }
13311 {
0439c23b 13312 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13315
13316 wxPyEndAllowThreads(__tstate);
110da5b0 13317 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13318 }
13319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13320 {
13321 if (temp2)
13322 delete arg2;
13323 }
13324 {
13325 if (temp3)
13326 delete arg3;
13327 }
13328 {
13329 if (temp4)
13330 delete arg4;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 {
13339 if (temp3)
13340 delete arg3;
13341 }
13342 {
13343 if (temp4)
13344 delete arg4;
13345 }
13346 return NULL;
13347}
13348
13349
c32bde28 13350static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13351 PyObject *resultobj;
13352 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13353 wxString result;
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (arg1)->GetValue();
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 {
13370#if wxUSE_UNICODE
13371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13372#else
13373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13374#endif
13375 }
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
c32bde28 13382static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13383 PyObject *resultobj;
13384 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13385 wxString *arg2 = 0 ;
ae8162c8 13386 bool temp2 = false ;
d55e5bfc
RD
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self",(char *) "value", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13396 {
13397 arg2 = wxString_in_helper(obj1);
13398 if (arg2 == NULL) SWIG_fail;
ae8162c8 13399 temp2 = true;
d55e5bfc
RD
13400 }
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 (arg1)->SetValue((wxString const &)*arg2);
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 {
13410 if (temp2)
13411 delete arg2;
13412 }
13413 return resultobj;
13414 fail:
13415 {
13416 if (temp2)
13417 delete arg2;
13418 }
13419 return NULL;
13420}
13421
13422
c32bde28 13423static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13424 PyObject *obj;
13425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13426 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13427 Py_INCREF(obj);
13428 return Py_BuildValue((char *)"");
13429}
c32bde28 13430static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13431 PyObject *resultobj;
13432 wxFontData *result;
13433 char *kwnames[] = {
13434 NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (wxFontData *)new wxFontData();
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
c32bde28 13452static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13453 PyObject *resultobj;
13454 wxFontData *arg1 = (wxFontData *) 0 ;
13455 PyObject * obj0 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 delete arg1;
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 Py_INCREF(Py_None); resultobj = Py_None;
13471 return resultobj;
13472 fail:
13473 return NULL;
13474}
13475
13476
c32bde28 13477static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13478 PyObject *resultobj;
13479 wxFontData *arg1 = (wxFontData *) 0 ;
13480 bool arg2 ;
13481 PyObject * obj0 = 0 ;
13482 PyObject * obj1 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "self",(char *) "enable", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13490 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13491 if (PyErr_Occurred()) SWIG_fail;
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 (arg1)->EnableEffects(arg2);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 Py_INCREF(Py_None); resultobj = Py_None;
13500 return resultobj;
13501 fail:
13502 return NULL;
13503}
13504
13505
c32bde28 13506static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13507 PyObject *resultobj;
13508 wxFontData *arg1 = (wxFontData *) 0 ;
13509 bool result;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 result = (bool)(arg1)->GetAllowSymbols();
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 {
13526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13527 }
13528 return resultobj;
13529 fail:
13530 return NULL;
13531}
13532
13533
c32bde28 13534static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13535 PyObject *resultobj;
13536 wxFontData *arg1 = (wxFontData *) 0 ;
13537 wxColour result;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 result = (arg1)->GetColour();
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 {
13554 wxColour * resultptr;
13555 resultptr = new wxColour((wxColour &) result);
13556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561}
13562
13563
c32bde28 13564static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13565 PyObject *resultobj;
13566 wxFontData *arg1 = (wxFontData *) 0 ;
13567 wxFont result;
13568 PyObject * obj0 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "self", NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = (arg1)->GetChosenFont();
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 wxFont * resultptr;
13585 resultptr = new wxFont((wxFont &) result);
13586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13587 }
13588 return resultobj;
13589 fail:
13590 return NULL;
13591}
13592
13593
c32bde28 13594static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13595 PyObject *resultobj;
13596 wxFontData *arg1 = (wxFontData *) 0 ;
13597 bool result;
13598 PyObject * obj0 = 0 ;
13599 char *kwnames[] = {
13600 (char *) "self", NULL
13601 };
13602
13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 result = (bool)(arg1)->GetEnableEffects();
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
13616 return resultobj;
13617 fail:
13618 return NULL;
13619}
13620
13621
c32bde28 13622static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13623 PyObject *resultobj;
13624 wxFontData *arg1 = (wxFontData *) 0 ;
13625 wxFont result;
13626 PyObject * obj0 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 result = (arg1)->GetInitialFont();
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 {
13642 wxFont * resultptr;
13643 resultptr = new wxFont((wxFont &) result);
13644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13645 }
13646 return resultobj;
13647 fail:
13648 return NULL;
13649}
13650
13651
c32bde28 13652static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13653 PyObject *resultobj;
13654 wxFontData *arg1 = (wxFontData *) 0 ;
13655 bool result;
13656 PyObject * obj0 = 0 ;
13657 char *kwnames[] = {
13658 (char *) "self", NULL
13659 };
13660
13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 result = (bool)(arg1)->GetShowHelp();
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 {
13672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13673 }
13674 return resultobj;
13675 fail:
13676 return NULL;
13677}
13678
13679
c32bde28 13680static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13681 PyObject *resultobj;
13682 wxFontData *arg1 = (wxFontData *) 0 ;
13683 bool arg2 ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "allowSymbols", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13693 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13694 if (PyErr_Occurred()) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 (arg1)->SetAllowSymbols(arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
c32bde28 13709static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13710 PyObject *resultobj;
13711 wxFontData *arg1 = (wxFontData *) 0 ;
13712 wxFont *arg2 = 0 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "font", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13723 SWIG_POINTER_EXCEPTION | 0)) == -1)
13724 SWIG_fail;
13725 if (arg2 == NULL) {
13726 PyErr_SetString(PyExc_TypeError,"null reference");
13727 SWIG_fail;
13728 }
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetChosenFont((wxFont const &)*arg2);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740}
13741
13742
c32bde28 13743static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13744 PyObject *resultobj;
13745 wxFontData *arg1 = (wxFontData *) 0 ;
13746 wxColour *arg2 = 0 ;
13747 wxColour temp2 ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "colour", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13757 {
13758 arg2 = &temp2;
13759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13760 }
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 (arg1)->SetColour((wxColour const &)*arg2);
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 Py_INCREF(Py_None); resultobj = Py_None;
13769 return resultobj;
13770 fail:
13771 return NULL;
13772}
13773
13774
c32bde28 13775static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13776 PyObject *resultobj;
13777 wxFontData *arg1 = (wxFontData *) 0 ;
13778 wxFont *arg2 = 0 ;
13779 PyObject * obj0 = 0 ;
13780 PyObject * obj1 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self",(char *) "font", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13789 SWIG_POINTER_EXCEPTION | 0)) == -1)
13790 SWIG_fail;
13791 if (arg2 == NULL) {
13792 PyErr_SetString(PyExc_TypeError,"null reference");
13793 SWIG_fail;
13794 }
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 (arg1)->SetInitialFont((wxFont const &)*arg2);
13798
13799 wxPyEndAllowThreads(__tstate);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 Py_INCREF(Py_None); resultobj = Py_None;
13803 return resultobj;
13804 fail:
13805 return NULL;
13806}
13807
13808
c32bde28 13809static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13810 PyObject *resultobj;
13811 wxFontData *arg1 = (wxFontData *) 0 ;
13812 int arg2 ;
13813 int arg3 ;
13814 PyObject * obj0 = 0 ;
13815 PyObject * obj1 = 0 ;
13816 PyObject * obj2 = 0 ;
13817 char *kwnames[] = {
13818 (char *) "self",(char *) "min",(char *) "max", NULL
13819 };
13820
13821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13824 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 13825 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13826 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13827 if (PyErr_Occurred()) SWIG_fail;
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 (arg1)->SetRange(arg2,arg3);
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 Py_INCREF(Py_None); resultobj = Py_None;
13836 return resultobj;
13837 fail:
13838 return NULL;
13839}
13840
13841
c32bde28 13842static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13843 PyObject *resultobj;
13844 wxFontData *arg1 = (wxFontData *) 0 ;
13845 bool arg2 ;
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj1 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self",(char *) "showHelp", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13855 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13856 if (PyErr_Occurred()) SWIG_fail;
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 (arg1)->SetShowHelp(arg2);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 Py_INCREF(Py_None); resultobj = Py_None;
13865 return resultobj;
13866 fail:
13867 return NULL;
13868}
13869
13870
c32bde28 13871static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13872 PyObject *obj;
13873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13874 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13875 Py_INCREF(obj);
13876 return Py_BuildValue((char *)"");
13877}
c32bde28 13878static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13879 PyObject *resultobj;
13880 wxWindow *arg1 = (wxWindow *) 0 ;
13881 wxFontData *arg2 = 0 ;
13882 wxFontDialog *result;
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "parent",(char *) "data", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13893 SWIG_POINTER_EXCEPTION | 0)) == -1)
13894 SWIG_fail;
13895 if (arg2 == NULL) {
13896 PyErr_SetString(PyExc_TypeError,"null reference");
13897 SWIG_fail;
13898 }
13899 {
0439c23b 13900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13903
13904 wxPyEndAllowThreads(__tstate);
110da5b0 13905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13906 }
13907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13908 return resultobj;
13909 fail:
13910 return NULL;
13911}
13912
13913
c32bde28 13914static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13915 PyObject *resultobj;
13916 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13917 wxFontData *result;
13918 PyObject * obj0 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 {
13929 wxFontData &_result_ref = (arg1)->GetFontData();
13930 result = (wxFontData *) &_result_ref;
13931 }
13932
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13937 return resultobj;
13938 fail:
13939 return NULL;
13940}
13941
13942
c32bde28 13943static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13944 PyObject *obj;
13945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13946 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13947 Py_INCREF(obj);
13948 return Py_BuildValue((char *)"");
13949}
c32bde28 13950static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13951 PyObject *resultobj;
13952 wxWindow *arg1 = (wxWindow *) 0 ;
13953 wxString *arg2 = 0 ;
13954 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13955 wxString *arg3 = (wxString *) &arg3_defvalue ;
13956 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13957 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13958 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13959 wxMessageDialog *result;
ae8162c8
RD
13960 bool temp2 = false ;
13961 bool temp3 = false ;
d55e5bfc
RD
13962 wxPoint temp5 ;
13963 PyObject * obj0 = 0 ;
13964 PyObject * obj1 = 0 ;
13965 PyObject * obj2 = 0 ;
13966 PyObject * obj3 = 0 ;
13967 PyObject * obj4 = 0 ;
13968 char *kwnames[] = {
13969 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13970 };
13971
13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13975 {
13976 arg2 = wxString_in_helper(obj1);
13977 if (arg2 == NULL) SWIG_fail;
ae8162c8 13978 temp2 = true;
d55e5bfc
RD
13979 }
13980 if (obj2) {
13981 {
13982 arg3 = wxString_in_helper(obj2);
13983 if (arg3 == NULL) SWIG_fail;
ae8162c8 13984 temp3 = true;
d55e5bfc
RD
13985 }
13986 }
13987 if (obj3) {
c32bde28 13988 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 if (obj4) {
13992 {
13993 arg5 = &temp5;
13994 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13995 }
13996 }
13997 {
0439c23b 13998 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
14001
14002 wxPyEndAllowThreads(__tstate);
110da5b0 14003 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14004 }
14005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 {
14011 if (temp3)
14012 delete arg3;
14013 }
14014 return resultobj;
14015 fail:
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 {
14021 if (temp3)
14022 delete arg3;
14023 }
14024 return NULL;
14025}
14026
14027
c32bde28 14028static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14029 PyObject *obj;
14030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14031 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
14032 Py_INCREF(obj);
14033 return Py_BuildValue((char *)"");
14034}
c32bde28 14035static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14036 PyObject *resultobj;
14037 wxString *arg1 = 0 ;
14038 wxString *arg2 = 0 ;
14039 int arg3 = (int) 100 ;
14040 wxWindow *arg4 = (wxWindow *) NULL ;
14041 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
14042 wxProgressDialog *result;
ae8162c8
RD
14043 bool temp1 = false ;
14044 bool temp2 = false ;
d55e5bfc
RD
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 PyObject * obj2 = 0 ;
14048 PyObject * obj3 = 0 ;
14049 PyObject * obj4 = 0 ;
14050 char *kwnames[] = {
14051 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14052 };
14053
14054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14055 {
14056 arg1 = wxString_in_helper(obj0);
14057 if (arg1 == NULL) SWIG_fail;
ae8162c8 14058 temp1 = true;
d55e5bfc
RD
14059 }
14060 {
14061 arg2 = wxString_in_helper(obj1);
14062 if (arg2 == NULL) SWIG_fail;
ae8162c8 14063 temp2 = true;
d55e5bfc
RD
14064 }
14065 if (obj2) {
c32bde28 14066 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 if (obj3) {
14070 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14072 }
14073 if (obj4) {
c32bde28 14074 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 {
0439c23b 14078 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14081
14082 wxPyEndAllowThreads(__tstate);
110da5b0 14083 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14084 }
14085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14086 {
14087 if (temp1)
14088 delete arg1;
14089 }
14090 {
14091 if (temp2)
14092 delete arg2;
14093 }
14094 return resultobj;
14095 fail:
14096 {
14097 if (temp1)
14098 delete arg1;
14099 }
14100 {
14101 if (temp2)
14102 delete arg2;
14103 }
14104 return NULL;
14105}
14106
14107
c32bde28 14108static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14109 PyObject *resultobj;
14110 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14111 int arg2 ;
14112 wxString const &arg3_defvalue = wxPyEmptyString ;
14113 wxString *arg3 = (wxString *) &arg3_defvalue ;
14114 bool result;
ae8162c8 14115 bool temp3 = false ;
d55e5bfc
RD
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
14118 PyObject * obj2 = 0 ;
14119 char *kwnames[] = {
14120 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14121 };
14122
14123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14126 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14127 if (PyErr_Occurred()) SWIG_fail;
14128 if (obj2) {
14129 {
14130 arg3 = wxString_in_helper(obj2);
14131 if (arg3 == NULL) SWIG_fail;
ae8162c8 14132 temp3 = true;
d55e5bfc
RD
14133 }
14134 }
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 {
14143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14144 }
14145 {
14146 if (temp3)
14147 delete arg3;
14148 }
14149 return resultobj;
14150 fail:
14151 {
14152 if (temp3)
14153 delete arg3;
14154 }
14155 return NULL;
14156}
14157
14158
c32bde28 14159static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14160 PyObject *resultobj;
14161 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14162 PyObject * obj0 = 0 ;
14163 char *kwnames[] = {
14164 (char *) "self", NULL
14165 };
14166
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 (arg1)->Resume();
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 Py_INCREF(Py_None); resultobj = Py_None;
14178 return resultobj;
14179 fail:
14180 return NULL;
14181}
14182
14183
c32bde28 14184static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14185 PyObject *obj;
14186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14187 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14188 Py_INCREF(obj);
14189 return Py_BuildValue((char *)"");
14190}
c32bde28 14191static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14192 PyObject *resultobj;
14193 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14194 int arg2 = (int) 0 ;
14195 wxFindDialogEvent *result;
14196 PyObject * obj0 = 0 ;
14197 PyObject * obj1 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "commandType",(char *) "id", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14203 if (obj0) {
c32bde28 14204 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 if (obj1) {
c32bde28 14208 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14214
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
14218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14219 return resultobj;
14220 fail:
14221 return NULL;
14222}
14223
14224
c32bde28 14225static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14226 PyObject *resultobj;
14227 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14228 int result;
14229 PyObject * obj0 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = (int)(arg1)->GetFlags();
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
c32bde28 14244 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14245 return resultobj;
14246 fail:
14247 return NULL;
14248}
14249
14250
c32bde28 14251static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14252 PyObject *resultobj;
14253 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14254 wxString *result;
14255 PyObject * obj0 = 0 ;
14256 char *kwnames[] = {
14257 (char *) "self", NULL
14258 };
14259
14260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 {
14266 wxString const &_result_ref = (arg1)->GetFindString();
14267 result = (wxString *) &_result_ref;
14268 }
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 {
14274#if wxUSE_UNICODE
14275 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14276#else
14277 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14278#endif
14279 }
14280 return resultobj;
14281 fail:
14282 return NULL;
14283}
14284
14285
c32bde28 14286static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14287 PyObject *resultobj;
14288 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14289 wxString *result;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 {
14301 wxString const &_result_ref = (arg1)->GetReplaceString();
14302 result = (wxString *) &_result_ref;
14303 }
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 {
14309#if wxUSE_UNICODE
14310 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14311#else
14312 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14313#endif
14314 }
14315 return resultobj;
14316 fail:
14317 return NULL;
14318}
14319
14320
c32bde28 14321static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14322 PyObject *resultobj;
14323 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14324 wxFindReplaceDialog *result;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14341 return resultobj;
14342 fail:
14343 return NULL;
14344}
14345
14346
c32bde28 14347static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14348 PyObject *resultobj;
14349 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14350 int arg2 ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj1 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "self",(char *) "flags", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14360 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14361 if (PyErr_Occurred()) SWIG_fail;
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 (arg1)->SetFlags(arg2);
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 Py_INCREF(Py_None); resultobj = Py_None;
14370 return resultobj;
14371 fail:
14372 return NULL;
14373}
14374
14375
c32bde28 14376static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14377 PyObject *resultobj;
14378 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14379 wxString *arg2 = 0 ;
ae8162c8 14380 bool temp2 = false ;
d55e5bfc
RD
14381 PyObject * obj0 = 0 ;
14382 PyObject * obj1 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self",(char *) "str", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14390 {
14391 arg2 = wxString_in_helper(obj1);
14392 if (arg2 == NULL) SWIG_fail;
ae8162c8 14393 temp2 = true;
d55e5bfc
RD
14394 }
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 (arg1)->SetFindString((wxString const &)*arg2);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 {
14404 if (temp2)
14405 delete arg2;
14406 }
14407 return resultobj;
14408 fail:
14409 {
14410 if (temp2)
14411 delete arg2;
14412 }
14413 return NULL;
14414}
14415
14416
c32bde28 14417static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14418 PyObject *resultobj;
14419 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14420 wxString *arg2 = 0 ;
ae8162c8 14421 bool temp2 = false ;
d55e5bfc
RD
14422 PyObject * obj0 = 0 ;
14423 PyObject * obj1 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self",(char *) "str", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14431 {
14432 arg2 = wxString_in_helper(obj1);
14433 if (arg2 == NULL) SWIG_fail;
ae8162c8 14434 temp2 = true;
d55e5bfc
RD
14435 }
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->SetReplaceString((wxString const &)*arg2);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 {
14445 if (temp2)
14446 delete arg2;
14447 }
14448 return resultobj;
14449 fail:
14450 {
14451 if (temp2)
14452 delete arg2;
14453 }
14454 return NULL;
14455}
14456
14457
c32bde28 14458static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14459 PyObject *obj;
14460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14461 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14462 Py_INCREF(obj);
14463 return Py_BuildValue((char *)"");
14464}
c32bde28 14465static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14466 PyObject *resultobj;
14467 int arg1 = (int) 0 ;
14468 wxFindReplaceData *result;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "flags", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14475 if (obj0) {
c32bde28 14476 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14487 return resultobj;
14488 fail:
14489 return NULL;
14490}
14491
14492
c32bde28 14493static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14494 PyObject *resultobj;
14495 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14496 PyObject * obj0 = 0 ;
14497 char *kwnames[] = {
14498 (char *) "self", NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 delete arg1;
14507
14508 wxPyEndAllowThreads(__tstate);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 Py_INCREF(Py_None); resultobj = Py_None;
14512 return resultobj;
14513 fail:
14514 return NULL;
14515}
14516
14517
c32bde28 14518static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14519 PyObject *resultobj;
14520 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14521 wxString *result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 {
14533 wxString const &_result_ref = (arg1)->GetFindString();
14534 result = (wxString *) &_result_ref;
14535 }
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 {
14541#if wxUSE_UNICODE
14542 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14543#else
14544 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14545#endif
14546 }
14547 return resultobj;
14548 fail:
14549 return NULL;
14550}
14551
14552
c32bde28 14553static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14554 PyObject *resultobj;
14555 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14556 wxString *result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 {
14568 wxString const &_result_ref = (arg1)->GetReplaceString();
14569 result = (wxString *) &_result_ref;
14570 }
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 {
14576#if wxUSE_UNICODE
14577 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14578#else
14579 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14580#endif
14581 }
14582 return resultobj;
14583 fail:
14584 return NULL;
14585}
14586
14587
c32bde28 14588static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14589 PyObject *resultobj;
14590 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14591 int result;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 result = (int)(arg1)->GetFlags();
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
c32bde28 14607 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14608 return resultobj;
14609 fail:
14610 return NULL;
14611}
14612
14613
c32bde28 14614static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14615 PyObject *resultobj;
14616 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14617 int arg2 ;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "flags", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14627 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14628 if (PyErr_Occurred()) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 (arg1)->SetFlags(arg2);
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 Py_INCREF(Py_None); resultobj = Py_None;
14637 return resultobj;
14638 fail:
14639 return NULL;
14640}
14641
14642
c32bde28 14643static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14644 PyObject *resultobj;
14645 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14646 wxString *arg2 = 0 ;
ae8162c8 14647 bool temp2 = false ;
d55e5bfc
RD
14648 PyObject * obj0 = 0 ;
14649 PyObject * obj1 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self",(char *) "str", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14657 {
14658 arg2 = wxString_in_helper(obj1);
14659 if (arg2 == NULL) SWIG_fail;
ae8162c8 14660 temp2 = true;
d55e5bfc
RD
14661 }
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 (arg1)->SetFindString((wxString const &)*arg2);
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 Py_INCREF(Py_None); resultobj = Py_None;
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 return resultobj;
14675 fail:
14676 {
14677 if (temp2)
14678 delete arg2;
14679 }
14680 return NULL;
14681}
14682
14683
c32bde28 14684static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14685 PyObject *resultobj;
14686 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14687 wxString *arg2 = 0 ;
ae8162c8 14688 bool temp2 = false ;
d55e5bfc
RD
14689 PyObject * obj0 = 0 ;
14690 PyObject * obj1 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self",(char *) "str", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14698 {
14699 arg2 = wxString_in_helper(obj1);
14700 if (arg2 == NULL) SWIG_fail;
ae8162c8 14701 temp2 = true;
d55e5bfc
RD
14702 }
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 (arg1)->SetReplaceString((wxString const &)*arg2);
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 Py_INCREF(Py_None); resultobj = Py_None;
14711 {
14712 if (temp2)
14713 delete arg2;
14714 }
14715 return resultobj;
14716 fail:
14717 {
14718 if (temp2)
14719 delete arg2;
14720 }
14721 return NULL;
14722}
14723
14724
c32bde28 14725static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14726 PyObject *obj;
14727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14728 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14729 Py_INCREF(obj);
14730 return Py_BuildValue((char *)"");
14731}
c32bde28 14732static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14733 PyObject *resultobj;
14734 wxWindow *arg1 = (wxWindow *) 0 ;
14735 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14736 wxString *arg3 = 0 ;
14737 int arg4 = (int) 0 ;
14738 wxFindReplaceDialog *result;
ae8162c8 14739 bool temp3 = false ;
d55e5bfc
RD
14740 PyObject * obj0 = 0 ;
14741 PyObject * obj1 = 0 ;
14742 PyObject * obj2 = 0 ;
14743 PyObject * obj3 = 0 ;
14744 char *kwnames[] = {
14745 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14746 };
14747
14748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14753 {
14754 arg3 = wxString_in_helper(obj2);
14755 if (arg3 == NULL) SWIG_fail;
ae8162c8 14756 temp3 = true;
d55e5bfc
RD
14757 }
14758 if (obj3) {
c32bde28 14759 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 {
0439c23b 14763 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14766
14767 wxPyEndAllowThreads(__tstate);
110da5b0 14768 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14769 }
14770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14771 {
14772 if (temp3)
14773 delete arg3;
14774 }
14775 return resultobj;
14776 fail:
14777 {
14778 if (temp3)
14779 delete arg3;
14780 }
14781 return NULL;
14782}
14783
14784
c32bde28 14785static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14786 PyObject *resultobj;
14787 wxFindReplaceDialog *result;
14788 char *kwnames[] = {
14789 NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14793 {
0439c23b 14794 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14797
14798 wxPyEndAllowThreads(__tstate);
110da5b0 14799 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14800 }
14801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14802 return resultobj;
14803 fail:
14804 return NULL;
14805}
14806
14807
c32bde28 14808static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14809 PyObject *resultobj;
14810 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14811 wxWindow *arg2 = (wxWindow *) 0 ;
14812 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14813 wxString *arg4 = 0 ;
14814 int arg5 = (int) 0 ;
14815 bool result;
ae8162c8 14816 bool temp4 = false ;
d55e5bfc
RD
14817 PyObject * obj0 = 0 ;
14818 PyObject * obj1 = 0 ;
14819 PyObject * obj2 = 0 ;
14820 PyObject * obj3 = 0 ;
14821 PyObject * obj4 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14833 {
14834 arg4 = wxString_in_helper(obj3);
14835 if (arg4 == NULL) SWIG_fail;
ae8162c8 14836 temp4 = true;
d55e5bfc
RD
14837 }
14838 if (obj4) {
c32bde28 14839 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 {
14850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14851 }
14852 {
14853 if (temp4)
14854 delete arg4;
14855 }
14856 return resultobj;
14857 fail:
14858 {
14859 if (temp4)
14860 delete arg4;
14861 }
14862 return NULL;
14863}
14864
14865
c32bde28 14866static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14867 PyObject *resultobj;
14868 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14869 wxFindReplaceData *result;
14870 PyObject * obj0 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "self", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 result = (wxFindReplaceData *)(arg1)->GetData();
14881
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14886 return resultobj;
14887 fail:
14888 return NULL;
14889}
14890
14891
c32bde28 14892static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14893 PyObject *resultobj;
14894 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14895 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14896 PyObject * obj0 = 0 ;
14897 PyObject * obj1 = 0 ;
14898 char *kwnames[] = {
14899 (char *) "self",(char *) "data", NULL
14900 };
14901
14902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 (arg1)->SetData(arg2);
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 Py_INCREF(Py_None); resultobj = Py_None;
14915 return resultobj;
14916 fail:
14917 return NULL;
14918}
14919
14920
c32bde28 14921static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14922 PyObject *obj;
14923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14924 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14925 Py_INCREF(obj);
14926 return Py_BuildValue((char *)"");
14927}
c32bde28 14928static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14929 PyObject *resultobj;
14930 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14931 int arg2 = (int) (int)-1 ;
14932 wxString const &arg3_defvalue = wxPyEmptyString ;
14933 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14934 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14935 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14936 wxSize const &arg5_defvalue = wxDefaultSize ;
14937 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14938 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14939 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14940 wxString *arg7 = (wxString *) &arg7_defvalue ;
14941 wxMDIParentFrame *result;
ae8162c8 14942 bool temp3 = false ;
d55e5bfc
RD
14943 wxPoint temp4 ;
14944 wxSize temp5 ;
ae8162c8 14945 bool temp7 = false ;
d55e5bfc
RD
14946 PyObject * obj0 = 0 ;
14947 PyObject * obj1 = 0 ;
14948 PyObject * obj2 = 0 ;
14949 PyObject * obj3 = 0 ;
14950 PyObject * obj4 = 0 ;
14951 PyObject * obj5 = 0 ;
14952 PyObject * obj6 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14955 };
14956
248ed943 14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
14958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14960 if (obj1) {
c32bde28 14961 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 if (obj2) {
14965 {
14966 arg3 = wxString_in_helper(obj2);
14967 if (arg3 == NULL) SWIG_fail;
ae8162c8 14968 temp3 = true;
248ed943 14969 }
d55e5bfc
RD
14970 }
14971 if (obj3) {
14972 {
14973 arg4 = &temp4;
14974 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14975 }
14976 }
14977 if (obj4) {
14978 {
14979 arg5 = &temp5;
14980 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14981 }
14982 }
14983 if (obj5) {
c32bde28 14984 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 if (obj6) {
14988 {
14989 arg7 = wxString_in_helper(obj6);
14990 if (arg7 == NULL) SWIG_fail;
ae8162c8 14991 temp7 = true;
d55e5bfc
RD
14992 }
14993 }
14994 {
0439c23b 14995 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14998
14999 wxPyEndAllowThreads(__tstate);
110da5b0 15000 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15001 }
15002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15003 {
15004 if (temp3)
15005 delete arg3;
15006 }
15007 {
15008 if (temp7)
15009 delete arg7;
15010 }
15011 return resultobj;
15012 fail:
15013 {
15014 if (temp3)
15015 delete arg3;
15016 }
15017 {
15018 if (temp7)
15019 delete arg7;
15020 }
15021 return NULL;
15022}
15023
15024
c32bde28 15025static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15026 PyObject *resultobj;
15027 wxMDIParentFrame *result;
15028 char *kwnames[] = {
15029 NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
15033 {
0439c23b 15034 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = (wxMDIParentFrame *)new wxMDIParentFrame();
15037
15038 wxPyEndAllowThreads(__tstate);
110da5b0 15039 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15040 }
15041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15042 return resultobj;
15043 fail:
15044 return NULL;
15045}
15046
15047
c32bde28 15048static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15049 PyObject *resultobj;
15050 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15051 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15052 int arg3 = (int) (int)-1 ;
15053 wxString const &arg4_defvalue = wxPyEmptyString ;
15054 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15055 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15056 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15057 wxSize const &arg6_defvalue = wxDefaultSize ;
15058 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15059 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15060 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15061 wxString *arg8 = (wxString *) &arg8_defvalue ;
15062 bool result;
ae8162c8 15063 bool temp4 = false ;
d55e5bfc
RD
15064 wxPoint temp5 ;
15065 wxSize temp6 ;
ae8162c8 15066 bool temp8 = false ;
d55e5bfc
RD
15067 PyObject * obj0 = 0 ;
15068 PyObject * obj1 = 0 ;
15069 PyObject * obj2 = 0 ;
15070 PyObject * obj3 = 0 ;
15071 PyObject * obj4 = 0 ;
15072 PyObject * obj5 = 0 ;
15073 PyObject * obj6 = 0 ;
15074 PyObject * obj7 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15077 };
15078
248ed943 15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
15080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15084 if (obj2) {
c32bde28 15085 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 if (obj3) {
15089 {
15090 arg4 = wxString_in_helper(obj3);
15091 if (arg4 == NULL) SWIG_fail;
ae8162c8 15092 temp4 = true;
248ed943 15093 }
d55e5bfc
RD
15094 }
15095 if (obj4) {
15096 {
15097 arg5 = &temp5;
15098 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15099 }
15100 }
15101 if (obj5) {
15102 {
15103 arg6 = &temp6;
15104 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15105 }
15106 }
15107 if (obj6) {
c32bde28 15108 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 if (obj7) {
15112 {
15113 arg8 = wxString_in_helper(obj7);
15114 if (arg8 == NULL) SWIG_fail;
ae8162c8 15115 temp8 = true;
d55e5bfc
RD
15116 }
15117 }
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 {
15126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15127 }
15128 {
15129 if (temp4)
15130 delete arg4;
15131 }
15132 {
15133 if (temp8)
15134 delete arg8;
15135 }
15136 return resultobj;
15137 fail:
15138 {
15139 if (temp4)
15140 delete arg4;
15141 }
15142 {
15143 if (temp8)
15144 delete arg8;
15145 }
15146 return NULL;
15147}
15148
15149
c32bde28 15150static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15151 PyObject *resultobj;
15152 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15153 PyObject * obj0 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->ActivateNext();
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 Py_INCREF(Py_None); resultobj = Py_None;
15169 return resultobj;
15170 fail:
15171 return NULL;
15172}
15173
15174
c32bde28 15175static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15176 PyObject *resultobj;
15177 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 (arg1)->ActivatePrevious();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 Py_INCREF(Py_None); resultobj = Py_None;
15194 return resultobj;
15195 fail:
15196 return NULL;
15197}
15198
15199
c32bde28 15200static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15201 PyObject *resultobj;
15202 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15203 PyObject * obj0 = 0 ;
15204 char *kwnames[] = {
15205 (char *) "self", NULL
15206 };
15207
15208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 (arg1)->ArrangeIcons();
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 Py_INCREF(Py_None); resultobj = Py_None;
15219 return resultobj;
15220 fail:
15221 return NULL;
15222}
15223
15224
c32bde28 15225static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15226 PyObject *resultobj;
15227 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15228 PyObject * obj0 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 (arg1)->Cascade();
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 Py_INCREF(Py_None); resultobj = Py_None;
15244 return resultobj;
15245 fail:
15246 return NULL;
15247}
15248
15249
c32bde28 15250static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15251 PyObject *resultobj;
15252 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15253 wxMDIChildFrame *result;
15254 PyObject * obj0 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 {
412d302d 15270 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15271 }
15272 return resultobj;
15273 fail:
15274 return NULL;
15275}
15276
15277
c32bde28 15278static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15279 PyObject *resultobj;
15280 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15281 wxMDIClientWindow *result;
15282 PyObject * obj0 = 0 ;
15283 char *kwnames[] = {
15284 (char *) "self", NULL
15285 };
15286
15287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15290 {
15291 PyThreadState* __tstate = wxPyBeginAllowThreads();
15292 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15293
15294 wxPyEndAllowThreads(__tstate);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
15297 {
412d302d 15298 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15299 }
15300 return resultobj;
15301 fail:
15302 return NULL;
15303}
15304
15305
c32bde28 15306static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15307 PyObject *resultobj;
15308 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15309 wxWindow *result;
15310 PyObject * obj0 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 result = (wxWindow *)(arg1)->GetToolBar();
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 {
412d302d 15326 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15327 }
15328 return resultobj;
15329 fail:
15330 return NULL;
15331}
15332
15333
c32bde28 15334static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15335 PyObject *resultobj;
15336 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15337 wxMenu *result;
15338 PyObject * obj0 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (wxMenu *)(arg1)->GetWindowMenu();
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 {
412d302d 15354 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15355 }
15356 return resultobj;
15357 fail:
15358 return NULL;
15359}
15360
15361
c32bde28 15362static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15363 PyObject *resultobj;
15364 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15365 wxMenu *arg2 = (wxMenu *) 0 ;
15366 PyObject * obj0 = 0 ;
15367 PyObject * obj1 = 0 ;
15368 char *kwnames[] = {
15369 (char *) "self",(char *) "menu", NULL
15370 };
15371
15372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 (arg1)->SetWindowMenu(arg2);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 Py_INCREF(Py_None); resultobj = Py_None;
15385 return resultobj;
15386 fail:
15387 return NULL;
15388}
15389
15390
c32bde28 15391static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15392 PyObject *resultobj;
15393 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15394 wxToolBar *arg2 = (wxToolBar *) 0 ;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self",(char *) "toolbar", NULL
15399 };
15400
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 (arg1)->SetToolBar(arg2);
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 Py_INCREF(Py_None); resultobj = Py_None;
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
c32bde28 15420static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15421 PyObject *resultobj;
15422 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15423 PyObject * obj0 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 (arg1)->Tile();
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 Py_INCREF(Py_None); resultobj = Py_None;
15439 return resultobj;
15440 fail:
15441 return NULL;
15442}
15443
15444
c32bde28 15445static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15446 PyObject *obj;
15447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15448 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15449 Py_INCREF(obj);
15450 return Py_BuildValue((char *)"");
15451}
c32bde28 15452static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15453 PyObject *resultobj;
15454 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15455 int arg2 = (int) (int)-1 ;
15456 wxString const &arg3_defvalue = wxPyEmptyString ;
15457 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15460 wxSize const &arg5_defvalue = wxDefaultSize ;
15461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15462 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15463 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15464 wxString *arg7 = (wxString *) &arg7_defvalue ;
15465 wxMDIChildFrame *result;
ae8162c8 15466 bool temp3 = false ;
d55e5bfc
RD
15467 wxPoint temp4 ;
15468 wxSize temp5 ;
ae8162c8 15469 bool temp7 = false ;
d55e5bfc
RD
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 PyObject * obj2 = 0 ;
15473 PyObject * obj3 = 0 ;
15474 PyObject * obj4 = 0 ;
15475 PyObject * obj5 = 0 ;
15476 PyObject * obj6 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15479 };
15480
248ed943 15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15484 if (obj1) {
c32bde28 15485 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 if (obj2) {
15489 {
15490 arg3 = wxString_in_helper(obj2);
15491 if (arg3 == NULL) SWIG_fail;
ae8162c8 15492 temp3 = true;
248ed943 15493 }
d55e5bfc
RD
15494 }
15495 if (obj3) {
15496 {
15497 arg4 = &temp4;
15498 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15499 }
15500 }
15501 if (obj4) {
15502 {
15503 arg5 = &temp5;
15504 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15505 }
15506 }
15507 if (obj5) {
c32bde28 15508 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 if (obj6) {
15512 {
15513 arg7 = wxString_in_helper(obj6);
15514 if (arg7 == NULL) SWIG_fail;
ae8162c8 15515 temp7 = true;
d55e5bfc
RD
15516 }
15517 }
15518 {
0439c23b 15519 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15522
15523 wxPyEndAllowThreads(__tstate);
110da5b0 15524 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15525 }
b0f7404b 15526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
15527 {
15528 if (temp3)
15529 delete arg3;
15530 }
15531 {
15532 if (temp7)
15533 delete arg7;
15534 }
15535 return resultobj;
15536 fail:
15537 {
15538 if (temp3)
15539 delete arg3;
15540 }
15541 {
15542 if (temp7)
15543 delete arg7;
15544 }
15545 return NULL;
15546}
15547
15548
c32bde28 15549static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15550 PyObject *resultobj;
15551 wxMDIChildFrame *result;
15552 char *kwnames[] = {
15553 NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15557 {
0439c23b 15558 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15561
15562 wxPyEndAllowThreads(__tstate);
110da5b0 15563 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15564 }
b0f7404b 15565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
c32bde28 15572static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15573 PyObject *resultobj;
15574 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15575 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15576 int arg3 = (int) (int)-1 ;
15577 wxString const &arg4_defvalue = wxPyEmptyString ;
15578 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15579 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15580 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15581 wxSize const &arg6_defvalue = wxDefaultSize ;
15582 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15583 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15584 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15585 wxString *arg8 = (wxString *) &arg8_defvalue ;
15586 bool result;
ae8162c8 15587 bool temp4 = false ;
d55e5bfc
RD
15588 wxPoint temp5 ;
15589 wxSize temp6 ;
ae8162c8 15590 bool temp8 = false ;
d55e5bfc
RD
15591 PyObject * obj0 = 0 ;
15592 PyObject * obj1 = 0 ;
15593 PyObject * obj2 = 0 ;
15594 PyObject * obj3 = 0 ;
15595 PyObject * obj4 = 0 ;
15596 PyObject * obj5 = 0 ;
15597 PyObject * obj6 = 0 ;
15598 PyObject * obj7 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15601 };
15602
248ed943 15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
15604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15608 if (obj2) {
c32bde28 15609 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 if (obj3) {
15613 {
15614 arg4 = wxString_in_helper(obj3);
15615 if (arg4 == NULL) SWIG_fail;
ae8162c8 15616 temp4 = true;
248ed943 15617 }
d55e5bfc
RD
15618 }
15619 if (obj4) {
15620 {
15621 arg5 = &temp5;
15622 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15623 }
15624 }
15625 if (obj5) {
15626 {
15627 arg6 = &temp6;
15628 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15629 }
15630 }
15631 if (obj6) {
c32bde28 15632 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 if (obj7) {
15636 {
15637 arg8 = wxString_in_helper(obj7);
15638 if (arg8 == NULL) SWIG_fail;
ae8162c8 15639 temp8 = true;
d55e5bfc
RD
15640 }
15641 }
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 {
15650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15651 }
15652 {
15653 if (temp4)
15654 delete arg4;
15655 }
15656 {
15657 if (temp8)
15658 delete arg8;
15659 }
15660 return resultobj;
15661 fail:
15662 {
15663 if (temp4)
15664 delete arg4;
15665 }
15666 {
15667 if (temp8)
15668 delete arg8;
15669 }
15670 return NULL;
15671}
15672
15673
c32bde28 15674static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15675 PyObject *resultobj;
15676 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15677 PyObject * obj0 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 (arg1)->Activate();
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 Py_INCREF(Py_None); resultobj = Py_None;
15693 return resultobj;
15694 fail:
15695 return NULL;
15696}
15697
15698
c32bde28 15699static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15700 PyObject *resultobj;
15701 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15702 bool arg2 ;
15703 PyObject * obj0 = 0 ;
15704 PyObject * obj1 = 0 ;
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "maximize", NULL
15707 };
15708
15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15712 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15713 if (PyErr_Occurred()) SWIG_fail;
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 (arg1)->Maximize(arg2);
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 Py_INCREF(Py_None); resultobj = Py_None;
15722 return resultobj;
15723 fail:
15724 return NULL;
15725}
15726
15727
c32bde28 15728static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15729 PyObject *resultobj;
15730 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15731 PyObject * obj0 = 0 ;
15732 char *kwnames[] = {
15733 (char *) "self", NULL
15734 };
15735
15736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->Restore();
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 return resultobj;
15748 fail:
15749 return NULL;
15750}
15751
15752
c32bde28 15753static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15754 PyObject *obj;
15755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15756 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15757 Py_INCREF(obj);
15758 return Py_BuildValue((char *)"");
15759}
c32bde28 15760static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15761 PyObject *resultobj;
15762 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15763 long arg2 = (long) 0 ;
15764 wxMDIClientWindow *result;
15765 PyObject * obj0 = 0 ;
15766 PyObject * obj1 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "parent",(char *) "style", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15774 if (obj1) {
c32bde28 15775 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 {
0439c23b 15779 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15782
15783 wxPyEndAllowThreads(__tstate);
110da5b0 15784 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15785 }
b0f7404b 15786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
15787 return resultobj;
15788 fail:
15789 return NULL;
15790}
15791
15792
c32bde28 15793static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15794 PyObject *resultobj;
15795 wxMDIClientWindow *result;
15796 char *kwnames[] = {
15797 NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15801 {
0439c23b 15802 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15805
15806 wxPyEndAllowThreads(__tstate);
110da5b0 15807 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15808 }
b0f7404b 15809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
15810 return resultobj;
15811 fail:
15812 return NULL;
15813}
15814
15815
c32bde28 15816static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15817 PyObject *resultobj;
15818 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15819 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15820 long arg3 = (long) 0 ;
15821 bool result;
15822 PyObject * obj0 = 0 ;
15823 PyObject * obj1 = 0 ;
15824 PyObject * obj2 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self",(char *) "parent",(char *) "style", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15834 if (obj2) {
c32bde28 15835 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 result = (bool)(arg1)->Create(arg2,arg3);
15841
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 {
15846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15847 }
15848 return resultobj;
15849 fail:
15850 return NULL;
15851}
15852
15853
c32bde28 15854static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15855 PyObject *obj;
15856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15857 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15858 Py_INCREF(obj);
15859 return Py_BuildValue((char *)"");
15860}
c32bde28 15861static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15862 PyObject *resultobj;
15863 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 15864 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
15865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15867 wxSize const &arg4_defvalue = wxDefaultSize ;
15868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15869 long arg5 = (long) 0 ;
15870 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15871 wxString *arg6 = (wxString *) &arg6_defvalue ;
15872 wxPyWindow *result;
15873 wxPoint temp3 ;
15874 wxSize temp4 ;
ae8162c8 15875 bool temp6 = false ;
d55e5bfc
RD
15876 PyObject * obj0 = 0 ;
15877 PyObject * obj1 = 0 ;
15878 PyObject * obj2 = 0 ;
15879 PyObject * obj3 = 0 ;
15880 PyObject * obj4 = 0 ;
15881 PyObject * obj5 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15884 };
15885
248ed943 15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
15887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15889 if (obj1) {
c32bde28 15890 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
d55e5bfc
RD
15893 if (obj2) {
15894 {
15895 arg3 = &temp3;
15896 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15897 }
15898 }
15899 if (obj3) {
15900 {
15901 arg4 = &temp4;
15902 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15903 }
15904 }
15905 if (obj4) {
c32bde28 15906 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 if (obj5) {
15910 {
15911 arg6 = wxString_in_helper(obj5);
15912 if (arg6 == NULL) SWIG_fail;
ae8162c8 15913 temp6 = true;
d55e5bfc
RD
15914 }
15915 }
15916 {
0439c23b 15917 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15920
15921 wxPyEndAllowThreads(__tstate);
110da5b0 15922 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15923 }
15924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15925 {
15926 if (temp6)
15927 delete arg6;
15928 }
15929 return resultobj;
15930 fail:
15931 {
15932 if (temp6)
15933 delete arg6;
15934 }
15935 return NULL;
15936}
15937
15938
c32bde28 15939static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15940 PyObject *resultobj;
15941 wxPyWindow *result;
15942 char *kwnames[] = {
15943 NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15947 {
0439c23b 15948 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (wxPyWindow *)new wxPyWindow();
15951
15952 wxPyEndAllowThreads(__tstate);
110da5b0 15953 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15954 }
15955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
c32bde28 15962static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15963 PyObject *resultobj;
15964 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15965 PyObject *arg2 = (PyObject *) 0 ;
15966 PyObject *arg3 = (PyObject *) 0 ;
15967 PyObject * obj0 = 0 ;
15968 PyObject * obj1 = 0 ;
15969 PyObject * obj2 = 0 ;
15970 char *kwnames[] = {
15971 (char *) "self",(char *) "self",(char *) "_class", NULL
15972 };
15973
15974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15977 arg2 = obj1;
15978 arg3 = obj2;
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 (arg1)->_setCallbackInfo(arg2,arg3);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 Py_INCREF(Py_None); resultobj = Py_None;
15987 return resultobj;
15988 fail:
15989 return NULL;
15990}
15991
15992
c32bde28 15993static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
15994 PyObject *resultobj;
15995 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15996 wxSize *arg2 = 0 ;
15997 wxSize temp2 ;
15998 PyObject * obj0 = 0 ;
15999 PyObject * obj1 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self",(char *) "size", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16007 {
16008 arg2 = &temp2;
16009 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->SetBestSize((wxSize const &)*arg2);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 Py_INCREF(Py_None); resultobj = Py_None;
16019 return resultobj;
16020 fail:
16021 return NULL;
16022}
16023
16024
c32bde28 16025static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16026 PyObject *resultobj;
16027 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16028 int arg2 ;
16029 int arg3 ;
16030 int arg4 ;
16031 int arg5 ;
16032 PyObject * obj0 = 0 ;
16033 PyObject * obj1 = 0 ;
16034 PyObject * obj2 = 0 ;
16035 PyObject * obj3 = 0 ;
16036 PyObject * obj4 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16044 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16045 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16046 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16047 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16048 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16049 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16050 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16051 if (PyErr_Occurred()) SWIG_fail;
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 Py_INCREF(Py_None); resultobj = Py_None;
16060 return resultobj;
16061 fail:
16062 return NULL;
16063}
16064
16065
c32bde28 16066static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16067 PyObject *resultobj;
16068 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16069 int arg2 ;
16070 int arg3 ;
16071 int arg4 ;
16072 int arg5 ;
16073 int arg6 = (int) wxSIZE_AUTO ;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 PyObject * obj2 = 0 ;
16077 PyObject * obj3 = 0 ;
16078 PyObject * obj4 = 0 ;
16079 PyObject * obj5 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16087 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16088 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16089 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16090 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16091 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16092 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16093 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16094 if (PyErr_Occurred()) SWIG_fail;
16095 if (obj5) {
c32bde28 16096 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 Py_INCREF(Py_None); resultobj = Py_None;
16107 return resultobj;
16108 fail:
16109 return NULL;
16110}
16111
16112
c32bde28 16113static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16114 PyObject *resultobj;
16115 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16116 int arg2 ;
16117 int arg3 ;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 PyObject * obj2 = 0 ;
16121 char *kwnames[] = {
16122 (char *) "self",(char *) "width",(char *) "height", NULL
16123 };
16124
16125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16128 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16129 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16130 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16131 if (PyErr_Occurred()) SWIG_fail;
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 (arg1)->base_DoSetClientSize(arg2,arg3);
16135
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 Py_INCREF(Py_None); resultobj = Py_None;
16140 return resultobj;
16141 fail:
16142 return NULL;
16143}
16144
16145
c32bde28 16146static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16147 PyObject *resultobj;
16148 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16149 int arg2 ;
16150 int arg3 ;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 PyObject * obj2 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self",(char *) "x",(char *) "y", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16161 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16162 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16163 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16164 if (PyErr_Occurred()) SWIG_fail;
16165 {
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16168
16169 wxPyEndAllowThreads(__tstate);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 }
16172 Py_INCREF(Py_None); resultobj = Py_None;
16173 return resultobj;
16174 fail:
16175 return NULL;
16176}
16177
16178
c32bde28 16179static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16180 PyObject *resultobj;
16181 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16182 int *arg2 = (int *) 0 ;
16183 int *arg3 = (int *) 0 ;
16184 int temp2 ;
c32bde28 16185 int res2 = 0 ;
d55e5bfc 16186 int temp3 ;
c32bde28 16187 int res3 = 0 ;
d55e5bfc
RD
16188 PyObject * obj0 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self", NULL
16191 };
16192
c32bde28
RD
16193 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16194 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16206 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16207 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16208 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16209 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16210 return resultobj;
16211 fail:
16212 return NULL;
16213}
16214
16215
c32bde28 16216static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16217 PyObject *resultobj;
16218 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16219 int *arg2 = (int *) 0 ;
16220 int *arg3 = (int *) 0 ;
16221 int temp2 ;
c32bde28 16222 int res2 = 0 ;
d55e5bfc 16223 int temp3 ;
c32bde28 16224 int res3 = 0 ;
d55e5bfc
RD
16225 PyObject * obj0 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self", NULL
16228 };
16229
c32bde28
RD
16230 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16231 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16243 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16244 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16245 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16246 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16247 return resultobj;
16248 fail:
16249 return NULL;
16250}
16251
16252
c32bde28 16253static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16254 PyObject *resultobj;
16255 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16256 int *arg2 = (int *) 0 ;
16257 int *arg3 = (int *) 0 ;
16258 int temp2 ;
c32bde28 16259 int res2 = 0 ;
d55e5bfc 16260 int temp3 ;
c32bde28 16261 int res3 = 0 ;
d55e5bfc
RD
16262 PyObject * obj0 = 0 ;
16263 char *kwnames[] = {
16264 (char *) "self", NULL
16265 };
16266
c32bde28
RD
16267 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16268 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16280 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16281 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16282 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16283 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16284 return resultobj;
16285 fail:
16286 return NULL;
16287}
16288
16289
c32bde28 16290static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16291 PyObject *resultobj;
16292 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16293 wxSize result;
16294 PyObject * obj0 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 {
16310 wxSize * resultptr;
16311 resultptr = new wxSize((wxSize &) result);
16312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16313 }
16314 return resultobj;
16315 fail:
16316 return NULL;
16317}
16318
16319
c32bde28 16320static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16321 PyObject *resultobj;
16322 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16323 wxSize result;
16324 PyObject * obj0 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self", NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16335
16336 wxPyEndAllowThreads(__tstate);
16337 if (PyErr_Occurred()) SWIG_fail;
16338 }
16339 {
16340 wxSize * resultptr;
16341 resultptr = new wxSize((wxSize &) result);
16342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16343 }
16344 return resultobj;
16345 fail:
16346 return NULL;
16347}
16348
16349
c32bde28 16350static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16351 PyObject *resultobj;
16352 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 (arg1)->base_InitDialog();
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 Py_INCREF(Py_None); resultobj = Py_None;
16369 return resultobj;
16370 fail:
16371 return NULL;
16372}
16373
16374
c32bde28 16375static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16376 PyObject *resultobj;
16377 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16378 bool result;
16379 PyObject * obj0 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 result = (bool)(arg1)->base_TransferDataToWindow();
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 {
16395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16396 }
16397 return resultobj;
16398 fail:
16399 return NULL;
16400}
16401
16402
c32bde28 16403static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16404 PyObject *resultobj;
16405 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16406 bool result;
16407 PyObject * obj0 = 0 ;
16408 char *kwnames[] = {
16409 (char *) "self", NULL
16410 };
16411
16412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 result = (bool)(arg1)->base_TransferDataFromWindow();
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 {
16423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16424 }
16425 return resultobj;
16426 fail:
16427 return NULL;
16428}
16429
16430
c32bde28 16431static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16432 PyObject *resultobj;
16433 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16434 bool result;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 result = (bool)(arg1)->base_Validate();
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 {
16451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16452 }
16453 return resultobj;
16454 fail:
16455 return NULL;
16456}
16457
16458
c32bde28 16459static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16460 PyObject *resultobj;
16461 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16462 bool result;
16463 PyObject * obj0 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 {
16479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16480 }
16481 return resultobj;
16482 fail:
16483 return NULL;
16484}
16485
16486
c32bde28 16487static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16488 PyObject *resultobj;
16489 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16490 bool result;
16491 PyObject * obj0 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 {
16507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16508 }
16509 return resultobj;
16510 fail:
16511 return NULL;
16512}
16513
16514
c32bde28 16515static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16516 PyObject *resultobj;
16517 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16518 wxSize result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 wxSize * resultptr;
16536 resultptr = new wxSize((wxSize &) result);
16537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16538 }
16539 return resultobj;
16540 fail:
16541 return NULL;
16542}
16543
16544
c32bde28 16545static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16546 PyObject *resultobj;
16547 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16548 wxWindow *arg2 = (wxWindow *) 0 ;
16549 PyObject * obj0 = 0 ;
16550 PyObject * obj1 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self",(char *) "child", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 (arg1)->base_AddChild(arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 Py_INCREF(Py_None); resultobj = Py_None;
16568 return resultobj;
16569 fail:
16570 return NULL;
16571}
16572
16573
c32bde28 16574static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16575 PyObject *resultobj;
16576 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16577 wxWindow *arg2 = (wxWindow *) 0 ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self",(char *) "child", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 (arg1)->base_RemoveChild(arg2);
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 Py_INCREF(Py_None); resultobj = Py_None;
16597 return resultobj;
16598 fail:
16599 return NULL;
16600}
16601
16602
c32bde28 16603static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16604 PyObject *resultobj;
16605 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16606 bool result;
16607 PyObject * obj0 = 0 ;
16608 char *kwnames[] = {
16609 (char *) "self", NULL
16610 };
16611
16612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 16617 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 {
16623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16624 }
16625 return resultobj;
16626 fail:
16627 return NULL;
16628}
16629
16630
c32bde28 16631static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16632 PyObject *resultobj;
16633 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16634 wxColour *arg2 = 0 ;
16635 wxColour temp2 ;
16636 PyObject * obj0 = 0 ;
16637 PyObject * obj1 = 0 ;
16638 char *kwnames[] = {
16639 (char *) "self",(char *) "c", NULL
16640 };
16641
16642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16645 {
16646 arg2 = &temp2;
16647 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16648 }
16649 {
16650 PyThreadState* __tstate = wxPyBeginAllowThreads();
16651 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16652
16653 wxPyEndAllowThreads(__tstate);
16654 if (PyErr_Occurred()) SWIG_fail;
16655 }
16656 Py_INCREF(Py_None); resultobj = Py_None;
16657 return resultobj;
16658 fail:
16659 return NULL;
16660}
16661
16662
c32bde28 16663static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
16664 PyObject *resultobj;
16665 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16666 wxVisualAttributes result;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (arg1)->base_GetDefaultAttributes();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 {
16683 wxVisualAttributes * resultptr;
16684 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16686 }
16687 return resultobj;
16688 fail:
16689 return NULL;
16690}
16691
16692
c32bde28 16693static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16694 PyObject *obj;
16695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16697 Py_INCREF(obj);
16698 return Py_BuildValue((char *)"");
16699}
c32bde28 16700static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16701 PyObject *resultobj;
16702 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 16703 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
16704 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16705 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16706 wxSize const &arg4_defvalue = wxDefaultSize ;
16707 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16708 long arg5 = (long) 0 ;
16709 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16710 wxString *arg6 = (wxString *) &arg6_defvalue ;
16711 wxPyPanel *result;
16712 wxPoint temp3 ;
16713 wxSize temp4 ;
ae8162c8 16714 bool temp6 = false ;
d55e5bfc
RD
16715 PyObject * obj0 = 0 ;
16716 PyObject * obj1 = 0 ;
16717 PyObject * obj2 = 0 ;
16718 PyObject * obj3 = 0 ;
16719 PyObject * obj4 = 0 ;
16720 PyObject * obj5 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16723 };
16724
248ed943 16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
16726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 16728 if (obj1) {
c32bde28 16729 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
d55e5bfc
RD
16732 if (obj2) {
16733 {
16734 arg3 = &temp3;
16735 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16736 }
16737 }
16738 if (obj3) {
16739 {
16740 arg4 = &temp4;
16741 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16742 }
16743 }
16744 if (obj4) {
c32bde28 16745 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 if (obj5) {
16749 {
16750 arg6 = wxString_in_helper(obj5);
16751 if (arg6 == NULL) SWIG_fail;
ae8162c8 16752 temp6 = true;
d55e5bfc
RD
16753 }
16754 }
16755 {
0439c23b 16756 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16759
16760 wxPyEndAllowThreads(__tstate);
110da5b0 16761 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16762 }
16763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16764 {
16765 if (temp6)
16766 delete arg6;
16767 }
16768 return resultobj;
16769 fail:
16770 {
16771 if (temp6)
16772 delete arg6;
16773 }
16774 return NULL;
16775}
16776
16777
c32bde28 16778static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16779 PyObject *resultobj;
16780 wxPyPanel *result;
16781 char *kwnames[] = {
16782 NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16786 {
0439c23b 16787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (wxPyPanel *)new wxPyPanel();
16790
16791 wxPyEndAllowThreads(__tstate);
110da5b0 16792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16793 }
16794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16795 return resultobj;
16796 fail:
16797 return NULL;
16798}
16799
16800
c32bde28 16801static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16802 PyObject *resultobj;
16803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16804 PyObject *arg2 = (PyObject *) 0 ;
16805 PyObject *arg3 = (PyObject *) 0 ;
16806 PyObject * obj0 = 0 ;
16807 PyObject * obj1 = 0 ;
16808 PyObject * obj2 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self",(char *) "self",(char *) "_class", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16816 arg2 = obj1;
16817 arg3 = obj2;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 (arg1)->_setCallbackInfo(arg2,arg3);
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 Py_INCREF(Py_None); resultobj = Py_None;
16826 return resultobj;
16827 fail:
16828 return NULL;
16829}
16830
16831
c32bde28 16832static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
16833 PyObject *resultobj;
16834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16835 wxSize *arg2 = 0 ;
16836 wxSize temp2 ;
16837 PyObject * obj0 = 0 ;
16838 PyObject * obj1 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self",(char *) "size", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16846 {
16847 arg2 = &temp2;
16848 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16849 }
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 (arg1)->SetBestSize((wxSize const &)*arg2);
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 Py_INCREF(Py_None); resultobj = Py_None;
16858 return resultobj;
16859 fail:
16860 return NULL;
16861}
16862
16863
c32bde28 16864static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16865 PyObject *resultobj;
16866 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16867 int arg2 ;
16868 int arg3 ;
16869 int arg4 ;
16870 int arg5 ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 PyObject * obj2 = 0 ;
16874 PyObject * obj3 = 0 ;
16875 PyObject * obj4 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16883 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16884 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16885 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16886 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16887 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16888 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16889 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16890 if (PyErr_Occurred()) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 Py_INCREF(Py_None); resultobj = Py_None;
16899 return resultobj;
16900 fail:
16901 return NULL;
16902}
16903
16904
c32bde28 16905static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16906 PyObject *resultobj;
16907 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16908 int arg2 ;
16909 int arg3 ;
16910 int arg4 ;
16911 int arg5 ;
16912 int arg6 = (int) wxSIZE_AUTO ;
16913 PyObject * obj0 = 0 ;
16914 PyObject * obj1 = 0 ;
16915 PyObject * obj2 = 0 ;
16916 PyObject * obj3 = 0 ;
16917 PyObject * obj4 = 0 ;
16918 PyObject * obj5 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16926 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16927 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16928 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16929 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16930 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16931 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16932 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16933 if (PyErr_Occurred()) SWIG_fail;
16934 if (obj5) {
c32bde28 16935 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949}
16950
16951
c32bde28 16952static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16953 PyObject *resultobj;
16954 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16955 int arg2 ;
16956 int arg3 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 PyObject * obj2 = 0 ;
16960 char *kwnames[] = {
16961 (char *) "self",(char *) "width",(char *) "height", NULL
16962 };
16963
16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16967 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16968 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16969 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16970 if (PyErr_Occurred()) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->base_DoSetClientSize(arg2,arg3);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982}
16983
16984
c32bde28 16985static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16986 PyObject *resultobj;
16987 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16988 int arg2 ;
16989 int arg3 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 PyObject * obj2 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "x",(char *) "y", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17000 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17001 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17002 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17003 if (PyErr_Occurred()) SWIG_fail;
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 return resultobj;
17013 fail:
17014 return NULL;
17015}
17016
17017
c32bde28 17018static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17019 PyObject *resultobj;
17020 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17021 int *arg2 = (int *) 0 ;
17022 int *arg3 = (int *) 0 ;
17023 int temp2 ;
c32bde28 17024 int res2 = 0 ;
d55e5bfc 17025 int temp3 ;
c32bde28 17026 int res3 = 0 ;
d55e5bfc
RD
17027 PyObject * obj0 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self", NULL
17030 };
17031
c32bde28
RD
17032 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17033 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17045 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17046 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17047 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17048 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17049 return resultobj;
17050 fail:
17051 return NULL;
17052}
17053
17054
c32bde28 17055static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17056 PyObject *resultobj;
17057 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17058 int *arg2 = (int *) 0 ;
17059 int *arg3 = (int *) 0 ;
17060 int temp2 ;
c32bde28 17061 int res2 = 0 ;
d55e5bfc 17062 int temp3 ;
c32bde28 17063 int res3 = 0 ;
d55e5bfc
RD
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
c32bde28
RD
17069 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17070 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17074 {
17075 PyThreadState* __tstate = wxPyBeginAllowThreads();
17076 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17077
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17082 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17083 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17084 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17085 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
c32bde28 17092static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17093 PyObject *resultobj;
17094 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17095 int *arg2 = (int *) 0 ;
17096 int *arg3 = (int *) 0 ;
17097 int temp2 ;
c32bde28 17098 int res2 = 0 ;
d55e5bfc 17099 int temp3 ;
c32bde28 17100 int res3 = 0 ;
d55e5bfc
RD
17101 PyObject * obj0 = 0 ;
17102 char *kwnames[] = {
17103 (char *) "self", NULL
17104 };
17105
c32bde28
RD
17106 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17107 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17119 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17120 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17121 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17122 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17123 return resultobj;
17124 fail:
17125 return NULL;
17126}
17127
17128
c32bde28 17129static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17130 PyObject *resultobj;
17131 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17132 wxSize result;
17133 PyObject * obj0 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 wxSize * resultptr;
17150 resultptr = new wxSize((wxSize &) result);
17151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17152 }
17153 return resultobj;
17154 fail:
17155 return NULL;
17156}
17157
17158
c32bde28 17159static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17160 PyObject *resultobj;
17161 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17162 wxSize result;
17163 PyObject * obj0 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 {
17179 wxSize * resultptr;
17180 resultptr = new wxSize((wxSize &) result);
17181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17182 }
17183 return resultobj;
17184 fail:
17185 return NULL;
17186}
17187
17188
c32bde28 17189static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17190 PyObject *resultobj;
17191 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->base_InitDialog();
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 Py_INCREF(Py_None); resultobj = Py_None;
17208 return resultobj;
17209 fail:
17210 return NULL;
17211}
17212
17213
c32bde28 17214static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17215 PyObject *resultobj;
17216 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17217 bool result;
17218 PyObject * obj0 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "self", NULL
17221 };
17222
17223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 result = (bool)(arg1)->base_TransferDataToWindow();
17229
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 {
17234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17235 }
17236 return resultobj;
17237 fail:
17238 return NULL;
17239}
17240
17241
c32bde28 17242static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17243 PyObject *resultobj;
17244 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17245 bool result;
17246 PyObject * obj0 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = (bool)(arg1)->base_TransferDataFromWindow();
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 {
17262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17263 }
17264 return resultobj;
17265 fail:
17266 return NULL;
17267}
17268
17269
c32bde28 17270static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17271 PyObject *resultobj;
17272 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17273 bool result;
17274 PyObject * obj0 = 0 ;
17275 char *kwnames[] = {
17276 (char *) "self", NULL
17277 };
17278
17279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (bool)(arg1)->base_Validate();
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 {
17290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17291 }
17292 return resultobj;
17293 fail:
17294 return NULL;
17295}
17296
17297
c32bde28 17298static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17299 PyObject *resultobj;
17300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17301 bool result;
17302 PyObject * obj0 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 {
17318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17319 }
17320 return resultobj;
17321 fail:
17322 return NULL;
17323}
17324
17325
c32bde28 17326static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17327 PyObject *resultobj;
17328 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17329 bool result;
17330 PyObject * obj0 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17338 {
17339 PyThreadState* __tstate = wxPyBeginAllowThreads();
17340 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17341
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 {
17346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17347 }
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
c32bde28 17354static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17355 PyObject *resultobj;
17356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17357 wxSize result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 {
17374 wxSize * resultptr;
17375 resultptr = new wxSize((wxSize &) result);
17376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17377 }
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
c32bde28 17384static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17385 PyObject *resultobj;
17386 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17387 wxWindow *arg2 = (wxWindow *) 0 ;
17388 PyObject * obj0 = 0 ;
17389 PyObject * obj1 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self",(char *) "child", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 (arg1)->base_AddChild(arg2);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 Py_INCREF(Py_None); resultobj = Py_None;
17407 return resultobj;
17408 fail:
17409 return NULL;
17410}
17411
17412
c32bde28 17413static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17414 PyObject *resultobj;
17415 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17416 wxWindow *arg2 = (wxWindow *) 0 ;
17417 PyObject * obj0 = 0 ;
17418 PyObject * obj1 = 0 ;
17419 char *kwnames[] = {
17420 (char *) "self",(char *) "child", NULL
17421 };
17422
17423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 (arg1)->base_RemoveChild(arg2);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 Py_INCREF(Py_None); resultobj = Py_None;
17436 return resultobj;
17437 fail:
17438 return NULL;
17439}
17440
17441
c32bde28 17442static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17443 PyObject *resultobj;
17444 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17445 bool result;
17446 PyObject * obj0 = 0 ;
17447 char *kwnames[] = {
17448 (char *) "self", NULL
17449 };
17450
17451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 17456 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467}
17468
17469
c32bde28 17470static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17471 PyObject *resultobj;
17472 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17473 wxColour *arg2 = 0 ;
17474 wxColour temp2 ;
17475 PyObject * obj0 = 0 ;
17476 PyObject * obj1 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "self",(char *) "c", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17484 {
17485 arg2 = &temp2;
17486 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17487 }
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 Py_INCREF(Py_None); resultobj = Py_None;
17496 return resultobj;
17497 fail:
17498 return NULL;
17499}
17500
17501
c32bde28 17502static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17503 PyObject *resultobj;
17504 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17505 wxVisualAttributes result;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (arg1)->base_GetDefaultAttributes();
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 {
17522 wxVisualAttributes * resultptr;
17523 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17525 }
17526 return resultobj;
17527 fail:
17528 return NULL;
17529}
17530
17531
c32bde28 17532static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17533 PyObject *obj;
17534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17535 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17536 Py_INCREF(obj);
17537 return Py_BuildValue((char *)"");
17538}
c32bde28 17539static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17540 PyObject *resultobj;
17541 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17542 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17545 wxSize const &arg4_defvalue = wxDefaultSize ;
17546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17547 long arg5 = (long) 0 ;
17548 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17549 wxString *arg6 = (wxString *) &arg6_defvalue ;
17550 wxPyScrolledWindow *result;
17551 wxPoint temp3 ;
17552 wxSize temp4 ;
ae8162c8 17553 bool temp6 = false ;
d55e5bfc
RD
17554 PyObject * obj0 = 0 ;
17555 PyObject * obj1 = 0 ;
17556 PyObject * obj2 = 0 ;
17557 PyObject * obj3 = 0 ;
17558 PyObject * obj4 = 0 ;
17559 PyObject * obj5 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17562 };
17563
248ed943 17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
17565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 17567 if (obj1) {
c32bde28 17568 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
17569 if (PyErr_Occurred()) SWIG_fail;
17570 }
d55e5bfc
RD
17571 if (obj2) {
17572 {
17573 arg3 = &temp3;
17574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17575 }
17576 }
17577 if (obj3) {
17578 {
17579 arg4 = &temp4;
17580 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17581 }
17582 }
17583 if (obj4) {
c32bde28 17584 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 if (obj5) {
17588 {
17589 arg6 = wxString_in_helper(obj5);
17590 if (arg6 == NULL) SWIG_fail;
ae8162c8 17591 temp6 = true;
d55e5bfc
RD
17592 }
17593 }
17594 {
0439c23b 17595 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17598
17599 wxPyEndAllowThreads(__tstate);
110da5b0 17600 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17601 }
17602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17603 {
17604 if (temp6)
17605 delete arg6;
17606 }
17607 return resultobj;
17608 fail:
17609 {
17610 if (temp6)
17611 delete arg6;
17612 }
17613 return NULL;
17614}
17615
17616
c32bde28 17617static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17618 PyObject *resultobj;
17619 wxPyScrolledWindow *result;
17620 char *kwnames[] = {
17621 NULL
17622 };
17623
17624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17625 {
0439c23b 17626 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17629
17630 wxPyEndAllowThreads(__tstate);
110da5b0 17631 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17632 }
17633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17634 return resultobj;
17635 fail:
17636 return NULL;
17637}
17638
17639
c32bde28 17640static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17641 PyObject *resultobj;
17642 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17643 PyObject *arg2 = (PyObject *) 0 ;
17644 PyObject *arg3 = (PyObject *) 0 ;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 PyObject * obj2 = 0 ;
17648 char *kwnames[] = {
17649 (char *) "self",(char *) "self",(char *) "_class", NULL
17650 };
17651
17652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17655 arg2 = obj1;
17656 arg3 = obj2;
17657 {
17658 PyThreadState* __tstate = wxPyBeginAllowThreads();
17659 (arg1)->_setCallbackInfo(arg2,arg3);
17660
17661 wxPyEndAllowThreads(__tstate);
17662 if (PyErr_Occurred()) SWIG_fail;
17663 }
17664 Py_INCREF(Py_None); resultobj = Py_None;
17665 return resultobj;
17666 fail:
17667 return NULL;
17668}
17669
17670
c32bde28 17671static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17672 PyObject *resultobj;
17673 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17674 wxSize *arg2 = 0 ;
17675 wxSize temp2 ;
17676 PyObject * obj0 = 0 ;
17677 PyObject * obj1 = 0 ;
17678 char *kwnames[] = {
17679 (char *) "self",(char *) "size", NULL
17680 };
17681
17682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17685 {
17686 arg2 = &temp2;
17687 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17688 }
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 (arg1)->SetBestSize((wxSize const &)*arg2);
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 Py_INCREF(Py_None); resultobj = Py_None;
17697 return resultobj;
17698 fail:
17699 return NULL;
17700}
17701
17702
c32bde28 17703static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17704 PyObject *resultobj;
17705 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17706 int arg2 ;
17707 int arg3 ;
17708 int arg4 ;
17709 int arg5 ;
17710 PyObject * obj0 = 0 ;
17711 PyObject * obj1 = 0 ;
17712 PyObject * obj2 = 0 ;
17713 PyObject * obj3 = 0 ;
17714 PyObject * obj4 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17722 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17723 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17724 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 17725 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17726 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 17727 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17728 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
17729 if (PyErr_Occurred()) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 Py_INCREF(Py_None); resultobj = Py_None;
17738 return resultobj;
17739 fail:
17740 return NULL;
17741}
17742
17743
c32bde28 17744static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17745 PyObject *resultobj;
17746 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17747 int arg2 ;
17748 int arg3 ;
17749 int arg4 ;
17750 int arg5 ;
17751 int arg6 = (int) wxSIZE_AUTO ;
17752 PyObject * obj0 = 0 ;
17753 PyObject * obj1 = 0 ;
17754 PyObject * obj2 = 0 ;
17755 PyObject * obj3 = 0 ;
17756 PyObject * obj4 = 0 ;
17757 PyObject * obj5 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17765 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17766 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17767 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 17768 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17769 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 17770 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17771 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
17772 if (PyErr_Occurred()) SWIG_fail;
17773 if (obj5) {
c32bde28 17774 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 Py_INCREF(Py_None); resultobj = Py_None;
17785 return resultobj;
17786 fail:
17787 return NULL;
17788}
17789
17790
c32bde28 17791static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17792 PyObject *resultobj;
17793 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17794 int arg2 ;
17795 int arg3 ;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 PyObject * obj2 = 0 ;
17799 char *kwnames[] = {
17800 (char *) "self",(char *) "width",(char *) "height", NULL
17801 };
17802
17803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17806 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17807 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17808 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17809 if (PyErr_Occurred()) SWIG_fail;
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 (arg1)->base_DoSetClientSize(arg2,arg3);
17813
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 Py_INCREF(Py_None); resultobj = Py_None;
17818 return resultobj;
17819 fail:
17820 return NULL;
17821}
17822
17823
c32bde28 17824static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17825 PyObject *resultobj;
17826 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17827 int arg2 ;
17828 int arg3 ;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 PyObject * obj2 = 0 ;
17832 char *kwnames[] = {
17833 (char *) "self",(char *) "x",(char *) "y", NULL
17834 };
17835
17836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17839 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17840 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17841 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17842 if (PyErr_Occurred()) SWIG_fail;
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 Py_INCREF(Py_None); resultobj = Py_None;
17851 return resultobj;
17852 fail:
17853 return NULL;
17854}
17855
17856
c32bde28 17857static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17858 PyObject *resultobj;
17859 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17860 int *arg2 = (int *) 0 ;
17861 int *arg3 = (int *) 0 ;
17862 int temp2 ;
c32bde28 17863 int res2 = 0 ;
d55e5bfc 17864 int temp3 ;
c32bde28 17865 int res3 = 0 ;
d55e5bfc
RD
17866 PyObject * obj0 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self", NULL
17869 };
17870
c32bde28
RD
17871 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17872 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17884 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17885 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17886 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17887 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17888 return resultobj;
17889 fail:
17890 return NULL;
17891}
17892
17893
c32bde28 17894static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17895 PyObject *resultobj;
17896 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17897 int *arg2 = (int *) 0 ;
17898 int *arg3 = (int *) 0 ;
17899 int temp2 ;
c32bde28 17900 int res2 = 0 ;
d55e5bfc 17901 int temp3 ;
c32bde28 17902 int res3 = 0 ;
d55e5bfc
RD
17903 PyObject * obj0 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self", NULL
17906 };
17907
c32bde28
RD
17908 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17909 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17921 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17922 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17923 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17924 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
c32bde28 17931static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17932 PyObject *resultobj;
17933 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17934 int *arg2 = (int *) 0 ;
17935 int *arg3 = (int *) 0 ;
17936 int temp2 ;
c32bde28 17937 int res2 = 0 ;
d55e5bfc 17938 int temp3 ;
c32bde28 17939 int res3 = 0 ;
d55e5bfc
RD
17940 PyObject * obj0 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self", NULL
17943 };
17944
c32bde28
RD
17945 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17946 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17958 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17959 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17960 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17961 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17962 return resultobj;
17963 fail:
17964 return NULL;
17965}
17966
17967
c32bde28 17968static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17969 PyObject *resultobj;
17970 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17971 wxSize result;
17972 PyObject * obj0 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 {
17988 wxSize * resultptr;
17989 resultptr = new wxSize((wxSize &) result);
17990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17991 }
17992 return resultobj;
17993 fail:
17994 return NULL;
17995}
17996
17997
c32bde28 17998static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17999 PyObject *resultobj;
18000 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18001 wxSize result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 {
18018 wxSize * resultptr;
18019 resultptr = new wxSize((wxSize &) result);
18020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18021 }
18022 return resultobj;
18023 fail:
18024 return NULL;
18025}
18026
18027
c32bde28 18028static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18029 PyObject *resultobj;
18030 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18031 PyObject * obj0 = 0 ;
18032 char *kwnames[] = {
18033 (char *) "self", NULL
18034 };
18035
18036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->base_InitDialog();
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 return resultobj;
18048 fail:
18049 return NULL;
18050}
18051
18052
c32bde28 18053static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18054 PyObject *resultobj;
18055 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18056 bool result;
18057 PyObject * obj0 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = (bool)(arg1)->base_TransferDataToWindow();
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 {
18073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18074 }
18075 return resultobj;
18076 fail:
18077 return NULL;
18078}
18079
18080
c32bde28 18081static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18082 PyObject *resultobj;
18083 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18084 bool result;
18085 PyObject * obj0 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 result = (bool)(arg1)->base_TransferDataFromWindow();
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18102 }
18103 return resultobj;
18104 fail:
18105 return NULL;
18106}
18107
18108
c32bde28 18109static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18110 PyObject *resultobj;
18111 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18112 bool result;
18113 PyObject * obj0 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 result = (bool)(arg1)->base_Validate();
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 {
18129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18130 }
18131 return resultobj;
18132 fail:
18133 return NULL;
18134}
18135
18136
c32bde28 18137static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18138 PyObject *resultobj;
18139 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18140 bool result;
18141 PyObject * obj0 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 {
18157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18158 }
18159 return resultobj;
18160 fail:
18161 return NULL;
18162}
18163
18164
c32bde28 18165static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18166 PyObject *resultobj;
18167 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18168 bool result;
18169 PyObject * obj0 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 {
18185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18186 }
18187 return resultobj;
18188 fail:
18189 return NULL;
18190}
18191
18192
c32bde28 18193static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18194 PyObject *resultobj;
18195 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18196 wxSize result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 wxSize * resultptr;
18214 resultptr = new wxSize((wxSize &) result);
18215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18216 }
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
c32bde28 18223static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18224 PyObject *resultobj;
18225 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18226 wxWindow *arg2 = (wxWindow *) 0 ;
18227 PyObject * obj0 = 0 ;
18228 PyObject * obj1 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self",(char *) "child", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 (arg1)->base_AddChild(arg2);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 Py_INCREF(Py_None); resultobj = Py_None;
18246 return resultobj;
18247 fail:
18248 return NULL;
18249}
18250
18251
c32bde28 18252static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18253 PyObject *resultobj;
18254 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18255 wxWindow *arg2 = (wxWindow *) 0 ;
18256 PyObject * obj0 = 0 ;
18257 PyObject * obj1 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self",(char *) "child", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 (arg1)->base_RemoveChild(arg2);
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 Py_INCREF(Py_None); resultobj = Py_None;
18275 return resultobj;
18276 fail:
18277 return NULL;
18278}
18279
18280
c32bde28 18281static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18282 PyObject *resultobj;
18283 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18284 bool result;
18285 PyObject * obj0 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18295 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 {
18301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18302 }
18303 return resultobj;
18304 fail:
18305 return NULL;
18306}
18307
18308
c32bde28 18309static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18310 PyObject *resultobj;
18311 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18312 wxColour *arg2 = 0 ;
18313 wxColour temp2 ;
18314 PyObject * obj0 = 0 ;
18315 PyObject * obj1 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self",(char *) "c", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18323 {
18324 arg2 = &temp2;
18325 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18326 }
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 Py_INCREF(Py_None); resultobj = Py_None;
18335 return resultobj;
18336 fail:
18337 return NULL;
18338}
18339
18340
c32bde28 18341static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18342 PyObject *resultobj;
18343 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18344 wxVisualAttributes result;
18345 PyObject * obj0 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (arg1)->base_GetDefaultAttributes();
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 {
18361 wxVisualAttributes * resultptr;
18362 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18364 }
18365 return resultobj;
18366 fail:
18367 return NULL;
18368}
18369
18370
c32bde28 18371static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18372 PyObject *obj;
18373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18374 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18375 Py_INCREF(obj);
18376 return Py_BuildValue((char *)"");
18377}
c32bde28 18378static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
18379 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18380 return 1;
18381}
18382
18383
18384static PyObject *_wrap_PrintoutTitleStr_get() {
18385 PyObject *pyobj;
18386
18387 {
18388#if wxUSE_UNICODE
18389 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18390#else
18391 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18392#endif
18393 }
18394 return pyobj;
18395}
18396
18397
c32bde28 18398static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
18399 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18400 return 1;
18401}
18402
18403
18404static PyObject *_wrap_PreviewCanvasNameStr_get() {
18405 PyObject *pyobj;
18406
18407 {
18408#if wxUSE_UNICODE
18409 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18410#else
18411 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18412#endif
18413 }
18414 return pyobj;
18415}
18416
18417
c32bde28 18418static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
18419 PyObject *resultobj;
18420 wxPrintData *result;
d55e5bfc 18421
09c21d3b 18422 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 result = (wxPrintData *)new wxPrintData();
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18431 return resultobj;
18432 fail:
18433 return NULL;
18434}
18435
18436
c32bde28 18437static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
18438 PyObject *resultobj;
18439 wxPrintData *arg1 = 0 ;
18440 wxPrintData *result;
18441 PyObject * obj0 = 0 ;
18442
18443 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1)
18446 SWIG_fail;
18447 if (arg1 == NULL) {
18448 PyErr_SetString(PyExc_TypeError,"null reference");
18449 SWIG_fail;
18450 }
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18459 return resultobj;
18460 fail:
18461 return NULL;
18462}
18463
18464
18465static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18466 int argc;
18467 PyObject *argv[2];
18468 int ii;
18469
18470 argc = PyObject_Length(args);
18471 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18472 argv[ii] = PyTuple_GetItem(args,ii);
18473 }
18474 if (argc == 0) {
18475 return _wrap_new_PrintData__SWIG_0(self,args);
18476 }
18477 if (argc == 1) {
18478 int _v;
18479 {
18480 void *ptr;
18481 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18482 _v = 0;
18483 PyErr_Clear();
18484 } else {
18485 _v = 1;
18486 }
18487 }
18488 if (_v) {
18489 return _wrap_new_PrintData__SWIG_1(self,args);
18490 }
18491 }
18492
18493 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18494 return NULL;
18495}
18496
18497
c32bde28 18498static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18499 PyObject *resultobj;
18500 wxPrintData *arg1 = (wxPrintData *) 0 ;
18501 PyObject * obj0 = 0 ;
18502 char *kwnames[] = {
18503 (char *) "self", NULL
18504 };
18505
18506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 delete arg1;
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 Py_INCREF(Py_None); resultobj = Py_None;
18517 return resultobj;
18518 fail:
18519 return NULL;
18520}
18521
18522
c32bde28 18523static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18524 PyObject *resultobj;
18525 wxPrintData *arg1 = (wxPrintData *) 0 ;
18526 int result;
18527 PyObject * obj0 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (int)(arg1)->GetNoCopies();
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
c32bde28 18542 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18543 return resultobj;
18544 fail:
18545 return NULL;
18546}
18547
18548
c32bde28 18549static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18550 PyObject *resultobj;
18551 wxPrintData *arg1 = (wxPrintData *) 0 ;
18552 bool result;
18553 PyObject * obj0 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 result = (bool)(arg1)->GetCollate();
18564
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 {
18569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18570 }
18571 return resultobj;
18572 fail:
18573 return NULL;
18574}
18575
18576
c32bde28 18577static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18578 PyObject *resultobj;
18579 wxPrintData *arg1 = (wxPrintData *) 0 ;
18580 int result;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 result = (int)(arg1)->GetOrientation();
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
c32bde28 18596 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
c32bde28 18603static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18604 PyObject *resultobj;
18605 wxPrintData *arg1 = (wxPrintData *) 0 ;
18606 bool result;
18607 PyObject * obj0 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 result = (bool)(arg1)->Ok();
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 {
18623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18624 }
18625 return resultobj;
18626 fail:
18627 return NULL;
18628}
18629
18630
c32bde28 18631static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18632 PyObject *resultobj;
18633 wxPrintData *arg1 = (wxPrintData *) 0 ;
18634 wxString *result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 {
18646 wxString const &_result_ref = (arg1)->GetPrinterName();
18647 result = (wxString *) &_result_ref;
18648 }
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 {
18654#if wxUSE_UNICODE
18655 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18656#else
18657 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18658#endif
18659 }
18660 return resultobj;
18661 fail:
18662 return NULL;
18663}
18664
18665
c32bde28 18666static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18667 PyObject *resultobj;
18668 wxPrintData *arg1 = (wxPrintData *) 0 ;
18669 bool result;
18670 PyObject * obj0 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (bool)(arg1)->GetColour();
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 {
18686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18687 }
18688 return resultobj;
18689 fail:
18690 return NULL;
18691}
18692
18693
c32bde28 18694static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18695 PyObject *resultobj;
18696 wxPrintData *arg1 = (wxPrintData *) 0 ;
18697 int result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (int)(arg1)->GetDuplex();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
c32bde28 18713 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
c32bde28 18720static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18721 PyObject *resultobj;
18722 wxPrintData *arg1 = (wxPrintData *) 0 ;
18723 int result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (int)(arg1)->GetPaperId();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
c32bde28 18739 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18740 return resultobj;
18741 fail:
18742 return NULL;
18743}
18744
18745
c32bde28 18746static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18747 PyObject *resultobj;
18748 wxPrintData *arg1 = (wxPrintData *) 0 ;
18749 wxSize *result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 {
18761 wxSize const &_result_ref = (arg1)->GetPaperSize();
18762 result = (wxSize *) &_result_ref;
18763 }
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18769 return resultobj;
18770 fail:
18771 return NULL;
18772}
18773
18774
c32bde28 18775static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18776 PyObject *resultobj;
18777 wxPrintData *arg1 = (wxPrintData *) 0 ;
18778 int result;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (int)(arg1)->GetQuality();
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
c32bde28 18794 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18795 return resultobj;
18796 fail:
18797 return NULL;
18798}
18799
18800
ae8162c8
RD
18801static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj;
18803 wxPrintData *arg1 = (wxPrintData *) 0 ;
18804 int result;
18805 PyObject * obj0 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (int)(arg1)->GetBin();
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 resultobj = SWIG_From_int((int)result);
18821 return resultobj;
18822 fail:
18823 return NULL;
18824}
18825
18826
c32bde28 18827static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18828 PyObject *resultobj;
18829 wxPrintData *arg1 = (wxPrintData *) 0 ;
18830 int arg2 ;
18831 PyObject * obj0 = 0 ;
18832 PyObject * obj1 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self",(char *) "v", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18840 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18841 if (PyErr_Occurred()) SWIG_fail;
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 (arg1)->SetNoCopies(arg2);
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 Py_INCREF(Py_None); resultobj = Py_None;
18850 return resultobj;
18851 fail:
18852 return NULL;
18853}
18854
18855
c32bde28 18856static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18857 PyObject *resultobj;
18858 wxPrintData *arg1 = (wxPrintData *) 0 ;
18859 bool arg2 ;
18860 PyObject * obj0 = 0 ;
18861 PyObject * obj1 = 0 ;
18862 char *kwnames[] = {
18863 (char *) "self",(char *) "flag", NULL
18864 };
18865
18866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18869 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18870 if (PyErr_Occurred()) SWIG_fail;
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 (arg1)->SetCollate(arg2);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 Py_INCREF(Py_None); resultobj = Py_None;
18879 return resultobj;
18880 fail:
18881 return NULL;
18882}
18883
18884
c32bde28 18885static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18886 PyObject *resultobj;
18887 wxPrintData *arg1 = (wxPrintData *) 0 ;
18888 int arg2 ;
18889 PyObject * obj0 = 0 ;
18890 PyObject * obj1 = 0 ;
18891 char *kwnames[] = {
18892 (char *) "self",(char *) "orient", NULL
18893 };
18894
18895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18898 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18899 if (PyErr_Occurred()) SWIG_fail;
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 (arg1)->SetOrientation(arg2);
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 Py_INCREF(Py_None); resultobj = Py_None;
18908 return resultobj;
18909 fail:
18910 return NULL;
18911}
18912
18913
c32bde28 18914static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18915 PyObject *resultobj;
18916 wxPrintData *arg1 = (wxPrintData *) 0 ;
18917 wxString *arg2 = 0 ;
ae8162c8 18918 bool temp2 = false ;
d55e5bfc
RD
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self",(char *) "name", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18928 {
18929 arg2 = wxString_in_helper(obj1);
18930 if (arg2 == NULL) SWIG_fail;
ae8162c8 18931 temp2 = true;
d55e5bfc
RD
18932 }
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 (arg1)->SetPrinterName((wxString const &)*arg2);
18936
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 Py_INCREF(Py_None); resultobj = Py_None;
18941 {
18942 if (temp2)
18943 delete arg2;
18944 }
18945 return resultobj;
18946 fail:
18947 {
18948 if (temp2)
18949 delete arg2;
18950 }
18951 return NULL;
18952}
18953
18954
c32bde28 18955static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18956 PyObject *resultobj;
18957 wxPrintData *arg1 = (wxPrintData *) 0 ;
18958 bool arg2 ;
18959 PyObject * obj0 = 0 ;
18960 PyObject * obj1 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self",(char *) "colour", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18968 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18969 if (PyErr_Occurred()) SWIG_fail;
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->SetColour(arg2);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 Py_INCREF(Py_None); resultobj = Py_None;
18978 return resultobj;
18979 fail:
18980 return NULL;
18981}
18982
18983
c32bde28 18984static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18985 PyObject *resultobj;
18986 wxPrintData *arg1 = (wxPrintData *) 0 ;
18987 int arg2 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self",(char *) "duplex", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18997 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18998 if (PyErr_Occurred()) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->SetDuplex((wxDuplexMode )arg2);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010}
19011
19012
c32bde28 19013static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19014 PyObject *resultobj;
19015 wxPrintData *arg1 = (wxPrintData *) 0 ;
19016 int arg2 ;
19017 PyObject * obj0 = 0 ;
19018 PyObject * obj1 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self",(char *) "sizeId", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19026 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19027 if (PyErr_Occurred()) SWIG_fail;
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 (arg1)->SetPaperId((wxPaperSize )arg2);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 Py_INCREF(Py_None); resultobj = Py_None;
19036 return resultobj;
19037 fail:
19038 return NULL;
19039}
19040
19041
c32bde28 19042static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19043 PyObject *resultobj;
19044 wxPrintData *arg1 = (wxPrintData *) 0 ;
19045 wxSize *arg2 = 0 ;
19046 wxSize temp2 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "sz", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 {
19057 arg2 = &temp2;
19058 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19059 }
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->SetPaperSize((wxSize const &)*arg2);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071}
19072
19073
c32bde28 19074static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19075 PyObject *resultobj;
19076 wxPrintData *arg1 = (wxPrintData *) 0 ;
19077 int arg2 ;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 char *kwnames[] = {
19081 (char *) "self",(char *) "quality", NULL
19082 };
19083
19084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19087 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19088 if (PyErr_Occurred()) SWIG_fail;
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 (arg1)->SetQuality(arg2);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 Py_INCREF(Py_None); resultobj = Py_None;
19097 return resultobj;
19098 fail:
19099 return NULL;
19100}
19101
19102
ae8162c8
RD
19103static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj;
19105 wxPrintData *arg1 = (wxPrintData *) 0 ;
19106 int arg2 ;
19107 PyObject * obj0 = 0 ;
19108 PyObject * obj1 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self",(char *) "bin", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19116 arg2 = (int)SWIG_As_int(obj1);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 (arg1)->SetBin((wxPrintBin )arg2);
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 Py_INCREF(Py_None); resultobj = Py_None;
19126 return resultobj;
19127 fail:
19128 return NULL;
19129}
19130
19131
c32bde28 19132static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19133 PyObject *resultobj;
19134 wxPrintData *arg1 = (wxPrintData *) 0 ;
19135 wxString *result;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 {
19147 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19148 result = (wxString *) &_result_ref;
19149 }
19150
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 {
19155#if wxUSE_UNICODE
19156 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19157#else
19158 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19159#endif
19160 }
19161 return resultobj;
19162 fail:
19163 return NULL;
19164}
19165
19166
c32bde28 19167static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19168 PyObject *resultobj;
19169 wxPrintData *arg1 = (wxPrintData *) 0 ;
19170 wxString *result;
19171 PyObject * obj0 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19179 {
19180 PyThreadState* __tstate = wxPyBeginAllowThreads();
19181 {
19182 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19183 result = (wxString *) &_result_ref;
19184 }
19185
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 {
19190#if wxUSE_UNICODE
19191 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19192#else
19193 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19194#endif
19195 }
19196 return resultobj;
19197 fail:
19198 return NULL;
19199}
19200
19201
c32bde28 19202static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19203 PyObject *resultobj;
19204 wxPrintData *arg1 = (wxPrintData *) 0 ;
19205 wxString *result;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 {
19217 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19218 result = (wxString *) &_result_ref;
19219 }
19220
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 {
19225#if wxUSE_UNICODE
19226 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19227#else
19228 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19229#endif
19230 }
19231 return resultobj;
19232 fail:
19233 return NULL;
19234}
19235
19236
c32bde28 19237static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_GetFilename",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)->GetFilename();
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
c32bde28 19272static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_GetFontMetricPath",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)->GetFontMetricPath();
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
c32bde28 19307static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19308 PyObject *resultobj;
19309 wxPrintData *arg1 = (wxPrintData *) 0 ;
19310 double result;
19311 PyObject * obj0 = 0 ;
19312 char *kwnames[] = {
19313 (char *) "self", NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",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 result = (double)(arg1)->GetPrinterScaleX();
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
c32bde28 19326 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19327 return resultobj;
19328 fail:
19329 return NULL;
19330}
19331
19332
c32bde28 19333static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19334 PyObject *resultobj;
19335 wxPrintData *arg1 = (wxPrintData *) 0 ;
19336 double result;
19337 PyObject * obj0 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 result = (double)(arg1)->GetPrinterScaleY();
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
c32bde28 19352 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19353 return resultobj;
19354 fail:
19355 return NULL;
19356}
19357
19358
c32bde28 19359static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19360 PyObject *resultobj;
19361 wxPrintData *arg1 = (wxPrintData *) 0 ;
19362 long result;
19363 PyObject * obj0 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (long)(arg1)->GetPrinterTranslateX();
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
c32bde28 19378 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
19379 return resultobj;
19380 fail:
19381 return NULL;
19382}
19383
19384
c32bde28 19385static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19386 PyObject *resultobj;
19387 wxPrintData *arg1 = (wxPrintData *) 0 ;
19388 long result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (long)(arg1)->GetPrinterTranslateY();
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
c32bde28 19404 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
19405 return resultobj;
19406 fail:
19407 return NULL;
19408}
19409
19410
c32bde28 19411static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19412 PyObject *resultobj;
19413 wxPrintData *arg1 = (wxPrintData *) 0 ;
19414 int result;
19415 PyObject * obj0 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (int)(arg1)->GetPrintMode();
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
c32bde28 19430 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19431 return resultobj;
19432 fail:
19433 return NULL;
19434}
19435
19436
c32bde28 19437static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19438 PyObject *resultobj;
19439 wxPrintData *arg1 = (wxPrintData *) 0 ;
19440 wxString *arg2 = 0 ;
ae8162c8 19441 bool temp2 = false ;
d55e5bfc
RD
19442 PyObject * obj0 = 0 ;
19443 PyObject * obj1 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self",(char *) "command", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19451 {
19452 arg2 = wxString_in_helper(obj1);
19453 if (arg2 == NULL) SWIG_fail;
ae8162c8 19454 temp2 = true;
d55e5bfc
RD
19455 }
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 {
19465 if (temp2)
19466 delete arg2;
19467 }
19468 return resultobj;
19469 fail:
19470 {
19471 if (temp2)
19472 delete arg2;
19473 }
19474 return NULL;
19475}
19476
19477
c32bde28 19478static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19479 PyObject *resultobj;
19480 wxPrintData *arg1 = (wxPrintData *) 0 ;
19481 wxString *arg2 = 0 ;
ae8162c8 19482 bool temp2 = false ;
d55e5bfc
RD
19483 PyObject * obj0 = 0 ;
19484 PyObject * obj1 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self",(char *) "options", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19492 {
19493 arg2 = wxString_in_helper(obj1);
19494 if (arg2 == NULL) SWIG_fail;
ae8162c8 19495 temp2 = true;
d55e5bfc
RD
19496 }
19497 {
19498 PyThreadState* __tstate = wxPyBeginAllowThreads();
19499 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 Py_INCREF(Py_None); resultobj = Py_None;
19505 {
19506 if (temp2)
19507 delete arg2;
19508 }
19509 return resultobj;
19510 fail:
19511 {
19512 if (temp2)
19513 delete arg2;
19514 }
19515 return NULL;
19516}
19517
19518
c32bde28 19519static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19520 PyObject *resultobj;
19521 wxPrintData *arg1 = (wxPrintData *) 0 ;
19522 wxString *arg2 = 0 ;
ae8162c8 19523 bool temp2 = false ;
d55e5bfc
RD
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self",(char *) "command", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19533 {
19534 arg2 = wxString_in_helper(obj1);
19535 if (arg2 == NULL) SWIG_fail;
ae8162c8 19536 temp2 = true;
d55e5bfc
RD
19537 }
19538 {
19539 PyThreadState* __tstate = wxPyBeginAllowThreads();
19540 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19541
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 Py_INCREF(Py_None); resultobj = Py_None;
19546 {
19547 if (temp2)
19548 delete arg2;
19549 }
19550 return resultobj;
19551 fail:
19552 {
19553 if (temp2)
19554 delete arg2;
19555 }
19556 return NULL;
19557}
19558
19559
c32bde28 19560static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19561 PyObject *resultobj;
19562 wxPrintData *arg1 = (wxPrintData *) 0 ;
19563 wxString *arg2 = 0 ;
ae8162c8 19564 bool temp2 = false ;
d55e5bfc
RD
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self",(char *) "filename", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19574 {
19575 arg2 = wxString_in_helper(obj1);
19576 if (arg2 == NULL) SWIG_fail;
ae8162c8 19577 temp2 = true;
d55e5bfc
RD
19578 }
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 (arg1)->SetFilename((wxString const &)*arg2);
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 Py_INCREF(Py_None); resultobj = Py_None;
19587 {
19588 if (temp2)
19589 delete arg2;
19590 }
19591 return resultobj;
19592 fail:
19593 {
19594 if (temp2)
19595 delete arg2;
19596 }
19597 return NULL;
19598}
19599
19600
c32bde28 19601static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19602 PyObject *resultobj;
19603 wxPrintData *arg1 = (wxPrintData *) 0 ;
19604 wxString *arg2 = 0 ;
ae8162c8 19605 bool temp2 = false ;
d55e5bfc
RD
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "path", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19615 {
19616 arg2 = wxString_in_helper(obj1);
19617 if (arg2 == NULL) SWIG_fail;
ae8162c8 19618 temp2 = true;
d55e5bfc
RD
19619 }
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 Py_INCREF(Py_None); resultobj = Py_None;
19628 {
19629 if (temp2)
19630 delete arg2;
19631 }
19632 return resultobj;
19633 fail:
19634 {
19635 if (temp2)
19636 delete arg2;
19637 }
19638 return NULL;
19639}
19640
19641
c32bde28 19642static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19643 PyObject *resultobj;
19644 wxPrintData *arg1 = (wxPrintData *) 0 ;
19645 double arg2 ;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "x", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19655 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
19656 if (PyErr_Occurred()) SWIG_fail;
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 (arg1)->SetPrinterScaleX(arg2);
19660
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 Py_INCREF(Py_None); resultobj = Py_None;
19665 return resultobj;
19666 fail:
19667 return NULL;
19668}
19669
19670
c32bde28 19671static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19672 PyObject *resultobj;
19673 wxPrintData *arg1 = (wxPrintData *) 0 ;
19674 double arg2 ;
19675 PyObject * obj0 = 0 ;
19676 PyObject * obj1 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self",(char *) "y", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19684 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
19685 if (PyErr_Occurred()) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 (arg1)->SetPrinterScaleY(arg2);
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 Py_INCREF(Py_None); resultobj = Py_None;
19694 return resultobj;
19695 fail:
19696 return NULL;
19697}
19698
19699
c32bde28 19700static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19701 PyObject *resultobj;
19702 wxPrintData *arg1 = (wxPrintData *) 0 ;
19703 double arg2 ;
19704 double arg3 ;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 PyObject * obj2 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self",(char *) "x",(char *) "y", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19715 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 19716 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19717 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
19718 if (PyErr_Occurred()) SWIG_fail;
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 (arg1)->SetPrinterScaling(arg2,arg3);
19722
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 Py_INCREF(Py_None); resultobj = Py_None;
19727 return resultobj;
19728 fail:
19729 return NULL;
19730}
19731
19732
c32bde28 19733static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19734 PyObject *resultobj;
19735 wxPrintData *arg1 = (wxPrintData *) 0 ;
19736 long arg2 ;
19737 PyObject * obj0 = 0 ;
19738 PyObject * obj1 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self",(char *) "x", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19746 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19747 if (PyErr_Occurred()) SWIG_fail;
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 (arg1)->SetPrinterTranslateX(arg2);
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 Py_INCREF(Py_None); resultobj = Py_None;
19756 return resultobj;
19757 fail:
19758 return NULL;
19759}
19760
19761
c32bde28 19762static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19763 PyObject *resultobj;
19764 wxPrintData *arg1 = (wxPrintData *) 0 ;
19765 long arg2 ;
19766 PyObject * obj0 = 0 ;
19767 PyObject * obj1 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self",(char *) "y", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19775 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19776 if (PyErr_Occurred()) SWIG_fail;
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 (arg1)->SetPrinterTranslateY(arg2);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 Py_INCREF(Py_None); resultobj = Py_None;
19785 return resultobj;
19786 fail:
19787 return NULL;
19788}
19789
19790
c32bde28 19791static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19792 PyObject *resultobj;
19793 wxPrintData *arg1 = (wxPrintData *) 0 ;
19794 long arg2 ;
19795 long arg3 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 PyObject * obj2 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "x",(char *) "y", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19806 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 19807 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19808 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
19809 if (PyErr_Occurred()) SWIG_fail;
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 (arg1)->SetPrinterTranslation(arg2,arg3);
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 Py_INCREF(Py_None); resultobj = Py_None;
19818 return resultobj;
19819 fail:
19820 return NULL;
19821}
19822
19823
c32bde28 19824static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19825 PyObject *resultobj;
19826 wxPrintData *arg1 = (wxPrintData *) 0 ;
19827 int arg2 ;
19828 PyObject * obj0 = 0 ;
19829 PyObject * obj1 = 0 ;
19830 char *kwnames[] = {
19831 (char *) "self",(char *) "printMode", NULL
19832 };
19833
19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19837 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19838 if (PyErr_Occurred()) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->SetPrintMode((wxPrintMode )arg2);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850}
19851
19852
c32bde28 19853static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19854 PyObject *resultobj;
19855 wxPrintData *arg1 = (wxPrintData *) 0 ;
19856 wxOutputStream *result;
19857 PyObject * obj0 = 0 ;
19858 char *kwnames[] = {
19859 (char *) "self", NULL
19860 };
19861
19862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = (wxOutputStream *)(arg1)->GetOutputStream();
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19873 return resultobj;
19874 fail:
19875 return NULL;
19876}
19877
19878
c32bde28 19879static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19880 PyObject *resultobj;
19881 wxPrintData *arg1 = (wxPrintData *) 0 ;
19882 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self",(char *) "outputstream", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 (arg1)->SetOutputStream(arg2);
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
19902 return resultobj;
19903 fail:
19904 return NULL;
19905}
19906
19907
c32bde28 19908static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19909 PyObject *obj;
19910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19911 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19912 Py_INCREF(obj);
19913 return Py_BuildValue((char *)"");
19914}
c32bde28 19915static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
19916 PyObject *resultobj;
19917 wxPageSetupDialogData *result;
d55e5bfc 19918
09c21d3b 19919 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19928 return resultobj;
19929 fail:
19930 return NULL;
19931}
19932
19933
c32bde28 19934static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
19935 PyObject *resultobj;
19936 wxPageSetupDialogData *arg1 = 0 ;
19937 wxPageSetupDialogData *result;
19938 PyObject * obj0 = 0 ;
19939
19940 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19942 SWIG_POINTER_EXCEPTION | 0)) == -1)
19943 SWIG_fail;
19944 if (arg1 == NULL) {
19945 PyErr_SetString(PyExc_TypeError,"null reference");
19946 SWIG_fail;
19947 }
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19956 return resultobj;
19957 fail:
19958 return NULL;
19959}
19960
19961
19962static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19963 int argc;
19964 PyObject *argv[2];
19965 int ii;
19966
19967 argc = PyObject_Length(args);
19968 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19969 argv[ii] = PyTuple_GetItem(args,ii);
19970 }
19971 if (argc == 0) {
19972 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19973 }
19974 if (argc == 1) {
19975 int _v;
19976 {
19977 void *ptr;
19978 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19979 _v = 0;
19980 PyErr_Clear();
19981 } else {
19982 _v = 1;
19983 }
19984 }
19985 if (_v) {
19986 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19987 }
19988 }
19989
19990 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19991 return NULL;
19992}
19993
19994
c32bde28 19995static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19996 PyObject *resultobj;
19997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19998 PyObject * obj0 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
20004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 delete arg1;
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 Py_INCREF(Py_None); resultobj = Py_None;
20014 return resultobj;
20015 fail:
20016 return NULL;
20017}
20018
20019
c32bde28 20020static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20021 PyObject *resultobj;
20022 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20023 bool arg2 ;
20024 PyObject * obj0 = 0 ;
20025 PyObject * obj1 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "flag", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20033 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20034 if (PyErr_Occurred()) SWIG_fail;
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 (arg1)->EnableHelp(arg2);
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 Py_INCREF(Py_None); resultobj = Py_None;
20043 return resultobj;
20044 fail:
20045 return NULL;
20046}
20047
20048
c32bde28 20049static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20050 PyObject *resultobj;
20051 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20052 bool arg2 ;
20053 PyObject * obj0 = 0 ;
20054 PyObject * obj1 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self",(char *) "flag", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20062 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20063 if (PyErr_Occurred()) SWIG_fail;
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->EnableMargins(arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 Py_INCREF(Py_None); resultobj = Py_None;
20072 return resultobj;
20073 fail:
20074 return NULL;
20075}
20076
20077
c32bde28 20078static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20079 PyObject *resultobj;
20080 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20081 bool arg2 ;
20082 PyObject * obj0 = 0 ;
20083 PyObject * obj1 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self",(char *) "flag", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20091 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20092 if (PyErr_Occurred()) SWIG_fail;
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 (arg1)->EnableOrientation(arg2);
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 Py_INCREF(Py_None); resultobj = Py_None;
20101 return resultobj;
20102 fail:
20103 return NULL;
20104}
20105
20106
c32bde28 20107static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20108 PyObject *resultobj;
20109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20110 bool arg2 ;
20111 PyObject * obj0 = 0 ;
20112 PyObject * obj1 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self",(char *) "flag", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20120 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20121 if (PyErr_Occurred()) SWIG_fail;
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 (arg1)->EnablePaper(arg2);
20125
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 Py_INCREF(Py_None); resultobj = Py_None;
20130 return resultobj;
20131 fail:
20132 return NULL;
20133}
20134
20135
c32bde28 20136static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20137 PyObject *resultobj;
20138 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20139 bool arg2 ;
20140 PyObject * obj0 = 0 ;
20141 PyObject * obj1 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self",(char *) "flag", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20149 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20150 if (PyErr_Occurred()) SWIG_fail;
20151 {
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 (arg1)->EnablePrinter(arg2);
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 Py_INCREF(Py_None); resultobj = Py_None;
20159 return resultobj;
20160 fail:
20161 return NULL;
20162}
20163
20164
c32bde28 20165static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20166 PyObject *resultobj;
20167 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20168 bool result;
20169 PyObject * obj0 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 result = (bool)(arg1)->GetDefaultMinMargins();
20180
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 {
20185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20186 }
20187 return resultobj;
20188 fail:
20189 return NULL;
20190}
20191
20192
c32bde28 20193static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20194 PyObject *resultobj;
20195 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20196 bool result;
20197 PyObject * obj0 = 0 ;
20198 char *kwnames[] = {
20199 (char *) "self", NULL
20200 };
20201
20202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20205 {
20206 PyThreadState* __tstate = wxPyBeginAllowThreads();
20207 result = (bool)(arg1)->GetEnableMargins();
20208
20209 wxPyEndAllowThreads(__tstate);
20210 if (PyErr_Occurred()) SWIG_fail;
20211 }
20212 {
20213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20214 }
20215 return resultobj;
20216 fail:
20217 return NULL;
20218}
20219
20220
c32bde28 20221static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20222 PyObject *resultobj;
20223 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20224 bool result;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 result = (bool)(arg1)->GetEnableOrientation();
20236
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 {
20241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20242 }
20243 return resultobj;
20244 fail:
20245 return NULL;
20246}
20247
20248
c32bde28 20249static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20250 PyObject *resultobj;
20251 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20252 bool result;
20253 PyObject * obj0 = 0 ;
20254 char *kwnames[] = {
20255 (char *) "self", NULL
20256 };
20257
20258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 result = (bool)(arg1)->GetEnablePaper();
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 {
20269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20270 }
20271 return resultobj;
20272 fail:
20273 return NULL;
20274}
20275
20276
c32bde28 20277static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20278 PyObject *resultobj;
20279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20280 bool result;
20281 PyObject * obj0 = 0 ;
20282 char *kwnames[] = {
20283 (char *) "self", NULL
20284 };
20285
20286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 result = (bool)(arg1)->GetEnablePrinter();
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 {
20297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20298 }
20299 return resultobj;
20300 fail:
20301 return NULL;
20302}
20303
20304
c32bde28 20305static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20306 PyObject *resultobj;
20307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20308 bool result;
20309 PyObject * obj0 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 result = (bool)(arg1)->GetEnableHelp();
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 {
20325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20326 }
20327 return resultobj;
20328 fail:
20329 return NULL;
20330}
20331
20332
c32bde28 20333static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20334 PyObject *resultobj;
20335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20336 bool result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (bool)(arg1)->GetDefaultInfo();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 {
20353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20354 }
20355 return resultobj;
20356 fail:
20357 return NULL;
20358}
20359
20360
c32bde28 20361static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20362 PyObject *resultobj;
20363 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20364 wxPoint result;
20365 PyObject * obj0 = 0 ;
20366 char *kwnames[] = {
20367 (char *) "self", NULL
20368 };
20369
20370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 result = (arg1)->GetMarginTopLeft();
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 {
20381 wxPoint * resultptr;
20382 resultptr = new wxPoint((wxPoint &) result);
20383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20384 }
20385 return resultobj;
20386 fail:
20387 return NULL;
20388}
20389
20390
c32bde28 20391static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20392 PyObject *resultobj;
20393 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20394 wxPoint result;
20395 PyObject * obj0 = 0 ;
20396 char *kwnames[] = {
20397 (char *) "self", NULL
20398 };
20399
20400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 result = (arg1)->GetMarginBottomRight();
20406
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 {
20411 wxPoint * resultptr;
20412 resultptr = new wxPoint((wxPoint &) result);
20413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20414 }
20415 return resultobj;
20416 fail:
20417 return NULL;
20418}
20419
20420
c32bde28 20421static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20422 PyObject *resultobj;
20423 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20424 wxPoint result;
20425 PyObject * obj0 = 0 ;
20426 char *kwnames[] = {
20427 (char *) "self", NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 result = (arg1)->GetMinMarginTopLeft();
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 {
20441 wxPoint * resultptr;
20442 resultptr = new wxPoint((wxPoint &) result);
20443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20444 }
20445 return resultobj;
20446 fail:
20447 return NULL;
20448}
20449
20450
c32bde28 20451static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20452 PyObject *resultobj;
20453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20454 wxPoint result;
20455 PyObject * obj0 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 result = (arg1)->GetMinMarginBottomRight();
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 {
20471 wxPoint * resultptr;
20472 resultptr = new wxPoint((wxPoint &) result);
20473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20474 }
20475 return resultobj;
20476 fail:
20477 return NULL;
20478}
20479
20480
c32bde28 20481static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20482 PyObject *resultobj;
20483 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20484 int result;
20485 PyObject * obj0 = 0 ;
20486 char *kwnames[] = {
20487 (char *) "self", NULL
20488 };
20489
20490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 result = (int)(arg1)->GetPaperId();
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
c32bde28 20500 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20501 return resultobj;
20502 fail:
20503 return NULL;
20504}
20505
20506
c32bde28 20507static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20508 PyObject *resultobj;
20509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20510 wxSize result;
20511 PyObject * obj0 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (arg1)->GetPaperSize();
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 {
20527 wxSize * resultptr;
20528 resultptr = new wxSize((wxSize &) result);
20529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20530 }
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
c32bde28 20537static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20538 PyObject *resultobj;
20539 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20540 wxPrintData *result;
20541 PyObject * obj0 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 {
20552 wxPrintData &_result_ref = (arg1)->GetPrintData();
20553 result = (wxPrintData *) &_result_ref;
20554 }
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20560 return resultobj;
20561 fail:
20562 return NULL;
20563}
20564
20565
c32bde28 20566static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20567 PyObject *resultobj;
20568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20569 bool result;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (bool)(arg1)->Ok();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20587 }
20588 return resultobj;
20589 fail:
20590 return NULL;
20591}
20592
20593
c32bde28 20594static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20595 PyObject *resultobj;
20596 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20597 bool arg2 ;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self",(char *) "flag", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20607 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20608 if (PyErr_Occurred()) SWIG_fail;
20609 {
20610 PyThreadState* __tstate = wxPyBeginAllowThreads();
20611 (arg1)->SetDefaultInfo(arg2);
20612
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 Py_INCREF(Py_None); resultobj = Py_None;
20617 return resultobj;
20618 fail:
20619 return NULL;
20620}
20621
20622
c32bde28 20623static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20624 PyObject *resultobj;
20625 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20626 bool arg2 ;
20627 PyObject * obj0 = 0 ;
20628 PyObject * obj1 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self",(char *) "flag", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20636 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20637 if (PyErr_Occurred()) SWIG_fail;
20638 {
20639 PyThreadState* __tstate = wxPyBeginAllowThreads();
20640 (arg1)->SetDefaultMinMargins(arg2);
20641
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 Py_INCREF(Py_None); resultobj = Py_None;
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
c32bde28 20652static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20653 PyObject *resultobj;
20654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20655 wxPoint *arg2 = 0 ;
20656 wxPoint temp2 ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "pt", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 {
20667 arg2 = &temp2;
20668 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20669 }
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 Py_INCREF(Py_None); resultobj = Py_None;
20678 return resultobj;
20679 fail:
20680 return NULL;
20681}
20682
20683
c32bde28 20684static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20685 PyObject *resultobj;
20686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20687 wxPoint *arg2 = 0 ;
20688 wxPoint temp2 ;
20689 PyObject * obj0 = 0 ;
20690 PyObject * obj1 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self",(char *) "pt", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 {
20699 arg2 = &temp2;
20700 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20701 }
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 Py_INCREF(Py_None); resultobj = Py_None;
20710 return resultobj;
20711 fail:
20712 return NULL;
20713}
20714
20715
c32bde28 20716static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20717 PyObject *resultobj;
20718 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20719 wxPoint *arg2 = 0 ;
20720 wxPoint temp2 ;
20721 PyObject * obj0 = 0 ;
20722 PyObject * obj1 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self",(char *) "pt", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20730 {
20731 arg2 = &temp2;
20732 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20733 }
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745}
20746
20747
c32bde28 20748static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20749 PyObject *resultobj;
20750 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20751 wxPoint *arg2 = 0 ;
20752 wxPoint temp2 ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "pt", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20762 {
20763 arg2 = &temp2;
20764 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20765 }
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 Py_INCREF(Py_None); resultobj = Py_None;
20774 return resultobj;
20775 fail:
20776 return NULL;
20777}
20778
20779
c32bde28 20780static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20781 PyObject *resultobj;
20782 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20783 int arg2 ;
20784 PyObject * obj0 = 0 ;
20785 PyObject * obj1 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self",(char *) "id", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20793 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20794 if (PyErr_Occurred()) SWIG_fail;
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 (arg1)->SetPaperId((wxPaperSize )arg2);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 Py_INCREF(Py_None); resultobj = Py_None;
20803 return resultobj;
20804 fail:
20805 return NULL;
20806}
20807
20808
c32bde28 20809static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20810 PyObject *resultobj;
20811 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20812 wxSize *arg2 = 0 ;
20813 wxSize temp2 ;
20814 PyObject * obj0 = 0 ;
20815 PyObject * obj1 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self",(char *) "size", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20823 {
20824 arg2 = &temp2;
20825 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20826 }
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 (arg1)->SetPaperSize((wxSize const &)*arg2);
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 Py_INCREF(Py_None); resultobj = Py_None;
20835 return resultobj;
20836 fail:
20837 return NULL;
20838}
20839
20840
c32bde28 20841static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20842 PyObject *resultobj;
20843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20844 wxPrintData *arg2 = 0 ;
20845 PyObject * obj0 = 0 ;
20846 PyObject * obj1 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self",(char *) "printData", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20855 SWIG_POINTER_EXCEPTION | 0)) == -1)
20856 SWIG_fail;
20857 if (arg2 == NULL) {
20858 PyErr_SetString(PyExc_TypeError,"null reference");
20859 SWIG_fail;
20860 }
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 Py_INCREF(Py_None); resultobj = Py_None;
20869 return resultobj;
20870 fail:
20871 return NULL;
20872}
20873
20874
c32bde28 20875static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20876 PyObject *obj;
20877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20878 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20879 Py_INCREF(obj);
20880 return Py_BuildValue((char *)"");
20881}
c32bde28 20882static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20883 PyObject *resultobj;
20884 wxWindow *arg1 = (wxWindow *) 0 ;
20885 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20886 wxPageSetupDialog *result;
20887 PyObject * obj0 = 0 ;
20888 PyObject * obj1 = 0 ;
20889 char *kwnames[] = {
20890 (char *) "parent",(char *) "data", NULL
20891 };
20892
20893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20896 if (obj1) {
20897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20899 }
20900 {
0439c23b 20901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20904
20905 wxPyEndAllowThreads(__tstate);
110da5b0 20906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20907 }
20908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20909 return resultobj;
20910 fail:
20911 return NULL;
20912}
20913
20914
c32bde28 20915static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20916 PyObject *resultobj;
20917 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20918 wxPageSetupDialogData *result;
20919 PyObject * obj0 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 {
20930 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20931 result = (wxPageSetupDialogData *) &_result_ref;
20932 }
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20938 return resultobj;
20939 fail:
20940 return NULL;
20941}
20942
20943
c32bde28 20944static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20945 PyObject *resultobj;
20946 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20947 int result;
20948 PyObject * obj0 = 0 ;
20949 char *kwnames[] = {
20950 (char *) "self", NULL
20951 };
20952
20953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (int)(arg1)->ShowModal();
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
c32bde28 20963 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20964 return resultobj;
20965 fail:
20966 return NULL;
20967}
20968
20969
c32bde28 20970static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20971 PyObject *obj;
20972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20973 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20974 Py_INCREF(obj);
20975 return Py_BuildValue((char *)"");
20976}
c32bde28 20977static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20978 PyObject *resultobj;
20979 wxPrintDialogData *result;
20980
20981 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (wxPrintDialogData *)new wxPrintDialogData();
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20990 return resultobj;
20991 fail:
20992 return NULL;
20993}
20994
20995
c32bde28 20996static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
20997 PyObject *resultobj;
20998 wxPrintData *arg1 = 0 ;
20999 wxPrintDialogData *result;
21000 PyObject * obj0 = 0 ;
21001
21002 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
21003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
21004 SWIG_POINTER_EXCEPTION | 0)) == -1)
21005 SWIG_fail;
21006 if (arg1 == NULL) {
21007 PyErr_SetString(PyExc_TypeError,"null reference");
21008 SWIG_fail;
21009 }
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
21018 return resultobj;
21019 fail:
21020 return NULL;
21021}
21022
21023
21024static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
21025 int argc;
21026 PyObject *argv[2];
21027 int ii;
21028
21029 argc = PyObject_Length(args);
21030 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21031 argv[ii] = PyTuple_GetItem(args,ii);
21032 }
21033 if (argc == 0) {
21034 return _wrap_new_PrintDialogData__SWIG_0(self,args);
21035 }
21036 if (argc == 1) {
21037 int _v;
21038 {
21039 void *ptr;
21040 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21041 _v = 0;
21042 PyErr_Clear();
21043 } else {
21044 _v = 1;
21045 }
21046 }
21047 if (_v) {
21048 return _wrap_new_PrintDialogData__SWIG_1(self,args);
21049 }
21050 }
21051
21052 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
21053 return NULL;
21054}
21055
21056
c32bde28 21057static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21058 PyObject *resultobj;
21059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21060 PyObject * obj0 = 0 ;
21061 char *kwnames[] = {
21062 (char *) "self", NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",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 delete arg1;
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079}
21080
21081
c32bde28 21082static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_GetFromPage",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)->GetFromPage();
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
c32bde28 21101 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21102 return resultobj;
21103 fail:
21104 return NULL;
21105}
21106
21107
c32bde28 21108static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_GetToPage",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)->GetToPage();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
c32bde28 21127 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
c32bde28 21134static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_GetMinPage",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)->GetMinPage();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
c32bde28 21153 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21154 return resultobj;
21155 fail:
21156 return NULL;
21157}
21158
21159
c32bde28 21160static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21161 PyObject *resultobj;
21162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21163 int result;
21164 PyObject * obj0 = 0 ;
21165 char *kwnames[] = {
21166 (char *) "self", NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",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 = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
c32bde28 21179 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21180 return resultobj;
21181 fail:
21182 return NULL;
21183}
21184
21185
c32bde28 21186static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21187 PyObject *resultobj;
21188 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21189 int result;
21190 PyObject * obj0 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
c32bde28 21205 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21206 return resultobj;
21207 fail:
21208 return NULL;
21209}
21210
21211
c32bde28 21212static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21213 PyObject *resultobj;
21214 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21215 bool result;
21216 PyObject * obj0 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21233 }
21234 return resultobj;
21235 fail:
21236 return NULL;
21237}
21238
21239
c32bde28 21240static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21241 PyObject *resultobj;
21242 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21243 bool result;
21244 PyObject * obj0 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21252 {
21253 PyThreadState* __tstate = wxPyBeginAllowThreads();
21254 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21255
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 {
21260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21261 }
21262 return resultobj;
21263 fail:
21264 return NULL;
21265}
21266
21267
c32bde28 21268static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21269 PyObject *resultobj;
21270 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21271 bool result;
21272 PyObject * obj0 = 0 ;
21273 char *kwnames[] = {
21274 (char *) "self", NULL
21275 };
21276
21277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 {
21288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21289 }
21290 return resultobj;
21291 fail:
21292 return NULL;
21293}
21294
21295
c32bde28 21296static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21297 PyObject *resultobj;
21298 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21299 bool result;
21300 PyObject * obj0 = 0 ;
21301 char *kwnames[] = {
21302 (char *) "self", NULL
21303 };
21304
21305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 {
21316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21317 }
21318 return resultobj;
21319 fail:
21320 return NULL;
21321}
21322
21323
c32bde28 21324static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21325 PyObject *resultobj;
21326 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21327 bool result;
21328 PyObject * obj0 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "self", NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21336 {
21337 PyThreadState* __tstate = wxPyBeginAllowThreads();
21338 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21339
21340 wxPyEndAllowThreads(__tstate);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 {
21344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21345 }
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
c32bde28 21352static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21353 PyObject *resultobj;
21354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21355 int arg2 ;
21356 PyObject * obj0 = 0 ;
21357 PyObject * obj1 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self",(char *) "v", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21365 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21366 if (PyErr_Occurred()) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 (arg1)->SetFromPage(arg2);
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 Py_INCREF(Py_None); resultobj = Py_None;
21375 return resultobj;
21376 fail:
21377 return NULL;
21378}
21379
21380
c32bde28 21381static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21382 PyObject *resultobj;
21383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21384 int arg2 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "v", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21394 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21395 if (PyErr_Occurred()) SWIG_fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->SetToPage(arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 return resultobj;
21405 fail:
21406 return NULL;
21407}
21408
21409
c32bde28 21410static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21411 PyObject *resultobj;
21412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21413 int arg2 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "v", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21423 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21424 if (PyErr_Occurred()) SWIG_fail;
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->SetMinPage(arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 return resultobj;
21434 fail:
21435 return NULL;
21436}
21437
21438
c32bde28 21439static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21440 PyObject *resultobj;
21441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21442 int arg2 ;
21443 PyObject * obj0 = 0 ;
21444 PyObject * obj1 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self",(char *) "v", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21452 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21453 if (PyErr_Occurred()) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 (arg1)->SetMaxPage(arg2);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 Py_INCREF(Py_None); resultobj = Py_None;
21462 return resultobj;
21463 fail:
21464 return NULL;
21465}
21466
21467
c32bde28 21468static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21469 PyObject *resultobj;
21470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21471 int arg2 ;
21472 PyObject * obj0 = 0 ;
21473 PyObject * obj1 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "v", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21481 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21482 if (PyErr_Occurred()) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->SetNoCopies(arg2);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 return resultobj;
21492 fail:
21493 return NULL;
21494}
21495
21496
c32bde28 21497static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21498 PyObject *resultobj;
21499 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21500 bool arg2 ;
21501 PyObject * obj0 = 0 ;
21502 PyObject * obj1 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self",(char *) "flag", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21510 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21511 if (PyErr_Occurred()) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetAllPages(arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523}
21524
21525
c32bde28 21526static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21527 PyObject *resultobj;
21528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21529 bool arg2 ;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "flag", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21539 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21540 if (PyErr_Occurred()) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->SetSelection(arg2);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 Py_INCREF(Py_None); resultobj = Py_None;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552}
21553
21554
c32bde28 21555static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21556 PyObject *resultobj;
21557 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21558 bool arg2 ;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self",(char *) "flag", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21568 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21569 if (PyErr_Occurred()) SWIG_fail;
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 (arg1)->SetCollate(arg2);
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 Py_INCREF(Py_None); resultobj = Py_None;
21578 return resultobj;
21579 fail:
21580 return NULL;
21581}
21582
21583
c32bde28 21584static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21585 PyObject *resultobj;
21586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21587 bool arg2 ;
21588 PyObject * obj0 = 0 ;
21589 PyObject * obj1 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self",(char *) "flag", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21597 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21598 if (PyErr_Occurred()) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 (arg1)->SetPrintToFile(arg2);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 Py_INCREF(Py_None); resultobj = Py_None;
21607 return resultobj;
21608 fail:
21609 return NULL;
21610}
21611
21612
c32bde28 21613static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21614 PyObject *resultobj;
21615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21616 bool arg2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "flag", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21626 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21627 if (PyErr_Occurred()) SWIG_fail;
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 (arg1)->SetSetupDialog(arg2);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 Py_INCREF(Py_None); resultobj = Py_None;
21636 return resultobj;
21637 fail:
21638 return NULL;
21639}
21640
21641
c32bde28 21642static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21643 PyObject *resultobj;
21644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21645 bool arg2 ;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "flag", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21655 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21656 if (PyErr_Occurred()) SWIG_fail;
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 (arg1)->EnablePrintToFile(arg2);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 Py_INCREF(Py_None); resultobj = Py_None;
21665 return resultobj;
21666 fail:
21667 return NULL;
21668}
21669
21670
c32bde28 21671static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21672 PyObject *resultobj;
21673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21674 bool arg2 ;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self",(char *) "flag", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21684 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21685 if (PyErr_Occurred()) SWIG_fail;
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->EnableSelection(arg2);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697}
21698
21699
c32bde28 21700static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21701 PyObject *resultobj;
21702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21703 bool arg2 ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "flag", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21713 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21714 if (PyErr_Occurred()) SWIG_fail;
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
21717 (arg1)->EnablePageNumbers(arg2);
21718
21719 wxPyEndAllowThreads(__tstate);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 Py_INCREF(Py_None); resultobj = Py_None;
21723 return resultobj;
21724 fail:
21725 return NULL;
21726}
21727
21728
c32bde28 21729static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21730 PyObject *resultobj;
21731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21732 bool arg2 ;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "flag", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21742 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21743 if (PyErr_Occurred()) SWIG_fail;
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 (arg1)->EnableHelp(arg2);
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 Py_INCREF(Py_None); resultobj = Py_None;
21752 return resultobj;
21753 fail:
21754 return NULL;
21755}
21756
21757
c32bde28 21758static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21759 PyObject *resultobj;
21760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21761 bool result;
21762 PyObject * obj0 = 0 ;
21763 char *kwnames[] = {
21764 (char *) "self", NULL
21765 };
21766
21767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 {
21778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21779 }
21780 return resultobj;
21781 fail:
21782 return NULL;
21783}
21784
21785
c32bde28 21786static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21787 PyObject *resultobj;
21788 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21789 bool result;
21790 PyObject * obj0 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 {
21806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21807 }
21808 return resultobj;
21809 fail:
21810 return NULL;
21811}
21812
21813
c32bde28 21814static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21815 PyObject *resultobj;
21816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21817 bool result;
21818 PyObject * obj0 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 {
21834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21835 }
21836 return resultobj;
21837 fail:
21838 return NULL;
21839}
21840
21841
c32bde28 21842static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21843 PyObject *resultobj;
21844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21845 bool result;
21846 PyObject * obj0 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21854 {
21855 PyThreadState* __tstate = wxPyBeginAllowThreads();
21856 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21857
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 {
21862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21863 }
21864 return resultobj;
21865 fail:
21866 return NULL;
21867}
21868
21869
c32bde28 21870static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21871 PyObject *resultobj;
21872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21873 bool result;
21874 PyObject * obj0 = 0 ;
21875 char *kwnames[] = {
21876 (char *) "self", NULL
21877 };
21878
21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 {
21890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21891 }
21892 return resultobj;
21893 fail:
21894 return NULL;
21895}
21896
21897
c32bde28 21898static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21899 PyObject *resultobj;
21900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21901 wxPrintData *result;
21902 PyObject * obj0 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 {
21913 wxPrintData &_result_ref = (arg1)->GetPrintData();
21914 result = (wxPrintData *) &_result_ref;
21915 }
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21921 return resultobj;
21922 fail:
21923 return NULL;
21924}
21925
21926
c32bde28 21927static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21928 PyObject *resultobj;
21929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21930 wxPrintData *arg2 = 0 ;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 char *kwnames[] = {
21934 (char *) "self",(char *) "printData", NULL
21935 };
21936
21937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21941 SWIG_POINTER_EXCEPTION | 0)) == -1)
21942 SWIG_fail;
21943 if (arg2 == NULL) {
21944 PyErr_SetString(PyExc_TypeError,"null reference");
21945 SWIG_fail;
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958}
21959
21960
c32bde28 21961static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21962 PyObject *obj;
21963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21964 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21965 Py_INCREF(obj);
21966 return Py_BuildValue((char *)"");
21967}
c32bde28 21968static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21969 PyObject *resultobj;
21970 wxWindow *arg1 = (wxWindow *) 0 ;
21971 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21972 wxPrintDialog *result;
21973 PyObject * obj0 = 0 ;
21974 PyObject * obj1 = 0 ;
21975 char *kwnames[] = {
21976 (char *) "parent",(char *) "data", NULL
21977 };
21978
21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21982 if (obj1) {
21983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21985 }
21986 {
0439c23b 21987 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21990
21991 wxPyEndAllowThreads(__tstate);
110da5b0 21992 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21993 }
21994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21995 return resultobj;
21996 fail:
21997 return NULL;
21998}
21999
22000
c32bde28 22001static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22002 PyObject *resultobj;
22003 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22004 wxPrintDialogData *result;
22005 PyObject * obj0 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
22011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 {
22016 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22017 result = (wxPrintDialogData *) &_result_ref;
22018 }
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22024 return resultobj;
22025 fail:
22026 return NULL;
22027}
22028
22029
c32bde28 22030static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22031 PyObject *resultobj;
22032 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22033 wxDC *result;
22034 PyObject * obj0 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = (wxDC *)(arg1)->GetPrintDC();
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
412d302d 22050 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
22051 }
22052 return resultobj;
22053 fail:
22054 return NULL;
22055}
22056
22057
c32bde28 22058static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22059 PyObject *resultobj;
22060 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22061 int result;
22062 PyObject * obj0 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
22068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = (int)(arg1)->ShowModal();
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
c32bde28 22077 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22078 return resultobj;
22079 fail:
22080 return NULL;
22081}
22082
22083
c32bde28 22084static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22085 PyObject *obj;
22086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22087 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22088 Py_INCREF(obj);
22089 return Py_BuildValue((char *)"");
22090}
c32bde28 22091static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22092 PyObject *resultobj;
22093 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22094 wxPrinter *result;
22095 PyObject * obj0 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "data", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22101 if (obj0) {
22102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22104 }
22105 {
0439c23b 22106 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = (wxPrinter *)new wxPrinter(arg1);
22109
22110 wxPyEndAllowThreads(__tstate);
110da5b0 22111 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22112 }
22113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22114 return resultobj;
22115 fail:
22116 return NULL;
22117}
22118
22119
c32bde28 22120static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22121 PyObject *resultobj;
22122 wxPrinter *arg1 = (wxPrinter *) 0 ;
22123 PyObject * obj0 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 delete arg1;
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 Py_INCREF(Py_None); resultobj = Py_None;
22139 return resultobj;
22140 fail:
22141 return NULL;
22142}
22143
22144
c32bde28 22145static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22146 PyObject *resultobj;
22147 wxPrinter *arg1 = (wxPrinter *) 0 ;
22148 wxWindow *arg2 = (wxWindow *) 0 ;
22149 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22150 PyObject * obj0 = 0 ;
22151 PyObject * obj1 = 0 ;
22152 PyObject * obj2 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self",(char *) "parent",(char *) "printout", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22162 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 (arg1)->CreateAbortWindow(arg2,arg3);
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 Py_INCREF(Py_None); resultobj = Py_None;
22172 return resultobj;
22173 fail:
22174 return NULL;
22175}
22176
22177
c32bde28 22178static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22179 PyObject *resultobj;
22180 wxPrinter *arg1 = (wxPrinter *) 0 ;
22181 wxPrintDialogData *result;
22182 PyObject * obj0 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 {
22193 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22194 result = (wxPrintDialogData *) &_result_ref;
22195 }
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22201 return resultobj;
22202 fail:
22203 return NULL;
22204}
22205
22206
c32bde28 22207static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22208 PyObject *resultobj;
22209 wxPrinter *arg1 = (wxPrinter *) 0 ;
22210 wxWindow *arg2 = (wxWindow *) 0 ;
22211 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
ae8162c8 22212 int arg4 = (int) true ;
d55e5bfc
RD
22213 bool result;
22214 PyObject * obj0 = 0 ;
22215 PyObject * obj1 = 0 ;
22216 PyObject * obj2 = 0 ;
22217 PyObject * obj3 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22227 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22229 if (obj3) {
c32bde28 22230 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 {
22241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22242 }
22243 return resultobj;
22244 fail:
22245 return NULL;
22246}
22247
22248
c32bde28 22249static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22250 PyObject *resultobj;
22251 wxPrinter *arg1 = (wxPrinter *) 0 ;
22252 wxWindow *arg2 = (wxWindow *) 0 ;
22253 wxDC *result;
22254 PyObject * obj0 = 0 ;
22255 PyObject * obj1 = 0 ;
22256 char *kwnames[] = {
22257 (char *) "self",(char *) "parent", NULL
22258 };
22259
22260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = (wxDC *)(arg1)->PrintDialog(arg2);
22268
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 {
412d302d 22273 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22274 }
22275 return resultobj;
22276 fail:
22277 return NULL;
22278}
22279
22280
c32bde28 22281static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22282 PyObject *resultobj;
22283 wxPrinter *arg1 = (wxPrinter *) 0 ;
22284 wxWindow *arg2 = (wxWindow *) 0 ;
22285 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22286 wxString *arg4 = 0 ;
ae8162c8 22287 bool temp4 = false ;
d55e5bfc
RD
22288 PyObject * obj0 = 0 ;
22289 PyObject * obj1 = 0 ;
22290 PyObject * obj2 = 0 ;
22291 PyObject * obj3 = 0 ;
22292 char *kwnames[] = {
22293 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22294 };
22295
22296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22301 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22303 {
22304 arg4 = wxString_in_helper(obj3);
22305 if (arg4 == NULL) SWIG_fail;
ae8162c8 22306 temp4 = true;
d55e5bfc
RD
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 Py_INCREF(Py_None); resultobj = Py_None;
22316 {
22317 if (temp4)
22318 delete arg4;
22319 }
22320 return resultobj;
22321 fail:
22322 {
22323 if (temp4)
22324 delete arg4;
22325 }
22326 return NULL;
22327}
22328
22329
c32bde28 22330static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22331 PyObject *resultobj;
22332 wxPrinter *arg1 = (wxPrinter *) 0 ;
22333 wxWindow *arg2 = (wxWindow *) 0 ;
22334 bool result;
22335 PyObject * obj0 = 0 ;
22336 PyObject * obj1 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "self",(char *) "parent", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 result = (bool)(arg1)->Setup(arg2);
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 {
22354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22355 }
22356 return resultobj;
22357 fail:
22358 return NULL;
22359}
22360
22361
c32bde28 22362static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22363 PyObject *resultobj;
22364 wxPrinter *arg1 = (wxPrinter *) 0 ;
22365 bool result;
22366 PyObject * obj0 = 0 ;
22367 char *kwnames[] = {
22368 (char *) "self", NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 result = (bool)(arg1)->GetAbort();
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 {
22382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22383 }
22384 return resultobj;
22385 fail:
22386 return NULL;
22387}
22388
22389
c32bde28 22390static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22391 PyObject *resultobj;
22392 int result;
22393 char *kwnames[] = {
22394 NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 result = (int)wxPrinter::GetLastError();
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
c32bde28 22405 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22406 return resultobj;
22407 fail:
22408 return NULL;
22409}
22410
22411
c32bde28 22412static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22413 PyObject *obj;
22414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22415 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22416 Py_INCREF(obj);
22417 return Py_BuildValue((char *)"");
22418}
c32bde28 22419static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22420 PyObject *resultobj;
22421 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22422 wxString *arg1 = (wxString *) &arg1_defvalue ;
22423 wxPyPrintout *result;
ae8162c8 22424 bool temp1 = false ;
d55e5bfc
RD
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "title", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22431 if (obj0) {
22432 {
22433 arg1 = wxString_in_helper(obj0);
22434 if (arg1 == NULL) SWIG_fail;
ae8162c8 22435 temp1 = true;
d55e5bfc
RD
22436 }
22437 }
22438 {
0439c23b 22439 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22442
22443 wxPyEndAllowThreads(__tstate);
110da5b0 22444 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22445 }
22446 {
412d302d 22447 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
22448 }
22449 {
22450 if (temp1)
22451 delete arg1;
22452 }
22453 return resultobj;
22454 fail:
22455 {
22456 if (temp1)
22457 delete arg1;
22458 }
22459 return NULL;
22460}
22461
22462
c32bde28 22463static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22464 PyObject *resultobj;
22465 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22466 PyObject *arg2 = (PyObject *) 0 ;
22467 PyObject *arg3 = (PyObject *) 0 ;
22468 PyObject * obj0 = 0 ;
22469 PyObject * obj1 = 0 ;
22470 PyObject * obj2 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self",(char *) "self",(char *) "_class", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22478 arg2 = obj1;
22479 arg3 = obj2;
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 (arg1)->_setCallbackInfo(arg2,arg3);
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 Py_INCREF(Py_None); resultobj = Py_None;
22488 return resultobj;
22489 fail:
22490 return NULL;
22491}
22492
22493
c32bde28 22494static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22495 PyObject *resultobj;
22496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22497 wxString result;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = ((wxPyPrintout const *)arg1)->GetTitle();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 {
22514#if wxUSE_UNICODE
22515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22516#else
22517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22518#endif
22519 }
22520 return resultobj;
22521 fail:
22522 return NULL;
22523}
22524
22525
c32bde28 22526static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22527 PyObject *resultobj;
22528 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22529 wxDC *result;
22530 PyObject * obj0 = 0 ;
22531 char *kwnames[] = {
22532 (char *) "self", NULL
22533 };
22534
22535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 result = (wxDC *)(arg1)->GetDC();
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 {
412d302d 22546 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551}
22552
22553
c32bde28 22554static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22555 PyObject *resultobj;
22556 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22557 wxDC *arg2 = (wxDC *) 0 ;
22558 PyObject * obj0 = 0 ;
22559 PyObject * obj1 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "dc", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->SetDC(arg2);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 Py_INCREF(Py_None); resultobj = Py_None;
22577 return resultobj;
22578 fail:
22579 return NULL;
22580}
22581
22582
c32bde28 22583static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22584 PyObject *resultobj;
22585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22586 int arg2 ;
22587 int arg3 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 PyObject * obj2 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self",(char *) "w",(char *) "h", NULL
22593 };
22594
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22598 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22599 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22600 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22601 if (PyErr_Occurred()) SWIG_fail;
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 (arg1)->SetPageSizePixels(arg2,arg3);
22605
22606 wxPyEndAllowThreads(__tstate);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 Py_INCREF(Py_None); resultobj = Py_None;
22610 return resultobj;
22611 fail:
22612 return NULL;
22613}
22614
22615
c32bde28 22616static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22617 PyObject *resultobj;
22618 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22619 int *arg2 = (int *) 0 ;
22620 int *arg3 = (int *) 0 ;
22621 int temp2 ;
c32bde28 22622 int res2 = 0 ;
d55e5bfc 22623 int temp3 ;
c32bde28 22624 int res3 = 0 ;
d55e5bfc
RD
22625 PyObject * obj0 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self", NULL
22628 };
22629
c32bde28
RD
22630 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22631 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 (arg1)->GetPageSizePixels(arg2,arg3);
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22643 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22644 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22645 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22646 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
c32bde28 22653static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22654 PyObject *resultobj;
22655 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22656 int arg2 ;
22657 int arg3 ;
22658 PyObject * obj0 = 0 ;
22659 PyObject * obj1 = 0 ;
22660 PyObject * obj2 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "w",(char *) "h", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22668 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22669 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22670 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22671 if (PyErr_Occurred()) SWIG_fail;
22672 {
22673 PyThreadState* __tstate = wxPyBeginAllowThreads();
22674 (arg1)->SetPageSizeMM(arg2,arg3);
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 Py_INCREF(Py_None); resultobj = Py_None;
22680 return resultobj;
22681 fail:
22682 return NULL;
22683}
22684
22685
c32bde28 22686static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22687 PyObject *resultobj;
22688 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22689 int *arg2 = (int *) 0 ;
22690 int *arg3 = (int *) 0 ;
22691 int temp2 ;
c32bde28 22692 int res2 = 0 ;
d55e5bfc 22693 int temp3 ;
c32bde28 22694 int res3 = 0 ;
d55e5bfc
RD
22695 PyObject * obj0 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self", NULL
22698 };
22699
c32bde28
RD
22700 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22701 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->GetPageSizeMM(arg2,arg3);
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22713 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22714 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22715 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22716 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22717 return resultobj;
22718 fail:
22719 return NULL;
22720}
22721
22722
c32bde28 22723static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22724 PyObject *resultobj;
22725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22726 int arg2 ;
22727 int arg3 ;
22728 PyObject * obj0 = 0 ;
22729 PyObject * obj1 = 0 ;
22730 PyObject * obj2 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self",(char *) "x",(char *) "y", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22738 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22739 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22740 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22741 if (PyErr_Occurred()) SWIG_fail;
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 (arg1)->SetPPIScreen(arg2,arg3);
22745
22746 wxPyEndAllowThreads(__tstate);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
22749 Py_INCREF(Py_None); resultobj = Py_None;
22750 return resultobj;
22751 fail:
22752 return NULL;
22753}
22754
22755
c32bde28 22756static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22757 PyObject *resultobj;
22758 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22759 int *arg2 = (int *) 0 ;
22760 int *arg3 = (int *) 0 ;
22761 int temp2 ;
c32bde28 22762 int res2 = 0 ;
d55e5bfc 22763 int temp3 ;
c32bde28 22764 int res3 = 0 ;
d55e5bfc
RD
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self", NULL
22768 };
22769
c32bde28
RD
22770 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22771 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 (arg1)->GetPPIScreen(arg2,arg3);
22778
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
22782 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22783 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22784 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22785 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22786 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22787 return resultobj;
22788 fail:
22789 return NULL;
22790}
22791
22792
c32bde28 22793static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22794 PyObject *resultobj;
22795 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22796 int arg2 ;
22797 int arg3 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 PyObject * obj2 = 0 ;
22801 char *kwnames[] = {
22802 (char *) "self",(char *) "x",(char *) "y", NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22808 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22809 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22810 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22811 if (PyErr_Occurred()) SWIG_fail;
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 (arg1)->SetPPIPrinter(arg2,arg3);
22815
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 Py_INCREF(Py_None); resultobj = Py_None;
22820 return resultobj;
22821 fail:
22822 return NULL;
22823}
22824
22825
c32bde28 22826static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22827 PyObject *resultobj;
22828 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22829 int *arg2 = (int *) 0 ;
22830 int *arg3 = (int *) 0 ;
22831 int temp2 ;
c32bde28 22832 int res2 = 0 ;
d55e5bfc 22833 int temp3 ;
c32bde28 22834 int res3 = 0 ;
d55e5bfc
RD
22835 PyObject * obj0 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self", NULL
22838 };
22839
c32bde28
RD
22840 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22841 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22845 {
22846 PyThreadState* __tstate = wxPyBeginAllowThreads();
22847 (arg1)->GetPPIPrinter(arg2,arg3);
22848
22849 wxPyEndAllowThreads(__tstate);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 }
22852 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22853 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22854 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22855 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22856 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22857 return resultobj;
22858 fail:
22859 return NULL;
22860}
22861
22862
c32bde28 22863static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22864 PyObject *resultobj;
22865 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22866 bool result;
22867 PyObject * obj0 = 0 ;
22868 char *kwnames[] = {
22869 (char *) "self", NULL
22870 };
22871
22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (bool)(arg1)->IsPreview();
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 {
22883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22884 }
22885 return resultobj;
22886 fail:
22887 return NULL;
22888}
22889
22890
c32bde28 22891static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22892 PyObject *resultobj;
22893 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22894 bool arg2 ;
22895 PyObject * obj0 = 0 ;
22896 PyObject * obj1 = 0 ;
22897 char *kwnames[] = {
22898 (char *) "self",(char *) "p", NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22904 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
22905 if (PyErr_Occurred()) SWIG_fail;
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 (arg1)->SetIsPreview(arg2);
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 Py_INCREF(Py_None); resultobj = Py_None;
22914 return resultobj;
22915 fail:
22916 return NULL;
22917}
22918
22919
c32bde28 22920static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22921 PyObject *resultobj;
22922 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22923 int arg2 ;
22924 int arg3 ;
22925 bool result;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 PyObject * obj2 = 0 ;
22929 char *kwnames[] = {
22930 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22936 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22937 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22938 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22939 if (PyErr_Occurred()) SWIG_fail;
22940 {
22941 PyThreadState* __tstate = wxPyBeginAllowThreads();
22942 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22943
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 {
22948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22949 }
22950 return resultobj;
22951 fail:
22952 return NULL;
22953}
22954
22955
c32bde28 22956static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22957 PyObject *resultobj;
22958 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22959 PyObject * obj0 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 (arg1)->base_OnEndDocument();
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 Py_INCREF(Py_None); resultobj = Py_None;
22975 return resultobj;
22976 fail:
22977 return NULL;
22978}
22979
22980
c32bde28 22981static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22982 PyObject *resultobj;
22983 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22984 PyObject * obj0 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "self", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 (arg1)->base_OnBeginPrinting();
22995
22996 wxPyEndAllowThreads(__tstate);
22997 if (PyErr_Occurred()) SWIG_fail;
22998 }
22999 Py_INCREF(Py_None); resultobj = Py_None;
23000 return resultobj;
23001 fail:
23002 return NULL;
23003}
23004
23005
c32bde28 23006static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23007 PyObject *resultobj;
23008 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23009 PyObject * obj0 = 0 ;
23010 char *kwnames[] = {
23011 (char *) "self", NULL
23012 };
23013
23014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
23015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 (arg1)->base_OnEndPrinting();
23020
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 Py_INCREF(Py_None); resultobj = Py_None;
23025 return resultobj;
23026 fail:
23027 return NULL;
23028}
23029
23030
c32bde28 23031static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23032 PyObject *resultobj;
23033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23034 PyObject * obj0 = 0 ;
23035 char *kwnames[] = {
23036 (char *) "self", NULL
23037 };
23038
23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
23040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23042 {
23043 PyThreadState* __tstate = wxPyBeginAllowThreads();
23044 (arg1)->base_OnPreparePrinting();
23045
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 Py_INCREF(Py_None); resultobj = Py_None;
23050 return resultobj;
23051 fail:
23052 return NULL;
23053}
23054
23055
c32bde28 23056static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23057 PyObject *resultobj;
23058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23059 int arg2 ;
23060 bool result;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj1 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "page", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23070 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23071 if (PyErr_Occurred()) SWIG_fail;
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (bool)(arg1)->base_HasPage(arg2);
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 {
23080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23081 }
23082 return resultobj;
23083 fail:
23084 return NULL;
23085}
23086
23087
c32bde28 23088static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23089 PyObject *resultobj;
23090 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23091 int *arg2 = (int *) 0 ;
23092 int *arg3 = (int *) 0 ;
23093 int *arg4 = (int *) 0 ;
23094 int *arg5 = (int *) 0 ;
23095 int temp2 ;
c32bde28 23096 int res2 = 0 ;
d55e5bfc 23097 int temp3 ;
c32bde28 23098 int res3 = 0 ;
d55e5bfc 23099 int temp4 ;
c32bde28 23100 int res4 = 0 ;
d55e5bfc 23101 int temp5 ;
c32bde28 23102 int res5 = 0 ;
d55e5bfc
RD
23103 PyObject * obj0 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self", NULL
23106 };
23107
c32bde28
RD
23108 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23109 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23110 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23111 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23123 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23124 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23125 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23126 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23127 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23128 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23129 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23130 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23131 return resultobj;
23132 fail:
23133 return NULL;
23134}
23135
23136
c32bde28 23137static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23138 PyObject *obj;
23139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23140 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23141 Py_INCREF(obj);
23142 return Py_BuildValue((char *)"");
23143}
c32bde28 23144static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23145 PyObject *resultobj;
23146 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23147 wxWindow *arg2 = (wxWindow *) 0 ;
23148 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23149 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23150 wxSize const &arg4_defvalue = wxDefaultSize ;
23151 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23152 long arg5 = (long) 0 ;
23153 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23154 wxString *arg6 = (wxString *) &arg6_defvalue ;
23155 wxPreviewCanvas *result;
23156 wxPoint temp3 ;
23157 wxSize temp4 ;
ae8162c8 23158 bool temp6 = false ;
d55e5bfc
RD
23159 PyObject * obj0 = 0 ;
23160 PyObject * obj1 = 0 ;
23161 PyObject * obj2 = 0 ;
23162 PyObject * obj3 = 0 ;
23163 PyObject * obj4 = 0 ;
23164 PyObject * obj5 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23174 if (obj2) {
23175 {
23176 arg3 = &temp3;
23177 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23178 }
23179 }
23180 if (obj3) {
23181 {
23182 arg4 = &temp4;
23183 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23184 }
23185 }
23186 if (obj4) {
c32bde28 23187 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 if (obj5) {
23191 {
23192 arg6 = wxString_in_helper(obj5);
23193 if (arg6 == NULL) SWIG_fail;
ae8162c8 23194 temp6 = true;
d55e5bfc
RD
23195 }
23196 }
23197 {
0439c23b 23198 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23201
23202 wxPyEndAllowThreads(__tstate);
110da5b0 23203 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23204 }
23205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23206 {
23207 if (temp6)
23208 delete arg6;
23209 }
23210 return resultobj;
23211 fail:
23212 {
23213 if (temp6)
23214 delete arg6;
23215 }
23216 return NULL;
23217}
23218
23219
c32bde28 23220static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23221 PyObject *obj;
23222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23223 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23224 Py_INCREF(obj);
23225 return Py_BuildValue((char *)"");
23226}
c32bde28 23227static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23228 PyObject *resultobj;
23229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23230 wxFrame *arg2 = (wxFrame *) 0 ;
23231 wxString *arg3 = 0 ;
23232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23234 wxSize const &arg5_defvalue = wxDefaultSize ;
23235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23236 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23237 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23238 wxString *arg7 = (wxString *) &arg7_defvalue ;
23239 wxPreviewFrame *result;
ae8162c8 23240 bool temp3 = false ;
d55e5bfc
RD
23241 wxPoint temp4 ;
23242 wxSize temp5 ;
ae8162c8 23243 bool temp7 = false ;
d55e5bfc
RD
23244 PyObject * obj0 = 0 ;
23245 PyObject * obj1 = 0 ;
23246 PyObject * obj2 = 0 ;
23247 PyObject * obj3 = 0 ;
23248 PyObject * obj4 = 0 ;
23249 PyObject * obj5 = 0 ;
23250 PyObject * obj6 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23260 {
23261 arg3 = wxString_in_helper(obj2);
23262 if (arg3 == NULL) SWIG_fail;
ae8162c8 23263 temp3 = true;
d55e5bfc
RD
23264 }
23265 if (obj3) {
23266 {
23267 arg4 = &temp4;
23268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23269 }
23270 }
23271 if (obj4) {
23272 {
23273 arg5 = &temp5;
23274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23275 }
23276 }
23277 if (obj5) {
c32bde28 23278 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 if (obj6) {
23282 {
23283 arg7 = wxString_in_helper(obj6);
23284 if (arg7 == NULL) SWIG_fail;
ae8162c8 23285 temp7 = true;
d55e5bfc
RD
23286 }
23287 }
23288 {
0439c23b 23289 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23290 PyThreadState* __tstate = wxPyBeginAllowThreads();
23291 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23292
23293 wxPyEndAllowThreads(__tstate);
110da5b0 23294 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23295 }
23296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23297 {
23298 if (temp3)
23299 delete arg3;
23300 }
23301 {
23302 if (temp7)
23303 delete arg7;
23304 }
23305 return resultobj;
23306 fail:
23307 {
23308 if (temp3)
23309 delete arg3;
23310 }
23311 {
23312 if (temp7)
23313 delete arg7;
23314 }
23315 return NULL;
23316}
23317
23318
c32bde28 23319static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23320 PyObject *resultobj;
23321 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23322 PyObject * obj0 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 (arg1)->Initialize();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 Py_INCREF(Py_None); resultobj = Py_None;
23338 return resultobj;
23339 fail:
23340 return NULL;
23341}
23342
23343
c32bde28 23344static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23345 PyObject *resultobj;
23346 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23347 PyObject * obj0 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "self", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 (arg1)->CreateControlBar();
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 Py_INCREF(Py_None); resultobj = Py_None;
23363 return resultobj;
23364 fail:
23365 return NULL;
23366}
23367
23368
c32bde28 23369static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23370 PyObject *resultobj;
23371 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23372 PyObject * obj0 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->CreateCanvas();
23383
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 Py_INCREF(Py_None); resultobj = Py_None;
23388 return resultobj;
23389 fail:
23390 return NULL;
23391}
23392
23393
c32bde28 23394static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23395 PyObject *resultobj;
23396 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23397 wxPreviewControlBar *result;
23398 PyObject * obj0 = 0 ;
23399 char *kwnames[] = {
23400 (char *) "self", NULL
23401 };
23402
23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23414 return resultobj;
23415 fail:
23416 return NULL;
23417}
23418
23419
c32bde28 23420static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23421 PyObject *obj;
23422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23423 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23424 Py_INCREF(obj);
23425 return Py_BuildValue((char *)"");
23426}
c32bde28 23427static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23428 PyObject *resultobj;
23429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23430 long arg2 ;
23431 wxWindow *arg3 = (wxWindow *) 0 ;
23432 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23433 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23434 wxSize const &arg5_defvalue = wxDefaultSize ;
23435 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23436 long arg6 = (long) wxTAB_TRAVERSAL ;
23437 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23438 wxString *arg7 = (wxString *) &arg7_defvalue ;
23439 wxPreviewControlBar *result;
23440 wxPoint temp4 ;
23441 wxSize temp5 ;
ae8162c8 23442 bool temp7 = false ;
d55e5bfc
RD
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 PyObject * obj2 = 0 ;
23446 PyObject * obj3 = 0 ;
23447 PyObject * obj4 = 0 ;
23448 PyObject * obj5 = 0 ;
23449 PyObject * obj6 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23457 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23458 if (PyErr_Occurred()) SWIG_fail;
23459 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23461 if (obj3) {
23462 {
23463 arg4 = &temp4;
23464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23465 }
23466 }
23467 if (obj4) {
23468 {
23469 arg5 = &temp5;
23470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23471 }
23472 }
23473 if (obj5) {
c32bde28 23474 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 if (obj6) {
23478 {
23479 arg7 = wxString_in_helper(obj6);
23480 if (arg7 == NULL) SWIG_fail;
ae8162c8 23481 temp7 = true;
d55e5bfc
RD
23482 }
23483 }
23484 {
0439c23b 23485 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23488
23489 wxPyEndAllowThreads(__tstate);
110da5b0 23490 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23491 }
23492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23493 {
23494 if (temp7)
23495 delete arg7;
23496 }
23497 return resultobj;
23498 fail:
23499 {
23500 if (temp7)
23501 delete arg7;
23502 }
23503 return NULL;
23504}
23505
23506
c32bde28 23507static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23508 PyObject *resultobj;
23509 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23510 int result;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 result = (int)(arg1)->GetZoomControl();
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
c32bde28 23526 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23527 return resultobj;
23528 fail:
23529 return NULL;
23530}
23531
23532
c32bde28 23533static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23534 PyObject *resultobj;
23535 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23536 int arg2 ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self",(char *) "zoom", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23546 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23547 if (PyErr_Occurred()) SWIG_fail;
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 (arg1)->SetZoomControl(arg2);
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 Py_INCREF(Py_None); resultobj = Py_None;
23556 return resultobj;
23557 fail:
23558 return NULL;
23559}
23560
23561
c32bde28 23562static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23563 PyObject *resultobj;
23564 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23565 wxPrintPreview *result;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23582 return resultobj;
23583 fail:
23584 return NULL;
23585}
23586
23587
c32bde28 23588static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23589 PyObject *resultobj;
23590 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23591 PyObject * obj0 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 (arg1)->OnNext();
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 Py_INCREF(Py_None); resultobj = Py_None;
23607 return resultobj;
23608 fail:
23609 return NULL;
23610}
23611
23612
c32bde28 23613static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23614 PyObject *resultobj;
23615 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23616 PyObject * obj0 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 (arg1)->OnPrevious();
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 Py_INCREF(Py_None); resultobj = Py_None;
23632 return resultobj;
23633 fail:
23634 return NULL;
23635}
23636
23637
c32bde28 23638static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23639 PyObject *resultobj;
23640 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23641 PyObject * obj0 = 0 ;
23642 char *kwnames[] = {
23643 (char *) "self", NULL
23644 };
23645
23646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 (arg1)->OnFirst();
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 Py_INCREF(Py_None); resultobj = Py_None;
23657 return resultobj;
23658 fail:
23659 return NULL;
23660}
23661
23662
c32bde28 23663static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23664 PyObject *resultobj;
23665 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->OnLast();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
c32bde28 23688static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23689 PyObject *resultobj;
23690 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23691 PyObject * obj0 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 (arg1)->OnGoto();
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
23706 Py_INCREF(Py_None); resultobj = Py_None;
23707 return resultobj;
23708 fail:
23709 return NULL;
23710}
23711
23712
c32bde28 23713static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23714 PyObject *obj;
23715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23716 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23717 Py_INCREF(obj);
23718 return Py_BuildValue((char *)"");
23719}
c32bde28 23720static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23721 PyObject *resultobj;
23722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23723 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23724 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23725 wxPrintPreview *result;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 PyObject * obj2 = 0 ;
23729
23730 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23735 if (obj2) {
23736 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23738 }
23739 {
0439c23b 23740 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23743
23744 wxPyEndAllowThreads(__tstate);
110da5b0 23745 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23746 }
23747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23748 return resultobj;
23749 fail:
23750 return NULL;
23751}
23752
23753
c32bde28 23754static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23755 PyObject *resultobj;
23756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23757 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23758 wxPrintData *arg3 = (wxPrintData *) 0 ;
23759 wxPrintPreview *result;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 PyObject * obj2 = 0 ;
23763
23764 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23771 {
0439c23b 23772 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23775
23776 wxPyEndAllowThreads(__tstate);
110da5b0 23777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23778 }
23779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23780 return resultobj;
23781 fail:
23782 return NULL;
23783}
23784
23785
23786static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23787 int argc;
23788 PyObject *argv[4];
23789 int ii;
23790
23791 argc = PyObject_Length(args);
23792 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23793 argv[ii] = PyTuple_GetItem(args,ii);
23794 }
23795 if ((argc >= 2) && (argc <= 3)) {
23796 int _v;
23797 {
23798 void *ptr;
23799 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23800 _v = 0;
23801 PyErr_Clear();
23802 } else {
23803 _v = 1;
23804 }
23805 }
23806 if (_v) {
23807 {
23808 void *ptr;
23809 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23810 _v = 0;
23811 PyErr_Clear();
23812 } else {
23813 _v = 1;
23814 }
23815 }
23816 if (_v) {
23817 if (argc <= 2) {
23818 return _wrap_new_PrintPreview__SWIG_0(self,args);
23819 }
23820 {
23821 void *ptr;
23822 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23823 _v = 0;
23824 PyErr_Clear();
23825 } else {
23826 _v = 1;
23827 }
23828 }
23829 if (_v) {
23830 return _wrap_new_PrintPreview__SWIG_0(self,args);
23831 }
23832 }
23833 }
23834 }
23835 if (argc == 3) {
23836 int _v;
23837 {
23838 void *ptr;
23839 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23840 _v = 0;
23841 PyErr_Clear();
23842 } else {
23843 _v = 1;
23844 }
23845 }
23846 if (_v) {
23847 {
23848 void *ptr;
23849 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23850 _v = 0;
23851 PyErr_Clear();
23852 } else {
23853 _v = 1;
23854 }
23855 }
23856 if (_v) {
23857 {
23858 void *ptr;
23859 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23860 _v = 0;
23861 PyErr_Clear();
23862 } else {
23863 _v = 1;
23864 }
23865 }
23866 if (_v) {
23867 return _wrap_new_PrintPreview__SWIG_1(self,args);
23868 }
23869 }
23870 }
23871 }
23872
23873 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23874 return NULL;
23875}
23876
23877
c32bde28 23878static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23879 PyObject *resultobj;
23880 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23881 int arg2 ;
23882 bool result;
23883 PyObject * obj0 = 0 ;
23884 PyObject * obj1 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self",(char *) "pageNum", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23892 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23893 if (PyErr_Occurred()) SWIG_fail;
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (bool)(arg1)->SetCurrentPage(arg2);
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 {
23902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23903 }
23904 return resultobj;
23905 fail:
23906 return NULL;
23907}
23908
23909
c32bde28 23910static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23911 PyObject *resultobj;
23912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23913 int result;
23914 PyObject * obj0 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23922 {
23923 PyThreadState* __tstate = wxPyBeginAllowThreads();
23924 result = (int)(arg1)->GetCurrentPage();
23925
23926 wxPyEndAllowThreads(__tstate);
23927 if (PyErr_Occurred()) SWIG_fail;
23928 }
c32bde28 23929 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23930 return resultobj;
23931 fail:
23932 return NULL;
23933}
23934
23935
c32bde28 23936static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23937 PyObject *resultobj;
23938 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23939 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23940 PyObject * obj0 = 0 ;
23941 PyObject * obj1 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self",(char *) "printout", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 (arg1)->SetPrintout(arg2);
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 Py_INCREF(Py_None); resultobj = Py_None;
23959 return resultobj;
23960 fail:
23961 return NULL;
23962}
23963
23964
c32bde28 23965static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23966 PyObject *resultobj;
23967 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23968 wxPyPrintout *result;
23969 PyObject * obj0 = 0 ;
23970 char *kwnames[] = {
23971 (char *) "self", NULL
23972 };
23973
23974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 result = (wxPyPrintout *)(arg1)->GetPrintout();
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 {
412d302d 23985 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23986 }
23987 return resultobj;
23988 fail:
23989 return NULL;
23990}
23991
23992
c32bde28 23993static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23994 PyObject *resultobj;
23995 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23996 wxPyPrintout *result;
23997 PyObject * obj0 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
24003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 {
412d302d 24013 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24014 }
24015 return resultobj;
24016 fail:
24017 return NULL;
24018}
24019
24020
c32bde28 24021static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24022 PyObject *resultobj;
24023 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24024 wxFrame *arg2 = (wxFrame *) 0 ;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "frame", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 (arg1)->SetFrame(arg2);
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047}
24048
24049
c32bde28 24050static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24051 PyObject *resultobj;
24052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24053 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24054 PyObject * obj0 = 0 ;
24055 PyObject * obj1 = 0 ;
24056 char *kwnames[] = {
24057 (char *) "self",(char *) "canvas", NULL
24058 };
24059
24060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 (arg1)->SetCanvas(arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 Py_INCREF(Py_None); resultobj = Py_None;
24073 return resultobj;
24074 fail:
24075 return NULL;
24076}
24077
24078
c32bde28 24079static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24080 PyObject *resultobj;
24081 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24082 wxFrame *result;
24083 PyObject * obj0 = 0 ;
24084 char *kwnames[] = {
24085 (char *) "self", NULL
24086 };
24087
24088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 result = (wxFrame *)(arg1)->GetFrame();
24094
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 {
412d302d 24099 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24100 }
24101 return resultobj;
24102 fail:
24103 return NULL;
24104}
24105
24106
c32bde28 24107static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24108 PyObject *resultobj;
24109 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24110 wxPreviewCanvas *result;
24111 PyObject * obj0 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24127 return resultobj;
24128 fail:
24129 return NULL;
24130}
24131
24132
c32bde28 24133static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24134 PyObject *resultobj;
24135 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24136 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24137 wxDC *arg3 = 0 ;
24138 bool result;
24139 PyObject * obj0 = 0 ;
24140 PyObject * obj1 = 0 ;
24141 PyObject * obj2 = 0 ;
24142 char *kwnames[] = {
24143 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24144 };
24145
24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24151 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24152 SWIG_POINTER_EXCEPTION | 0)) == -1)
24153 SWIG_fail;
24154 if (arg3 == NULL) {
24155 PyErr_SetString(PyExc_TypeError,"null reference");
24156 SWIG_fail;
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 {
24166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24167 }
24168 return resultobj;
24169 fail:
24170 return NULL;
24171}
24172
24173
c32bde28 24174static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24175 PyObject *resultobj;
24176 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24177 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24178 wxDC *arg3 = 0 ;
24179 bool result;
24180 PyObject * obj0 = 0 ;
24181 PyObject * obj1 = 0 ;
24182 PyObject * obj2 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24192 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24193 SWIG_POINTER_EXCEPTION | 0)) == -1)
24194 SWIG_fail;
24195 if (arg3 == NULL) {
24196 PyErr_SetString(PyExc_TypeError,"null reference");
24197 SWIG_fail;
24198 }
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212}
24213
24214
c32bde28 24215static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24216 PyObject *resultobj;
24217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24218 int arg2 ;
24219 bool result;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 char *kwnames[] = {
24223 (char *) "self",(char *) "pageNum", NULL
24224 };
24225
24226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24229 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24230 if (PyErr_Occurred()) SWIG_fail;
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 result = (bool)(arg1)->RenderPage(arg2);
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 {
24239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24240 }
24241 return resultobj;
24242 fail:
24243 return NULL;
24244}
24245
24246
c32bde28 24247static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24248 PyObject *resultobj;
24249 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24250 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "canvas", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 (arg1)->AdjustScrollbars(arg2);
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273}
24274
24275
c32bde28 24276static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24277 PyObject *resultobj;
24278 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24279 wxPrintDialogData *result;
24280 PyObject * obj0 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 {
24291 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24292 result = (wxPrintDialogData *) &_result_ref;
24293 }
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24299 return resultobj;
24300 fail:
24301 return NULL;
24302}
24303
24304
c32bde28 24305static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24306 PyObject *resultobj;
24307 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24308 int arg2 ;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self",(char *) "percent", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24318 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24319 if (PyErr_Occurred()) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 (arg1)->SetZoom(arg2);
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 Py_INCREF(Py_None); resultobj = Py_None;
24328 return resultobj;
24329 fail:
24330 return NULL;
24331}
24332
24333
c32bde28 24334static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24335 PyObject *resultobj;
24336 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24337 int result;
24338 PyObject * obj0 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (int)(arg1)->GetZoom();
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
c32bde28 24353 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24354 return resultobj;
24355 fail:
24356 return NULL;
24357}
24358
24359
c32bde28 24360static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24361 PyObject *resultobj;
24362 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24363 int result;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (int)(arg1)->GetMaxPage();
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
c32bde28 24379 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24380 return resultobj;
24381 fail:
24382 return NULL;
24383}
24384
24385
c32bde28 24386static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24387 PyObject *resultobj;
24388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24389 int result;
24390 PyObject * obj0 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 result = (int)(arg1)->GetMinPage();
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
c32bde28 24405 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24406 return resultobj;
24407 fail:
24408 return NULL;
24409}
24410
24411
c32bde28 24412static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24413 PyObject *resultobj;
24414 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24415 bool result;
24416 PyObject * obj0 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 result = (bool)(arg1)->Ok();
24427
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 {
24432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24433 }
24434 return resultobj;
24435 fail:
24436 return NULL;
24437}
24438
24439
c32bde28 24440static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24441 PyObject *resultobj;
24442 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24443 bool arg2 ;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self",(char *) "ok", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24453 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24454 if (PyErr_Occurred()) SWIG_fail;
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 (arg1)->SetOk(arg2);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 Py_INCREF(Py_None); resultobj = Py_None;
24463 return resultobj;
24464 fail:
24465 return NULL;
24466}
24467
24468
c32bde28 24469static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24470 PyObject *resultobj;
24471 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24472 bool arg2 ;
24473 bool result;
24474 PyObject * obj0 = 0 ;
24475 PyObject * obj1 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "interactive", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24483 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24484 if (PyErr_Occurred()) SWIG_fail;
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 result = (bool)(arg1)->Print(arg2);
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498}
24499
24500
c32bde28 24501static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24502 PyObject *resultobj;
24503 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24504 PyObject * obj0 = 0 ;
24505 char *kwnames[] = {
24506 (char *) "self", NULL
24507 };
24508
24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 (arg1)->DetermineScaling();
24515
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 Py_INCREF(Py_None); resultobj = Py_None;
24520 return resultobj;
24521 fail:
24522 return NULL;
24523}
24524
24525
c32bde28 24526static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24527 PyObject *obj;
24528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24529 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24530 Py_INCREF(obj);
24531 return Py_BuildValue((char *)"");
24532}
c32bde28 24533static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
24534 PyObject *resultobj;
24535 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24536 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24537 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24538 wxPyPrintPreview *result;
24539 PyObject * obj0 = 0 ;
24540 PyObject * obj1 = 0 ;
24541 PyObject * obj2 = 0 ;
24542
24543 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24548 if (obj2) {
24549 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24551 }
24552 {
0439c23b 24553 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24556
24557 wxPyEndAllowThreads(__tstate);
110da5b0 24558 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24559 }
24560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24561 return resultobj;
24562 fail:
24563 return NULL;
24564}
24565
24566
c32bde28 24567static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
24568 PyObject *resultobj;
24569 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24570 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24571 wxPrintData *arg3 = (wxPrintData *) 0 ;
24572 wxPyPrintPreview *result;
24573 PyObject * obj0 = 0 ;
24574 PyObject * obj1 = 0 ;
24575 PyObject * obj2 = 0 ;
24576
24577 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24584 {
0439c23b 24585 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24588
24589 wxPyEndAllowThreads(__tstate);
110da5b0 24590 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24591 }
24592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24593 return resultobj;
24594 fail:
24595 return NULL;
24596}
24597
24598
24599static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24600 int argc;
24601 PyObject *argv[4];
24602 int ii;
24603
24604 argc = PyObject_Length(args);
24605 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24606 argv[ii] = PyTuple_GetItem(args,ii);
24607 }
24608 if ((argc >= 2) && (argc <= 3)) {
24609 int _v;
24610 {
24611 void *ptr;
24612 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24613 _v = 0;
24614 PyErr_Clear();
24615 } else {
24616 _v = 1;
24617 }
24618 }
24619 if (_v) {
24620 {
24621 void *ptr;
24622 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24623 _v = 0;
24624 PyErr_Clear();
24625 } else {
24626 _v = 1;
24627 }
24628 }
24629 if (_v) {
24630 if (argc <= 2) {
24631 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24632 }
24633 {
24634 void *ptr;
24635 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24636 _v = 0;
24637 PyErr_Clear();
24638 } else {
24639 _v = 1;
24640 }
24641 }
24642 if (_v) {
24643 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24644 }
24645 }
24646 }
24647 }
24648 if (argc == 3) {
24649 int _v;
24650 {
24651 void *ptr;
24652 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24653 _v = 0;
24654 PyErr_Clear();
24655 } else {
24656 _v = 1;
24657 }
24658 }
24659 if (_v) {
24660 {
24661 void *ptr;
24662 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24663 _v = 0;
24664 PyErr_Clear();
24665 } else {
24666 _v = 1;
24667 }
24668 }
24669 if (_v) {
24670 {
24671 void *ptr;
24672 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24673 _v = 0;
24674 PyErr_Clear();
24675 } else {
24676 _v = 1;
24677 }
24678 }
24679 if (_v) {
24680 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24681 }
24682 }
24683 }
24684 }
24685
24686 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24687 return NULL;
24688}
24689
24690
c32bde28 24691static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24692 PyObject *resultobj;
24693 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24694 PyObject *arg2 = (PyObject *) 0 ;
24695 PyObject *arg3 = (PyObject *) 0 ;
24696 PyObject * obj0 = 0 ;
24697 PyObject * obj1 = 0 ;
24698 PyObject * obj2 = 0 ;
24699 char *kwnames[] = {
24700 (char *) "self",(char *) "self",(char *) "_class", NULL
24701 };
24702
24703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24706 arg2 = obj1;
24707 arg3 = obj2;
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 (arg1)->_setCallbackInfo(arg2,arg3);
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 Py_INCREF(Py_None); resultobj = Py_None;
24716 return resultobj;
24717 fail:
24718 return NULL;
24719}
24720
24721
c32bde28 24722static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24723 PyObject *resultobj;
24724 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24725 int arg2 ;
24726 bool result;
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj1 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self",(char *) "pageNum", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24736 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24737 if (PyErr_Occurred()) SWIG_fail;
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24741
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
24745 {
24746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24747 }
24748 return resultobj;
24749 fail:
24750 return NULL;
24751}
24752
24753
c32bde28 24754static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24755 PyObject *resultobj;
24756 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24757 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24758 wxDC *arg3 = 0 ;
24759 bool result;
24760 PyObject * obj0 = 0 ;
24761 PyObject * obj1 = 0 ;
24762 PyObject * obj2 = 0 ;
24763 char *kwnames[] = {
24764 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24765 };
24766
24767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24773 SWIG_POINTER_EXCEPTION | 0)) == -1)
24774 SWIG_fail;
24775 if (arg3 == NULL) {
24776 PyErr_SetString(PyExc_TypeError,"null reference");
24777 SWIG_fail;
24778 }
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 {
24787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24788 }
24789 return resultobj;
24790 fail:
24791 return NULL;
24792}
24793
24794
c32bde28 24795static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24796 PyObject *resultobj;
24797 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24798 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24799 wxDC *arg3 = 0 ;
24800 bool result;
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 PyObject * obj2 = 0 ;
24804 char *kwnames[] = {
24805 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24806 };
24807
24808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24813 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24814 SWIG_POINTER_EXCEPTION | 0)) == -1)
24815 SWIG_fail;
24816 if (arg3 == NULL) {
24817 PyErr_SetString(PyExc_TypeError,"null reference");
24818 SWIG_fail;
24819 }
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 {
24828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24829 }
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
c32bde28 24836static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24837 PyObject *resultobj;
24838 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24839 int arg2 ;
24840 bool result;
24841 PyObject * obj0 = 0 ;
24842 PyObject * obj1 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self",(char *) "pageNum", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24850 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24851 if (PyErr_Occurred()) SWIG_fail;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = (bool)(arg1)->base_RenderPage(arg2);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 {
24860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24861 }
24862 return resultobj;
24863 fail:
24864 return NULL;
24865}
24866
24867
c32bde28 24868static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24869 PyObject *resultobj;
24870 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24871 int arg2 ;
24872 PyObject * obj0 = 0 ;
24873 PyObject * obj1 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self",(char *) "percent", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24881 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24882 if (PyErr_Occurred()) SWIG_fail;
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 (arg1)->base_SetZoom(arg2);
24886
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 Py_INCREF(Py_None); resultobj = Py_None;
24891 return resultobj;
24892 fail:
24893 return NULL;
24894}
24895
24896
c32bde28 24897static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24898 PyObject *resultobj;
24899 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24900 bool arg2 ;
24901 bool result;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "interactive", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24911 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24912 if (PyErr_Occurred()) SWIG_fail;
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (bool)(arg1)->base_Print(arg2);
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 {
24921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24922 }
24923 return resultobj;
24924 fail:
24925 return NULL;
24926}
24927
24928
c32bde28 24929static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24930 PyObject *resultobj;
24931 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24932 PyObject * obj0 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 (arg1)->base_DetermineScaling();
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 Py_INCREF(Py_None); resultobj = Py_None;
24948 return resultobj;
24949 fail:
24950 return NULL;
24951}
24952
24953
c32bde28 24954static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24955 PyObject *obj;
24956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24957 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24958 Py_INCREF(obj);
24959 return Py_BuildValue((char *)"");
24960}
c32bde28 24961static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24962 PyObject *resultobj;
24963 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24964 wxFrame *arg2 = (wxFrame *) 0 ;
24965 wxString *arg3 = 0 ;
24966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24968 wxSize const &arg5_defvalue = wxDefaultSize ;
24969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24970 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24971 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24972 wxString *arg7 = (wxString *) &arg7_defvalue ;
24973 wxPyPreviewFrame *result;
ae8162c8 24974 bool temp3 = false ;
d55e5bfc
RD
24975 wxPoint temp4 ;
24976 wxSize temp5 ;
ae8162c8 24977 bool temp7 = false ;
d55e5bfc
RD
24978 PyObject * obj0 = 0 ;
24979 PyObject * obj1 = 0 ;
24980 PyObject * obj2 = 0 ;
24981 PyObject * obj3 = 0 ;
24982 PyObject * obj4 = 0 ;
24983 PyObject * obj5 = 0 ;
24984 PyObject * obj6 = 0 ;
24985 char *kwnames[] = {
24986 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24987 };
24988
24989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24994 {
24995 arg3 = wxString_in_helper(obj2);
24996 if (arg3 == NULL) SWIG_fail;
ae8162c8 24997 temp3 = true;
d55e5bfc
RD
24998 }
24999 if (obj3) {
25000 {
25001 arg4 = &temp4;
25002 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25003 }
25004 }
25005 if (obj4) {
25006 {
25007 arg5 = &temp5;
25008 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25009 }
25010 }
25011 if (obj5) {
c32bde28 25012 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 if (obj6) {
25016 {
25017 arg7 = wxString_in_helper(obj6);
25018 if (arg7 == NULL) SWIG_fail;
ae8162c8 25019 temp7 = true;
d55e5bfc
RD
25020 }
25021 }
25022 {
0439c23b 25023 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25026
25027 wxPyEndAllowThreads(__tstate);
110da5b0 25028 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25029 }
25030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
25031 {
25032 if (temp3)
25033 delete arg3;
25034 }
25035 {
25036 if (temp7)
25037 delete arg7;
25038 }
25039 return resultobj;
25040 fail:
25041 {
25042 if (temp3)
25043 delete arg3;
25044 }
25045 {
25046 if (temp7)
25047 delete arg7;
25048 }
25049 return NULL;
25050}
25051
25052
c32bde28 25053static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25054 PyObject *resultobj;
25055 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25056 PyObject *arg2 = (PyObject *) 0 ;
25057 PyObject *arg3 = (PyObject *) 0 ;
25058 PyObject * obj0 = 0 ;
25059 PyObject * obj1 = 0 ;
25060 PyObject * obj2 = 0 ;
25061 char *kwnames[] = {
25062 (char *) "self",(char *) "self",(char *) "_class", NULL
25063 };
25064
25065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25068 arg2 = obj1;
25069 arg3 = obj2;
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 (arg1)->_setCallbackInfo(arg2,arg3);
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 Py_INCREF(Py_None); resultobj = Py_None;
25078 return resultobj;
25079 fail:
25080 return NULL;
25081}
25082
25083
c32bde28 25084static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25085 PyObject *resultobj;
25086 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25087 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25088 PyObject * obj0 = 0 ;
25089 PyObject * obj1 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "self",(char *) "canvas", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 (arg1)->SetPreviewCanvas(arg2);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 Py_INCREF(Py_None); resultobj = Py_None;
25107 return resultobj;
25108 fail:
25109 return NULL;
25110}
25111
25112
c32bde28 25113static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25114 PyObject *resultobj;
25115 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25116 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self",(char *) "bar", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 (arg1)->SetControlBar(arg2);
25131
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 Py_INCREF(Py_None); resultobj = Py_None;
25136 return resultobj;
25137 fail:
25138 return NULL;
25139}
25140
25141
c32bde28 25142static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25143 PyObject *resultobj;
25144 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25145 PyObject * obj0 = 0 ;
25146 char *kwnames[] = {
25147 (char *) "self", NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25153 {
25154 PyThreadState* __tstate = wxPyBeginAllowThreads();
25155 (arg1)->base_Initialize();
25156
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 Py_INCREF(Py_None); resultobj = Py_None;
25161 return resultobj;
25162 fail:
25163 return NULL;
25164}
25165
25166
c32bde28 25167static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25168 PyObject *resultobj;
25169 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25170 PyObject * obj0 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 (arg1)->base_CreateCanvas();
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 Py_INCREF(Py_None); resultobj = Py_None;
25186 return resultobj;
25187 fail:
25188 return NULL;
25189}
25190
25191
c32bde28 25192static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25193 PyObject *resultobj;
25194 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25195 PyObject * obj0 = 0 ;
25196 char *kwnames[] = {
25197 (char *) "self", NULL
25198 };
25199
25200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->base_CreateControlBar();
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 Py_INCREF(Py_None); resultobj = Py_None;
25211 return resultobj;
25212 fail:
25213 return NULL;
25214}
25215
25216
c32bde28 25217static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25218 PyObject *obj;
25219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25220 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25221 Py_INCREF(obj);
25222 return Py_BuildValue((char *)"");
25223}
c32bde28 25224static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25225 PyObject *resultobj;
25226 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25227 long arg2 ;
25228 wxWindow *arg3 = (wxWindow *) 0 ;
25229 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25230 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25231 wxSize const &arg5_defvalue = wxDefaultSize ;
25232 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25233 long arg6 = (long) 0 ;
25234 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25235 wxString *arg7 = (wxString *) &arg7_defvalue ;
25236 wxPyPreviewControlBar *result;
25237 wxPoint temp4 ;
25238 wxSize temp5 ;
ae8162c8 25239 bool temp7 = false ;
d55e5bfc
RD
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 PyObject * obj2 = 0 ;
25243 PyObject * obj3 = 0 ;
25244 PyObject * obj4 = 0 ;
25245 PyObject * obj5 = 0 ;
25246 PyObject * obj6 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25254 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
25255 if (PyErr_Occurred()) SWIG_fail;
25256 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25258 if (obj3) {
25259 {
25260 arg4 = &temp4;
25261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25262 }
25263 }
25264 if (obj4) {
25265 {
25266 arg5 = &temp5;
25267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25268 }
25269 }
25270 if (obj5) {
c32bde28 25271 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 if (obj6) {
25275 {
25276 arg7 = wxString_in_helper(obj6);
25277 if (arg7 == NULL) SWIG_fail;
ae8162c8 25278 temp7 = true;
d55e5bfc
RD
25279 }
25280 }
25281 {
0439c23b 25282 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25285
25286 wxPyEndAllowThreads(__tstate);
110da5b0 25287 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25288 }
25289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25290 {
25291 if (temp7)
25292 delete arg7;
25293 }
25294 return resultobj;
25295 fail:
25296 {
25297 if (temp7)
25298 delete arg7;
25299 }
25300 return NULL;
25301}
25302
25303
c32bde28 25304static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25305 PyObject *resultobj;
25306 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25307 PyObject *arg2 = (PyObject *) 0 ;
25308 PyObject *arg3 = (PyObject *) 0 ;
25309 PyObject * obj0 = 0 ;
25310 PyObject * obj1 = 0 ;
25311 PyObject * obj2 = 0 ;
25312 char *kwnames[] = {
25313 (char *) "self",(char *) "self",(char *) "_class", NULL
25314 };
25315
25316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25319 arg2 = obj1;
25320 arg3 = obj2;
25321 {
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 (arg1)->_setCallbackInfo(arg2,arg3);
25324
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 Py_INCREF(Py_None); resultobj = Py_None;
25329 return resultobj;
25330 fail:
25331 return NULL;
25332}
25333
25334
c32bde28 25335static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25336 PyObject *resultobj;
25337 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25338 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25339 PyObject * obj0 = 0 ;
25340 PyObject * obj1 = 0 ;
25341 char *kwnames[] = {
25342 (char *) "self",(char *) "preview", NULL
25343 };
25344
25345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 (arg1)->SetPrintPreview(arg2);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
c32bde28 25364static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25365 PyObject *resultobj;
25366 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25367 PyObject * obj0 = 0 ;
25368 char *kwnames[] = {
25369 (char *) "self", NULL
25370 };
25371
25372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25375 {
25376 PyThreadState* __tstate = wxPyBeginAllowThreads();
25377 (arg1)->base_CreateButtons();
25378
25379 wxPyEndAllowThreads(__tstate);
25380 if (PyErr_Occurred()) SWIG_fail;
25381 }
25382 Py_INCREF(Py_None); resultobj = Py_None;
25383 return resultobj;
25384 fail:
25385 return NULL;
25386}
25387
25388
c32bde28 25389static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25390 PyObject *resultobj;
25391 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25392 int arg2 ;
25393 PyObject * obj0 = 0 ;
25394 PyObject * obj1 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self",(char *) "zoom", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25402 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25403 if (PyErr_Occurred()) SWIG_fail;
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 (arg1)->base_SetZoomControl(arg2);
25407
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
25411 Py_INCREF(Py_None); resultobj = Py_None;
25412 return resultobj;
25413 fail:
25414 return NULL;
25415}
25416
25417
c32bde28 25418static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25419 PyObject *obj;
25420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25421 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25422 Py_INCREF(obj);
25423 return Py_BuildValue((char *)"");
25424}
25425static PyMethodDef SwigMethods[] = {
c32bde28
RD
25426 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25432 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25447 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25448 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25457 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
5e483524 25471 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
84f85550
RD
25472 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25474 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25475 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25499 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25511 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25515 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25519 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25524 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25541 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25569 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25576 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25599 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25607 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25619 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25625 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25634 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25640 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25645 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25651 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25655 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25673 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25699 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25707 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
5e483524 25708 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25709 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25716 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25718 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25727 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25730 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25737 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25755 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25759 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25764 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25768 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25784 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25787 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25789 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25793 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25802 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25811 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25817 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25832 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25839 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25843 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25869 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25895 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25921 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25922 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
ae8162c8 25933 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25934 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25940 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
ae8162c8 25943 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25944 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25969 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25970 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25976 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25982 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25983 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25985 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25991 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25992 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25993 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25994 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25995 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25996 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25997 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25998 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25999 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26000 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
26001 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26002 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
26003 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26004 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
26005 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
26006 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26007 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26008 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26009 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26010 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26011 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26012 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26013 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26014 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26015 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26016 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26017 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26018 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26019 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26020 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26021 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26022 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26023 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26024 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26025 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26026 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26027 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26028 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26029 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26030 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26031 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26032 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26033 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26034 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26035 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26036 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26037 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26038 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
26039 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26040 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26041 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
26042 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26043 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
26044 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26045 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26046 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26047 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26048 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26049 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26050 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
26051 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
26052 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
26053 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
26054 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
26055 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
26056 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26057 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26058 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26059 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26060 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26061 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26062 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26063 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26064 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26065 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26066 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26067 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26068 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26069 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26070 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26071 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26072 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26073 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26074 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26075 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26076 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26077 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26078 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26079 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26080 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26081 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26082 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26083 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26084 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26085 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26086 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26087 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26088 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26089 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26090 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26091 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26092 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26093 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26094 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26095 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26096 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26097 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26098 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26099 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26100 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26101 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26102 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26103 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26104 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26105 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26106 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26107 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26108 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26109 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26110 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26111 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26112 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26113 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26114 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26115 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26116 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26117 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26118 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26119 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26120 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26121 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26122 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26123 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26124 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26125 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26126 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26127 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26128 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26129 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26130 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26131 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26132 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26133 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26134 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26135 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26136 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26137 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26138 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26139 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26140 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26141 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26142 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26143 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26144 { NULL, NULL, 0, NULL }
d55e5bfc
RD
26145};
26146
26147
26148/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26149
26150static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26151 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26152}
26153static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26154 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26155}
26156static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26157 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26158}
26159static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26160 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26161}
26162static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26163 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26164}
26165static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26166 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26167}
26168static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26169 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26170}
26171static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26172 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26173}
26174static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26175 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26176}
26177static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26179}
26180static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26182}
26183static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26184 return (void *)((wxEvent *) ((wxPyEvent *) x));
26185}
26186static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26188}
26189static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26190 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26191}
26192static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26193 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26194}
26195static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26196 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26197}
26198static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26199 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26200}
26201static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26202 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26203}
26204static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26205 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26206}
26207static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26208 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26209}
26210static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26211 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26212}
26213static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26214 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26215}
26216static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26217 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26218}
26219static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26220 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26221}
26222static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26223 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26224}
26225static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26226 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26227}
26228static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26229 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26230}
26231static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26232 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26233}
26234static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26235 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26236}
26237static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26238 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26239}
26240static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26241 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26242}
26243static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26244 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26245}
26246static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26247 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26248}
26249static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26250 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26251}
26252static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26253 return (void *)((wxEvent *) ((wxShowEvent *) x));
26254}
26255static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26256 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26257}
26258static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26259 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26260}
26261static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26262 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26263}
26264static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26265 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26266}
26267static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26268 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26269}
26270static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26271 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26272}
26273static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26274 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26275}
26276static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26277 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26278}
26279static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26281}
26282static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26283 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26284}
26285static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26286 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26287}
26288static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26290}
26291static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26292 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26293}
26294static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26295 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26296}
26297static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26298 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26299}
26300static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26301 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26302}
26303static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26304 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26305}
26306static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26307 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26308}
26309static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26311}
26312static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26314}
26315static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26317}
26318static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26320}
26321static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26322 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26323}
26324static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26325 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26326}
26327static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26328 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26329}
26330static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26331 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26332}
26333static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26334 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26335}
26336static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26337 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26338}
26339static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26340 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26341}
26342static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26343 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26344}
26345static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26346 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26347}
26348static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26349 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26350}
26351static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26352 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26353}
26354static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26355 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26356}
26357static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26358 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26359}
26360static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26361 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26362}
26363static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26364 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26365}
26366static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26367 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26368}
26369static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26370 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26371}
26372static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26373 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26374}
26375static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26376 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26377}
26378static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26379 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26380}
26381static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26383}
26384static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26385 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26386}
26387static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26388 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26389}
26390static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26391 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26392}
26393static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26394 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26395}
26396static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26397 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26398}
26399static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26400 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26401}
5e483524
RD
26402static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26403 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
26404}
26405static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26406 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26407}
26408static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26409 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26410}
26411static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26412 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26413}
26414static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26415 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26416}
26417static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26418 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26419}
26420static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26421 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26422}
26423static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26424 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26425}
26426static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26428}
26429static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26430 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26431}
26432static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26433 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26434}
26435static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26436 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26437}
26438static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26439 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26440}
26441static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26442 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26443}
26444static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26445 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26446}
26447static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26448 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26449}
26450static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26451 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26452}
26453static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26454 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26455}
26456static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26457 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26458}
26459static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26461}
26462static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26464}
26465static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26466 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26467}
26468static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26469 return (void *)((wxObject *) ((wxSizerItem *) x));
26470}
26471static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26472 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26473}
26474static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26475 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26476}
26477static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26478 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26479}
26480static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26481 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26482}
26483static void *_p_wxSizerTo_p_wxObject(void *x) {
26484 return (void *)((wxObject *) ((wxSizer *) x));
26485}
26486static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26487 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26488}
26489static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26490 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26491}
26492static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26494}
26495static void *_p_wxEventTo_p_wxObject(void *x) {
26496 return (void *)((wxObject *) ((wxEvent *) x));
26497}
26498static void *_p_wxFontDataTo_p_wxObject(void *x) {
26499 return (void *)((wxObject *) ((wxFontData *) x));
26500}
26501static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26502 return (void *)((wxObject *) ((wxPrintData *) x));
26503}
26504static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26505 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26506}
26507static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26508 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26509}
26510static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26511 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26512}
26513static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26514 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26515}
5e483524
RD
26516static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26517 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
26518}
26519static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26520 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26521}
26522static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26523 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26524}
26525static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26526 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26527}
26528static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26529 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26530}
26531static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26532 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26533}
26534static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26535 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26536}
26537static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26538 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26539}
26540static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26542}
26543static void *_p_wxControlTo_p_wxObject(void *x) {
26544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26545}
26546static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26547 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26548}
26549static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26551}
26552static void *_p_wxFSFileTo_p_wxObject(void *x) {
26553 return (void *)((wxObject *) ((wxFSFile *) x));
26554}
26555static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26556 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26557}
26558static void *_p_wxPySizerTo_p_wxObject(void *x) {
26559 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26560}
26561static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26563}
26564static void *_p_wxColourDataTo_p_wxObject(void *x) {
26565 return (void *)((wxObject *) ((wxColourData *) x));
26566}
26567static void *_p_wxPyEventTo_p_wxObject(void *x) {
26568 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26569}
26570static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26572}
26573static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26575}
26576static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26578}
26579static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26581}
26582static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26584}
26585static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26587}
26588static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26590}
26591static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26593}
26594static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26596}
26597static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26599}
26600static void *_p_wxShowEventTo_p_wxObject(void *x) {
26601 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26602}
26603static void *_p_wxPrinterTo_p_wxObject(void *x) {
26604 return (void *)((wxObject *) ((wxPrinter *) x));
26605}
26606static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26607 return (void *)((wxObject *) ((wxMenuItem *) x));
26608}
26609static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26610 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26611}
26612static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26614}
26615static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26616 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26617}
26618static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26619 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26620}
26621static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26622 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26623}
26624static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26625 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26626}
26627static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26628 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26629}
26630static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26631 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26632}
26633static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26634 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26635}
26636static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26637 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26638}
26639static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26640 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26641}
26642static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26643 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26644}
26645static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26646 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26647}
26648static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26649 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26650}
26651static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26652 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26653}
26654static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26655 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26656}
26657static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26658 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26659}
26660static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26661 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26662}
26663static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26664 return (void *)((wxObject *) ((wxImageHandler *) x));
26665}
26666static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26667 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26668}
26669static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26670 return (void *)((wxObject *) ((wxEvtHandler *) x));
26671}
26672static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26673 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26674}
26675static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26677}
26678static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26680}
26681static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26682 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26683}
26684static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26686}
26687static void *_p_wxImageTo_p_wxObject(void *x) {
26688 return (void *)((wxObject *) ((wxImage *) x));
26689}
26690static void *_p_wxFrameTo_p_wxObject(void *x) {
26691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26692}
26693static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26694 return (void *)((wxObject *) ((wxPyPrintout *) x));
26695}
26696static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26697 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26698}
26699static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26700 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26701}
26702static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26704}
26705static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26707}
26708static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26710}
26711static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26712 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26713}
26714static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26715 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26716}
26717static void *_p_wxWindowTo_p_wxObject(void *x) {
26718 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26719}
26720static void *_p_wxMenuTo_p_wxObject(void *x) {
26721 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26722}
26723static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26725}
26726static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26728}
26729static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26731}
26732static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26734}
26735static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26737}
26738static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26740}
26741static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26743}
26744static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26746}
26747static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26749}
26750static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26752}
26753static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26755}
26756static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26758}
26759static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26761}
26762static void *_p_wxSashEventTo_p_wxObject(void *x) {
26763 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26764}
26765static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26766 return (void *)((wxObject *) ((wxPrintPreview *) x));
26767}
26768static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26769 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26770}
26771static void *_p_wxPanelTo_p_wxObject(void *x) {
26772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26773}
26774static void *_p_wxDialogTo_p_wxObject(void *x) {
26775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26776}
26777static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26779}
26780static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26782}
26783static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26785}
26786static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26788}
26789static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26791}
26792static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26793 return (void *)((wxObject *) ((wxFileSystem *) x));
26794}
26795static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26797}
26798static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26799 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26800}
26801static void *_p_wxPyAppTo_p_wxObject(void *x) {
26802 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26803}
26804static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26805 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26806}
26807static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26808 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26809}
26810static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26811 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26812}
26813static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26815}
26816static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26817 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26818}
26819static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26821}
26822static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26824}
26825static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26826 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26827}
26828static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26829 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26830}
26831static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26833}
26834static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26836}
26837static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26838 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26839}
26840static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26841 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26842}
26843static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26844 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26845}
26846static void *_p_wxValidatorTo_p_wxObject(void *x) {
26847 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26848}
26849static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26850 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26851}
26852static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26853 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26854}
26855static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26856 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26857}
26858static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26859 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26860}
26861static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26862 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26863}
26864static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26865 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26866}
26867static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26868 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26869}
26870static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26871 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26872}
26873static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26874 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26875}
26876static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26877 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26878}
26879static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26880 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26881}
26882static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26883 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26884}
26885static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26886 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26887}
26888static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26889 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26890}
26891static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26892 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26893}
26894static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26895 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26896}
26897static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26898 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26899}
26900static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26901 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26902}
26903static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26904 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26905}
26906static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26907 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26908}
26909static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26910 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26911}
26912static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26913 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26914}
26915static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26916 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26917}
26918static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26919 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26920}
26921static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26922 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26923}
26924static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26925 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26926}
26927static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26928 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26929}
26930static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26931 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26932}
26933static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26934 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26935}
26936static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26937 return (void *)((wxWindow *) ((wxMenuBar *) x));
26938}
26939static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26940 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26941}
26942static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26943 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26944}
26945static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26946 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26947}
26948static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26950}
26951static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26953}
26954static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26956}
26957static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26958 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26959}
26960static void *_p_wxPanelTo_p_wxWindow(void *x) {
26961 return (void *)((wxWindow *) ((wxPanel *) x));
26962}
26963static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26964 return (void *)((wxWindow *) ((wxStatusBar *) x));
26965}
26966static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26967 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26968}
26969static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26970 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26971}
26972static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26973 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26974}
26975static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26976 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26977}
26978static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26979 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26980}
26981static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26982 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26983}
26984static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26985 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26986}
26987static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26988 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26989}
26990static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26991 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26992}
26993static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26994 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26995}
26996static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26997 return (void *)((wxWindow *) ((wxSashWindow *) x));
26998}
26999static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
27000 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27001}
27002static void *_p_wxControlTo_p_wxWindow(void *x) {
27003 return (void *)((wxWindow *) ((wxControl *) x));
27004}
27005static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
27006 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27007}
27008static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
27009 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27010}
27011static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
27012 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27013}
27014static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27015 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27016}
27017static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
27018 return (void *)((wxWindow *) ((wxPyWindow *) x));
27019}
27020static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27021 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27022}
27023static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27024 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27025}
27026static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27027 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27028}
27029static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27030 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27031}
27032static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27033 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27034}
27035static void *_p_wxFrameTo_p_wxWindow(void *x) {
27036 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27037}
27038static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27039 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27040}
27041static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27042 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27043}
27044static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27045 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27046}
27047static void *_p_wxDialogTo_p_wxWindow(void *x) {
27048 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27049}
27050static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
27051 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27052}
27053static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
27054 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27055}
27056static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27057 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27058}
27059static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
27060 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27061}
27062static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27063 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27064}
27065static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27066 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27067}
27068static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27069 return (void *)((wxDialog *) ((wxColourDialog *) x));
27070}
27071static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27072 return (void *)((wxDialog *) ((wxDirDialog *) x));
27073}
27074static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27075 return (void *)((wxDialog *) ((wxFontDialog *) x));
27076}
27077static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
27078 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
27079}
27080static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
27081 return (void *)((wxDialog *) ((wxPrintDialog *) x));
27082}
27083static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27084 return (void *)((wxDialog *) ((wxFileDialog *) x));
27085}
27086static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27087 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27088}
27089static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27090 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27091}
27092static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27093 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27094}
27095static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27096 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27097}
27098static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27099 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27100}
27101static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27102 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27103}
27104static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27105 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27106}
27107static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27108 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27109}
27110static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27111 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27112}
27113static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27114 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27115}
27116static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27117 return (void *)((wxPanel *) ((wxPyPanel *) x));
27118}
27119static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27120 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27121}
27122static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27123 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27124}
27125static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27126 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27127}
27128static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27129 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27130}
27131static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27132 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27133}
27134static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27135 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27136}
27137static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27138 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27139}
27140static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27141 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27142}
27143static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27144 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27145}
27146static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27147 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27148}
27149static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27150 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27151}
27152static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27153 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27154}
27155static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27156 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27157}
27158static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27159 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27160}
27161static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27162 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27163}
27164static 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}};
27165static 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}};
27166static 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}};
27167static 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}};
27168static 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}};
d55e5bfc
RD
27169static 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}};
27170static 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}};
f5b96ee1 27171static 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}};
d55e5bfc 27172static 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}};
5e483524 27173static 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}};
d55e5bfc
RD
27174static 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}};
27175static 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}};
27176static 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}};
27177static 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}};
27178static 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}};
27179static 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}};
27180static 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}};
27181static 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}};
27182static 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}};
27183static 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}};
27184static 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}};
27185static 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}};
f20a2e1f 27186static 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}};
d55e5bfc
RD
27187static 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}};
27188static 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}};
27189static 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}};
27190static 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}};
27191static 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}};
27192static 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}};
27193static 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}};
27194static 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}};
27195static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27196static 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}};
27197static 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}};
27198static 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}};
27199static 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}};
27200static 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}};
5e483524 27201static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
27202static 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}};
27203static 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}};
27204static 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}};
27205static 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}};
27206static 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}};
27207static 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}};
27208static 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}};
27209static 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}};
27210static 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}};
27211static 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}};
27212static 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}};
27213static 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}};
27214static 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}};
5e483524 27215static 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_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 27216static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
27217static 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}};
27218static 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}};
27219static 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}};
27220static 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}};
f20a2e1f 27221static 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}};
d55e5bfc
RD
27222static 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}};
27223static 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}};
27224static 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}};
27225static 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}};
27226static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27227static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27228static 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}};
d55e5bfc 27229static 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}};
5e483524 27230static 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}};
d55e5bfc
RD
27231static 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}};
27232static 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}};
27233static 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}};
27234static 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}};
27235static 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}};
27236static 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}};
27237static 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}};
27238static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27239static 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}};
27240static 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}};
27241static 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}};
c24da6d6 27242static 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}};
d55e5bfc
RD
27243static 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}};
27244static 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}};
27245static 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}};
27246static 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}};
27247static 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}};
27248static 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}};
27249static 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}};
27250static 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}};
27251
27252static swig_type_info *swig_types_initial[] = {
27253_swigt__p_wxQueryLayoutInfoEvent,
27254_swigt__p_wxPreviewFrame,
27255_swigt__p_wxPyPreviewFrame,
27256_swigt__p_wxPyPanel,
27257_swigt__p_wxMenu,
d55e5bfc
RD
27258_swigt__p_wxFontData,
27259_swigt__p_wxEvent,
f5b96ee1 27260_swigt__p_wxPrintData,
d55e5bfc 27261_swigt__p_wxTaskBarIcon,
5e483524 27262_swigt__p_wxPyTaskBarIcon,
d55e5bfc
RD
27263_swigt__p_wxIconBundle,
27264_swigt__p_wxLayoutAlgorithm,
27265_swigt__p_wxFindDialogEvent,
27266_swigt__p_wxPreviewCanvas,
27267_swigt__p_wxFont,
27268_swigt__p_wxSplitterEvent,
27269_swigt__p_wxRegion,
27270_swigt__p_wxFindReplaceData,
27271_swigt__p_int,
27272_swigt__p_wxSize,
27273_swigt__p_wxDC,
27274_swigt__p_wxIcon,
f20a2e1f 27275_swigt__p_wxVisualAttributes,
d55e5bfc
RD
27276_swigt__p_wxMDIChildFrame,
27277_swigt__p_wxColourData,
27278_swigt__p_wxNotifyEvent,
27279_swigt__p_wxPyWindow,
27280_swigt__p_wxSplashScreen,
27281_swigt__p_wxFindReplaceDialog,
27282_swigt__p_wxProgressDialog,
27283_swigt__p_wxMessageDialog,
27284_swigt__p_wxTextEntryDialog,
27285_swigt__p_wxSingleChoiceDialog,
27286_swigt__p_wxMultiChoiceDialog,
27287_swigt__p_wxFileDialog,
27288_swigt__p_wxPrinter,
27289_swigt__p_wxArrayInt,
27290_swigt__p_wxEvtHandler,
27291_swigt__p_wxCalculateLayoutEvent,
27292_swigt__p_wxPyHtmlListBox,
27293_swigt__p_wxPyVListBox,
27294_swigt__p_wxRect,
27295_swigt__p_char,
27296_swigt__p_wxMiniFrame,
27297_swigt__p_wxFrame,
27298_swigt__p_wxPyPrintout,
27299_swigt__p_wxTaskBarIconEvent,
27300_swigt__p_wxScrollWinEvent,
27301_swigt__p_wxStatusBar,
27302_swigt__p_wxMDIParentFrame,
27303_swigt__p_wxPoint,
27304_swigt__p_wxObject,
27305_swigt__p_wxOutputStream,
d55e5bfc
RD
27306_swigt__p_wxMDIClientWindow,
27307_swigt__p_wxTipWindow,
27308_swigt__p_wxSashLayoutWindow,
27309_swigt__p_wxSplitterWindow,
f20a2e1f 27310_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
27311_swigt__p_wxPyVScrolledWindow,
27312_swigt__p_wxPyPopupTransientWindow,
27313_swigt__p_wxPopupWindow,
27314_swigt__p_wxSashWindow,
27315_swigt__p_wxTopLevelWindow,
27316_swigt__p_wxWindow,
27317_swigt__p_wxScrolledWindow,
d55e5bfc 27318_swigt__p_wxMenuBar,
5e483524 27319_swigt__p_wxPyScrolledWindow,
d55e5bfc
RD
27320_swigt__p_wxPrintPreview,
27321_swigt__p_wxSashEvent,
27322_swigt__p_wxString,
27323_swigt__p_wxPyPrintPreview,
27324_swigt__p_wxFontDialog,
27325_swigt__p_wxDirDialog,
27326_swigt__p_wxColourDialog,
27327_swigt__p_wxDialog,
27328_swigt__p_wxPanel,
27329_swigt__p_wxPageSetupDialog,
27330_swigt__p_wxPrintDialog,
c24da6d6 27331_swigt__p_wxFileSystem,
d55e5bfc
RD
27332_swigt__p_wxBitmap,
27333_swigt__p_wxCommandEvent,
27334_swigt__p_wxPreviewControlBar,
27335_swigt__p_wxPyPreviewControlBar,
27336_swigt__p_wxColour,
27337_swigt__p_wxToolBar,
27338_swigt__p_wxPageSetupDialogData,
27339_swigt__p_wxPrintDialogData,
273400
27341};
27342
27343
27344/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27345
27346static swig_const_info swig_const_table[] = {
c32bde28 27347{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
27348
27349#ifdef __cplusplus
27350}
27351#endif
27352
27353#ifdef __cplusplus
27354extern "C"
27355#endif
27356SWIGEXPORT(void) SWIG_init(void) {
27357 static PyObject *SWIG_globals = 0;
27358 static int typeinit = 0;
27359 PyObject *m, *d;
27360 int i;
27361 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27362 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27363 d = PyModule_GetDict(m);
27364
27365 if (!typeinit) {
27366 for (i = 0; swig_types_initial[i]; i++) {
27367 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27368 }
27369 typeinit = 1;
27370 }
27371 SWIG_InstallConstants(d,swig_const_table);
27372
27373 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27374 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27375 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27376 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27377 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
c32bde28
RD
27378 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27379 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27380 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27381 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27382 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27383 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27384 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27385 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27386 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27387 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27388 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27389 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27390 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27391 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27392 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27393 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27394 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27395 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27396 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27397 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27398 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
ae8162c8 27399 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
c32bde28
RD
27400 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27401 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27402 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27403 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27404 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27405 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27406 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27407 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27408 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27409 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27410 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27411 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27412 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27413 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27414 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27415 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27416 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27417 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27418 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27419 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27420 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
d55e5bfc 27421 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
c32bde28
RD
27422 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27423 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27424 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27425 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27426 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27427 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27428 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27429 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27430 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27431 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27432 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27433 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27434 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27435 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
d55e5bfc
RD
27436 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27437 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27438 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27439 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27440 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27441 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
c32bde28
RD
27442 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27443 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27444 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27445 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27446 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27447 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27448 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27449 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27450 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27451 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27452 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27453 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27454 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27455 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27456 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
d55e5bfc 27457 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
c32bde28
RD
27458 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27459 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27460 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27461 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27462 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27463 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27464 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27465 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27466 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27467 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27468 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
d55e5bfc
RD
27469 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27470 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27471 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27472
27473 // Map renamed classes back to their common name for OOR
27474 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27475 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27476 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27477
27478 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27479 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27480 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27481 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27482 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27483 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27484 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27485 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27486 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27487 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27488 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27489 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27490 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
c32bde28
RD
27491 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27492 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27493 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27494 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27495 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27496 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27497 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27498 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
d55e5bfc
RD
27499 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27500 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27501 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27502 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27503 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
c32bde28
RD
27504 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27505 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27506 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27507 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27508 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27509 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27510 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27511 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
d55e5bfc
RD
27512 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27513 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
c32bde28
RD
27514 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27515 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27516 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27517 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27518 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
ae8162c8
RD
27519 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27520 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27521 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27522 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27523 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27524 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27525 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27526 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27527 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27528 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27529 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27530 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27531 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27532 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27533 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
c32bde28
RD
27534 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27535 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27536 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27537 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27538 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27539 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27540 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27541 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27542 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27543 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27544 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27545 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27546 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27547 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27548 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27549 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27550 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27551 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27552 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
d55e5bfc
RD
27553
27554 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27555
27556}
27557