]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _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
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212#define SWIGTYPE_p_wxPyPanel swig_types[3]
213#define SWIGTYPE_p_wxMenu swig_types[4]
214#define SWIGTYPE_p_wxPrintData swig_types[5]
215#define SWIGTYPE_p_wxFontData swig_types[6]
216#define SWIGTYPE_p_wxEvent swig_types[7]
217#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218#define SWIGTYPE_p_wxIconBundle swig_types[9]
219#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222#define SWIGTYPE_p_wxFont swig_types[13]
223#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224#define SWIGTYPE_p_wxRegion swig_types[15]
225#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226#define SWIGTYPE_p_int swig_types[17]
227#define SWIGTYPE_p_wxSize swig_types[18]
228#define SWIGTYPE_p_wxDC swig_types[19]
229#define SWIGTYPE_p_wxIcon swig_types[20]
230#define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231#define SWIGTYPE_p_wxColourData swig_types[22]
232#define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233#define SWIGTYPE_p_wxPyWindow swig_types[24]
234#define SWIGTYPE_p_wxSplashScreen swig_types[25]
235#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236#define SWIGTYPE_p_wxProgressDialog swig_types[27]
237#define SWIGTYPE_p_wxMessageDialog swig_types[28]
238#define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241#define SWIGTYPE_p_wxFileDialog swig_types[32]
242#define SWIGTYPE_p_wxPrinter swig_types[33]
243#define SWIGTYPE_p_wxArrayInt swig_types[34]
244#define SWIGTYPE_p_wxEvtHandler swig_types[35]
245#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247#define SWIGTYPE_p_wxPyVListBox swig_types[38]
248#define SWIGTYPE_p_wxRect swig_types[39]
249#define SWIGTYPE_p_char swig_types[40]
250#define SWIGTYPE_p_wxMiniFrame swig_types[41]
251#define SWIGTYPE_p_wxFrame swig_types[42]
252#define SWIGTYPE_p_wxPyPrintout swig_types[43]
253#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254#define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255#define SWIGTYPE_p_wxStatusBar swig_types[46]
256#define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257#define SWIGTYPE_p_wxPoint swig_types[48]
258#define SWIGTYPE_p_wxObject swig_types[49]
259#define SWIGTYPE_p_wxOutputStream swig_types[50]
260#define SWIGTYPE_p_unsigned_long swig_types[51]
261#define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262#define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263#define SWIGTYPE_p_wxTipWindow swig_types[54]
264#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265#define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266#define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268#define SWIGTYPE_p_wxPopupWindow swig_types[59]
269#define SWIGTYPE_p_wxSashWindow swig_types[60]
270#define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271#define SWIGTYPE_p_wxWindow swig_types[62]
272#define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273#define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274#define SWIGTYPE_p_wxMenuBar swig_types[65]
275#define SWIGTYPE_p_wxPrintPreview swig_types[66]
276#define SWIGTYPE_p_wxSashEvent swig_types[67]
277#define SWIGTYPE_p_wxString swig_types[68]
278#define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279#define SWIGTYPE_p_wxFontDialog swig_types[70]
280#define SWIGTYPE_p_wxDirDialog swig_types[71]
281#define SWIGTYPE_p_wxColourDialog swig_types[72]
282#define SWIGTYPE_p_wxDialog swig_types[73]
283#define SWIGTYPE_p_wxPanel swig_types[74]
284#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285#define SWIGTYPE_p_wxPrintDialog swig_types[76]
286#define SWIGTYPE_p_wxBitmap swig_types[77]
287#define SWIGTYPE_p_wxCommandEvent swig_types[78]
288#define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290#define SWIGTYPE_p_wxColour swig_types[81]
291#define SWIGTYPE_p_wxToolBar swig_types[82]
292#define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293#define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294static swig_type_info *swig_types[86];
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _windows_.so
301 ------------------------------------------------*/
302#define SWIG_init init_windows_
303
304#define SWIG_name "_windows_"
305
306/* Auxiliar swig macros */
307
308#ifdef __cplusplus
309#define SWIGSTATICINLINE(a) static inline a
310#define SWIGSTATIC(a) static a
311#define swig_new_array(type, size) (new type[(size)])
312#define swig_delete_array(cptr) delete[] cptr
313#define swig_const_cast(type,a) const_cast<type>(a)
314#define swig_static_cast(type,a) static_cast<type>(a)
315#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317#ifdef HAVE_NUMERIC_CAST
318#define swig_numeric_cast(type,a) numeric_cast<type>(a)
319#else
320#define swig_numeric_cast(type,a) static_cast<type>(a)
321#endif
322
323#else /* C case */
324
325#define SWIGSTATICINLINE(a) static a
326#define SWIGSTATIC(a) static a
327#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328#define swig_delete_array(cptr) free((char*)cptr)
329#define swig_const_cast(type,a) (type)(a)
330#define swig_static_cast(type,a) (type)(a)
331#define swig_reinterpret_cast(type,a) (type)(a)
332#define swig_numeric_cast(type,a) (type)(a)
333
334#endif /* __cplusplus */
335
336
337#define SWIG_FromSignedChar PyInt_FromLong
338#define SWIG_FromUnsignedChar PyInt_FromLong
339#define SWIG_FromShort PyInt_FromLong
340#define SWIG_FromUnsignedShort PyInt_FromLong
341#define SWIG_FromInt PyInt_FromLong
342#define SWIG_FromLong PyInt_FromLong
343#define SWIG_FromFloat PyFloat_FromDouble
344#define SWIG_FromDouble PyFloat_FromDouble
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
347
348
349#include "wx/wxPython/wxPython.h"
350#include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358#include <limits.h>
359
360
361SWIGSTATICINLINE(long)
362SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364{
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382}
383
384
385SWIGSTATICINLINE(long)
386SWIG_AsLong(PyObject * obj)
387{
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397}
398
399
400#if INT_MAX != LONG_MAX
401SWIGSTATICINLINE(int)
402SWIG_AsInt(PyObject *obj)
403{
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407}
408#else
409#define SWIG_AsInt SWIG_AsLong
410#endif
411
412
413SWIGSTATICINLINE(int)
414SWIG_CheckInt(PyObject* obj)
415{
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423}
424
425
426SWIGSTATICINLINE(int)
427SWIG_CheckLong(PyObject* obj)
428{
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436}
437
438
439SWIGSTATICINLINE(bool)
440SWIG_AsBool(PyObject *obj)
441{
442 return PyObject_IsTrue(obj) ? true : false;
443}
444
445
446SWIGSTATICINLINE(int)
447SWIG_CheckBool(PyObject* obj)
448{
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456}
457
458
459static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483}
484
485
486SWIGSTATICINLINE(double)
487SWIG_AsDouble(PyObject *obj)
488{
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
498}
499
500
501SWIGSTATICINLINE(int)
502SWIG_CheckDouble(PyObject* obj)
503{
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511}
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517
518
519wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
527
528#include <wx/popupwin.h>
529
530
531class wxPopupWindow : public wxWindow {
532public:
533 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
534 wxPopupWindow() { wxPyRaiseNotImplemented(); }
535};
536
537class wxPyPopupTransientWindow : public wxPopupWindow
538{
539public:
540 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
541 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
542};
543
544
545#include <wx/tipwin.h>
546
547wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
548 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
549 }
550
551#include <wx/tipwin.h>
552
553
554#include <wx/vscroll.h>
555
556
557class wxPyVScrolledWindow : public wxVScrolledWindow
558{
559 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
560public:
561 wxPyVScrolledWindow() : wxVScrolledWindow() {}
562
563 wxPyVScrolledWindow(wxWindow *parent,
564 wxWindowID id = wxID_ANY,
565 const wxPoint& pos = wxDefaultPosition,
566 const wxSize& size = wxDefaultSize,
567 long style = 0,
568 const wxString& name = wxPyPanelNameStr)
569 : wxVScrolledWindow(parent, id, pos, size, style, name)
570 {}
571
572 // Overridable virtuals
573
574 // this function must be overridden in the derived class and it should
575 // return the height of the given line in pixels
576 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
577
578
579 // this function doesn't have to be overridden but it may be useful to do
580 // it if calculating the lines heights is a relatively expensive operation
581 // as it gives the user code a possibility to calculate several of them at
582 // once
583 //
584 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
585 // shouldn't rely on the latter being called for all lines in the interval
586 // specified here. It is also possible that OnGetLineHeight() will be
587 // called for the lines outside of this interval, so this is really just a
588 // hint, not a promise.
589 //
590 // finally note that lineMin is inclusive, while lineMax is exclusive, as
591 // usual
592 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
593
594
595 // when the number of lines changes, we try to estimate the total height
596 // of all lines which is a rather expensive operation in terms of lines
597 // access, so if the user code may estimate the average height
598 // better/faster than we do, it should override this function to implement
599 // its own logic
600 //
601 // this function should return the best guess for the total height it may
602 // make
603 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
604
605
606 // Also expose some other interesting protected methods
607
608
609 // find the index of the line we need to show at the top of the window such
610 // that the last (fully or partially) visible line is the given one
611 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
612 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
613
614 // get the total height of the lines between lineMin (inclusive) and
615 // lineMax (exclusive)
616 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
617 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
618
619
620 PYPRIVATE;
621};
622
623IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
624
625IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
626IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
627IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
628
629
630SWIGSTATICINLINE(unsigned long)
631SWIG_AsUnsignedLong(PyObject * obj)
632{
633 if (PyLong_Check(obj)) {
634 return PyLong_AsUnsignedLong(obj);
635 } else {
636 long i = SWIG_AsLong(obj);
637 if ( !PyErr_Occurred() && (i < 0)) {
638 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
639 }
640 return i;
641 }
642}
643
644
645SWIGSTATICINLINE(int)
646SWIG_CheckUnsignedLong(PyObject* obj)
647{
648 SWIG_AsUnsignedLong(obj);
649 if (PyErr_Occurred()) {
650 PyErr_Clear();
651 return 0;
652 } else {
653 return 1;
654 }
655}
656
657
658SWIGSTATICINLINE(PyObject* )
659SWIG_FromUnsignedLong(unsigned long value)
660{
661 return (value > LONG_MAX) ?
662 PyLong_FromUnsignedLong(value)
663 : PyInt_FromLong(swig_numeric_cast(long,value));
664}
665
666
667#include <wx/vlbox.h>
668
669 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
670
671class wxPyVListBox : public wxVListBox
672{
673 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
674public:
675 wxPyVListBox() : wxVListBox() {}
676
677 wxPyVListBox(wxWindow *parent,
678 wxWindowID id = wxID_ANY,
679 const wxPoint& pos = wxDefaultPosition,
680 const wxSize& size = wxDefaultSize,
681 long style = 0,
682 const wxString& name = wxPyVListBoxNameStr)
683 : wxVListBox(parent, id, pos, size, style, name)
684 {}
685
686 // Overridable virtuals
687
688 // the derived class must implement this function to actually draw the item
689 // with the given index on the provided DC
690 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
691 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
692
693
694 // the derived class must implement this method to return the height of the
695 // specified item
696 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
697 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
698
699
700 // this method may be used to draw separators between the lines; note that
701 // the rectangle may be modified, typically to deflate it a bit before
702 // passing to OnDrawItem()
703 //
704 // the base class version doesn't do anything
705 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
706 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
707
708
709 // this method is used to draw the items background and, maybe, a border
710 // around it
711 //
712 // the base class version implements a reasonable default behaviour which
713 // consists in drawing the selected item with the standard background
714 // colour and drawing a border around the item if it is either selected or
715 // current
716 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
717 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
718
719
720 PYPRIVATE;
721};
722
723IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
724
725IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
726IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
727IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
728IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
729
730
731
732#include <wx/htmllbox.h>
733
734
735class wxPyHtmlListBox : public wxHtmlListBox
736{
737 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
738public:
739 wxPyHtmlListBox() : wxHtmlListBox() {}
740
741 wxPyHtmlListBox(wxWindow *parent,
742 wxWindowID id = wxID_ANY,
743 const wxPoint& pos = wxDefaultPosition,
744 const wxSize& size = wxDefaultSize,
745 long style = 0,
746 const wxString& name = wxPyVListBoxNameStr)
747 : wxHtmlListBox(parent, id, pos, size, style, name)
748 {}
749
750 // Overridable virtuals
751
752 // this method must be implemented in the derived class and should return
753 // the body (i.e. without <html>) of the HTML for the given item
754 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
755
756 // this function may be overridden to decorate HTML returned by OnGetItem()
757 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
758
759// TODO:
760// // this method allows to customize the selection appearance: it may be used
761// // to specify the colour of the text which normally has the given colour
762// // colFg when it is inside the selection
763// //
764// // by default, the original colour is not used at all and all text has the
765// // same (default for this system) colour inside selection
766// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
767
768// // this is the same as GetSelectedTextColour() but allows to customize the
769// // background colour -- this is even more rarely used as you can change it
770// // globally using SetSelectionBackground()
771// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
772
773
774 PYPRIVATE;
775};
776
777
778IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
779
780IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
781IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
782
783
784
785
786
787#ifdef __WXMAC__
788// implement dummy classes and such for wxMac
789
790class wxTaskBarIcon : public wxEvtHandler
791{
792public:
793 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
794};
795
796
797class wxTaskBarIconEvent : public wxEvent
798{
799public:
800 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
801 { wxPyRaiseNotImplemented(); }
802 virtual wxEvent* Clone() const { return NULL; }
803};
804
805enum {
806 wxEVT_TASKBAR_MOVE = 0,
807 wxEVT_TASKBAR_LEFT_DOWN = 0,
808 wxEVT_TASKBAR_LEFT_UP = 0,
809 wxEVT_TASKBAR_RIGHT_DOWN = 0,
810 wxEVT_TASKBAR_RIGHT_UP = 0,
811 wxEVT_TASKBAR_LEFT_DCLICK = 0,
812 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
813};
814#endif
815
816void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
817
818
819
820 }
821 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
822 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
823 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
824 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
825 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
826 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
827PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
828 wxArrayString arr;
829 self->GetFilenames(arr);
830 return wxArrayString2PyList_helper(arr);
831 }
832PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetPaths(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
838 return wxArrayInt2PyList_helper(self->GetSelections());
839 }
840wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
841 return new wxSingleChoiceDialog(parent, message, caption,
842 choices, choices_array, NULL, style, pos);
843 }
844
845#include <wx/mdi.h>
846
847 // C++ version of Python aware wxWindow
848class wxPyWindow : public wxWindow
849{
850 DECLARE_DYNAMIC_CLASS(wxPyWindow)
851public:
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow* parent, const wxWindowID id,
854 const wxPoint& pos = wxDefaultPosition,
855 const wxSize& size = wxDefaultSize,
856 long style = 0,
857 const wxString& name = wxPyPanelNameStr)
858 : wxWindow(parent, id, pos, size, style, name) {}
859
860
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
865
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
869
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
872
873 DEC_PYCALLBACK__(InitDialog);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
876 DEC_PYCALLBACK_BOOL_(Validate);
877
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
881
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
884
885 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
886 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
887
888 PYPRIVATE;
889};
890
891IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
892
893IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
894IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
895IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
896IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
897
898IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
899IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
900IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
901
902IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
903IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
904
905IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
906IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
907IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
908IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
909
910IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
911IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
912IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
913
914IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
915IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
916
917IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
918IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
919
920
921 // C++ version of Python aware wxPanel
922class wxPyPanel : public wxPanel
923{
924 DECLARE_DYNAMIC_CLASS(wxPyPanel)
925public:
926 wxPyPanel() : wxPanel() {}
927 wxPyPanel(wxWindow* parent, const wxWindowID id,
928 const wxPoint& pos = wxDefaultPosition,
929 const wxSize& size = wxDefaultSize,
930 long style = 0,
931 const wxString& name = wxPyPanelNameStr)
932 : wxPanel(parent, id, pos, size, style, name) {}
933
934
935 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
936 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
937 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
938 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
939
940 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
941 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
943
944 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
945 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
946
947 DEC_PYCALLBACK__(InitDialog);
948 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
949 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
950 DEC_PYCALLBACK_BOOL_(Validate);
951
952 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
953 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
954 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
955
956 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
957 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
958
959 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
960 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
961
962 PYPRIVATE;
963};
964
965IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
966
967IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
968IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
969IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
970IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
971
972IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
973IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
974IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
975
976IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
977IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
978
979IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
980IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
981IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
982IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
983
984IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
985IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
986IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
987
988IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
989IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
990
991IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
992IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
993
994 // C++ version of Python aware wxScrolledWindow
995class wxPyScrolledWindow : public wxScrolledWindow
996{
997 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
998public:
999 wxPyScrolledWindow() : wxScrolledWindow() {}
1000 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1001 const wxPoint& pos = wxDefaultPosition,
1002 const wxSize& size = wxDefaultSize,
1003 long style = 0,
1004 const wxString& name = wxPyPanelNameStr)
1005 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1006
1007
1008 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1009 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1010 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1011 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1012
1013 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1014 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1016
1017 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1018 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1019
1020 DEC_PYCALLBACK__(InitDialog);
1021 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1022 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1023 DEC_PYCALLBACK_BOOL_(Validate);
1024
1025 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1026 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1027 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1028
1029 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1030 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1031
1032 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1033 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1034
1035 PYPRIVATE;
1036};
1037
1038IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1039
1040IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1041IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1042IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1043IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1044
1045IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1046IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1047IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1048
1049IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1050IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1051
1052IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1053IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1054IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1055IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1056
1057IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1058IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1059IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1060
1061IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1062IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1063
1064IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1065IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1066
1067
1068#include "wx/wxPython/printfw.h"
1069
1070
1071 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1072 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1073
1074
1075
1076// Since this one would be tough and ugly to do with the Macros...
1077void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1078 bool hadErr = False;
1079 bool found;
1080
1081 bool blocked = wxPyBeginBlockThreads();
1082 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1083 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1084 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1085 PyObject* val;
1086
1087 val = PyTuple_GetItem(result, 0);
1088 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1089 else hadErr = True;
1090
1091 val = PyTuple_GetItem(result, 1);
1092 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1093 else hadErr = True;
1094
1095 val = PyTuple_GetItem(result, 2);
1096 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1097 else hadErr = True;
1098
1099 val = PyTuple_GetItem(result, 3);
1100 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1101 else hadErr = True;
1102 }
1103 else
1104 hadErr = True;
1105
1106 if (hadErr) {
1107 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1108 PyErr_Print();
1109 }
1110 Py_DECREF(result);
1111 }
1112 wxPyEndBlockThreads(blocked);
1113 if (! found)
1114 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1115}
1116
1117void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1118 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1119}
1120
1121
1122IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1123IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1124IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1125IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1126IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1127IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1128IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1129
1130
1131
1132
1133
1134#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1135 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1136 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1137
1138
1139#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1140 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1141 bool rval=False; \
1142 bool found; \
1143 bool blocked = wxPyBeginBlockThreads(); \
1144 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1145 PyObject* win = wxPyMake_wxObject(a); \
1146 PyObject* dc = wxPyMake_wxObject(&b); \
1147 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1148 Py_DECREF(win); \
1149 Py_DECREF(dc); \
1150 } \
1151 wxPyEndBlockThreads(blocked); \
1152 if (! found) \
1153 rval = PCLASS::CBNAME(a, b); \
1154 return rval; \
1155 } \
1156 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1157 return PCLASS::CBNAME(a, b); \
1158 }
1159
1160
1161
1162
1163class wxPyPrintPreview : public wxPrintPreview
1164{
1165 DECLARE_CLASS(wxPyPrintPreview)
1166public:
1167 wxPyPrintPreview(wxPyPrintout* printout,
1168 wxPyPrintout* printoutForPrinting,
1169 wxPrintDialogData* data=NULL)
1170 : wxPrintPreview(printout, printoutForPrinting, data)
1171 {}
1172 wxPyPrintPreview(wxPyPrintout* printout,
1173 wxPyPrintout* printoutForPrinting,
1174 wxPrintData* data=NULL)
1175 : wxPrintPreview(printout, printoutForPrinting, data)
1176 {}
1177
1178 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1179 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1180 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1181 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1182 DEC_PYCALLBACK_VOID_INT(SetZoom);
1183 DEC_PYCALLBACK_BOOL_BOOL(Print);
1184 DEC_PYCALLBACK_VOID_(DetermineScaling);
1185
1186 PYPRIVATE;
1187};
1188
1189// Stupid renamed classes... Fix this in 2.5...
1190#if defined(__WXMSW__)
1191IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1192#elif defined(__WXMAC__)
1193IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1194#else
1195IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1196#endif
1197
1198IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1199IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1200IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1201IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1202IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1203IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1204IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1205
1206
1207class wxPyPreviewFrame : public wxPreviewFrame
1208{
1209 DECLARE_CLASS(wxPyPreviewFrame);
1210public:
1211 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1212 const wxString& title,
1213 const wxPoint& pos = wxDefaultPosition,
1214 const wxSize& size = wxDefaultSize,
1215 long style = wxDEFAULT_FRAME_STYLE,
1216 const wxString& name = wxPyFrameNameStr)
1217 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1218 {}
1219
1220 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1221 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1222
1223 DEC_PYCALLBACK_VOID_(Initialize);
1224 DEC_PYCALLBACK_VOID_(CreateCanvas);
1225 DEC_PYCALLBACK_VOID_(CreateControlBar);
1226
1227 PYPRIVATE;
1228};
1229
1230IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1231
1232IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1233IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1234IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1235
1236
1237class wxPyPreviewControlBar : public wxPreviewControlBar
1238{
1239 DECLARE_CLASS(wxPyPreviewControlBar);
1240public:
1241 wxPyPreviewControlBar(wxPrintPreview *preview,
1242 long buttons,
1243 wxWindow *parent,
1244 const wxPoint& pos = wxDefaultPosition,
1245 const wxSize& size = wxDefaultSize,
1246 long style = 0,
1247 const wxString& name = wxPyPanelNameStr)
1248 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1249 {}
1250
1251 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1252
1253 DEC_PYCALLBACK_VOID_(CreateButtons);
1254 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1255
1256 PYPRIVATE;
1257};
1258
1259IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1260IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1261IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1262
1263#ifdef __cplusplus
1264extern "C" {
1265#endif
1266static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject *resultobj;
1268 wxWindow *arg1 = (wxWindow *) 0 ;
1269 int arg2 = (int) (int)-1 ;
1270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1272 wxSize const &arg4_defvalue = wxDefaultSize ;
1273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1274 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1275 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1276 wxString *arg6 = (wxString *) &arg6_defvalue ;
1277 wxPanel *result;
1278 wxPoint temp3 ;
1279 wxSize temp4 ;
1280 bool temp6 = False ;
1281 PyObject * obj0 = 0 ;
1282 PyObject * obj1 = 0 ;
1283 PyObject * obj2 = 0 ;
1284 PyObject * obj3 = 0 ;
1285 PyObject * obj4 = 0 ;
1286 PyObject * obj5 = 0 ;
1287 char *kwnames[] = {
1288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1289 };
1290
1291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1294 if (obj1) {
1295 arg2 = (int const) SWIG_AsInt(obj1);
1296 if (PyErr_Occurred()) SWIG_fail;
1297 }
1298 if (obj2) {
1299 {
1300 arg3 = &temp3;
1301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1302 }
1303 }
1304 if (obj3) {
1305 {
1306 arg4 = &temp4;
1307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1308 }
1309 }
1310 if (obj4) {
1311 arg5 = (long) SWIG_AsLong(obj4);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 }
1314 if (obj5) {
1315 {
1316 arg6 = wxString_in_helper(obj5);
1317 if (arg6 == NULL) SWIG_fail;
1318 temp6 = True;
1319 }
1320 }
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1329 {
1330 if (temp6)
1331 delete arg6;
1332 }
1333 return resultobj;
1334 fail:
1335 {
1336 if (temp6)
1337 delete arg6;
1338 }
1339 return NULL;
1340}
1341
1342
1343static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject *resultobj;
1345 wxPanel *result;
1346 char *kwnames[] = {
1347 NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1351 {
1352 PyThreadState* __tstate = wxPyBeginAllowThreads();
1353 result = (wxPanel *)new wxPanel();
1354
1355 wxPyEndAllowThreads(__tstate);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 }
1358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1359 return resultobj;
1360 fail:
1361 return NULL;
1362}
1363
1364
1365static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxPanel *arg1 = (wxPanel *) 0 ;
1368 wxWindow *arg2 = (wxWindow *) 0 ;
1369 int arg3 = (int) (int)-1 ;
1370 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1371 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1372 wxSize const &arg5_defvalue = wxDefaultSize ;
1373 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1374 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1375 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1376 wxString *arg7 = (wxString *) &arg7_defvalue ;
1377 bool result;
1378 wxPoint temp4 ;
1379 wxSize temp5 ;
1380 bool temp7 = False ;
1381 PyObject * obj0 = 0 ;
1382 PyObject * obj1 = 0 ;
1383 PyObject * obj2 = 0 ;
1384 PyObject * obj3 = 0 ;
1385 PyObject * obj4 = 0 ;
1386 PyObject * obj5 = 0 ;
1387 PyObject * obj6 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1397 if (obj2) {
1398 arg3 = (int const) SWIG_AsInt(obj2);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 if (obj3) {
1402 {
1403 arg4 = &temp4;
1404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1405 }
1406 }
1407 if (obj4) {
1408 {
1409 arg5 = &temp5;
1410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1411 }
1412 }
1413 if (obj5) {
1414 arg6 = (long) SWIG_AsLong(obj5);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 if (obj6) {
1418 {
1419 arg7 = wxString_in_helper(obj6);
1420 if (arg7 == NULL) SWIG_fail;
1421 temp7 = True;
1422 }
1423 }
1424 {
1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
1426 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1427
1428 wxPyEndAllowThreads(__tstate);
1429 if (PyErr_Occurred()) SWIG_fail;
1430 }
1431 {
1432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1433 }
1434 {
1435 if (temp7)
1436 delete arg7;
1437 }
1438 return resultobj;
1439 fail:
1440 {
1441 if (temp7)
1442 delete arg7;
1443 }
1444 return NULL;
1445}
1446
1447
1448static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxPanel *arg1 = (wxPanel *) 0 ;
1451 PyObject * obj0 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "self", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 (arg1)->InitDialog();
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
1466 Py_INCREF(Py_None); resultobj = Py_None;
1467 return resultobj;
1468 fail:
1469 return NULL;
1470}
1471
1472
1473static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1474 PyObject *obj;
1475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1476 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1477 Py_INCREF(obj);
1478 return Py_BuildValue((char *)"");
1479}
1480static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject *resultobj;
1482 wxWindow *arg1 = (wxWindow *) 0 ;
1483 int arg2 = (int) (int)-1 ;
1484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1486 wxSize const &arg4_defvalue = wxDefaultSize ;
1487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1488 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1489 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1490 wxString *arg6 = (wxString *) &arg6_defvalue ;
1491 wxScrolledWindow *result;
1492 wxPoint temp3 ;
1493 wxSize temp4 ;
1494 bool temp6 = False ;
1495 PyObject * obj0 = 0 ;
1496 PyObject * obj1 = 0 ;
1497 PyObject * obj2 = 0 ;
1498 PyObject * obj3 = 0 ;
1499 PyObject * obj4 = 0 ;
1500 PyObject * obj5 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1508 if (obj1) {
1509 arg2 = (int const) SWIG_AsInt(obj1);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 if (obj2) {
1513 {
1514 arg3 = &temp3;
1515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1516 }
1517 }
1518 if (obj3) {
1519 {
1520 arg4 = &temp4;
1521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1522 }
1523 }
1524 if (obj4) {
1525 arg5 = (long) SWIG_AsLong(obj4);
1526 if (PyErr_Occurred()) SWIG_fail;
1527 }
1528 if (obj5) {
1529 {
1530 arg6 = wxString_in_helper(obj5);
1531 if (arg6 == NULL) SWIG_fail;
1532 temp6 = True;
1533 }
1534 }
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1543 {
1544 if (temp6)
1545 delete arg6;
1546 }
1547 return resultobj;
1548 fail:
1549 {
1550 if (temp6)
1551 delete arg6;
1552 }
1553 return NULL;
1554}
1555
1556
1557static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject *resultobj;
1559 wxScrolledWindow *result;
1560 char *kwnames[] = {
1561 NULL
1562 };
1563
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 result = (wxScrolledWindow *)new wxScrolledWindow();
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1573 return resultobj;
1574 fail:
1575 return NULL;
1576}
1577
1578
1579static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1582 wxWindow *arg2 = (wxWindow *) 0 ;
1583 int arg3 = (int) (int)-1 ;
1584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1586 wxSize const &arg5_defvalue = wxDefaultSize ;
1587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1588 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1589 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1590 wxString *arg7 = (wxString *) &arg7_defvalue ;
1591 bool result;
1592 wxPoint temp4 ;
1593 wxSize temp5 ;
1594 bool temp7 = False ;
1595 PyObject * obj0 = 0 ;
1596 PyObject * obj1 = 0 ;
1597 PyObject * obj2 = 0 ;
1598 PyObject * obj3 = 0 ;
1599 PyObject * obj4 = 0 ;
1600 PyObject * obj5 = 0 ;
1601 PyObject * obj6 = 0 ;
1602 char *kwnames[] = {
1603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1604 };
1605
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1611 if (obj2) {
1612 arg3 = (int const) SWIG_AsInt(obj2);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 if (obj3) {
1616 {
1617 arg4 = &temp4;
1618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1619 }
1620 }
1621 if (obj4) {
1622 {
1623 arg5 = &temp5;
1624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1625 }
1626 }
1627 if (obj5) {
1628 arg6 = (long) SWIG_AsLong(obj5);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 if (obj6) {
1632 {
1633 arg7 = wxString_in_helper(obj6);
1634 if (arg7 == NULL) SWIG_fail;
1635 temp7 = True;
1636 }
1637 }
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 {
1646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1647 }
1648 {
1649 if (temp7)
1650 delete arg7;
1651 }
1652 return resultobj;
1653 fail:
1654 {
1655 if (temp7)
1656 delete arg7;
1657 }
1658 return NULL;
1659}
1660
1661
1662static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1665 int arg2 ;
1666 int arg3 ;
1667 int arg4 ;
1668 int arg5 ;
1669 int arg6 = (int) 0 ;
1670 int arg7 = (int) 0 ;
1671 bool arg8 = (bool) False ;
1672 PyObject * obj0 = 0 ;
1673 PyObject * obj1 = 0 ;
1674 PyObject * obj2 = 0 ;
1675 PyObject * obj3 = 0 ;
1676 PyObject * obj4 = 0 ;
1677 PyObject * obj5 = 0 ;
1678 PyObject * obj6 = 0 ;
1679 PyObject * obj7 = 0 ;
1680 char *kwnames[] = {
1681 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1682 };
1683
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1687 arg2 = (int) SWIG_AsInt(obj1);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 arg3 = (int) SWIG_AsInt(obj2);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 arg4 = (int) SWIG_AsInt(obj3);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 arg5 = (int) SWIG_AsInt(obj4);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 if (obj5) {
1696 arg6 = (int) SWIG_AsInt(obj5);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 if (obj6) {
1700 arg7 = (int) SWIG_AsInt(obj6);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 if (obj7) {
1704 arg8 = (bool) SWIG_AsBool(obj7);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 Py_INCREF(Py_None); resultobj = Py_None;
1715 return resultobj;
1716 fail:
1717 return NULL;
1718}
1719
1720
1721static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1724 int arg2 ;
1725 int arg3 ;
1726 PyObject * obj0 = 0 ;
1727 PyObject * obj1 = 0 ;
1728 PyObject * obj2 = 0 ;
1729 char *kwnames[] = {
1730 (char *) "self",(char *) "x",(char *) "y", NULL
1731 };
1732
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1736 arg2 = (int) SWIG_AsInt(obj1);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 arg3 = (int) SWIG_AsInt(obj2);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 (arg1)->Scroll(arg2,arg3);
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 Py_INCREF(Py_None); resultobj = Py_None;
1748 return resultobj;
1749 fail:
1750 return NULL;
1751}
1752
1753
1754static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject *resultobj;
1756 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1757 int arg2 ;
1758 int result;
1759 PyObject * obj0 = 0 ;
1760 PyObject * obj1 = 0 ;
1761 char *kwnames[] = {
1762 (char *) "self",(char *) "orient", NULL
1763 };
1764
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1768 arg2 = (int) SWIG_AsInt(obj1);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 {
1771 PyThreadState* __tstate = wxPyBeginAllowThreads();
1772 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1773
1774 wxPyEndAllowThreads(__tstate);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 }
1777 resultobj = SWIG_FromInt((int)result);
1778 return resultobj;
1779 fail:
1780 return NULL;
1781}
1782
1783
1784static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1785 PyObject *resultobj;
1786 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1787 int arg2 ;
1788 int arg3 ;
1789 PyObject * obj0 = 0 ;
1790 PyObject * obj1 = 0 ;
1791 PyObject * obj2 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1799 arg2 = (int) SWIG_AsInt(obj1);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 arg3 = (int) SWIG_AsInt(obj2);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 (arg1)->SetScrollPageSize(arg2,arg3);
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 Py_INCREF(Py_None); resultobj = Py_None;
1811 return resultobj;
1812 fail:
1813 return NULL;
1814}
1815
1816
1817static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1820 int arg2 ;
1821 int arg3 ;
1822 PyObject * obj0 = 0 ;
1823 PyObject * obj1 = 0 ;
1824 PyObject * obj2 = 0 ;
1825 char *kwnames[] = {
1826 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1827 };
1828
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1832 arg2 = (int) SWIG_AsInt(obj1);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 arg3 = (int) SWIG_AsInt(obj2);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 {
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 (arg1)->SetScrollRate(arg2,arg3);
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 Py_INCREF(Py_None); resultobj = Py_None;
1844 return resultobj;
1845 fail:
1846 return NULL;
1847}
1848
1849
1850static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1853 int *arg2 = (int *) 0 ;
1854 int *arg3 = (int *) 0 ;
1855 int temp2 ;
1856 int temp3 ;
1857 PyObject * obj0 = 0 ;
1858 char *kwnames[] = {
1859 (char *) "self", NULL
1860 };
1861
1862 arg2 = &temp2;
1863 arg3 = &temp3;
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) SWIG_fail;
1873 }
1874 Py_INCREF(Py_None); resultobj = Py_None;
1875 {
1876 PyObject *o = PyInt_FromLong((long) (*arg2));
1877 resultobj = t_output_helper(resultobj,o);
1878 }
1879 {
1880 PyObject *o = PyInt_FromLong((long) (*arg3));
1881 resultobj = t_output_helper(resultobj,o);
1882 }
1883 return resultobj;
1884 fail:
1885 return NULL;
1886}
1887
1888
1889static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1892 bool arg2 ;
1893 bool arg3 ;
1894 PyObject * obj0 = 0 ;
1895 PyObject * obj1 = 0 ;
1896 PyObject * obj2 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1904 arg2 = (bool) SWIG_AsBool(obj1);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 arg3 = (bool) SWIG_AsBool(obj2);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 (arg1)->EnableScrolling(arg2,arg3);
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 Py_INCREF(Py_None); resultobj = Py_None;
1916 return resultobj;
1917 fail:
1918 return NULL;
1919}
1920
1921
1922static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1925 int *arg2 = (int *) 0 ;
1926 int *arg3 = (int *) 0 ;
1927 int temp2 ;
1928 int temp3 ;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 arg2 = &temp2;
1935 arg3 = &temp3;
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 Py_INCREF(Py_None); resultobj = Py_None;
1947 {
1948 PyObject *o = PyInt_FromLong((long) (*arg2));
1949 resultobj = t_output_helper(resultobj,o);
1950 }
1951 {
1952 PyObject *o = PyInt_FromLong((long) (*arg3));
1953 resultobj = t_output_helper(resultobj,o);
1954 }
1955 return resultobj;
1956 fail:
1957 return NULL;
1958}
1959
1960
1961static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject *resultobj;
1963 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1964 double arg2 ;
1965 double arg3 ;
1966 PyObject * obj0 = 0 ;
1967 PyObject * obj1 = 0 ;
1968 PyObject * obj2 = 0 ;
1969 char *kwnames[] = {
1970 (char *) "self",(char *) "xs",(char *) "ys", NULL
1971 };
1972
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1976 arg2 = (double) SWIG_AsDouble(obj1);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 arg3 = (double) SWIG_AsDouble(obj2);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 (arg1)->SetScale(arg2,arg3);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 }
1987 Py_INCREF(Py_None); resultobj = Py_None;
1988 return resultobj;
1989 fail:
1990 return NULL;
1991}
1992
1993
1994static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject *resultobj;
1996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1997 double result;
1998 PyObject * obj0 = 0 ;
1999 char *kwnames[] = {
2000 (char *) "self", NULL
2001 };
2002
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 resultobj = SWIG_FromDouble((double)result);
2014 return resultobj;
2015 fail:
2016 return NULL;
2017}
2018
2019
2020static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2023 double result;
2024 PyObject * obj0 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "self", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 resultobj = SWIG_FromDouble((double)result);
2040 return resultobj;
2041 fail:
2042 return NULL;
2043}
2044
2045
2046static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2047 PyObject *resultobj;
2048 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2049 wxPoint *arg2 = 0 ;
2050 wxPoint result;
2051 wxPoint temp2 ;
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
2054
2055 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2058 {
2059 arg2 = &temp2;
2060 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070 wxPoint * resultptr;
2071 resultptr = new wxPoint((wxPoint &) result);
2072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2073 }
2074 return resultobj;
2075 fail:
2076 return NULL;
2077}
2078
2079
2080static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2081 PyObject *resultobj;
2082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2083 int arg2 ;
2084 int arg3 ;
2085 int *arg4 = (int *) 0 ;
2086 int *arg5 = (int *) 0 ;
2087 int temp4 ;
2088 int temp5 ;
2089 PyObject * obj0 = 0 ;
2090 PyObject * obj1 = 0 ;
2091 PyObject * obj2 = 0 ;
2092
2093 arg4 = &temp4;
2094 arg5 = &temp5;
2095 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2098 arg2 = (int) SWIG_AsInt(obj1);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 arg3 = (int) SWIG_AsInt(obj2);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 Py_INCREF(Py_None); resultobj = Py_None;
2110 {
2111 PyObject *o = PyInt_FromLong((long) (*arg4));
2112 resultobj = t_output_helper(resultobj,o);
2113 }
2114 {
2115 PyObject *o = PyInt_FromLong((long) (*arg5));
2116 resultobj = t_output_helper(resultobj,o);
2117 }
2118 return resultobj;
2119 fail:
2120 return NULL;
2121}
2122
2123
2124static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2125 int argc;
2126 PyObject *argv[4];
2127 int ii;
2128
2129 argc = PyObject_Length(args);
2130 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2131 argv[ii] = PyTuple_GetItem(args,ii);
2132 }
2133 if (argc == 2) {
2134 int _v;
2135 {
2136 void *ptr;
2137 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2138 _v = 0;
2139 PyErr_Clear();
2140 } else {
2141 _v = 1;
2142 }
2143 }
2144 if (_v) {
2145 {
2146 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2147 }
2148 if (_v) {
2149 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2150 }
2151 }
2152 }
2153 if (argc == 3) {
2154 int _v;
2155 {
2156 void *ptr;
2157 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2158 _v = 0;
2159 PyErr_Clear();
2160 } else {
2161 _v = 1;
2162 }
2163 }
2164 if (_v) {
2165 _v = SWIG_CheckInt(argv[1]);
2166 if (_v) {
2167 _v = SWIG_CheckInt(argv[2]);
2168 if (_v) {
2169 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2170 }
2171 }
2172 }
2173 }
2174
2175 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2176 return NULL;
2177}
2178
2179
2180static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2181 PyObject *resultobj;
2182 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2183 wxPoint *arg2 = 0 ;
2184 wxPoint result;
2185 wxPoint temp2 ;
2186 PyObject * obj0 = 0 ;
2187 PyObject * obj1 = 0 ;
2188
2189 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2192 {
2193 arg2 = &temp2;
2194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2195 }
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 {
2204 wxPoint * resultptr;
2205 resultptr = new wxPoint((wxPoint &) result);
2206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2207 }
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
2214static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2215 PyObject *resultobj;
2216 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2217 int arg2 ;
2218 int arg3 ;
2219 int *arg4 = (int *) 0 ;
2220 int *arg5 = (int *) 0 ;
2221 int temp4 ;
2222 int temp5 ;
2223 PyObject * obj0 = 0 ;
2224 PyObject * obj1 = 0 ;
2225 PyObject * obj2 = 0 ;
2226
2227 arg4 = &temp4;
2228 arg5 = &temp5;
2229 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2232 arg2 = (int) SWIG_AsInt(obj1);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 arg3 = (int) SWIG_AsInt(obj2);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 {
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 Py_INCREF(Py_None); resultobj = Py_None;
2244 {
2245 PyObject *o = PyInt_FromLong((long) (*arg4));
2246 resultobj = t_output_helper(resultobj,o);
2247 }
2248 {
2249 PyObject *o = PyInt_FromLong((long) (*arg5));
2250 resultobj = t_output_helper(resultobj,o);
2251 }
2252 return resultobj;
2253 fail:
2254 return NULL;
2255}
2256
2257
2258static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2259 int argc;
2260 PyObject *argv[4];
2261 int ii;
2262
2263 argc = PyObject_Length(args);
2264 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2265 argv[ii] = PyTuple_GetItem(args,ii);
2266 }
2267 if (argc == 2) {
2268 int _v;
2269 {
2270 void *ptr;
2271 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2272 _v = 0;
2273 PyErr_Clear();
2274 } else {
2275 _v = 1;
2276 }
2277 }
2278 if (_v) {
2279 {
2280 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2281 }
2282 if (_v) {
2283 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2284 }
2285 }
2286 }
2287 if (argc == 3) {
2288 int _v;
2289 {
2290 void *ptr;
2291 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2292 _v = 0;
2293 PyErr_Clear();
2294 } else {
2295 _v = 1;
2296 }
2297 }
2298 if (_v) {
2299 _v = SWIG_CheckInt(argv[1]);
2300 if (_v) {
2301 _v = SWIG_CheckInt(argv[2]);
2302 if (_v) {
2303 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2304 }
2305 }
2306 }
2307 }
2308
2309 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2310 return NULL;
2311}
2312
2313
2314static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2315 PyObject *resultobj;
2316 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2317 PyObject * obj0 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 (arg1)->AdjustScrollbars();
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
2332 Py_INCREF(Py_None); resultobj = Py_None;
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
2339static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2342 wxScrollWinEvent *arg2 = 0 ;
2343 int result;
2344 PyObject * obj0 = 0 ;
2345 PyObject * obj1 = 0 ;
2346 char *kwnames[] = {
2347 (char *) "self",(char *) "event", NULL
2348 };
2349
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1)
2355 SWIG_fail;
2356 if (arg2 == NULL) {
2357 PyErr_SetString(PyExc_TypeError,"null reference");
2358 SWIG_fail;
2359 }
2360 {
2361 PyThreadState* __tstate = wxPyBeginAllowThreads();
2362 result = (int)(arg1)->CalcScrollInc(*arg2);
2363
2364 wxPyEndAllowThreads(__tstate);
2365 if (PyErr_Occurred()) SWIG_fail;
2366 }
2367 resultobj = SWIG_FromInt((int)result);
2368 return resultobj;
2369 fail:
2370 return NULL;
2371}
2372
2373
2374static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2377 wxWindow *arg2 = (wxWindow *) 0 ;
2378 PyObject * obj0 = 0 ;
2379 PyObject * obj1 = 0 ;
2380 char *kwnames[] = {
2381 (char *) "self",(char *) "target", NULL
2382 };
2383
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 (arg1)->SetTargetWindow(arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 return resultobj;
2398 fail:
2399 return NULL;
2400}
2401
2402
2403static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2404 PyObject *resultobj;
2405 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2406 wxWindow *result;
2407 PyObject * obj0 = 0 ;
2408 char *kwnames[] = {
2409 (char *) "self", NULL
2410 };
2411
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 {
2423 resultobj = wxPyMake_wxObject(result);
2424 }
2425 return resultobj;
2426 fail:
2427 return NULL;
2428}
2429
2430
2431static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2432 PyObject *resultobj;
2433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2434 wxRect *arg2 = 0 ;
2435 wxRect temp2 ;
2436 PyObject * obj0 = 0 ;
2437 PyObject * obj1 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self",(char *) "rect", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2445 {
2446 arg2 = &temp2;
2447 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2448 }
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 (arg1)->SetTargetRect((wxRect const &)*arg2);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 Py_INCREF(Py_None); resultobj = Py_None;
2457 return resultobj;
2458 fail:
2459 return NULL;
2460}
2461
2462
2463static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2466 wxRect result;
2467 PyObject * obj0 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2475 {
2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
2477 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2478
2479 wxPyEndAllowThreads(__tstate);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 {
2483 wxRect * resultptr;
2484 resultptr = new wxRect((wxRect &) result);
2485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2486 }
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
2493static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2494 PyObject *obj;
2495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2496 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2497 Py_INCREF(obj);
2498 return Py_BuildValue((char *)"");
2499}
2500static int _wrap_FrameNameStr_set(PyObject *_val) {
2501 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2502 return 1;
2503}
2504
2505
2506static PyObject *_wrap_FrameNameStr_get() {
2507 PyObject *pyobj;
2508
2509 {
2510#if wxUSE_UNICODE
2511 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2512#else
2513 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2514#endif
2515 }
2516 return pyobj;
2517}
2518
2519
2520static int _wrap_DialogNameStr_set(PyObject *_val) {
2521 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2522 return 1;
2523}
2524
2525
2526static PyObject *_wrap_DialogNameStr_get() {
2527 PyObject *pyobj;
2528
2529 {
2530#if wxUSE_UNICODE
2531 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2532#else
2533 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2534#endif
2535 }
2536 return pyobj;
2537}
2538
2539
2540static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2541 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2542 return 1;
2543}
2544
2545
2546static PyObject *_wrap_StatusLineNameStr_get() {
2547 PyObject *pyobj;
2548
2549 {
2550#if wxUSE_UNICODE
2551 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2552#else
2553 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2554#endif
2555 }
2556 return pyobj;
2557}
2558
2559
2560static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2561 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2562 return 1;
2563}
2564
2565
2566static PyObject *_wrap_ToolBarNameStr_get() {
2567 PyObject *pyobj;
2568
2569 {
2570#if wxUSE_UNICODE
2571 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2572#else
2573 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2574#endif
2575 }
2576 return pyobj;
2577}
2578
2579
2580static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2583 bool arg2 = (bool) True ;
2584 PyObject * obj0 = 0 ;
2585 PyObject * obj1 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self",(char *) "maximize", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2593 if (obj1) {
2594 arg2 = (bool) SWIG_AsBool(obj1);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 (arg1)->Maximize(arg2);
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 Py_INCREF(Py_None); resultobj = Py_None;
2605 return resultobj;
2606 fail:
2607 return NULL;
2608}
2609
2610
2611static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 (arg1)->Restore();
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 Py_INCREF(Py_None); resultobj = Py_None;
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
2636static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2639 bool arg2 = (bool) True ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self",(char *) "iconize", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2649 if (obj1) {
2650 arg2 = (bool) SWIG_AsBool(obj1);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 (arg1)->Iconize(arg2);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 Py_INCREF(Py_None); resultobj = Py_None;
2661 return resultobj;
2662 fail:
2663 return NULL;
2664}
2665
2666
2667static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2670 bool result;
2671 PyObject * obj0 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 {
2687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2688 }
2689 return resultobj;
2690 fail:
2691 return NULL;
2692}
2693
2694
2695static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2696 PyObject *resultobj;
2697 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2698 bool result;
2699 PyObject * obj0 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 {
2715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2716 }
2717 return resultobj;
2718 fail:
2719 return NULL;
2720}
2721
2722
2723static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2726 wxIcon result;
2727 PyObject * obj0 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 {
2743 wxIcon * resultptr;
2744 resultptr = new wxIcon((wxIcon &) result);
2745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2746 }
2747 return resultobj;
2748 fail:
2749 return NULL;
2750}
2751
2752
2753static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2756 wxIcon *arg2 = 0 ;
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "icon", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1)
2768 SWIG_fail;
2769 if (arg2 == NULL) {
2770 PyErr_SetString(PyExc_TypeError,"null reference");
2771 SWIG_fail;
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 (arg1)->SetIcon((wxIcon const &)*arg2);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 Py_INCREF(Py_None); resultobj = Py_None;
2781 return resultobj;
2782 fail:
2783 return NULL;
2784}
2785
2786
2787static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2790 wxIconBundle *arg2 = 0 ;
2791 PyObject * obj0 = 0 ;
2792 PyObject * obj1 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "icons", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2801 SWIG_POINTER_EXCEPTION | 0)) == -1)
2802 SWIG_fail;
2803 if (arg2 == NULL) {
2804 PyErr_SetString(PyExc_TypeError,"null reference");
2805 SWIG_fail;
2806 }
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 Py_INCREF(Py_None); resultobj = Py_None;
2815 return resultobj;
2816 fail:
2817 return NULL;
2818}
2819
2820
2821static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2822 PyObject *resultobj;
2823 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2824 bool arg2 ;
2825 long arg3 = (long) wxFULLSCREEN_ALL ;
2826 bool result;
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
2829 PyObject * obj2 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self",(char *) "show",(char *) "style", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2837 arg2 = (bool) SWIG_AsBool(obj1);
2838 if (PyErr_Occurred()) SWIG_fail;
2839 if (obj2) {
2840 arg3 = (long) SWIG_AsLong(obj2);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2852 }
2853 return resultobj;
2854 fail:
2855 return NULL;
2856}
2857
2858
2859static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2862 bool result;
2863 PyObject * obj0 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 {
2879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2880 }
2881 return resultobj;
2882 fail:
2883 return NULL;
2884}
2885
2886
2887static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2888 PyObject *resultobj;
2889 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2890 wxString *arg2 = 0 ;
2891 bool temp2 = False ;
2892 PyObject * obj0 = 0 ;
2893 PyObject * obj1 = 0 ;
2894 char *kwnames[] = {
2895 (char *) "self",(char *) "title", NULL
2896 };
2897
2898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2901 {
2902 arg2 = wxString_in_helper(obj1);
2903 if (arg2 == NULL) SWIG_fail;
2904 temp2 = True;
2905 }
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->SetTitle((wxString const &)*arg2);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 {
2915 if (temp2)
2916 delete arg2;
2917 }
2918 return resultobj;
2919 fail:
2920 {
2921 if (temp2)
2922 delete arg2;
2923 }
2924 return NULL;
2925}
2926
2927
2928static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2931 wxString result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 {
2948#if wxUSE_UNICODE
2949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2950#else
2951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2952#endif
2953 }
2954 return resultobj;
2955 fail:
2956 return NULL;
2957}
2958
2959
2960static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj;
2962 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2963 wxRegion *arg2 = 0 ;
2964 bool result;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "self",(char *) "region", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2975 SWIG_POINTER_EXCEPTION | 0)) == -1)
2976 SWIG_fail;
2977 if (arg2 == NULL) {
2978 PyErr_SetString(PyExc_TypeError,"null reference");
2979 SWIG_fail;
2980 }
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 {
2989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2990 }
2991 return resultobj;
2992 fail:
2993 return NULL;
2994}
2995
2996
2997static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3000 bool arg2 ;
3001 PyObject * obj0 = 0 ;
3002 PyObject * obj1 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self",(char *) "on", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3010 arg2 = (bool) SWIG_AsBool(obj1);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 (arg1)->MacSetMetalAppearance(arg2);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 return resultobj;
3021 fail:
3022 return NULL;
3023}
3024
3025
3026static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3027 PyObject *resultobj;
3028 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3029 bool result;
3030 PyObject * obj0 = 0 ;
3031 char *kwnames[] = {
3032 (char *) "self", NULL
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 {
3046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3047 }
3048 return resultobj;
3049 fail:
3050 return NULL;
3051}
3052
3053
3054static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3055 PyObject *obj;
3056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3057 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3058 Py_INCREF(obj);
3059 return Py_BuildValue((char *)"");
3060}
3061static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxWindow *arg1 = (wxWindow *) 0 ;
3064 int arg2 ;
3065 wxString *arg3 = 0 ;
3066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3068 wxSize const &arg5_defvalue = wxDefaultSize ;
3069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3070 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3071 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3072 wxString *arg7 = (wxString *) &arg7_defvalue ;
3073 wxFrame *result;
3074 bool temp3 = False ;
3075 wxPoint temp4 ;
3076 wxSize temp5 ;
3077 bool temp7 = False ;
3078 PyObject * obj0 = 0 ;
3079 PyObject * obj1 = 0 ;
3080 PyObject * obj2 = 0 ;
3081 PyObject * obj3 = 0 ;
3082 PyObject * obj4 = 0 ;
3083 PyObject * obj5 = 0 ;
3084 PyObject * obj6 = 0 ;
3085 char *kwnames[] = {
3086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3087 };
3088
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3092 arg2 = (int const) SWIG_AsInt(obj1);
3093 if (PyErr_Occurred()) SWIG_fail;
3094 {
3095 arg3 = wxString_in_helper(obj2);
3096 if (arg3 == NULL) SWIG_fail;
3097 temp3 = True;
3098 }
3099 if (obj3) {
3100 {
3101 arg4 = &temp4;
3102 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3103 }
3104 }
3105 if (obj4) {
3106 {
3107 arg5 = &temp5;
3108 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3109 }
3110 }
3111 if (obj5) {
3112 arg6 = (long) SWIG_AsLong(obj5);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 if (obj6) {
3116 {
3117 arg7 = wxString_in_helper(obj6);
3118 if (arg7 == NULL) SWIG_fail;
3119 temp7 = True;
3120 }
3121 }
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 {
3130 resultobj = wxPyMake_wxObject(result);
3131 }
3132 {
3133 if (temp3)
3134 delete arg3;
3135 }
3136 {
3137 if (temp7)
3138 delete arg7;
3139 }
3140 return resultobj;
3141 fail:
3142 {
3143 if (temp3)
3144 delete arg3;
3145 }
3146 {
3147 if (temp7)
3148 delete arg7;
3149 }
3150 return NULL;
3151}
3152
3153
3154static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3155 PyObject *resultobj;
3156 wxFrame *result;
3157 char *kwnames[] = {
3158 NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 result = (wxFrame *)new wxFrame();
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 {
3170 resultobj = wxPyMake_wxObject(result);
3171 }
3172 return resultobj;
3173 fail:
3174 return NULL;
3175}
3176
3177
3178static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxFrame *arg1 = (wxFrame *) 0 ;
3181 wxWindow *arg2 = (wxWindow *) 0 ;
3182 int arg3 ;
3183 wxString *arg4 = 0 ;
3184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3186 wxSize const &arg6_defvalue = wxDefaultSize ;
3187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3188 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3189 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3190 wxString *arg8 = (wxString *) &arg8_defvalue ;
3191 bool result;
3192 bool temp4 = False ;
3193 wxPoint temp5 ;
3194 wxSize temp6 ;
3195 bool temp8 = False ;
3196 PyObject * obj0 = 0 ;
3197 PyObject * obj1 = 0 ;
3198 PyObject * obj2 = 0 ;
3199 PyObject * obj3 = 0 ;
3200 PyObject * obj4 = 0 ;
3201 PyObject * obj5 = 0 ;
3202 PyObject * obj6 = 0 ;
3203 PyObject * obj7 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3213 arg3 = (int const) SWIG_AsInt(obj2);
3214 if (PyErr_Occurred()) SWIG_fail;
3215 {
3216 arg4 = wxString_in_helper(obj3);
3217 if (arg4 == NULL) SWIG_fail;
3218 temp4 = True;
3219 }
3220 if (obj4) {
3221 {
3222 arg5 = &temp5;
3223 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3224 }
3225 }
3226 if (obj5) {
3227 {
3228 arg6 = &temp6;
3229 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3230 }
3231 }
3232 if (obj6) {
3233 arg7 = (long) SWIG_AsLong(obj6);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 if (obj7) {
3237 {
3238 arg8 = wxString_in_helper(obj7);
3239 if (arg8 == NULL) SWIG_fail;
3240 temp8 = True;
3241 }
3242 }
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 {
3251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3252 }
3253 {
3254 if (temp4)
3255 delete arg4;
3256 }
3257 {
3258 if (temp8)
3259 delete arg8;
3260 }
3261 return resultobj;
3262 fail:
3263 {
3264 if (temp4)
3265 delete arg4;
3266 }
3267 {
3268 if (temp8)
3269 delete arg8;
3270 }
3271 return NULL;
3272}
3273
3274
3275static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxFrame *arg1 = (wxFrame *) 0 ;
3278 wxPoint result;
3279 PyObject * obj0 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 {
3295 wxPoint * resultptr;
3296 resultptr = new wxPoint((wxPoint &) result);
3297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3298 }
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
3305static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxFrame *arg1 = (wxFrame *) 0 ;
3308 PyObject * obj0 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 (arg1)->SendSizeEvent();
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 Py_INCREF(Py_None); resultobj = Py_None;
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxFrame *arg1 = (wxFrame *) 0 ;
3333 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self",(char *) "menubar", NULL
3338 };
3339
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 (arg1)->SetMenuBar(arg2);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 Py_INCREF(Py_None); resultobj = Py_None;
3353 return resultobj;
3354 fail:
3355 return NULL;
3356}
3357
3358
3359static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject *resultobj;
3361 wxFrame *arg1 = (wxFrame *) 0 ;
3362 wxMenuBar *result;
3363 PyObject * obj0 = 0 ;
3364 char *kwnames[] = {
3365 (char *) "self", NULL
3366 };
3367
3368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 {
3379 resultobj = wxPyMake_wxObject(result);
3380 }
3381 return resultobj;
3382 fail:
3383 return NULL;
3384}
3385
3386
3387static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxFrame *arg1 = (wxFrame *) 0 ;
3390 int arg2 ;
3391 bool result;
3392 PyObject * obj0 = 0 ;
3393 PyObject * obj1 = 0 ;
3394 char *kwnames[] = {
3395 (char *) "self",(char *) "winid", NULL
3396 };
3397
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3401 arg2 = (int) SWIG_AsInt(obj1);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (bool)(arg1)->ProcessCommand(arg2);
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 {
3411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3412 }
3413 return resultobj;
3414 fail:
3415 return NULL;
3416}
3417
3418
3419static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3420 PyObject *resultobj;
3421 wxFrame *arg1 = (wxFrame *) 0 ;
3422 int arg2 = (int) 1 ;
3423 long arg3 = (long) wxST_SIZEGRIP ;
3424 int arg4 = (int) 0 ;
3425 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3426 wxString *arg5 = (wxString *) &arg5_defvalue ;
3427 wxStatusBar *result;
3428 bool temp5 = False ;
3429 PyObject * obj0 = 0 ;
3430 PyObject * obj1 = 0 ;
3431 PyObject * obj2 = 0 ;
3432 PyObject * obj3 = 0 ;
3433 PyObject * obj4 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3441 if (obj1) {
3442 arg2 = (int) SWIG_AsInt(obj1);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 if (obj2) {
3446 arg3 = (long) SWIG_AsLong(obj2);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 if (obj3) {
3450 arg4 = (int) SWIG_AsInt(obj3);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 if (obj4) {
3454 {
3455 arg5 = wxString_in_helper(obj4);
3456 if (arg5 == NULL) SWIG_fail;
3457 temp5 = True;
3458 }
3459 }
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 {
3468 resultobj = wxPyMake_wxObject(result);
3469 }
3470 {
3471 if (temp5)
3472 delete arg5;
3473 }
3474 return resultobj;
3475 fail:
3476 {
3477 if (temp5)
3478 delete arg5;
3479 }
3480 return NULL;
3481}
3482
3483
3484static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxFrame *arg1 = (wxFrame *) 0 ;
3487 wxStatusBar *result;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 {
3504 resultobj = wxPyMake_wxObject(result);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509}
3510
3511
3512static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxFrame *arg1 = (wxFrame *) 0 ;
3515 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3516 PyObject * obj0 = 0 ;
3517 PyObject * obj1 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "statBar", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 (arg1)->SetStatusBar(arg2);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
3535 return resultobj;
3536 fail:
3537 return NULL;
3538}
3539
3540
3541static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxFrame *arg1 = (wxFrame *) 0 ;
3544 wxString *arg2 = 0 ;
3545 int arg3 = (int) 0 ;
3546 bool temp2 = False ;
3547 PyObject * obj0 = 0 ;
3548 PyObject * obj1 = 0 ;
3549 PyObject * obj2 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self",(char *) "text",(char *) "number", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3557 {
3558 arg2 = wxString_in_helper(obj1);
3559 if (arg2 == NULL) SWIG_fail;
3560 temp2 = True;
3561 }
3562 if (obj2) {
3563 arg3 = (int) SWIG_AsInt(obj2);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 {
3567 PyThreadState* __tstate = wxPyBeginAllowThreads();
3568 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3569
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 Py_INCREF(Py_None); resultobj = Py_None;
3574 {
3575 if (temp2)
3576 delete arg2;
3577 }
3578 return resultobj;
3579 fail:
3580 {
3581 if (temp2)
3582 delete arg2;
3583 }
3584 return NULL;
3585}
3586
3587
3588static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject *resultobj;
3590 wxFrame *arg1 = (wxFrame *) 0 ;
3591 int arg2 ;
3592 int *arg3 = (int *) 0 ;
3593 PyObject * obj0 = 0 ;
3594 PyObject * obj1 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "widths", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3602 {
3603 arg2 = PyList_Size(obj1);
3604 arg3 = int_LIST_helper(obj1);
3605 if (arg3 == NULL) SWIG_fail;
3606 }
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 Py_INCREF(Py_None); resultobj = Py_None;
3615 {
3616 if (arg3) delete [] arg3;
3617 }
3618 return resultobj;
3619 fail:
3620 {
3621 if (arg3) delete [] arg3;
3622 }
3623 return NULL;
3624}
3625
3626
3627static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 wxString *arg2 = 0 ;
3631 int arg3 = (int) 0 ;
3632 bool temp2 = False ;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3635 PyObject * obj2 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "text",(char *) "number", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3643 {
3644 arg2 = wxString_in_helper(obj1);
3645 if (arg2 == NULL) SWIG_fail;
3646 temp2 = True;
3647 }
3648 if (obj2) {
3649 arg3 = (int) SWIG_AsInt(obj2);
3650 if (PyErr_Occurred()) SWIG_fail;
3651 }
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3655
3656 wxPyEndAllowThreads(__tstate);
3657 if (PyErr_Occurred()) SWIG_fail;
3658 }
3659 Py_INCREF(Py_None); resultobj = Py_None;
3660 {
3661 if (temp2)
3662 delete arg2;
3663 }
3664 return resultobj;
3665 fail:
3666 {
3667 if (temp2)
3668 delete arg2;
3669 }
3670 return NULL;
3671}
3672
3673
3674static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxFrame *arg1 = (wxFrame *) 0 ;
3677 int arg2 = (int) 0 ;
3678 PyObject * obj0 = 0 ;
3679 PyObject * obj1 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "number", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3687 if (obj1) {
3688 arg2 = (int) SWIG_AsInt(obj1);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 (arg1)->PopStatusText(arg2);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 Py_INCREF(Py_None); resultobj = Py_None;
3699 return resultobj;
3700 fail:
3701 return NULL;
3702}
3703
3704
3705static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxFrame *arg1 = (wxFrame *) 0 ;
3708 int arg2 ;
3709 PyObject * obj0 = 0 ;
3710 PyObject * obj1 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self",(char *) "n", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3718 arg2 = (int) SWIG_AsInt(obj1);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SetStatusBarPane(arg2);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
3734static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxFrame *arg1 = (wxFrame *) 0 ;
3737 int result;
3738 PyObject * obj0 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 resultobj = SWIG_FromInt((int)result);
3754 return resultobj;
3755 fail:
3756 return NULL;
3757}
3758
3759
3760static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj;
3762 wxFrame *arg1 = (wxFrame *) 0 ;
3763 long arg2 = (long) -1 ;
3764 int arg3 = (int) -1 ;
3765 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3766 wxString *arg4 = (wxString *) &arg4_defvalue ;
3767 wxToolBar *result;
3768 bool temp4 = False ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 PyObject * obj2 = 0 ;
3772 PyObject * obj3 = 0 ;
3773 char *kwnames[] = {
3774 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3775 };
3776
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3780 if (obj1) {
3781 arg2 = (long) SWIG_AsLong(obj1);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 if (obj2) {
3785 arg3 = (int) SWIG_AsInt(obj2);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
3788 if (obj3) {
3789 {
3790 arg4 = wxString_in_helper(obj3);
3791 if (arg4 == NULL) SWIG_fail;
3792 temp4 = True;
3793 }
3794 }
3795 {
3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
3797 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3798
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 {
3803 resultobj = wxPyMake_wxObject(result);
3804 }
3805 {
3806 if (temp4)
3807 delete arg4;
3808 }
3809 return resultobj;
3810 fail:
3811 {
3812 if (temp4)
3813 delete arg4;
3814 }
3815 return NULL;
3816}
3817
3818
3819static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxFrame *arg1 = (wxFrame *) 0 ;
3822 wxToolBar *result;
3823 PyObject * obj0 = 0 ;
3824 char *kwnames[] = {
3825 (char *) "self", NULL
3826 };
3827
3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 {
3839 resultobj = wxPyMake_wxObject(result);
3840 }
3841 return resultobj;
3842 fail:
3843 return NULL;
3844}
3845
3846
3847static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxFrame *arg1 = (wxFrame *) 0 ;
3850 wxToolBar *arg2 = (wxToolBar *) 0 ;
3851 PyObject * obj0 = 0 ;
3852 PyObject * obj1 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "self",(char *) "toolbar", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 (arg1)->SetToolBar(arg2);
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 Py_INCREF(Py_None); resultobj = Py_None;
3870 return resultobj;
3871 fail:
3872 return NULL;
3873}
3874
3875
3876static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj;
3878 wxFrame *arg1 = (wxFrame *) 0 ;
3879 wxString *arg2 = 0 ;
3880 bool arg3 ;
3881 bool temp2 = False ;
3882 PyObject * obj0 = 0 ;
3883 PyObject * obj1 = 0 ;
3884 PyObject * obj2 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self",(char *) "text",(char *) "show", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 {
3893 arg2 = wxString_in_helper(obj1);
3894 if (arg2 == NULL) SWIG_fail;
3895 temp2 = True;
3896 }
3897 arg3 = (bool) SWIG_AsBool(obj2);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 {
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 Py_INCREF(Py_None); resultobj = Py_None;
3907 {
3908 if (temp2)
3909 delete arg2;
3910 }
3911 return resultobj;
3912 fail:
3913 {
3914 if (temp2)
3915 delete arg2;
3916 }
3917 return NULL;
3918}
3919
3920
3921static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxFrame *arg1 = (wxFrame *) 0 ;
3924 wxMenu *arg2 = (wxMenu *) NULL ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "menu", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3934 if (obj1) {
3935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 (arg1)->DoMenuUpdates(arg2);
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 Py_INCREF(Py_None); resultobj = Py_None;
3946 return resultobj;
3947 fail:
3948 return NULL;
3949}
3950
3951
3952static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3953 PyObject *obj;
3954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3955 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3956 Py_INCREF(obj);
3957 return Py_BuildValue((char *)"");
3958}
3959static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxWindow *arg1 = (wxWindow *) 0 ;
3962 int arg2 ;
3963 wxString *arg3 = 0 ;
3964 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3965 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3966 wxSize const &arg5_defvalue = wxDefaultSize ;
3967 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3968 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3969 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3970 wxString *arg7 = (wxString *) &arg7_defvalue ;
3971 wxDialog *result;
3972 bool temp3 = False ;
3973 wxPoint temp4 ;
3974 wxSize temp5 ;
3975 bool temp7 = False ;
3976 PyObject * obj0 = 0 ;
3977 PyObject * obj1 = 0 ;
3978 PyObject * obj2 = 0 ;
3979 PyObject * obj3 = 0 ;
3980 PyObject * obj4 = 0 ;
3981 PyObject * obj5 = 0 ;
3982 PyObject * obj6 = 0 ;
3983 char *kwnames[] = {
3984 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3985 };
3986
3987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3990 arg2 = (int const) SWIG_AsInt(obj1);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 {
3993 arg3 = wxString_in_helper(obj2);
3994 if (arg3 == NULL) SWIG_fail;
3995 temp3 = True;
3996 }
3997 if (obj3) {
3998 {
3999 arg4 = &temp4;
4000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4001 }
4002 }
4003 if (obj4) {
4004 {
4005 arg5 = &temp5;
4006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4007 }
4008 }
4009 if (obj5) {
4010 arg6 = (long) SWIG_AsLong(obj5);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 if (obj6) {
4014 {
4015 arg7 = wxString_in_helper(obj6);
4016 if (arg7 == NULL) SWIG_fail;
4017 temp7 = True;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4028 {
4029 if (temp3)
4030 delete arg3;
4031 }
4032 {
4033 if (temp7)
4034 delete arg7;
4035 }
4036 return resultobj;
4037 fail:
4038 {
4039 if (temp3)
4040 delete arg3;
4041 }
4042 {
4043 if (temp7)
4044 delete arg7;
4045 }
4046 return NULL;
4047}
4048
4049
4050static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxDialog *result;
4053 char *kwnames[] = {
4054 NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 result = (wxDialog *)new wxDialog();
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4066 return resultobj;
4067 fail:
4068 return NULL;
4069}
4070
4071
4072static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxDialog *arg1 = (wxDialog *) 0 ;
4075 wxWindow *arg2 = (wxWindow *) 0 ;
4076 int arg3 ;
4077 wxString *arg4 = 0 ;
4078 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4079 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4080 wxSize const &arg6_defvalue = wxDefaultSize ;
4081 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4082 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4083 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4084 wxString *arg8 = (wxString *) &arg8_defvalue ;
4085 bool result;
4086 bool temp4 = False ;
4087 wxPoint temp5 ;
4088 wxSize temp6 ;
4089 bool temp8 = False ;
4090 PyObject * obj0 = 0 ;
4091 PyObject * obj1 = 0 ;
4092 PyObject * obj2 = 0 ;
4093 PyObject * obj3 = 0 ;
4094 PyObject * obj4 = 0 ;
4095 PyObject * obj5 = 0 ;
4096 PyObject * obj6 = 0 ;
4097 PyObject * obj7 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4107 arg3 = (int const) SWIG_AsInt(obj2);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 {
4110 arg4 = wxString_in_helper(obj3);
4111 if (arg4 == NULL) SWIG_fail;
4112 temp4 = True;
4113 }
4114 if (obj4) {
4115 {
4116 arg5 = &temp5;
4117 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4118 }
4119 }
4120 if (obj5) {
4121 {
4122 arg6 = &temp6;
4123 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4124 }
4125 }
4126 if (obj6) {
4127 arg7 = (long) SWIG_AsLong(obj6);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 if (obj7) {
4131 {
4132 arg8 = wxString_in_helper(obj7);
4133 if (arg8 == NULL) SWIG_fail;
4134 temp8 = True;
4135 }
4136 }
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 {
4145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4146 }
4147 {
4148 if (temp4)
4149 delete arg4;
4150 }
4151 {
4152 if (temp8)
4153 delete arg8;
4154 }
4155 return resultobj;
4156 fail:
4157 {
4158 if (temp4)
4159 delete arg4;
4160 }
4161 {
4162 if (temp8)
4163 delete arg8;
4164 }
4165 return NULL;
4166}
4167
4168
4169static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxDialog *arg1 = (wxDialog *) 0 ;
4172 int arg2 ;
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self",(char *) "returnCode", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 arg2 = (int) SWIG_AsInt(obj1);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 (arg1)->SetReturnCode(arg2);
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 return resultobj;
4193 fail:
4194 return NULL;
4195}
4196
4197
4198static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxDialog *arg1 = (wxDialog *) 0 ;
4201 int result;
4202 PyObject * obj0 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 resultobj = SWIG_FromInt((int)result);
4218 return resultobj;
4219 fail:
4220 return NULL;
4221}
4222
4223
4224static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxDialog *arg1 = (wxDialog *) 0 ;
4227 wxString *arg2 = 0 ;
4228 wxSizer *result;
4229 bool temp2 = False ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self",(char *) "message", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4239 {
4240 arg2 = wxString_in_helper(obj1);
4241 if (arg2 == NULL) SWIG_fail;
4242 temp2 = True;
4243 }
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
4251 {
4252 resultobj = wxPyMake_wxSizer(result);
4253 }
4254 {
4255 if (temp2)
4256 delete arg2;
4257 }
4258 return resultobj;
4259 fail:
4260 {
4261 if (temp2)
4262 delete arg2;
4263 }
4264 return NULL;
4265}
4266
4267
4268static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxDialog *arg1 = (wxDialog *) 0 ;
4271 long arg2 ;
4272 wxSizer *result;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 char *kwnames[] = {
4276 (char *) "self",(char *) "flags", NULL
4277 };
4278
4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4282 arg2 = (long) SWIG_AsLong(obj1);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 {
4292 resultobj = wxPyMake_wxSizer(result);
4293 }
4294 return resultobj;
4295 fail:
4296 return NULL;
4297}
4298
4299
4300static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxDialog *arg1 = (wxDialog *) 0 ;
4303 bool result;
4304 PyObject * obj0 = 0 ;
4305 char *kwnames[] = {
4306 (char *) "self", NULL
4307 };
4308
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = (bool)((wxDialog const *)arg1)->IsModal();
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 {
4320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325}
4326
4327
4328static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj;
4330 wxDialog *arg1 = (wxDialog *) 0 ;
4331 int result;
4332 PyObject * obj0 = 0 ;
4333 char *kwnames[] = {
4334 (char *) "self", NULL
4335 };
4336
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 result = (int)(arg1)->ShowModal();
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_FromInt((int)result);
4348 return resultobj;
4349 fail:
4350 return NULL;
4351}
4352
4353
4354static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj;
4356 wxDialog *arg1 = (wxDialog *) 0 ;
4357 int arg2 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 char *kwnames[] = {
4361 (char *) "self",(char *) "retCode", NULL
4362 };
4363
4364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4367 arg2 = (int) SWIG_AsInt(obj1);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 (arg1)->EndModal(arg2);
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 Py_INCREF(Py_None); resultobj = Py_None;
4377 return resultobj;
4378 fail:
4379 return NULL;
4380}
4381
4382
4383static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4384 PyObject *obj;
4385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4386 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4387 Py_INCREF(obj);
4388 return Py_BuildValue((char *)"");
4389}
4390static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxWindow *arg1 = (wxWindow *) 0 ;
4393 int arg2 ;
4394 wxString *arg3 = 0 ;
4395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4397 wxSize const &arg5_defvalue = wxDefaultSize ;
4398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4399 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4400 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4401 wxString *arg7 = (wxString *) &arg7_defvalue ;
4402 wxMiniFrame *result;
4403 bool temp3 = False ;
4404 wxPoint temp4 ;
4405 wxSize temp5 ;
4406 bool temp7 = False ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409 PyObject * obj2 = 0 ;
4410 PyObject * obj3 = 0 ;
4411 PyObject * obj4 = 0 ;
4412 PyObject * obj5 = 0 ;
4413 PyObject * obj6 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4421 arg2 = (int const) SWIG_AsInt(obj1);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 {
4424 arg3 = wxString_in_helper(obj2);
4425 if (arg3 == NULL) SWIG_fail;
4426 temp3 = True;
4427 }
4428 if (obj3) {
4429 {
4430 arg4 = &temp4;
4431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4432 }
4433 }
4434 if (obj4) {
4435 {
4436 arg5 = &temp5;
4437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4438 }
4439 }
4440 if (obj5) {
4441 arg6 = (long) SWIG_AsLong(obj5);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 if (obj6) {
4445 {
4446 arg7 = wxString_in_helper(obj6);
4447 if (arg7 == NULL) SWIG_fail;
4448 temp7 = True;
4449 }
4450 }
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4459 {
4460 if (temp3)
4461 delete arg3;
4462 }
4463 {
4464 if (temp7)
4465 delete arg7;
4466 }
4467 return resultobj;
4468 fail:
4469 {
4470 if (temp3)
4471 delete arg3;
4472 }
4473 {
4474 if (temp7)
4475 delete arg7;
4476 }
4477 return NULL;
4478}
4479
4480
4481static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4482 PyObject *resultobj;
4483 wxMiniFrame *result;
4484 char *kwnames[] = {
4485 NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (wxMiniFrame *)new wxMiniFrame();
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
4503static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4506 wxWindow *arg2 = (wxWindow *) 0 ;
4507 int arg3 ;
4508 wxString *arg4 = 0 ;
4509 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4510 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4511 wxSize const &arg6_defvalue = wxDefaultSize ;
4512 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4513 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4514 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4515 wxString *arg8 = (wxString *) &arg8_defvalue ;
4516 bool result;
4517 bool temp4 = False ;
4518 wxPoint temp5 ;
4519 wxSize temp6 ;
4520 bool temp8 = False ;
4521 PyObject * obj0 = 0 ;
4522 PyObject * obj1 = 0 ;
4523 PyObject * obj2 = 0 ;
4524 PyObject * obj3 = 0 ;
4525 PyObject * obj4 = 0 ;
4526 PyObject * obj5 = 0 ;
4527 PyObject * obj6 = 0 ;
4528 PyObject * obj7 = 0 ;
4529 char *kwnames[] = {
4530 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4538 arg3 = (int const) SWIG_AsInt(obj2);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 {
4541 arg4 = wxString_in_helper(obj3);
4542 if (arg4 == NULL) SWIG_fail;
4543 temp4 = True;
4544 }
4545 if (obj4) {
4546 {
4547 arg5 = &temp5;
4548 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4549 }
4550 }
4551 if (obj5) {
4552 {
4553 arg6 = &temp6;
4554 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4555 }
4556 }
4557 if (obj6) {
4558 arg7 = (long) SWIG_AsLong(obj6);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 if (obj7) {
4562 {
4563 arg8 = wxString_in_helper(obj7);
4564 if (arg8 == NULL) SWIG_fail;
4565 temp8 = True;
4566 }
4567 }
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 {
4576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4577 }
4578 {
4579 if (temp4)
4580 delete arg4;
4581 }
4582 {
4583 if (temp8)
4584 delete arg8;
4585 }
4586 return resultobj;
4587 fail:
4588 {
4589 if (temp4)
4590 delete arg4;
4591 }
4592 {
4593 if (temp8)
4594 delete arg8;
4595 }
4596 return NULL;
4597}
4598
4599
4600static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4601 PyObject *obj;
4602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4603 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4604 Py_INCREF(obj);
4605 return Py_BuildValue((char *)"");
4606}
4607static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxBitmap *arg1 = 0 ;
4610 wxWindow *arg2 = (wxWindow *) 0 ;
4611 int arg3 ;
4612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4614 wxSize const &arg5_defvalue = wxDefaultSize ;
4615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4616 long arg6 = (long) wxNO_BORDER ;
4617 wxSplashScreenWindow *result;
4618 wxPoint temp4 ;
4619 wxSize temp5 ;
4620 PyObject * obj0 = 0 ;
4621 PyObject * obj1 = 0 ;
4622 PyObject * obj2 = 0 ;
4623 PyObject * obj3 = 0 ;
4624 PyObject * obj4 = 0 ;
4625 PyObject * obj5 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4632 SWIG_POINTER_EXCEPTION | 0)) == -1)
4633 SWIG_fail;
4634 if (arg1 == NULL) {
4635 PyErr_SetString(PyExc_TypeError,"null reference");
4636 SWIG_fail;
4637 }
4638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4640 arg3 = (int) SWIG_AsInt(obj2);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 if (obj3) {
4643 {
4644 arg4 = &temp4;
4645 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4646 }
4647 }
4648 if (obj4) {
4649 {
4650 arg5 = &temp5;
4651 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4652 }
4653 }
4654 if (obj5) {
4655 arg6 = (long) SWIG_AsLong(obj5);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4666 return resultobj;
4667 fail:
4668 return NULL;
4669}
4670
4671
4672static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj;
4674 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4675 wxBitmap *arg2 = 0 ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "bitmap", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1)
4687 SWIG_fail;
4688 if (arg2 == NULL) {
4689 PyErr_SetString(PyExc_TypeError,"null reference");
4690 SWIG_fail;
4691 }
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 Py_INCREF(Py_None); resultobj = Py_None;
4700 return resultobj;
4701 fail:
4702 return NULL;
4703}
4704
4705
4706static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4709 wxBitmap *result;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 {
4721 wxBitmap &_result_ref = (arg1)->GetBitmap();
4722 result = (wxBitmap *) &_result_ref;
4723 }
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 {
4729 wxBitmap* resultptr = new wxBitmap(*result);
4730 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4731 }
4732 return resultobj;
4733 fail:
4734 return NULL;
4735}
4736
4737
4738static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4739 PyObject *obj;
4740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4742 Py_INCREF(obj);
4743 return Py_BuildValue((char *)"");
4744}
4745static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxBitmap *arg1 = 0 ;
4748 long arg2 ;
4749 int arg3 ;
4750 wxWindow *arg4 = (wxWindow *) 0 ;
4751 int arg5 ;
4752 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4753 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4754 wxSize const &arg7_defvalue = wxDefaultSize ;
4755 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4756 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4757 wxSplashScreen *result;
4758 wxPoint temp6 ;
4759 wxSize temp7 ;
4760 PyObject * obj0 = 0 ;
4761 PyObject * obj1 = 0 ;
4762 PyObject * obj2 = 0 ;
4763 PyObject * obj3 = 0 ;
4764 PyObject * obj4 = 0 ;
4765 PyObject * obj5 = 0 ;
4766 PyObject * obj6 = 0 ;
4767 PyObject * obj7 = 0 ;
4768 char *kwnames[] = {
4769 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4770 };
4771
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4774 SWIG_POINTER_EXCEPTION | 0)) == -1)
4775 SWIG_fail;
4776 if (arg1 == NULL) {
4777 PyErr_SetString(PyExc_TypeError,"null reference");
4778 SWIG_fail;
4779 }
4780 arg2 = (long) SWIG_AsLong(obj1);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 arg3 = (int) SWIG_AsInt(obj2);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4786 arg5 = (int) SWIG_AsInt(obj4);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 if (obj5) {
4789 {
4790 arg6 = &temp6;
4791 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4792 }
4793 }
4794 if (obj6) {
4795 {
4796 arg7 = &temp7;
4797 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4798 }
4799 }
4800 if (obj7) {
4801 arg8 = (long) SWIG_AsLong(obj7);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4812 return resultobj;
4813 fail:
4814 return NULL;
4815}
4816
4817
4818static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj;
4820 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4821 long result;
4822 PyObject * obj0 = 0 ;
4823 char *kwnames[] = {
4824 (char *) "self", NULL
4825 };
4826
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_FromLong((long)result);
4838 return resultobj;
4839 fail:
4840 return NULL;
4841}
4842
4843
4844static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4847 wxSplashScreenWindow *result;
4848 PyObject * obj0 = 0 ;
4849 char *kwnames[] = {
4850 (char *) "self", NULL
4851 };
4852
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
4870static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4873 int result;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 resultobj = SWIG_FromInt((int)result);
4890 return resultobj;
4891 fail:
4892 return NULL;
4893}
4894
4895
4896static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4897 PyObject *obj;
4898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4899 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4900 Py_INCREF(obj);
4901 return Py_BuildValue((char *)"");
4902}
4903static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxWindow *arg1 = (wxWindow *) 0 ;
4906 int arg2 = (int) -1 ;
4907 long arg3 = (long) wxST_SIZEGRIP ;
4908 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4909 wxString *arg4 = (wxString *) &arg4_defvalue ;
4910 wxStatusBar *result;
4911 bool temp4 = False ;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 PyObject * obj2 = 0 ;
4915 PyObject * obj3 = 0 ;
4916 char *kwnames[] = {
4917 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4918 };
4919
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4923 if (obj1) {
4924 arg2 = (int) SWIG_AsInt(obj1);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 if (obj2) {
4928 arg3 = (long) SWIG_AsLong(obj2);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 if (obj3) {
4932 {
4933 arg4 = wxString_in_helper(obj3);
4934 if (arg4 == NULL) SWIG_fail;
4935 temp4 = True;
4936 }
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 {
4946 resultobj = wxPyMake_wxObject(result);
4947 }
4948 {
4949 if (temp4)
4950 delete arg4;
4951 }
4952 return resultobj;
4953 fail:
4954 {
4955 if (temp4)
4956 delete arg4;
4957 }
4958 return NULL;
4959}
4960
4961
4962static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxStatusBar *result;
4965 char *kwnames[] = {
4966 NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 result = (wxStatusBar *)new wxStatusBar();
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 {
4978 resultobj = wxPyMake_wxObject(result);
4979 }
4980 return resultobj;
4981 fail:
4982 return NULL;
4983}
4984
4985
4986static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4989 wxWindow *arg2 = (wxWindow *) 0 ;
4990 int arg3 ;
4991 long arg4 = (long) wxST_SIZEGRIP ;
4992 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4993 wxString *arg5 = (wxString *) &arg5_defvalue ;
4994 bool result;
4995 bool temp5 = False ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 PyObject * obj3 = 0 ;
5000 PyObject * obj4 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5010 arg3 = (int) SWIG_AsInt(obj2);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 if (obj3) {
5013 arg4 = (long) SWIG_AsLong(obj3);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 if (obj4) {
5017 {
5018 arg5 = wxString_in_helper(obj4);
5019 if (arg5 == NULL) SWIG_fail;
5020 temp5 = True;
5021 }
5022 }
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 {
5031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5032 }
5033 {
5034 if (temp5)
5035 delete arg5;
5036 }
5037 return resultobj;
5038 fail:
5039 {
5040 if (temp5)
5041 delete arg5;
5042 }
5043 return NULL;
5044}
5045
5046
5047static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5048 PyObject *resultobj;
5049 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5050 int arg2 = (int) 1 ;
5051 PyObject * obj0 = 0 ;
5052 PyObject * obj1 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self",(char *) "number", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5060 if (obj1) {
5061 arg2 = (int) SWIG_AsInt(obj1);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 (arg1)->SetFieldsCount(arg2);
5067
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 Py_INCREF(Py_None); resultobj = Py_None;
5072 return resultobj;
5073 fail:
5074 return NULL;
5075}
5076
5077
5078static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj;
5080 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5081 int result;
5082 PyObject * obj0 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 resultobj = SWIG_FromInt((int)result);
5098 return resultobj;
5099 fail:
5100 return NULL;
5101}
5102
5103
5104static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5107 wxString *arg2 = 0 ;
5108 int arg3 = (int) 0 ;
5109 bool temp2 = False ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
5112 PyObject * obj2 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "text",(char *) "number", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5120 {
5121 arg2 = wxString_in_helper(obj1);
5122 if (arg2 == NULL) SWIG_fail;
5123 temp2 = True;
5124 }
5125 if (obj2) {
5126 arg3 = (int) SWIG_AsInt(obj2);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 Py_INCREF(Py_None); resultobj = Py_None;
5137 {
5138 if (temp2)
5139 delete arg2;
5140 }
5141 return resultobj;
5142 fail:
5143 {
5144 if (temp2)
5145 delete arg2;
5146 }
5147 return NULL;
5148}
5149
5150
5151static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject *resultobj;
5153 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5154 int arg2 = (int) 0 ;
5155 wxString result;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "number", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5165 if (obj1) {
5166 arg2 = (int) SWIG_AsInt(obj1);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 {
5177#if wxUSE_UNICODE
5178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5179#else
5180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5181#endif
5182 }
5183 return resultobj;
5184 fail:
5185 return NULL;
5186}
5187
5188
5189static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5192 wxString *arg2 = 0 ;
5193 int arg3 = (int) 0 ;
5194 bool temp2 = False ;
5195 PyObject * obj0 = 0 ;
5196 PyObject * obj1 = 0 ;
5197 PyObject * obj2 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "text",(char *) "number", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5205 {
5206 arg2 = wxString_in_helper(obj1);
5207 if (arg2 == NULL) SWIG_fail;
5208 temp2 = True;
5209 }
5210 if (obj2) {
5211 arg3 = (int) SWIG_AsInt(obj2);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 Py_INCREF(Py_None); resultobj = Py_None;
5222 {
5223 if (temp2)
5224 delete arg2;
5225 }
5226 return resultobj;
5227 fail:
5228 {
5229 if (temp2)
5230 delete arg2;
5231 }
5232 return NULL;
5233}
5234
5235
5236static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5239 int arg2 = (int) 0 ;
5240 PyObject * obj0 = 0 ;
5241 PyObject * obj1 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self",(char *) "number", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5249 if (obj1) {
5250 arg2 = (int) SWIG_AsInt(obj1);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 (arg1)->PopStatusText(arg2);
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 Py_INCREF(Py_None); resultobj = Py_None;
5261 return resultobj;
5262 fail:
5263 return NULL;
5264}
5265
5266
5267static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5270 int arg2 ;
5271 int *arg3 = (int *) 0 ;
5272 PyObject * obj0 = 0 ;
5273 PyObject * obj1 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self",(char *) "widths", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5281 {
5282 arg2 = PyList_Size(obj1);
5283 arg3 = int_LIST_helper(obj1);
5284 if (arg3 == NULL) SWIG_fail;
5285 }
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5289
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 Py_INCREF(Py_None); resultobj = Py_None;
5294 {
5295 if (arg3) delete [] arg3;
5296 }
5297 return resultobj;
5298 fail:
5299 {
5300 if (arg3) delete [] arg3;
5301 }
5302 return NULL;
5303}
5304
5305
5306static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5309 int arg2 ;
5310 wxRect result;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self",(char *) "i", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5320 arg2 = (int) SWIG_AsInt(obj1);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 result = wxStatusBar_GetFieldRect(arg1,arg2);
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 {
5330 wxRect * resultptr;
5331 resultptr = new wxRect((wxRect &) result);
5332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5333 }
5334 return resultobj;
5335 fail:
5336 return NULL;
5337}
5338
5339
5340static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5341 PyObject *resultobj;
5342 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5343 int arg2 ;
5344 PyObject * obj0 = 0 ;
5345 PyObject * obj1 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self",(char *) "height", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5353 arg2 = (int) SWIG_AsInt(obj1);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->SetMinHeight(arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366}
5367
5368
5369static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5372 int result;
5373 PyObject * obj0 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 resultobj = SWIG_FromInt((int)result);
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
5395static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5398 int result;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = SWIG_FromInt((int)result);
5415 return resultobj;
5416 fail:
5417 return NULL;
5418}
5419
5420
5421static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5422 PyObject *obj;
5423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5424 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5425 Py_INCREF(obj);
5426 return Py_BuildValue((char *)"");
5427}
5428static int _wrap_SplitterNameStr_set(PyObject *_val) {
5429 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5430 return 1;
5431}
5432
5433
5434static PyObject *_wrap_SplitterNameStr_get() {
5435 PyObject *pyobj;
5436
5437 {
5438#if wxUSE_UNICODE
5439 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5440#else
5441 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5442#endif
5443 }
5444 return pyobj;
5445}
5446
5447
5448static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxWindow *arg1 = (wxWindow *) 0 ;
5451 int arg2 = (int) -1 ;
5452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5454 wxSize const &arg4_defvalue = wxDefaultSize ;
5455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5456 long arg5 = (long) wxSP_3D ;
5457 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5458 wxString *arg6 = (wxString *) &arg6_defvalue ;
5459 wxSplitterWindow *result;
5460 wxPoint temp3 ;
5461 wxSize temp4 ;
5462 bool temp6 = False ;
5463 PyObject * obj0 = 0 ;
5464 PyObject * obj1 = 0 ;
5465 PyObject * obj2 = 0 ;
5466 PyObject * obj3 = 0 ;
5467 PyObject * obj4 = 0 ;
5468 PyObject * obj5 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5476 if (obj1) {
5477 arg2 = (int) SWIG_AsInt(obj1);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 if (obj2) {
5481 {
5482 arg3 = &temp3;
5483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5484 }
5485 }
5486 if (obj3) {
5487 {
5488 arg4 = &temp4;
5489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5490 }
5491 }
5492 if (obj4) {
5493 arg5 = (long) SWIG_AsLong(obj4);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 if (obj5) {
5497 {
5498 arg6 = wxString_in_helper(obj5);
5499 if (arg6 == NULL) SWIG_fail;
5500 temp6 = True;
5501 }
5502 }
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5511 {
5512 if (temp6)
5513 delete arg6;
5514 }
5515 return resultobj;
5516 fail:
5517 {
5518 if (temp6)
5519 delete arg6;
5520 }
5521 return NULL;
5522}
5523
5524
5525static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxSplitterWindow *result;
5528 char *kwnames[] = {
5529 NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = (wxSplitterWindow *)new wxSplitterWindow();
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5541 return resultobj;
5542 fail:
5543 return NULL;
5544}
5545
5546
5547static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj;
5549 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5550 wxWindow *arg2 = (wxWindow *) 0 ;
5551 int arg3 = (int) -1 ;
5552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5554 wxSize const &arg5_defvalue = wxDefaultSize ;
5555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5556 long arg6 = (long) wxSP_3D ;
5557 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5558 wxString *arg7 = (wxString *) &arg7_defvalue ;
5559 bool result;
5560 wxPoint temp4 ;
5561 wxSize temp5 ;
5562 bool temp7 = False ;
5563 PyObject * obj0 = 0 ;
5564 PyObject * obj1 = 0 ;
5565 PyObject * obj2 = 0 ;
5566 PyObject * obj3 = 0 ;
5567 PyObject * obj4 = 0 ;
5568 PyObject * obj5 = 0 ;
5569 PyObject * obj6 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5579 if (obj2) {
5580 arg3 = (int) SWIG_AsInt(obj2);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 if (obj3) {
5584 {
5585 arg4 = &temp4;
5586 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5587 }
5588 }
5589 if (obj4) {
5590 {
5591 arg5 = &temp5;
5592 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5593 }
5594 }
5595 if (obj5) {
5596 arg6 = (long) SWIG_AsLong(obj5);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 if (obj6) {
5600 {
5601 arg7 = wxString_in_helper(obj6);
5602 if (arg7 == NULL) SWIG_fail;
5603 temp7 = True;
5604 }
5605 }
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 {
5614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5615 }
5616 {
5617 if (temp7)
5618 delete arg7;
5619 }
5620 return resultobj;
5621 fail:
5622 {
5623 if (temp7)
5624 delete arg7;
5625 }
5626 return NULL;
5627}
5628
5629
5630static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5633 wxWindow *result;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 {
5650 resultobj = wxPyMake_wxObject(result);
5651 }
5652 return resultobj;
5653 fail:
5654 return NULL;
5655}
5656
5657
5658static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5661 wxWindow *result;
5662 PyObject * obj0 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 {
5678 resultobj = wxPyMake_wxObject(result);
5679 }
5680 return resultobj;
5681 fail:
5682 return NULL;
5683}
5684
5685
5686static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5689 int arg2 ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self",(char *) "mode", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5699 arg2 = (int) SWIG_AsInt(obj1);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->SetSplitMode(arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
5715static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5718 int result;
5719 PyObject * obj0 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5730
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 resultobj = SWIG_FromInt((int)result);
5735 return resultobj;
5736 fail:
5737 return NULL;
5738}
5739
5740
5741static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5744 wxWindow *arg2 = (wxWindow *) 0 ;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "window", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->Initialize(arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
5770static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5773 wxWindow *arg2 = (wxWindow *) 0 ;
5774 wxWindow *arg3 = (wxWindow *) 0 ;
5775 int arg4 = (int) 0 ;
5776 bool result;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 PyObject * obj2 = 0 ;
5780 PyObject * obj3 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5792 if (obj3) {
5793 arg4 = (int) SWIG_AsInt(obj3);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
5798 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5799
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 {
5804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5805 }
5806 return resultobj;
5807 fail:
5808 return NULL;
5809}
5810
5811
5812static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5815 wxWindow *arg2 = (wxWindow *) 0 ;
5816 wxWindow *arg3 = (wxWindow *) 0 ;
5817 int arg4 = (int) 0 ;
5818 bool result;
5819 PyObject * obj0 = 0 ;
5820 PyObject * obj1 = 0 ;
5821 PyObject * obj2 = 0 ;
5822 PyObject * obj3 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5832 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5834 if (obj3) {
5835 arg4 = (int) SWIG_AsInt(obj3);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 {
5846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5847 }
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
5854static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj;
5856 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5857 wxWindow *arg2 = (wxWindow *) NULL ;
5858 bool result;
5859 PyObject * obj0 = 0 ;
5860 PyObject * obj1 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self",(char *) "toRemove", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5868 if (obj1) {
5869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5871 }
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (bool)(arg1)->Unsplit(arg2);
5875
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 {
5880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5881 }
5882 return resultobj;
5883 fail:
5884 return NULL;
5885}
5886
5887
5888static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5891 wxWindow *arg2 = (wxWindow *) 0 ;
5892 wxWindow *arg3 = (wxWindow *) 0 ;
5893 bool result;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 PyObject * obj2 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 {
5916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5917 }
5918 return resultobj;
5919 fail:
5920 return NULL;
5921}
5922
5923
5924static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5925 PyObject *resultobj;
5926 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5927 PyObject * obj0 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 (arg1)->UpdateSize();
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 Py_INCREF(Py_None); resultobj = Py_None;
5943 return resultobj;
5944 fail:
5945 return NULL;
5946}
5947
5948
5949static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5952 bool result;
5953 PyObject * obj0 = 0 ;
5954 char *kwnames[] = {
5955 (char *) "self", NULL
5956 };
5957
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 {
5969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5970 }
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
5977static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5980 int arg2 ;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "width", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 arg2 = (int) SWIG_AsInt(obj1);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 (arg1)->SetSashSize(arg2);
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 Py_INCREF(Py_None); resultobj = Py_None;
6000 return resultobj;
6001 fail:
6002 return NULL;
6003}
6004
6005
6006static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6009 int arg2 ;
6010 PyObject * obj0 = 0 ;
6011 PyObject * obj1 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self",(char *) "width", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6019 arg2 = (int) SWIG_AsInt(obj1);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->SetBorderSize(arg2);
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 return resultobj;
6030 fail:
6031 return NULL;
6032}
6033
6034
6035static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6038 int result;
6039 PyObject * obj0 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 resultobj = SWIG_FromInt((int)result);
6055 return resultobj;
6056 fail:
6057 return NULL;
6058}
6059
6060
6061static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6062 PyObject *resultobj;
6063 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6064 int result;
6065 PyObject * obj0 = 0 ;
6066 char *kwnames[] = {
6067 (char *) "self", NULL
6068 };
6069
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 resultobj = SWIG_FromInt((int)result);
6081 return resultobj;
6082 fail:
6083 return NULL;
6084}
6085
6086
6087static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6090 int arg2 ;
6091 bool arg3 = (bool) True ;
6092 PyObject * obj0 = 0 ;
6093 PyObject * obj1 = 0 ;
6094 PyObject * obj2 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self",(char *) "position",(char *) "redraw", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6102 arg2 = (int) SWIG_AsInt(obj1);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 if (obj2) {
6105 arg3 = (bool) SWIG_AsBool(obj2);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 (arg1)->SetSashPosition(arg2,arg3);
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 Py_INCREF(Py_None); resultobj = Py_None;
6116 return resultobj;
6117 fail:
6118 return NULL;
6119}
6120
6121
6122static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6125 int result;
6126 PyObject * obj0 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = SWIG_FromInt((int)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145}
6146
6147
6148static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6151 int arg2 ;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self",(char *) "min", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6161 arg2 = (int) SWIG_AsInt(obj1);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetMinimumPaneSize(arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 return resultobj;
6172 fail:
6173 return NULL;
6174}
6175
6176
6177static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6180 int result;
6181 PyObject * obj0 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = SWIG_FromInt((int)result);
6197 return resultobj;
6198 fail:
6199 return NULL;
6200}
6201
6202
6203static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj;
6205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6206 int arg2 ;
6207 int arg3 ;
6208 int arg4 = (int) 5 ;
6209 bool result;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj1 = 0 ;
6212 PyObject * obj2 = 0 ;
6213 PyObject * obj3 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6221 arg2 = (int) SWIG_AsInt(obj1);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 arg3 = (int) SWIG_AsInt(obj2);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 if (obj3) {
6226 arg4 = (int) SWIG_AsInt(obj3);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6232
6233 wxPyEndAllowThreads(__tstate);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
6236 {
6237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6238 }
6239 return resultobj;
6240 fail:
6241 return NULL;
6242}
6243
6244
6245static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 (arg1)->SizeWindows();
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 Py_INCREF(Py_None); resultobj = Py_None;
6264 return resultobj;
6265 fail:
6266 return NULL;
6267}
6268
6269
6270static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6273 bool arg2 ;
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "needUpdating", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6283 arg2 = (bool) SWIG_AsBool(obj1);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 (arg1)->SetNeedUpdating(arg2);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 Py_INCREF(Py_None); resultobj = Py_None;
6293 return resultobj;
6294 fail:
6295 return NULL;
6296}
6297
6298
6299static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6302 bool result;
6303 PyObject * obj0 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "self", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6314
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6320 }
6321 return resultobj;
6322 fail:
6323 return NULL;
6324}
6325
6326
6327static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6328 PyObject *obj;
6329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6330 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6331 Py_INCREF(obj);
6332 return Py_BuildValue((char *)"");
6333}
6334static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6337 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6338 wxSplitterEvent *result;
6339 PyObject * obj0 = 0 ;
6340 PyObject * obj1 = 0 ;
6341 char *kwnames[] = {
6342 (char *) "type",(char *) "splitter", NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6346 if (obj0) {
6347 arg1 = (wxEventType) SWIG_AsInt(obj0);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 if (obj1) {
6351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6353 }
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6357
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6362 return resultobj;
6363 fail:
6364 return NULL;
6365}
6366
6367
6368static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj;
6370 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6371 int arg2 ;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "pos", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6381 arg2 = (int) SWIG_AsInt(obj1);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 (arg1)->SetSashPosition(arg2);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394}
6395
6396
6397static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6400 int result;
6401 PyObject * obj0 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6409 {
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6412
6413 wxPyEndAllowThreads(__tstate);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
6416 resultobj = SWIG_FromInt((int)result);
6417 return resultobj;
6418 fail:
6419 return NULL;
6420}
6421
6422
6423static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6426 wxWindow *result;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "self", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 {
6443 resultobj = wxPyMake_wxObject(result);
6444 }
6445 return resultobj;
6446 fail:
6447 return NULL;
6448}
6449
6450
6451static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj;
6453 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6454 int result;
6455 PyObject * obj0 = 0 ;
6456 char *kwnames[] = {
6457 (char *) "self", NULL
6458 };
6459
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6466
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 resultobj = SWIG_FromInt((int)result);
6471 return resultobj;
6472 fail:
6473 return NULL;
6474}
6475
6476
6477static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj;
6479 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6480 int result;
6481 PyObject * obj0 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "self", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 resultobj = SWIG_FromInt((int)result);
6497 return resultobj;
6498 fail:
6499 return NULL;
6500}
6501
6502
6503static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6504 PyObject *obj;
6505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6506 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6507 Py_INCREF(obj);
6508 return Py_BuildValue((char *)"");
6509}
6510static int _wrap_SashNameStr_set(PyObject *_val) {
6511 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6512 return 1;
6513}
6514
6515
6516static PyObject *_wrap_SashNameStr_get() {
6517 PyObject *pyobj;
6518
6519 {
6520#if wxUSE_UNICODE
6521 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6522#else
6523 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6524#endif
6525 }
6526 return pyobj;
6527}
6528
6529
6530static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6531 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6532 return 1;
6533}
6534
6535
6536static PyObject *_wrap_SashLayoutNameStr_get() {
6537 PyObject *pyobj;
6538
6539 {
6540#if wxUSE_UNICODE
6541 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6542#else
6543 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6544#endif
6545 }
6546 return pyobj;
6547}
6548
6549
6550static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxWindow *arg1 = (wxWindow *) 0 ;
6553 int arg2 ;
6554 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6555 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6556 wxSize const &arg4_defvalue = wxDefaultSize ;
6557 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6558 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6559 wxString const &arg6_defvalue = wxPySashNameStr ;
6560 wxString *arg6 = (wxString *) &arg6_defvalue ;
6561 wxSashWindow *result;
6562 wxPoint temp3 ;
6563 wxSize temp4 ;
6564 bool temp6 = False ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 PyObject * obj2 = 0 ;
6568 PyObject * obj3 = 0 ;
6569 PyObject * obj4 = 0 ;
6570 PyObject * obj5 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 arg2 = (int) SWIG_AsInt(obj1);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 if (obj2) {
6581 {
6582 arg3 = &temp3;
6583 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6584 }
6585 }
6586 if (obj3) {
6587 {
6588 arg4 = &temp4;
6589 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6590 }
6591 }
6592 if (obj4) {
6593 arg5 = (long) SWIG_AsLong(obj4);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 if (obj5) {
6597 {
6598 arg6 = wxString_in_helper(obj5);
6599 if (arg6 == NULL) SWIG_fail;
6600 temp6 = True;
6601 }
6602 }
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6611 {
6612 if (temp6)
6613 delete arg6;
6614 }
6615 return resultobj;
6616 fail:
6617 {
6618 if (temp6)
6619 delete arg6;
6620 }
6621 return NULL;
6622}
6623
6624
6625static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxSashWindow *result;
6628 char *kwnames[] = {
6629 NULL
6630 };
6631
6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 result = (wxSashWindow *)new wxSashWindow();
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6641 return resultobj;
6642 fail:
6643 return NULL;
6644}
6645
6646
6647static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6650 wxWindow *arg2 = (wxWindow *) 0 ;
6651 int arg3 ;
6652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6654 wxSize const &arg5_defvalue = wxDefaultSize ;
6655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6656 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6657 wxString const &arg7_defvalue = wxPySashNameStr ;
6658 wxString *arg7 = (wxString *) &arg7_defvalue ;
6659 bool result;
6660 wxPoint temp4 ;
6661 wxSize temp5 ;
6662 bool temp7 = False ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 PyObject * obj2 = 0 ;
6666 PyObject * obj3 = 0 ;
6667 PyObject * obj4 = 0 ;
6668 PyObject * obj5 = 0 ;
6669 PyObject * obj6 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6679 arg3 = (int) SWIG_AsInt(obj2);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 if (obj3) {
6682 {
6683 arg4 = &temp4;
6684 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6685 }
6686 }
6687 if (obj4) {
6688 {
6689 arg5 = &temp5;
6690 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6691 }
6692 }
6693 if (obj5) {
6694 arg6 = (long) SWIG_AsLong(obj5);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 if (obj6) {
6698 {
6699 arg7 = wxString_in_helper(obj6);
6700 if (arg7 == NULL) SWIG_fail;
6701 temp7 = True;
6702 }
6703 }
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 {
6712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6713 }
6714 {
6715 if (temp7)
6716 delete arg7;
6717 }
6718 return resultobj;
6719 fail:
6720 {
6721 if (temp7)
6722 delete arg7;
6723 }
6724 return NULL;
6725}
6726
6727
6728static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6731 int arg2 ;
6732 bool arg3 ;
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 PyObject * obj2 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self",(char *) "edge",(char *) "sash", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6743 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 arg3 = (bool) SWIG_AsBool(obj2);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 Py_INCREF(Py_None); resultobj = Py_None;
6755 return resultobj;
6756 fail:
6757 return NULL;
6758}
6759
6760
6761static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj;
6763 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6764 int arg2 ;
6765 bool result;
6766 PyObject * obj0 = 0 ;
6767 PyObject * obj1 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "edge", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6775 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 {
6785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6786 }
6787 return resultobj;
6788 fail:
6789 return NULL;
6790}
6791
6792
6793static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6796 int arg2 ;
6797 bool arg3 ;
6798 PyObject * obj0 = 0 ;
6799 PyObject * obj1 = 0 ;
6800 PyObject * obj2 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self",(char *) "edge",(char *) "border", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6808 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 arg3 = (bool) SWIG_AsBool(obj2);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 Py_INCREF(Py_None); resultobj = Py_None;
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
6826static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6829 int arg2 ;
6830 bool result;
6831 PyObject * obj0 = 0 ;
6832 PyObject * obj1 = 0 ;
6833 char *kwnames[] = {
6834 (char *) "self",(char *) "edge", NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6840 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 {
6850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6851 }
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
6858static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6861 int arg2 ;
6862 int result;
6863 PyObject * obj0 = 0 ;
6864 PyObject * obj1 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "edge", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6872 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 resultobj = SWIG_FromInt((int)result);
6882 return resultobj;
6883 fail:
6884 return NULL;
6885}
6886
6887
6888static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6891 int arg2 ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self",(char *) "width", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6901 arg2 = (int) SWIG_AsInt(obj1);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 (arg1)->SetDefaultBorderSize(arg2);
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 Py_INCREF(Py_None); resultobj = Py_None;
6911 return resultobj;
6912 fail:
6913 return NULL;
6914}
6915
6916
6917static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6920 int result;
6921 PyObject * obj0 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 resultobj = SWIG_FromInt((int)result);
6937 return resultobj;
6938 fail:
6939 return NULL;
6940}
6941
6942
6943static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6946 int arg2 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "width", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6956 arg2 = (int) SWIG_AsInt(obj1);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->SetExtraBorderSize(arg2);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 Py_INCREF(Py_None); resultobj = Py_None;
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
6972static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6975 int result;
6976 PyObject * obj0 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 resultobj = SWIG_FromInt((int)result);
6992 return resultobj;
6993 fail:
6994 return NULL;
6995}
6996
6997
6998static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7001 int arg2 ;
7002 PyObject * obj0 = 0 ;
7003 PyObject * obj1 = 0 ;
7004 char *kwnames[] = {
7005 (char *) "self",(char *) "min", NULL
7006 };
7007
7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7011 arg2 = (int) SWIG_AsInt(obj1);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 (arg1)->SetMinimumSizeX(arg2);
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 Py_INCREF(Py_None); resultobj = Py_None;
7021 return resultobj;
7022 fail:
7023 return NULL;
7024}
7025
7026
7027static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7030 int arg2 ;
7031 PyObject * obj0 = 0 ;
7032 PyObject * obj1 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "self",(char *) "min", NULL
7035 };
7036
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7040 arg2 = (int) SWIG_AsInt(obj1);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->SetMinimumSizeY(arg2);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 Py_INCREF(Py_None); resultobj = Py_None;
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
7056static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7059 int result;
7060 PyObject * obj0 = 0 ;
7061 char *kwnames[] = {
7062 (char *) "self", NULL
7063 };
7064
7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = SWIG_FromInt((int)result);
7076 return resultobj;
7077 fail:
7078 return NULL;
7079}
7080
7081
7082static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj;
7084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7085 int result;
7086 PyObject * obj0 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 resultobj = SWIG_FromInt((int)result);
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
7108static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7111 int arg2 ;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self",(char *) "max", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7121 arg2 = (int) SWIG_AsInt(obj1);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 (arg1)->SetMaximumSizeX(arg2);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 Py_INCREF(Py_None); resultobj = Py_None;
7131 return resultobj;
7132 fail:
7133 return NULL;
7134}
7135
7136
7137static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7140 int arg2 ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self",(char *) "max", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7150 arg2 = (int) SWIG_AsInt(obj1);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetMaximumSizeY(arg2);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 return resultobj;
7161 fail:
7162 return NULL;
7163}
7164
7165
7166static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7169 int result;
7170 PyObject * obj0 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "self", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 resultobj = SWIG_FromInt((int)result);
7186 return resultobj;
7187 fail:
7188 return NULL;
7189}
7190
7191
7192static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7195 int result;
7196 PyObject * obj0 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 resultobj = SWIG_FromInt((int)result);
7212 return resultobj;
7213 fail:
7214 return NULL;
7215}
7216
7217
7218static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7221 int arg2 ;
7222 int arg3 ;
7223 int arg4 = (int) 2 ;
7224 int result;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 PyObject * obj2 = 0 ;
7228 PyObject * obj3 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7236 arg2 = (int) SWIG_AsInt(obj1);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 arg3 = (int) SWIG_AsInt(obj2);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 if (obj3) {
7241 arg4 = (int) SWIG_AsInt(obj3);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 resultobj = SWIG_FromInt((int)result);
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
7258static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj;
7260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 (arg1)->SizeWindows();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 Py_INCREF(Py_None); resultobj = Py_None;
7277 return resultobj;
7278 fail:
7279 return NULL;
7280}
7281
7282
7283static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7284 PyObject *obj;
7285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7286 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7287 Py_INCREF(obj);
7288 return Py_BuildValue((char *)"");
7289}
7290static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 int arg1 = (int) 0 ;
7293 int arg2 = (int) wxSASH_NONE ;
7294 wxSashEvent *result;
7295 PyObject * obj0 = 0 ;
7296 PyObject * obj1 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "id",(char *) "edge", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7302 if (obj0) {
7303 arg1 = (int) SWIG_AsInt(obj0);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 if (obj1) {
7307 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7318 return resultobj;
7319 fail:
7320 return NULL;
7321}
7322
7323
7324static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7327 int arg2 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "edge", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 Py_INCREF(Py_None); resultobj = Py_None;
7347 return resultobj;
7348 fail:
7349 return NULL;
7350}
7351
7352
7353static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7356 int result;
7357 PyObject * obj0 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7368
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 resultobj = SWIG_FromInt((int)result);
7373 return resultobj;
7374 fail:
7375 return NULL;
7376}
7377
7378
7379static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7382 wxRect *arg2 = 0 ;
7383 wxRect temp2 ;
7384 PyObject * obj0 = 0 ;
7385 PyObject * obj1 = 0 ;
7386 char *kwnames[] = {
7387 (char *) "self",(char *) "rect", NULL
7388 };
7389
7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7393 {
7394 arg2 = &temp2;
7395 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7396 }
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->SetDragRect((wxRect const &)*arg2);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408}
7409
7410
7411static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7414 wxRect result;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 result = ((wxSashEvent const *)arg1)->GetDragRect();
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 {
7431 wxRect * resultptr;
7432 resultptr = new wxRect((wxRect &) result);
7433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7434 }
7435 return resultobj;
7436 fail:
7437 return NULL;
7438}
7439
7440
7441static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7444 int arg2 ;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "status", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7454 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 Py_INCREF(Py_None); resultobj = Py_None;
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
7470static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7473 int result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = SWIG_FromInt((int)result);
7490 return resultobj;
7491 fail:
7492 return NULL;
7493}
7494
7495
7496static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7497 PyObject *obj;
7498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7499 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7500 Py_INCREF(obj);
7501 return Py_BuildValue((char *)"");
7502}
7503static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 int arg1 = (int) 0 ;
7506 wxQueryLayoutInfoEvent *result;
7507 PyObject * obj0 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "id", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7513 if (obj0) {
7514 arg1 = (int) SWIG_AsInt(obj0);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7525 return resultobj;
7526 fail:
7527 return NULL;
7528}
7529
7530
7531static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7534 int arg2 ;
7535 PyObject * obj0 = 0 ;
7536 PyObject * obj1 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self",(char *) "length", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7544 arg2 = (int) SWIG_AsInt(obj1);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 (arg1)->SetRequestedLength(arg2);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 Py_INCREF(Py_None); resultobj = Py_None;
7554 return resultobj;
7555 fail:
7556 return NULL;
7557}
7558
7559
7560static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7563 int result;
7564 PyObject * obj0 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 resultobj = SWIG_FromInt((int)result);
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
7586static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7589 int arg2 ;
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj1 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self",(char *) "flags", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7599 arg2 = (int) SWIG_AsInt(obj1);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetFlags(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
7615static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 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:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_FromInt((int)result);
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
7641static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7644 wxSize *arg2 = 0 ;
7645 wxSize temp2 ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self",(char *) "size", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7655 {
7656 arg2 = &temp2;
7657 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetSize((wxSize const &)*arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 return resultobj;
7668 fail:
7669 return NULL;
7670}
7671
7672
7673static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7676 wxSize result;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 {
7693 wxSize * resultptr;
7694 resultptr = new wxSize((wxSize &) result);
7695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7696 }
7697 return resultobj;
7698 fail:
7699 return NULL;
7700}
7701
7702
7703static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7706 int arg2 ;
7707 PyObject * obj0 = 0 ;
7708 PyObject * obj1 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self",(char *) "orient", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
7720 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7721
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 Py_INCREF(Py_None); resultobj = Py_None;
7726 return resultobj;
7727 fail:
7728 return NULL;
7729}
7730
7731
7732static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7733 PyObject *resultobj;
7734 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7735 int result;
7736 PyObject * obj0 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_FromInt((int)result);
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
7758static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7761 int arg2 ;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "align", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 Py_INCREF(Py_None); resultobj = Py_None;
7781 return resultobj;
7782 fail:
7783 return NULL;
7784}
7785
7786
7787static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj;
7789 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7790 int result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 resultobj = SWIG_FromInt((int)result);
7807 return resultobj;
7808 fail:
7809 return NULL;
7810}
7811
7812
7813static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7814 PyObject *obj;
7815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7816 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7817 Py_INCREF(obj);
7818 return Py_BuildValue((char *)"");
7819}
7820static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 int arg1 = (int) 0 ;
7823 wxCalculateLayoutEvent *result;
7824 PyObject * obj0 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "id", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7830 if (obj0) {
7831 arg1 = (int) SWIG_AsInt(obj0);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7842 return resultobj;
7843 fail:
7844 return NULL;
7845}
7846
7847
7848static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7851 int arg2 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self",(char *) "flags", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7861 arg2 = (int) SWIG_AsInt(obj1);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->SetFlags(arg2);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874}
7875
7876
7877static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7880 int result;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = SWIG_FromInt((int)result);
7897 return resultobj;
7898 fail:
7899 return NULL;
7900}
7901
7902
7903static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7906 wxRect *arg2 = 0 ;
7907 wxRect temp2 ;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self",(char *) "rect", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7917 {
7918 arg2 = &temp2;
7919 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->SetRect((wxRect const &)*arg2);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 return resultobj;
7930 fail:
7931 return NULL;
7932}
7933
7934
7935static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7938 wxRect result;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 wxRect * resultptr;
7956 resultptr = new wxRect((wxRect &) result);
7957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962}
7963
7964
7965static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7966 PyObject *obj;
7967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7968 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7969 Py_INCREF(obj);
7970 return Py_BuildValue((char *)"");
7971}
7972static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxWindow *arg1 = (wxWindow *) 0 ;
7975 int arg2 ;
7976 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7977 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7978 wxSize const &arg4_defvalue = wxDefaultSize ;
7979 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7980 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7981 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7982 wxString *arg6 = (wxString *) &arg6_defvalue ;
7983 wxSashLayoutWindow *result;
7984 wxPoint temp3 ;
7985 wxSize temp4 ;
7986 bool temp6 = False ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 PyObject * obj2 = 0 ;
7990 PyObject * obj3 = 0 ;
7991 PyObject * obj4 = 0 ;
7992 PyObject * obj5 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8000 arg2 = (int) SWIG_AsInt(obj1);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 if (obj2) {
8003 {
8004 arg3 = &temp3;
8005 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8006 }
8007 }
8008 if (obj3) {
8009 {
8010 arg4 = &temp4;
8011 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8012 }
8013 }
8014 if (obj4) {
8015 arg5 = (long) SWIG_AsLong(obj4);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 if (obj5) {
8019 {
8020 arg6 = wxString_in_helper(obj5);
8021 if (arg6 == NULL) SWIG_fail;
8022 temp6 = True;
8023 }
8024 }
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8033 {
8034 if (temp6)
8035 delete arg6;
8036 }
8037 return resultobj;
8038 fail:
8039 {
8040 if (temp6)
8041 delete arg6;
8042 }
8043 return NULL;
8044}
8045
8046
8047static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxSashLayoutWindow *result;
8050 char *kwnames[] = {
8051 NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
8069static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8072 wxWindow *arg2 = (wxWindow *) 0 ;
8073 int arg3 ;
8074 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8075 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8076 wxSize const &arg5_defvalue = wxDefaultSize ;
8077 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8078 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8079 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8080 wxString *arg7 = (wxString *) &arg7_defvalue ;
8081 bool result;
8082 wxPoint temp4 ;
8083 wxSize temp5 ;
8084 bool temp7 = False ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 PyObject * obj2 = 0 ;
8088 PyObject * obj3 = 0 ;
8089 PyObject * obj4 = 0 ;
8090 PyObject * obj5 = 0 ;
8091 PyObject * obj6 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 arg3 = (int) SWIG_AsInt(obj2);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 if (obj3) {
8104 {
8105 arg4 = &temp4;
8106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8107 }
8108 }
8109 if (obj4) {
8110 {
8111 arg5 = &temp5;
8112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8113 }
8114 }
8115 if (obj5) {
8116 arg6 = (long) SWIG_AsLong(obj5);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 if (obj6) {
8120 {
8121 arg7 = wxString_in_helper(obj6);
8122 if (arg7 == NULL) SWIG_fail;
8123 temp7 = True;
8124 }
8125 }
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 {
8134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8135 }
8136 {
8137 if (temp7)
8138 delete arg7;
8139 }
8140 return resultobj;
8141 fail:
8142 {
8143 if (temp7)
8144 delete arg7;
8145 }
8146 return NULL;
8147}
8148
8149
8150static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8153 int result;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (int)(arg1)->GetAlignment();
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_FromInt((int)result);
8170 return resultobj;
8171 fail:
8172 return NULL;
8173}
8174
8175
8176static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8179 int result;
8180 PyObject * obj0 = 0 ;
8181 char *kwnames[] = {
8182 (char *) "self", NULL
8183 };
8184
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (int)(arg1)->GetOrientation();
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 resultobj = SWIG_FromInt((int)result);
8196 return resultobj;
8197 fail:
8198 return NULL;
8199}
8200
8201
8202static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8205 int arg2 ;
8206 PyObject * obj0 = 0 ;
8207 PyObject * obj1 = 0 ;
8208 char *kwnames[] = {
8209 (char *) "self",(char *) "alignment", NULL
8210 };
8211
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8215 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 return resultobj;
8226 fail:
8227 return NULL;
8228}
8229
8230
8231static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8234 wxSize *arg2 = 0 ;
8235 wxSize temp2 ;
8236 PyObject * obj0 = 0 ;
8237 PyObject * obj1 = 0 ;
8238 char *kwnames[] = {
8239 (char *) "self",(char *) "size", NULL
8240 };
8241
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8245 {
8246 arg2 = &temp2;
8247 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 Py_INCREF(Py_None); resultobj = Py_None;
8257 return resultobj;
8258 fail:
8259 return NULL;
8260}
8261
8262
8263static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8266 int arg2 ;
8267 PyObject * obj0 = 0 ;
8268 PyObject * obj1 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self",(char *) "orientation", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8276 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 Py_INCREF(Py_None); resultobj = Py_None;
8286 return resultobj;
8287 fail:
8288 return NULL;
8289}
8290
8291
8292static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8293 PyObject *obj;
8294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8295 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8296 Py_INCREF(obj);
8297 return Py_BuildValue((char *)"");
8298}
8299static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxLayoutAlgorithm *result;
8302 char *kwnames[] = {
8303 NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8307 {
8308 PyThreadState* __tstate = wxPyBeginAllowThreads();
8309 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8310
8311 wxPyEndAllowThreads(__tstate);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 }
8314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8315 return resultobj;
8316 fail:
8317 return NULL;
8318}
8319
8320
8321static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject *resultobj;
8323 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 delete arg1;
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
8346static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8349 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8350 wxRect *arg3 = (wxRect *) NULL ;
8351 bool result;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 PyObject * obj2 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self",(char *) "frame",(char *) "rect", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 if (obj2) {
8365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 {
8376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8377 }
8378 return resultobj;
8379 fail:
8380 return NULL;
8381}
8382
8383
8384static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj;
8386 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8387 wxFrame *arg2 = (wxFrame *) 0 ;
8388 wxWindow *arg3 = (wxWindow *) NULL ;
8389 bool result;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 PyObject * obj2 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8395 };
8396
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8402 if (obj2) {
8403 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 {
8414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8415 }
8416 return resultobj;
8417 fail:
8418 return NULL;
8419}
8420
8421
8422static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8425 wxWindow *arg2 = (wxWindow *) 0 ;
8426 wxWindow *arg3 = (wxWindow *) NULL ;
8427 bool result;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 PyObject * obj2 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8440 if (obj2) {
8441 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8443 }
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 {
8452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8453 }
8454 return resultobj;
8455 fail:
8456 return NULL;
8457}
8458
8459
8460static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8461 PyObject *obj;
8462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8463 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8464 Py_INCREF(obj);
8465 return Py_BuildValue((char *)"");
8466}
8467static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8468 PyObject *resultobj;
8469 wxWindow *arg1 = (wxWindow *) 0 ;
8470 int arg2 = (int) wxBORDER_NONE ;
8471 wxPopupWindow *result;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 char *kwnames[] = {
8475 (char *) "parent",(char *) "flags", NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8481 if (obj1) {
8482 arg2 = (int) SWIG_AsInt(obj1);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8493 return resultobj;
8494 fail:
8495 return NULL;
8496}
8497
8498
8499static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject *resultobj;
8501 wxPopupWindow *result;
8502 char *kwnames[] = {
8503 NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxPopupWindow *)new wxPopupWindow();
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8515 return resultobj;
8516 fail:
8517 return NULL;
8518}
8519
8520
8521static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8522 PyObject *obj;
8523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8524 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8525 Py_INCREF(obj);
8526 return Py_BuildValue((char *)"");
8527}
8528static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxWindow *arg1 = (wxWindow *) 0 ;
8531 int arg2 = (int) wxBORDER_NONE ;
8532 wxPyPopupTransientWindow *result;
8533 PyObject * obj0 = 0 ;
8534 PyObject * obj1 = 0 ;
8535 char *kwnames[] = {
8536 (char *) "parent",(char *) "style", NULL
8537 };
8538
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8542 if (obj1) {
8543 arg2 = (int) SWIG_AsInt(obj1);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8549
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8554 return resultobj;
8555 fail:
8556 return NULL;
8557}
8558
8559
8560static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8561 PyObject *resultobj;
8562 wxPyPopupTransientWindow *result;
8563 char *kwnames[] = {
8564 NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8576 return resultobj;
8577 fail:
8578 return NULL;
8579}
8580
8581
8582static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8583 PyObject *obj;
8584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8585 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8586 Py_INCREF(obj);
8587 return Py_BuildValue((char *)"");
8588}
8589static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxWindow *arg1 = (wxWindow *) 0 ;
8592 wxString *arg2 = 0 ;
8593 int arg3 = (int) 100 ;
8594 wxRect *arg4 = (wxRect *) NULL ;
8595 wxTipWindow *result;
8596 bool temp2 = False ;
8597 PyObject * obj0 = 0 ;
8598 PyObject * obj1 = 0 ;
8599 PyObject * obj2 = 0 ;
8600 PyObject * obj3 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8608 {
8609 arg2 = wxString_in_helper(obj1);
8610 if (arg2 == NULL) SWIG_fail;
8611 temp2 = True;
8612 }
8613 if (obj2) {
8614 arg3 = (int) SWIG_AsInt(obj2);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 if (obj3) {
8618 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8620 }
8621 {
8622 PyThreadState* __tstate = wxPyBeginAllowThreads();
8623 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8624
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8629 {
8630 if (temp2)
8631 delete arg2;
8632 }
8633 return resultobj;
8634 fail:
8635 {
8636 if (temp2)
8637 delete arg2;
8638 }
8639 return NULL;
8640}
8641
8642
8643static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj;
8645 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8646 wxRect *arg2 = 0 ;
8647 wxRect temp2 ;
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self",(char *) "rectBound", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8657 {
8658 arg2 = &temp2;
8659 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8660 }
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 Py_INCREF(Py_None); resultobj = Py_None;
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
8675static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 (arg1)->Close();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697}
8698
8699
8700static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8701 PyObject *obj;
8702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8703 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8704 Py_INCREF(obj);
8705 return Py_BuildValue((char *)"");
8706}
8707static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxWindow *arg1 = (wxWindow *) 0 ;
8710 int arg2 = (int) wxID_ANY ;
8711 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8712 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8713 wxSize const &arg4_defvalue = wxDefaultSize ;
8714 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8715 long arg5 = (long) 0 ;
8716 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8717 wxString *arg6 = (wxString *) &arg6_defvalue ;
8718 wxPyVScrolledWindow *result;
8719 wxPoint temp3 ;
8720 wxSize temp4 ;
8721 bool temp6 = False ;
8722 PyObject * obj0 = 0 ;
8723 PyObject * obj1 = 0 ;
8724 PyObject * obj2 = 0 ;
8725 PyObject * obj3 = 0 ;
8726 PyObject * obj4 = 0 ;
8727 PyObject * obj5 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8735 if (obj1) {
8736 arg2 = (int) SWIG_AsInt(obj1);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 if (obj2) {
8740 {
8741 arg3 = &temp3;
8742 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8743 }
8744 }
8745 if (obj3) {
8746 {
8747 arg4 = &temp4;
8748 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8749 }
8750 }
8751 if (obj4) {
8752 arg5 = (long) SWIG_AsLong(obj4);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 if (obj5) {
8756 {
8757 arg6 = wxString_in_helper(obj5);
8758 if (arg6 == NULL) SWIG_fail;
8759 temp6 = True;
8760 }
8761 }
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8770 {
8771 if (temp6)
8772 delete arg6;
8773 }
8774 return resultobj;
8775 fail:
8776 {
8777 if (temp6)
8778 delete arg6;
8779 }
8780 return NULL;
8781}
8782
8783
8784static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxPyVScrolledWindow *result;
8787 char *kwnames[] = {
8788 NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8792 {
8793 PyThreadState* __tstate = wxPyBeginAllowThreads();
8794 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8795
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8800 return resultobj;
8801 fail:
8802 return NULL;
8803}
8804
8805
8806static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj;
8808 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8809 PyObject *arg2 = (PyObject *) 0 ;
8810 PyObject *arg3 = (PyObject *) 0 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 PyObject * obj2 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self",(char *) "self",(char *) "_class", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8821 arg2 = obj1;
8822 arg3 = obj2;
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->_setCallbackInfo(arg2,arg3);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834}
8835
8836
8837static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8840 wxWindow *arg2 = (wxWindow *) 0 ;
8841 int arg3 = (int) wxID_ANY ;
8842 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8843 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8844 wxSize const &arg5_defvalue = wxDefaultSize ;
8845 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8846 long arg6 = (long) 0 ;
8847 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8848 wxString *arg7 = (wxString *) &arg7_defvalue ;
8849 bool result;
8850 wxPoint temp4 ;
8851 wxSize temp5 ;
8852 bool temp7 = False ;
8853 PyObject * obj0 = 0 ;
8854 PyObject * obj1 = 0 ;
8855 PyObject * obj2 = 0 ;
8856 PyObject * obj3 = 0 ;
8857 PyObject * obj4 = 0 ;
8858 PyObject * obj5 = 0 ;
8859 PyObject * obj6 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8869 if (obj2) {
8870 arg3 = (int) SWIG_AsInt(obj2);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 if (obj3) {
8874 {
8875 arg4 = &temp4;
8876 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8877 }
8878 }
8879 if (obj4) {
8880 {
8881 arg5 = &temp5;
8882 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8883 }
8884 }
8885 if (obj5) {
8886 arg6 = (long) SWIG_AsLong(obj5);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 if (obj6) {
8890 {
8891 arg7 = wxString_in_helper(obj6);
8892 if (arg7 == NULL) SWIG_fail;
8893 temp7 = True;
8894 }
8895 }
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 {
8904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8905 }
8906 {
8907 if (temp7)
8908 delete arg7;
8909 }
8910 return resultobj;
8911 fail:
8912 {
8913 if (temp7)
8914 delete arg7;
8915 }
8916 return NULL;
8917}
8918
8919
8920static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8923 size_t arg2 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "count", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8933 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetLineCount(arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8952 size_t arg2 ;
8953 bool result;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "line", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8963 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 result = (bool)(arg1)->ScrollToLine(arg2);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 {
8973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8974 }
8975 return resultobj;
8976 fail:
8977 return NULL;
8978}
8979
8980
8981static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8982 PyObject *resultobj;
8983 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8984 int arg2 ;
8985 bool result;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "lines", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8995 arg2 = (int) SWIG_AsInt(obj1);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 result = (bool)(arg1)->ScrollLines(arg2);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 {
9005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9006 }
9007 return resultobj;
9008 fail:
9009 return NULL;
9010}
9011
9012
9013static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9016 int arg2 ;
9017 bool result;
9018 PyObject * obj0 = 0 ;
9019 PyObject * obj1 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self",(char *) "pages", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9027 arg2 = (int) SWIG_AsInt(obj1);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = (bool)(arg1)->ScrollPages(arg2);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
9037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9038 }
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9048 size_t arg2 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "line", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 (arg1)->RefreshLine(arg2);
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 Py_INCREF(Py_None); resultobj = Py_None;
9068 return resultobj;
9069 fail:
9070 return NULL;
9071}
9072
9073
9074static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9077 size_t arg2 ;
9078 size_t arg3 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj2 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "from",(char *) "to", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9089 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 (arg1)->RefreshLines(arg2,arg3);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 Py_INCREF(Py_None); resultobj = Py_None;
9101 return resultobj;
9102 fail:
9103 return NULL;
9104}
9105
9106
9107static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9110 int arg2 ;
9111 int arg3 ;
9112 int result;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
9115 PyObject * obj2 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "x",(char *) "y", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 arg2 = (int) SWIG_AsInt(obj1);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 arg3 = (int) SWIG_AsInt(obj2);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_FromInt((int)result);
9135 return resultobj;
9136 fail:
9137 return NULL;
9138}
9139
9140
9141static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9144 wxPoint *arg2 = 0 ;
9145 int result;
9146 wxPoint temp2 ;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj1 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self",(char *) "pt", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9156 {
9157 arg2 = &temp2;
9158 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9159 }
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 resultobj = SWIG_FromInt((int)result);
9168 return resultobj;
9169 fail:
9170 return NULL;
9171}
9172
9173
9174static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 (arg1)->RefreshAll();
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 Py_INCREF(Py_None); resultobj = Py_None;
9193 return resultobj;
9194 fail:
9195 return NULL;
9196}
9197
9198
9199static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9202 size_t result;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9219 return resultobj;
9220 fail:
9221 return NULL;
9222}
9223
9224
9225static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9228 size_t result;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9245 return resultobj;
9246 fail:
9247 return NULL;
9248}
9249
9250
9251static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9254 size_t result;
9255 PyObject * obj0 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "self", NULL
9258 };
9259
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9271 return resultobj;
9272 fail:
9273 return NULL;
9274}
9275
9276
9277static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9280 size_t arg2 ;
9281 bool result;
9282 PyObject * obj0 = 0 ;
9283 PyObject * obj1 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self",(char *) "line", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9291 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 {
9301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9302 }
9303 return resultobj;
9304 fail:
9305 return NULL;
9306}
9307
9308
9309static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9310 PyObject *obj;
9311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9312 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9313 Py_INCREF(obj);
9314 return Py_BuildValue((char *)"");
9315}
9316static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9317 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9318 return 1;
9319}
9320
9321
9322static PyObject *_wrap_VListBoxNameStr_get() {
9323 PyObject *pyobj;
9324
9325 {
9326#if wxUSE_UNICODE
9327 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9328#else
9329 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9330#endif
9331 }
9332 return pyobj;
9333}
9334
9335
9336static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxWindow *arg1 = (wxWindow *) 0 ;
9339 int arg2 = (int) wxID_ANY ;
9340 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9341 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9342 wxSize const &arg4_defvalue = wxDefaultSize ;
9343 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9344 long arg5 = (long) 0 ;
9345 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9346 wxString *arg6 = (wxString *) &arg6_defvalue ;
9347 wxPyVListBox *result;
9348 wxPoint temp3 ;
9349 wxSize temp4 ;
9350 bool temp6 = False ;
9351 PyObject * obj0 = 0 ;
9352 PyObject * obj1 = 0 ;
9353 PyObject * obj2 = 0 ;
9354 PyObject * obj3 = 0 ;
9355 PyObject * obj4 = 0 ;
9356 PyObject * obj5 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9364 if (obj1) {
9365 arg2 = (int) SWIG_AsInt(obj1);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 if (obj2) {
9369 {
9370 arg3 = &temp3;
9371 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9372 }
9373 }
9374 if (obj3) {
9375 {
9376 arg4 = &temp4;
9377 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9378 }
9379 }
9380 if (obj4) {
9381 arg5 = (long) SWIG_AsLong(obj4);
9382 if (PyErr_Occurred()) SWIG_fail;
9383 }
9384 if (obj5) {
9385 {
9386 arg6 = wxString_in_helper(obj5);
9387 if (arg6 == NULL) SWIG_fail;
9388 temp6 = True;
9389 }
9390 }
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9399 {
9400 if (temp6)
9401 delete arg6;
9402 }
9403 return resultobj;
9404 fail:
9405 {
9406 if (temp6)
9407 delete arg6;
9408 }
9409 return NULL;
9410}
9411
9412
9413static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxPyVListBox *result;
9416 char *kwnames[] = {
9417 NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (wxPyVListBox *)new wxPyVListBox();
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9429 return resultobj;
9430 fail:
9431 return NULL;
9432}
9433
9434
9435static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9438 PyObject *arg2 = (PyObject *) 0 ;
9439 PyObject *arg3 = (PyObject *) 0 ;
9440 PyObject * obj0 = 0 ;
9441 PyObject * obj1 = 0 ;
9442 PyObject * obj2 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self",(char *) "self",(char *) "_class", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9450 arg2 = obj1;
9451 arg3 = obj2;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->_setCallbackInfo(arg2,arg3);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 return resultobj;
9461 fail:
9462 return NULL;
9463}
9464
9465
9466static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9469 wxWindow *arg2 = (wxWindow *) 0 ;
9470 int arg3 = (int) wxID_ANY ;
9471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9473 wxSize const &arg5_defvalue = wxDefaultSize ;
9474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9475 long arg6 = (long) 0 ;
9476 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9477 wxString *arg7 = (wxString *) &arg7_defvalue ;
9478 bool result;
9479 wxPoint temp4 ;
9480 wxSize temp5 ;
9481 bool temp7 = False ;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 PyObject * obj2 = 0 ;
9485 PyObject * obj3 = 0 ;
9486 PyObject * obj4 = 0 ;
9487 PyObject * obj5 = 0 ;
9488 PyObject * obj6 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 if (obj2) {
9499 arg3 = (int) SWIG_AsInt(obj2);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 if (obj3) {
9503 {
9504 arg4 = &temp4;
9505 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9506 }
9507 }
9508 if (obj4) {
9509 {
9510 arg5 = &temp5;
9511 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9512 }
9513 }
9514 if (obj5) {
9515 arg6 = (long) SWIG_AsLong(obj5);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 if (obj6) {
9519 {
9520 arg7 = wxString_in_helper(obj6);
9521 if (arg7 == NULL) SWIG_fail;
9522 temp7 = True;
9523 }
9524 }
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 {
9533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9534 }
9535 {
9536 if (temp7)
9537 delete arg7;
9538 }
9539 return resultobj;
9540 fail:
9541 {
9542 if (temp7)
9543 delete arg7;
9544 }
9545 return NULL;
9546}
9547
9548
9549static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9550 PyObject *resultobj;
9551 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9552 size_t result;
9553 PyObject * obj0 = 0 ;
9554 char *kwnames[] = {
9555 (char *) "self", NULL
9556 };
9557
9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
9575static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9578 bool result;
9579 PyObject * obj0 = 0 ;
9580 char *kwnames[] = {
9581 (char *) "self", NULL
9582 };
9583
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 {
9595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9596 }
9597 return resultobj;
9598 fail:
9599 return NULL;
9600}
9601
9602
9603static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9604 PyObject *resultobj;
9605 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9606 int result;
9607 PyObject * obj0 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 resultobj = SWIG_FromInt((int)result);
9623 return resultobj;
9624 fail:
9625 return NULL;
9626}
9627
9628
9629static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9630 PyObject *resultobj;
9631 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9632 size_t arg2 ;
9633 bool result;
9634 PyObject * obj0 = 0 ;
9635 PyObject * obj1 = 0 ;
9636 char *kwnames[] = {
9637 (char *) "self",(char *) "item", NULL
9638 };
9639
9640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 {
9653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9654 }
9655 return resultobj;
9656 fail:
9657 return NULL;
9658}
9659
9660
9661static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9664 size_t arg2 ;
9665 bool result;
9666 PyObject * obj0 = 0 ;
9667 PyObject * obj1 = 0 ;
9668 char *kwnames[] = {
9669 (char *) "self",(char *) "item", NULL
9670 };
9671
9672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9675 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 {
9685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9686 }
9687 return resultobj;
9688 fail:
9689 return NULL;
9690}
9691
9692
9693static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9694 PyObject *resultobj;
9695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9696 size_t result;
9697 PyObject * obj0 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9713 return resultobj;
9714 fail:
9715 return NULL;
9716}
9717
9718
9719static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9722 unsigned long *arg2 = 0 ;
9723 int result;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "cookie", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1)
9735 SWIG_fail;
9736 if (arg2 == NULL) {
9737 PyErr_SetString(PyExc_TypeError,"null reference");
9738 SWIG_fail;
9739 }
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 resultobj = SWIG_FromInt((int)result);
9748 return resultobj;
9749 fail:
9750 return NULL;
9751}
9752
9753
9754static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj;
9756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9757 unsigned long *arg2 = 0 ;
9758 int result;
9759 PyObject * obj0 = 0 ;
9760 PyObject * obj1 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self",(char *) "cookie", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1)
9770 SWIG_fail;
9771 if (arg2 == NULL) {
9772 PyErr_SetString(PyExc_TypeError,"null reference");
9773 SWIG_fail;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 resultobj = SWIG_FromInt((int)result);
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
9789static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9792 wxPoint result;
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = ((wxPyVListBox const *)arg1)->GetMargins();
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 wxPoint * resultptr;
9810 resultptr = new wxPoint((wxPoint &) result);
9811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9812 }
9813 return resultobj;
9814 fail:
9815 return NULL;
9816}
9817
9818
9819static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9822 wxColour *result;
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 {
9834 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9835 result = (wxColour *) &_result_ref;
9836 }
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
9848static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9851 size_t arg2 ;
9852 PyObject * obj0 = 0 ;
9853 PyObject * obj1 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self",(char *) "count", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9861 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 (arg1)->SetItemCount(arg2);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 Py_INCREF(Py_None); resultobj = Py_None;
9871 return resultobj;
9872 fail:
9873 return NULL;
9874}
9875
9876
9877static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9880 PyObject * obj0 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->Clear();
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
9902static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9905 int arg2 ;
9906 PyObject * obj0 = 0 ;
9907 PyObject * obj1 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self",(char *) "selection", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9915 arg2 = (int) SWIG_AsInt(obj1);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 (arg1)->SetSelection(arg2);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 Py_INCREF(Py_None); resultobj = Py_None;
9925 return resultobj;
9926 fail:
9927 return NULL;
9928}
9929
9930
9931static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj;
9933 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9934 size_t arg2 ;
9935 bool arg3 = (bool) True ;
9936 bool result;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 PyObject * obj2 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "self",(char *) "item",(char *) "select", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9947 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 if (obj2) {
9950 arg3 = (bool) SWIG_AsBool(obj2);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (bool)(arg1)->Select(arg2,arg3);
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 {
9961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9962 }
9963 return resultobj;
9964 fail:
9965 return NULL;
9966}
9967
9968
9969static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9972 size_t arg2 ;
9973 size_t arg3 ;
9974 bool result;
9975 PyObject * obj0 = 0 ;
9976 PyObject * obj1 = 0 ;
9977 PyObject * obj2 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "from",(char *) "to", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9985 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (bool)(arg1)->SelectRange(arg2,arg3);
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 {
9997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9998 }
9999 return resultobj;
10000 fail:
10001 return NULL;
10002}
10003
10004
10005static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj;
10007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10008 size_t arg2 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "item", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 (arg1)->Toggle(arg2);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 Py_INCREF(Py_None); resultobj = Py_None;
10028 return resultobj;
10029 fail:
10030 return NULL;
10031}
10032
10033
10034static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10037 bool result;
10038 PyObject * obj0 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (bool)(arg1)->SelectAll();
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 {
10054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10055 }
10056 return resultobj;
10057 fail:
10058 return NULL;
10059}
10060
10061
10062static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj;
10064 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10065 bool result;
10066 PyObject * obj0 = 0 ;
10067 char *kwnames[] = {
10068 (char *) "self", NULL
10069 };
10070
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (bool)(arg1)->DeselectAll();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 {
10082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10083 }
10084 return resultobj;
10085 fail:
10086 return NULL;
10087}
10088
10089
10090static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10093 wxPoint *arg2 = 0 ;
10094 wxPoint temp2 ;
10095 PyObject * obj0 = 0 ;
10096 PyObject * obj1 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self",(char *) "pt", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10104 {
10105 arg2 = &temp2;
10106 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10107 }
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetMargins((wxPoint const &)*arg2);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 Py_INCREF(Py_None); resultobj = Py_None;
10116 return resultobj;
10117 fail:
10118 return NULL;
10119}
10120
10121
10122static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10125 int arg2 ;
10126 int arg3 ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 PyObject * obj2 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self",(char *) "x",(char *) "y", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10137 arg2 = (int) SWIG_AsInt(obj1);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 arg3 = (int) SWIG_AsInt(obj2);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 (arg1)->SetMargins(arg2,arg3);
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 Py_INCREF(Py_None); resultobj = Py_None;
10149 return resultobj;
10150 fail:
10151 return NULL;
10152}
10153
10154
10155static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj;
10157 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10158 wxColour *arg2 = 0 ;
10159 wxColour temp2 ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj1 = 0 ;
10162 char *kwnames[] = {
10163 (char *) "self",(char *) "col", NULL
10164 };
10165
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10169 {
10170 arg2 = &temp2;
10171 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10172 }
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10176
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 Py_INCREF(Py_None); resultobj = Py_None;
10181 return resultobj;
10182 fail:
10183 return NULL;
10184}
10185
10186
10187static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10188 PyObject *obj;
10189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10190 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10191 Py_INCREF(obj);
10192 return Py_BuildValue((char *)"");
10193}
10194static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject *resultobj;
10196 wxWindow *arg1 = (wxWindow *) 0 ;
10197 int arg2 = (int) wxID_ANY ;
10198 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10199 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10200 wxSize const &arg4_defvalue = wxDefaultSize ;
10201 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10202 long arg5 = (long) 0 ;
10203 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10204 wxString *arg6 = (wxString *) &arg6_defvalue ;
10205 wxPyHtmlListBox *result;
10206 wxPoint temp3 ;
10207 wxSize temp4 ;
10208 bool temp6 = False ;
10209 PyObject * obj0 = 0 ;
10210 PyObject * obj1 = 0 ;
10211 PyObject * obj2 = 0 ;
10212 PyObject * obj3 = 0 ;
10213 PyObject * obj4 = 0 ;
10214 PyObject * obj5 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10222 if (obj1) {
10223 arg2 = (int) SWIG_AsInt(obj1);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 if (obj2) {
10227 {
10228 arg3 = &temp3;
10229 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10230 }
10231 }
10232 if (obj3) {
10233 {
10234 arg4 = &temp4;
10235 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10236 }
10237 }
10238 if (obj4) {
10239 arg5 = (long) SWIG_AsLong(obj4);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 if (obj5) {
10243 {
10244 arg6 = wxString_in_helper(obj5);
10245 if (arg6 == NULL) SWIG_fail;
10246 temp6 = True;
10247 }
10248 }
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10257 {
10258 if (temp6)
10259 delete arg6;
10260 }
10261 return resultobj;
10262 fail:
10263 {
10264 if (temp6)
10265 delete arg6;
10266 }
10267 return NULL;
10268}
10269
10270
10271static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxPyHtmlListBox *result;
10274 char *kwnames[] = {
10275 NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10287 return resultobj;
10288 fail:
10289 return NULL;
10290}
10291
10292
10293static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj;
10295 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10296 PyObject *arg2 = (PyObject *) 0 ;
10297 PyObject *arg3 = (PyObject *) 0 ;
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj1 = 0 ;
10300 PyObject * obj2 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "self",(char *) "_class", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10308 arg2 = obj1;
10309 arg3 = obj2;
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->_setCallbackInfo(arg2,arg3);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 return resultobj;
10319 fail:
10320 return NULL;
10321}
10322
10323
10324static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10327 wxWindow *arg2 = (wxWindow *) 0 ;
10328 int arg3 = (int) wxID_ANY ;
10329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10331 wxSize const &arg5_defvalue = wxDefaultSize ;
10332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10333 long arg6 = (long) 0 ;
10334 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10335 wxString *arg7 = (wxString *) &arg7_defvalue ;
10336 bool result;
10337 wxPoint temp4 ;
10338 wxSize temp5 ;
10339 bool temp7 = False ;
10340 PyObject * obj0 = 0 ;
10341 PyObject * obj1 = 0 ;
10342 PyObject * obj2 = 0 ;
10343 PyObject * obj3 = 0 ;
10344 PyObject * obj4 = 0 ;
10345 PyObject * obj5 = 0 ;
10346 PyObject * obj6 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10356 if (obj2) {
10357 arg3 = (int) SWIG_AsInt(obj2);
10358 if (PyErr_Occurred()) SWIG_fail;
10359 }
10360 if (obj3) {
10361 {
10362 arg4 = &temp4;
10363 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10364 }
10365 }
10366 if (obj4) {
10367 {
10368 arg5 = &temp5;
10369 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10370 }
10371 }
10372 if (obj5) {
10373 arg6 = (long) SWIG_AsLong(obj5);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 if (obj6) {
10377 {
10378 arg7 = wxString_in_helper(obj6);
10379 if (arg7 == NULL) SWIG_fail;
10380 temp7 = True;
10381 }
10382 }
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 {
10391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10392 }
10393 {
10394 if (temp7)
10395 delete arg7;
10396 }
10397 return resultobj;
10398 fail:
10399 {
10400 if (temp7)
10401 delete arg7;
10402 }
10403 return NULL;
10404}
10405
10406
10407static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10410 PyObject * obj0 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 (arg1)->RefreshAll();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 Py_INCREF(Py_None); resultobj = Py_None;
10426 return resultobj;
10427 fail:
10428 return NULL;
10429}
10430
10431
10432static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj;
10434 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10435 size_t arg2 ;
10436 PyObject * obj0 = 0 ;
10437 PyObject * obj1 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self",(char *) "count", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10445 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10446 if (PyErr_Occurred()) SWIG_fail;
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 (arg1)->SetItemCount(arg2);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 Py_INCREF(Py_None); resultobj = Py_None;
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
10461static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10462 PyObject *obj;
10463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10464 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10465 Py_INCREF(obj);
10466 return Py_BuildValue((char *)"");
10467}
10468static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj;
10470 wxTaskBarIcon *result;
10471 char *kwnames[] = {
10472 NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10484 return resultobj;
10485 fail:
10486 return NULL;
10487}
10488
10489
10490static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 delete arg1;
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 Py_INCREF(Py_None); resultobj = Py_None;
10509 return resultobj;
10510 fail:
10511 return NULL;
10512}
10513
10514
10515static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 wxTaskBarIcon_Destroy(arg1);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
10540static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10541 PyObject *obj;
10542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10543 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10544 Py_INCREF(obj);
10545 return Py_BuildValue((char *)"");
10546}
10547static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj;
10549 wxEventType arg1 ;
10550 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10551 wxTaskBarIconEvent *result;
10552 PyObject * obj0 = 0 ;
10553 PyObject * obj1 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "evtType",(char *) "tbIcon", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10559 arg1 = (wxEventType) SWIG_AsInt(obj0);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
10577static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10578 PyObject *obj;
10579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10580 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10581 Py_INCREF(obj);
10582 return Py_BuildValue((char *)"");
10583}
10584static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10585 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10586 return 1;
10587}
10588
10589
10590static PyObject *_wrap_FileSelectorPromptStr_get() {
10591 PyObject *pyobj;
10592
10593 {
10594#if wxUSE_UNICODE
10595 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10596#else
10597 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10598#endif
10599 }
10600 return pyobj;
10601}
10602
10603
10604static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10605 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10606 return 1;
10607}
10608
10609
10610static PyObject *_wrap_DirSelectorPromptStr_get() {
10611 PyObject *pyobj;
10612
10613 {
10614#if wxUSE_UNICODE
10615 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10616#else
10617 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10618#endif
10619 }
10620 return pyobj;
10621}
10622
10623
10624static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10625 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10626 return 1;
10627}
10628
10629
10630static PyObject *_wrap_DirDialogNameStr_get() {
10631 PyObject *pyobj;
10632
10633 {
10634#if wxUSE_UNICODE
10635 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10636#else
10637 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10638#endif
10639 }
10640 return pyobj;
10641}
10642
10643
10644static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10645 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10646 return 1;
10647}
10648
10649
10650static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10651 PyObject *pyobj;
10652
10653 {
10654#if wxUSE_UNICODE
10655 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10656#else
10657 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10658#endif
10659 }
10660 return pyobj;
10661}
10662
10663
10664static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10665 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10666 return 1;
10667}
10668
10669
10670static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10671 PyObject *pyobj;
10672
10673 {
10674#if wxUSE_UNICODE
10675 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10676#else
10677 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10678#endif
10679 }
10680 return pyobj;
10681}
10682
10683
10684static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10685 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10686 return 1;
10687}
10688
10689
10690static PyObject *_wrap_MessageBoxCaptionStr_get() {
10691 PyObject *pyobj;
10692
10693 {
10694#if wxUSE_UNICODE
10695 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10696#else
10697 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10698#endif
10699 }
10700 return pyobj;
10701}
10702
10703
10704static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxColourData *result;
10707 char *kwnames[] = {
10708 NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (wxColourData *)new wxColourData();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
10726static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxColourData *arg1 = (wxColourData *) 0 ;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 delete arg1;
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 Py_INCREF(Py_None); resultobj = Py_None;
10745 return resultobj;
10746 fail:
10747 return NULL;
10748}
10749
10750
10751static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxColourData *arg1 = (wxColourData *) 0 ;
10754 bool result;
10755 PyObject * obj0 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (bool)(arg1)->GetChooseFull();
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 {
10771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10772 }
10773 return resultobj;
10774 fail:
10775 return NULL;
10776}
10777
10778
10779static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxColourData *arg1 = (wxColourData *) 0 ;
10782 wxColour result;
10783 PyObject * obj0 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 result = (arg1)->GetColour();
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 {
10799 wxColour * resultptr;
10800 resultptr = new wxColour((wxColour &) result);
10801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10802 }
10803 return resultobj;
10804 fail:
10805 return NULL;
10806}
10807
10808
10809static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxColourData *arg1 = (wxColourData *) 0 ;
10812 int arg2 ;
10813 wxColour result;
10814 PyObject * obj0 = 0 ;
10815 PyObject * obj1 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self",(char *) "i", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10823 arg2 = (int) SWIG_AsInt(obj1);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (arg1)->GetCustomColour(arg2);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 wxColour * resultptr;
10834 resultptr = new wxColour((wxColour &) result);
10835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10836 }
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxColourData *arg1 = (wxColourData *) 0 ;
10846 int arg2 ;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "flag", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 arg2 = (int) SWIG_AsInt(obj1);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetChooseFull(arg2);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 return resultobj;
10867 fail:
10868 return NULL;
10869}
10870
10871
10872static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj;
10874 wxColourData *arg1 = (wxColourData *) 0 ;
10875 wxColour *arg2 = 0 ;
10876 wxColour temp2 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "colour", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10886 {
10887 arg2 = &temp2;
10888 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10889 }
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->SetColour((wxColour const &)*arg2);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 return resultobj;
10899 fail:
10900 return NULL;
10901}
10902
10903
10904static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxColourData *arg1 = (wxColourData *) 0 ;
10907 int arg2 ;
10908 wxColour *arg3 = 0 ;
10909 wxColour temp3 ;
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 PyObject * obj2 = 0 ;
10913 char *kwnames[] = {
10914 (char *) "self",(char *) "i",(char *) "colour", NULL
10915 };
10916
10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10920 arg2 = (int) SWIG_AsInt(obj1);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 {
10923 arg3 = &temp3;
10924 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10925 }
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 Py_INCREF(Py_None); resultobj = Py_None;
10934 return resultobj;
10935 fail:
10936 return NULL;
10937}
10938
10939
10940static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10941 PyObject *obj;
10942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10943 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10944 Py_INCREF(obj);
10945 return Py_BuildValue((char *)"");
10946}
10947static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxWindow *arg1 = (wxWindow *) 0 ;
10950 wxColourData *arg2 = (wxColourData *) NULL ;
10951 wxColourDialog *result;
10952 PyObject * obj0 = 0 ;
10953 PyObject * obj1 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "parent",(char *) "data", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 if (obj1) {
10962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10964 }
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
10973 return resultobj;
10974 fail:
10975 return NULL;
10976}
10977
10978
10979static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj;
10981 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10982 wxColourData *result;
10983 PyObject * obj0 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "self", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
10990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 {
10994 wxColourData &_result_ref = (arg1)->GetColourData();
10995 result = (wxColourData *) &_result_ref;
10996 }
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11002 return resultobj;
11003 fail:
11004 return NULL;
11005}
11006
11007
11008static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11009 PyObject *obj;
11010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11011 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11012 Py_INCREF(obj);
11013 return Py_BuildValue((char *)"");
11014}
11015static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxWindow *arg1 = (wxWindow *) 0 ;
11018 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11019 wxString *arg2 = (wxString *) &arg2_defvalue ;
11020 wxString const &arg3_defvalue = wxPyEmptyString ;
11021 wxString *arg3 = (wxString *) &arg3_defvalue ;
11022 long arg4 = (long) 0 ;
11023 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11024 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11025 wxSize const &arg6_defvalue = wxDefaultSize ;
11026 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11027 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11028 wxString *arg7 = (wxString *) &arg7_defvalue ;
11029 wxDirDialog *result;
11030 bool temp2 = False ;
11031 bool temp3 = False ;
11032 wxPoint temp5 ;
11033 wxSize temp6 ;
11034 bool temp7 = False ;
11035 PyObject * obj0 = 0 ;
11036 PyObject * obj1 = 0 ;
11037 PyObject * obj2 = 0 ;
11038 PyObject * obj3 = 0 ;
11039 PyObject * obj4 = 0 ;
11040 PyObject * obj5 = 0 ;
11041 PyObject * obj6 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11049 if (obj1) {
11050 {
11051 arg2 = wxString_in_helper(obj1);
11052 if (arg2 == NULL) SWIG_fail;
11053 temp2 = True;
11054 }
11055 }
11056 if (obj2) {
11057 {
11058 arg3 = wxString_in_helper(obj2);
11059 if (arg3 == NULL) SWIG_fail;
11060 temp3 = True;
11061 }
11062 }
11063 if (obj3) {
11064 arg4 = (long) SWIG_AsLong(obj3);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 if (obj4) {
11068 {
11069 arg5 = &temp5;
11070 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11071 }
11072 }
11073 if (obj5) {
11074 {
11075 arg6 = &temp6;
11076 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11077 }
11078 }
11079 if (obj6) {
11080 {
11081 arg7 = wxString_in_helper(obj6);
11082 if (arg7 == NULL) SWIG_fail;
11083 temp7 = True;
11084 }
11085 }
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11094 {
11095 if (temp2)
11096 delete arg2;
11097 }
11098 {
11099 if (temp3)
11100 delete arg3;
11101 }
11102 {
11103 if (temp7)
11104 delete arg7;
11105 }
11106 return resultobj;
11107 fail:
11108 {
11109 if (temp2)
11110 delete arg2;
11111 }
11112 {
11113 if (temp3)
11114 delete arg3;
11115 }
11116 {
11117 if (temp7)
11118 delete arg7;
11119 }
11120 return NULL;
11121}
11122
11123
11124static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject *resultobj;
11126 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11127 wxString result;
11128 PyObject * obj0 = 0 ;
11129 char *kwnames[] = {
11130 (char *) "self", NULL
11131 };
11132
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 result = (arg1)->GetPath();
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 {
11144#if wxUSE_UNICODE
11145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11146#else
11147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11148#endif
11149 }
11150 return resultobj;
11151 fail:
11152 return NULL;
11153}
11154
11155
11156static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11159 wxString result;
11160 PyObject * obj0 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self", NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (arg1)->GetMessage();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176#if wxUSE_UNICODE
11177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11178#else
11179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11180#endif
11181 }
11182 return resultobj;
11183 fail:
11184 return NULL;
11185}
11186
11187
11188static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11191 long result;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (long)(arg1)->GetStyle();
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 resultobj = SWIG_FromLong((long)result);
11208 return resultobj;
11209 fail:
11210 return NULL;
11211}
11212
11213
11214static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11217 wxString *arg2 = 0 ;
11218 bool temp2 = False ;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self",(char *) "message", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11228 {
11229 arg2 = wxString_in_helper(obj1);
11230 if (arg2 == NULL) SWIG_fail;
11231 temp2 = True;
11232 }
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 (arg1)->SetMessage((wxString const &)*arg2);
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 Py_INCREF(Py_None); resultobj = Py_None;
11241 {
11242 if (temp2)
11243 delete arg2;
11244 }
11245 return resultobj;
11246 fail:
11247 {
11248 if (temp2)
11249 delete arg2;
11250 }
11251 return NULL;
11252}
11253
11254
11255static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject *resultobj;
11257 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11258 wxString *arg2 = 0 ;
11259 bool temp2 = False ;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self",(char *) "path", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11269 {
11270 arg2 = wxString_in_helper(obj1);
11271 if (arg2 == NULL) SWIG_fail;
11272 temp2 = True;
11273 }
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 (arg1)->SetPath((wxString const &)*arg2);
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 Py_INCREF(Py_None); resultobj = Py_None;
11282 {
11283 if (temp2)
11284 delete arg2;
11285 }
11286 return resultobj;
11287 fail:
11288 {
11289 if (temp2)
11290 delete arg2;
11291 }
11292 return NULL;
11293}
11294
11295
11296static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11297 PyObject *obj;
11298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11299 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11300 Py_INCREF(obj);
11301 return Py_BuildValue((char *)"");
11302}
11303static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxWindow *arg1 = (wxWindow *) 0 ;
11306 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11307 wxString *arg2 = (wxString *) &arg2_defvalue ;
11308 wxString const &arg3_defvalue = wxPyEmptyString ;
11309 wxString *arg3 = (wxString *) &arg3_defvalue ;
11310 wxString const &arg4_defvalue = wxPyEmptyString ;
11311 wxString *arg4 = (wxString *) &arg4_defvalue ;
11312 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11313 wxString *arg5 = (wxString *) &arg5_defvalue ;
11314 long arg6 = (long) 0 ;
11315 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11316 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11317 wxFileDialog *result;
11318 bool temp2 = False ;
11319 bool temp3 = False ;
11320 bool temp4 = False ;
11321 bool temp5 = False ;
11322 wxPoint temp7 ;
11323 PyObject * obj0 = 0 ;
11324 PyObject * obj1 = 0 ;
11325 PyObject * obj2 = 0 ;
11326 PyObject * obj3 = 0 ;
11327 PyObject * obj4 = 0 ;
11328 PyObject * obj5 = 0 ;
11329 PyObject * obj6 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11337 if (obj1) {
11338 {
11339 arg2 = wxString_in_helper(obj1);
11340 if (arg2 == NULL) SWIG_fail;
11341 temp2 = True;
11342 }
11343 }
11344 if (obj2) {
11345 {
11346 arg3 = wxString_in_helper(obj2);
11347 if (arg3 == NULL) SWIG_fail;
11348 temp3 = True;
11349 }
11350 }
11351 if (obj3) {
11352 {
11353 arg4 = wxString_in_helper(obj3);
11354 if (arg4 == NULL) SWIG_fail;
11355 temp4 = True;
11356 }
11357 }
11358 if (obj4) {
11359 {
11360 arg5 = wxString_in_helper(obj4);
11361 if (arg5 == NULL) SWIG_fail;
11362 temp5 = True;
11363 }
11364 }
11365 if (obj5) {
11366 arg6 = (long) SWIG_AsLong(obj5);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 if (obj6) {
11370 {
11371 arg7 = &temp7;
11372 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11373 }
11374 }
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11383 {
11384 if (temp2)
11385 delete arg2;
11386 }
11387 {
11388 if (temp3)
11389 delete arg3;
11390 }
11391 {
11392 if (temp4)
11393 delete arg4;
11394 }
11395 {
11396 if (temp5)
11397 delete arg5;
11398 }
11399 return resultobj;
11400 fail:
11401 {
11402 if (temp2)
11403 delete arg2;
11404 }
11405 {
11406 if (temp3)
11407 delete arg3;
11408 }
11409 {
11410 if (temp4)
11411 delete arg4;
11412 }
11413 {
11414 if (temp5)
11415 delete arg5;
11416 }
11417 return NULL;
11418}
11419
11420
11421static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11424 wxString *arg2 = 0 ;
11425 bool temp2 = False ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 char *kwnames[] = {
11429 (char *) "self",(char *) "message", NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11435 {
11436 arg2 = wxString_in_helper(obj1);
11437 if (arg2 == NULL) SWIG_fail;
11438 temp2 = True;
11439 }
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->SetMessage((wxString const &)*arg2);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 {
11449 if (temp2)
11450 delete arg2;
11451 }
11452 return resultobj;
11453 fail:
11454 {
11455 if (temp2)
11456 delete arg2;
11457 }
11458 return NULL;
11459}
11460
11461
11462static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11465 wxString *arg2 = 0 ;
11466 bool temp2 = False ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self",(char *) "path", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11476 {
11477 arg2 = wxString_in_helper(obj1);
11478 if (arg2 == NULL) SWIG_fail;
11479 temp2 = True;
11480 }
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 (arg1)->SetPath((wxString const &)*arg2);
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 Py_INCREF(Py_None); resultobj = Py_None;
11489 {
11490 if (temp2)
11491 delete arg2;
11492 }
11493 return resultobj;
11494 fail:
11495 {
11496 if (temp2)
11497 delete arg2;
11498 }
11499 return NULL;
11500}
11501
11502
11503static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj;
11505 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11506 wxString *arg2 = 0 ;
11507 bool temp2 = False ;
11508 PyObject * obj0 = 0 ;
11509 PyObject * obj1 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "dir", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11517 {
11518 arg2 = wxString_in_helper(obj1);
11519 if (arg2 == NULL) SWIG_fail;
11520 temp2 = True;
11521 }
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 (arg1)->SetDirectory((wxString const &)*arg2);
11525
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 Py_INCREF(Py_None); resultobj = Py_None;
11530 {
11531 if (temp2)
11532 delete arg2;
11533 }
11534 return resultobj;
11535 fail:
11536 {
11537 if (temp2)
11538 delete arg2;
11539 }
11540 return NULL;
11541}
11542
11543
11544static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj;
11546 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11547 wxString *arg2 = 0 ;
11548 bool temp2 = False ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "name", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11558 {
11559 arg2 = wxString_in_helper(obj1);
11560 if (arg2 == NULL) SWIG_fail;
11561 temp2 = True;
11562 }
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 (arg1)->SetFilename((wxString const &)*arg2);
11566
11567 wxPyEndAllowThreads(__tstate);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 Py_INCREF(Py_None); resultobj = Py_None;
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
11575 return resultobj;
11576 fail:
11577 {
11578 if (temp2)
11579 delete arg2;
11580 }
11581 return NULL;
11582}
11583
11584
11585static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11586 PyObject *resultobj;
11587 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11588 wxString *arg2 = 0 ;
11589 bool temp2 = False ;
11590 PyObject * obj0 = 0 ;
11591 PyObject * obj1 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self",(char *) "wildCard", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11599 {
11600 arg2 = wxString_in_helper(obj1);
11601 if (arg2 == NULL) SWIG_fail;
11602 temp2 = True;
11603 }
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 (arg1)->SetWildcard((wxString const &)*arg2);
11607
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 Py_INCREF(Py_None); resultobj = Py_None;
11612 {
11613 if (temp2)
11614 delete arg2;
11615 }
11616 return resultobj;
11617 fail:
11618 {
11619 if (temp2)
11620 delete arg2;
11621 }
11622 return NULL;
11623}
11624
11625
11626static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11629 long arg2 ;
11630 PyObject * obj0 = 0 ;
11631 PyObject * obj1 = 0 ;
11632 char *kwnames[] = {
11633 (char *) "self",(char *) "style", NULL
11634 };
11635
11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11639 arg2 = (long) SWIG_AsLong(obj1);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 (arg1)->SetStyle(arg2);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 Py_INCREF(Py_None); resultobj = Py_None;
11649 return resultobj;
11650 fail:
11651 return NULL;
11652}
11653
11654
11655static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11658 int arg2 ;
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
11661 char *kwnames[] = {
11662 (char *) "self",(char *) "filterIndex", NULL
11663 };
11664
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11668 arg2 = (int) SWIG_AsInt(obj1);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 (arg1)->SetFilterIndex(arg2);
11673
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 Py_INCREF(Py_None); resultobj = Py_None;
11678 return resultobj;
11679 fail:
11680 return NULL;
11681}
11682
11683
11684static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11687 wxString result;
11688 PyObject * obj0 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 result = ((wxFileDialog const *)arg1)->GetMessage();
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 {
11704#if wxUSE_UNICODE
11705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11706#else
11707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11708#endif
11709 }
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
11716static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj;
11718 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11719 wxString result;
11720 PyObject * obj0 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 result = ((wxFileDialog const *)arg1)->GetPath();
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 {
11736#if wxUSE_UNICODE
11737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11738#else
11739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11740#endif
11741 }
11742 return resultobj;
11743 fail:
11744 return NULL;
11745}
11746
11747
11748static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11751 wxString result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = ((wxFileDialog const *)arg1)->GetDirectory();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768#if wxUSE_UNICODE
11769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11770#else
11771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11772#endif
11773 }
11774 return resultobj;
11775 fail:
11776 return NULL;
11777}
11778
11779
11780static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj;
11782 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11783 wxString result;
11784 PyObject * obj0 = 0 ;
11785 char *kwnames[] = {
11786 (char *) "self", NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11792 {
11793 PyThreadState* __tstate = wxPyBeginAllowThreads();
11794 result = ((wxFileDialog const *)arg1)->GetFilename();
11795
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 {
11800#if wxUSE_UNICODE
11801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11802#else
11803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11804#endif
11805 }
11806 return resultobj;
11807 fail:
11808 return NULL;
11809}
11810
11811
11812static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj;
11814 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11815 wxString result;
11816 PyObject * obj0 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 result = ((wxFileDialog const *)arg1)->GetWildcard();
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 {
11832#if wxUSE_UNICODE
11833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11834#else
11835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11836#endif
11837 }
11838 return resultobj;
11839 fail:
11840 return NULL;
11841}
11842
11843
11844static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11847 long result;
11848 PyObject * obj0 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self", NULL
11851 };
11852
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 resultobj = SWIG_FromLong((long)result);
11864 return resultobj;
11865 fail:
11866 return NULL;
11867}
11868
11869
11870static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11873 int result;
11874 PyObject * obj0 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 resultobj = SWIG_FromInt((int)result);
11890 return resultobj;
11891 fail:
11892 return NULL;
11893}
11894
11895
11896static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj;
11898 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11899 PyObject *result;
11900 PyObject * obj0 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = result;
11916 return resultobj;
11917 fail:
11918 return NULL;
11919}
11920
11921
11922static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11925 PyObject *result;
11926 PyObject * obj0 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "self", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 resultobj = result;
11942 return resultobj;
11943 fail:
11944 return NULL;
11945}
11946
11947
11948static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11949 PyObject *obj;
11950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11951 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11952 Py_INCREF(obj);
11953 return Py_BuildValue((char *)"");
11954}
11955static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj;
11957 wxWindow *arg1 = (wxWindow *) 0 ;
11958 wxString *arg2 = 0 ;
11959 wxString *arg3 = 0 ;
11960 int arg4 = (int) 0 ;
11961 wxString *arg5 = (wxString *) 0 ;
11962 long arg6 = (long) wxCHOICEDLG_STYLE ;
11963 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11964 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11965 wxMultiChoiceDialog *result;
11966 bool temp2 = False ;
11967 bool temp3 = False ;
11968 wxPoint temp6 ;
11969 PyObject * obj0 = 0 ;
11970 PyObject * obj1 = 0 ;
11971 PyObject * obj2 = 0 ;
11972 PyObject * obj3 = 0 ;
11973 PyObject * obj4 = 0 ;
11974 PyObject * obj5 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11982 {
11983 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
11985 temp2 = True;
11986 }
11987 {
11988 arg3 = wxString_in_helper(obj2);
11989 if (arg3 == NULL) SWIG_fail;
11990 temp3 = True;
11991 }
11992 if (obj3) {
11993 {
11994 arg4 = PyList_Size(obj3);
11995 arg5 = wxString_LIST_helper(obj3);
11996 if (arg5 == NULL) SWIG_fail;
11997 }
11998 }
11999 if (obj4) {
12000 arg6 = (long) SWIG_AsLong(obj4);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 if (obj5) {
12004 {
12005 arg7 = &temp6;
12006 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12007 }
12008 }
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12017 {
12018 if (temp2)
12019 delete arg2;
12020 }
12021 {
12022 if (temp3)
12023 delete arg3;
12024 }
12025 {
12026 if (arg5) delete [] arg5;
12027 }
12028 return resultobj;
12029 fail:
12030 {
12031 if (temp2)
12032 delete arg2;
12033 }
12034 {
12035 if (temp3)
12036 delete arg3;
12037 }
12038 {
12039 if (arg5) delete [] arg5;
12040 }
12041 return NULL;
12042}
12043
12044
12045static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12046 PyObject *resultobj;
12047 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12048 wxArrayInt *arg2 = 0 ;
12049 bool temp2 = False ;
12050 PyObject * obj0 = 0 ;
12051 PyObject * obj1 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self",(char *) "selections", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12059 {
12060 if (! PySequence_Check(obj1)) {
12061 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12062 SWIG_fail;
12063 }
12064 arg2 = new wxArrayInt;
12065 temp2 = True;
12066 int i, len=PySequence_Length(obj1);
12067 for (i=0; i<len; i++) {
12068 PyObject* item = PySequence_GetItem(obj1, i);
12069 PyObject* number = PyNumber_Int(item);
12070 arg2->Add(PyInt_AS_LONG(number));
12071 Py_DECREF(item);
12072 Py_DECREF(number);
12073 }
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 Py_INCREF(Py_None); resultobj = Py_None;
12083 {
12084 if (temp2) delete arg2;
12085 }
12086 return resultobj;
12087 fail:
12088 {
12089 if (temp2) delete arg2;
12090 }
12091 return NULL;
12092}
12093
12094
12095static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12098 PyObject *result;
12099 PyObject * obj0 = 0 ;
12100 char *kwnames[] = {
12101 (char *) "self", NULL
12102 };
12103
12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
12109 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 resultobj = result;
12115 return resultobj;
12116 fail:
12117 return NULL;
12118}
12119
12120
12121static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12122 PyObject *obj;
12123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12124 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12125 Py_INCREF(obj);
12126 return Py_BuildValue((char *)"");
12127}
12128static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxWindow *arg1 = (wxWindow *) 0 ;
12131 wxString *arg2 = 0 ;
12132 wxString *arg3 = 0 ;
12133 int arg4 ;
12134 wxString *arg5 = (wxString *) 0 ;
12135 long arg6 = (long) wxCHOICEDLG_STYLE ;
12136 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12137 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12138 wxSingleChoiceDialog *result;
12139 bool temp2 = False ;
12140 bool temp3 = False ;
12141 wxPoint temp6 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 PyObject * obj2 = 0 ;
12145 PyObject * obj3 = 0 ;
12146 PyObject * obj4 = 0 ;
12147 PyObject * obj5 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12155 {
12156 arg2 = wxString_in_helper(obj1);
12157 if (arg2 == NULL) SWIG_fail;
12158 temp2 = True;
12159 }
12160 {
12161 arg3 = wxString_in_helper(obj2);
12162 if (arg3 == NULL) SWIG_fail;
12163 temp3 = True;
12164 }
12165 {
12166 arg4 = PyList_Size(obj3);
12167 arg5 = wxString_LIST_helper(obj3);
12168 if (arg5 == NULL) SWIG_fail;
12169 }
12170 if (obj4) {
12171 arg6 = (long) SWIG_AsLong(obj4);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 if (obj5) {
12175 {
12176 arg7 = &temp6;
12177 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12178 }
12179 }
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12188 {
12189 if (temp2)
12190 delete arg2;
12191 }
12192 {
12193 if (temp3)
12194 delete arg3;
12195 }
12196 {
12197 if (arg5) delete [] arg5;
12198 }
12199 return resultobj;
12200 fail:
12201 {
12202 if (temp2)
12203 delete arg2;
12204 }
12205 {
12206 if (temp3)
12207 delete arg3;
12208 }
12209 {
12210 if (arg5) delete [] arg5;
12211 }
12212 return NULL;
12213}
12214
12215
12216static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12219 int result;
12220 PyObject * obj0 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 result = (int)(arg1)->GetSelection();
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 resultobj = SWIG_FromInt((int)result);
12236 return resultobj;
12237 fail:
12238 return NULL;
12239}
12240
12241
12242static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12245 wxString result;
12246 PyObject * obj0 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (arg1)->GetStringSelection();
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 {
12262#if wxUSE_UNICODE
12263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12264#else
12265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12266#endif
12267 }
12268 return resultobj;
12269 fail:
12270 return NULL;
12271}
12272
12273
12274static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12277 int arg2 ;
12278 PyObject * obj0 = 0 ;
12279 PyObject * obj1 = 0 ;
12280 char *kwnames[] = {
12281 (char *) "self",(char *) "sel", NULL
12282 };
12283
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12287 arg2 = (int) SWIG_AsInt(obj1);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 (arg1)->SetSelection(arg2);
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 Py_INCREF(Py_None); resultobj = Py_None;
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
12303static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12304 PyObject *obj;
12305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12306 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12307 Py_INCREF(obj);
12308 return Py_BuildValue((char *)"");
12309}
12310static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxWindow *arg1 = (wxWindow *) 0 ;
12313 wxString *arg2 = 0 ;
12314 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12315 wxString *arg3 = (wxString *) &arg3_defvalue ;
12316 wxString const &arg4_defvalue = wxPyEmptyString ;
12317 wxString *arg4 = (wxString *) &arg4_defvalue ;
12318 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12319 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12320 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12321 wxTextEntryDialog *result;
12322 bool temp2 = False ;
12323 bool temp3 = False ;
12324 bool temp4 = False ;
12325 wxPoint temp6 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 PyObject * obj2 = 0 ;
12329 PyObject * obj3 = 0 ;
12330 PyObject * obj4 = 0 ;
12331 PyObject * obj5 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12339 {
12340 arg2 = wxString_in_helper(obj1);
12341 if (arg2 == NULL) SWIG_fail;
12342 temp2 = True;
12343 }
12344 if (obj2) {
12345 {
12346 arg3 = wxString_in_helper(obj2);
12347 if (arg3 == NULL) SWIG_fail;
12348 temp3 = True;
12349 }
12350 }
12351 if (obj3) {
12352 {
12353 arg4 = wxString_in_helper(obj3);
12354 if (arg4 == NULL) SWIG_fail;
12355 temp4 = True;
12356 }
12357 }
12358 if (obj4) {
12359 arg5 = (long) SWIG_AsLong(obj4);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 if (obj5) {
12363 {
12364 arg6 = &temp6;
12365 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12366 }
12367 }
12368 {
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12371
12372 wxPyEndAllowThreads(__tstate);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12376 {
12377 if (temp2)
12378 delete arg2;
12379 }
12380 {
12381 if (temp3)
12382 delete arg3;
12383 }
12384 {
12385 if (temp4)
12386 delete arg4;
12387 }
12388 return resultobj;
12389 fail:
12390 {
12391 if (temp2)
12392 delete arg2;
12393 }
12394 {
12395 if (temp3)
12396 delete arg3;
12397 }
12398 {
12399 if (temp4)
12400 delete arg4;
12401 }
12402 return NULL;
12403}
12404
12405
12406static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12409 wxString result;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 result = (arg1)->GetValue();
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 {
12426#if wxUSE_UNICODE
12427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12428#else
12429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12430#endif
12431 }
12432 return resultobj;
12433 fail:
12434 return NULL;
12435}
12436
12437
12438static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12441 wxString *arg2 = 0 ;
12442 bool temp2 = False ;
12443 PyObject * obj0 = 0 ;
12444 PyObject * obj1 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self",(char *) "value", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12452 {
12453 arg2 = wxString_in_helper(obj1);
12454 if (arg2 == NULL) SWIG_fail;
12455 temp2 = True;
12456 }
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 (arg1)->SetValue((wxString const &)*arg2);
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 Py_INCREF(Py_None); resultobj = Py_None;
12465 {
12466 if (temp2)
12467 delete arg2;
12468 }
12469 return resultobj;
12470 fail:
12471 {
12472 if (temp2)
12473 delete arg2;
12474 }
12475 return NULL;
12476}
12477
12478
12479static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12480 PyObject *obj;
12481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12482 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12483 Py_INCREF(obj);
12484 return Py_BuildValue((char *)"");
12485}
12486static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxFontData *result;
12489 char *kwnames[] = {
12490 NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (wxFontData *)new wxFontData();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12502 return resultobj;
12503 fail:
12504 return NULL;
12505}
12506
12507
12508static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxFontData *arg1 = (wxFontData *) 0 ;
12511 PyObject * obj0 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 delete arg1;
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 Py_INCREF(Py_None); resultobj = Py_None;
12527 return resultobj;
12528 fail:
12529 return NULL;
12530}
12531
12532
12533static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxFontData *arg1 = (wxFontData *) 0 ;
12536 bool arg2 ;
12537 PyObject * obj0 = 0 ;
12538 PyObject * obj1 = 0 ;
12539 char *kwnames[] = {
12540 (char *) "self",(char *) "enable", NULL
12541 };
12542
12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12546 arg2 = (bool) SWIG_AsBool(obj1);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 (arg1)->EnableEffects(arg2);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 Py_INCREF(Py_None); resultobj = Py_None;
12556 return resultobj;
12557 fail:
12558 return NULL;
12559}
12560
12561
12562static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxFontData *arg1 = (wxFontData *) 0 ;
12565 bool result;
12566 PyObject * obj0 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12574 {
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (bool)(arg1)->GetAllowSymbols();
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 {
12582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12583 }
12584 return resultobj;
12585 fail:
12586 return NULL;
12587}
12588
12589
12590static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12591 PyObject *resultobj;
12592 wxFontData *arg1 = (wxFontData *) 0 ;
12593 wxColour result;
12594 PyObject * obj0 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self", NULL
12597 };
12598
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12602 {
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 result = (arg1)->GetColour();
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 {
12610 wxColour * resultptr;
12611 resultptr = new wxColour((wxColour &) result);
12612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12613 }
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
12620static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxFontData *arg1 = (wxFontData *) 0 ;
12623 wxFont result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (arg1)->GetChosenFont();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 {
12640 wxFont * resultptr;
12641 resultptr = new wxFont((wxFont &) result);
12642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12643 }
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
12650static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFontData *arg1 = (wxFontData *) 0 ;
12653 bool result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = (bool)(arg1)->GetEnableEffects();
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 {
12670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12671 }
12672 return resultobj;
12673 fail:
12674 return NULL;
12675}
12676
12677
12678static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxFontData *arg1 = (wxFontData *) 0 ;
12681 wxFont result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 result = (arg1)->GetInitialFont();
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 {
12698 wxFont * resultptr;
12699 resultptr = new wxFont((wxFont &) result);
12700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12701 }
12702 return resultobj;
12703 fail:
12704 return NULL;
12705}
12706
12707
12708static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxFontData *arg1 = (wxFontData *) 0 ;
12711 bool result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (bool)(arg1)->GetShowHelp();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 {
12728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12729 }
12730 return resultobj;
12731 fail:
12732 return NULL;
12733}
12734
12735
12736static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxFontData *arg1 = (wxFontData *) 0 ;
12739 bool arg2 ;
12740 PyObject * obj0 = 0 ;
12741 PyObject * obj1 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "allowSymbols", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12749 arg2 = (bool) SWIG_AsBool(obj1);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 (arg1)->SetAllowSymbols(arg2);
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 Py_INCREF(Py_None); resultobj = Py_None;
12759 return resultobj;
12760 fail:
12761 return NULL;
12762}
12763
12764
12765static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxFontData *arg1 = (wxFontData *) 0 ;
12768 wxFont *arg2 = 0 ;
12769 PyObject * obj0 = 0 ;
12770 PyObject * obj1 = 0 ;
12771 char *kwnames[] = {
12772 (char *) "self",(char *) "font", NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1)
12780 SWIG_fail;
12781 if (arg2 == NULL) {
12782 PyErr_SetString(PyExc_TypeError,"null reference");
12783 SWIG_fail;
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 (arg1)->SetChosenFont((wxFont const &)*arg2);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 Py_INCREF(Py_None); resultobj = Py_None;
12793 return resultobj;
12794 fail:
12795 return NULL;
12796}
12797
12798
12799static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxFontData *arg1 = (wxFontData *) 0 ;
12802 wxColour *arg2 = 0 ;
12803 wxColour temp2 ;
12804 PyObject * obj0 = 0 ;
12805 PyObject * obj1 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self",(char *) "colour", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12813 {
12814 arg2 = &temp2;
12815 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12816 }
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 (arg1)->SetColour((wxColour const &)*arg2);
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 Py_INCREF(Py_None); resultobj = Py_None;
12825 return resultobj;
12826 fail:
12827 return NULL;
12828}
12829
12830
12831static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxFontData *arg1 = (wxFontData *) 0 ;
12834 wxFont *arg2 = 0 ;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self",(char *) "font", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12845 SWIG_POINTER_EXCEPTION | 0)) == -1)
12846 SWIG_fail;
12847 if (arg2 == NULL) {
12848 PyErr_SetString(PyExc_TypeError,"null reference");
12849 SWIG_fail;
12850 }
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 (arg1)->SetInitialFont((wxFont const &)*arg2);
12854
12855 wxPyEndAllowThreads(__tstate);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 }
12858 Py_INCREF(Py_None); resultobj = Py_None;
12859 return resultobj;
12860 fail:
12861 return NULL;
12862}
12863
12864
12865static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj;
12867 wxFontData *arg1 = (wxFontData *) 0 ;
12868 int arg2 ;
12869 int arg3 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 PyObject * obj2 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self",(char *) "min",(char *) "max", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12880 arg2 = (int) SWIG_AsInt(obj1);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 arg3 = (int) SWIG_AsInt(obj2);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->SetRange(arg2,arg3);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
12898static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxFontData *arg1 = (wxFontData *) 0 ;
12901 bool arg2 ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "showHelp", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12911 arg2 = (bool) SWIG_AsBool(obj1);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->SetShowHelp(arg2);
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 Py_INCREF(Py_None); resultobj = Py_None;
12921 return resultobj;
12922 fail:
12923 return NULL;
12924}
12925
12926
12927static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12928 PyObject *obj;
12929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12930 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12931 Py_INCREF(obj);
12932 return Py_BuildValue((char *)"");
12933}
12934static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxWindow *arg1 = (wxWindow *) 0 ;
12937 wxFontData *arg2 = 0 ;
12938 wxFontDialog *result;
12939 PyObject * obj0 = 0 ;
12940 PyObject * obj1 = 0 ;
12941 char *kwnames[] = {
12942 (char *) "parent",(char *) "data", NULL
12943 };
12944
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12949 SWIG_POINTER_EXCEPTION | 0)) == -1)
12950 SWIG_fail;
12951 if (arg2 == NULL) {
12952 PyErr_SetString(PyExc_TypeError,"null reference");
12953 SWIG_fail;
12954 }
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12963 return resultobj;
12964 fail:
12965 return NULL;
12966}
12967
12968
12969static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12972 wxFontData *result;
12973 PyObject * obj0 = 0 ;
12974 char *kwnames[] = {
12975 (char *) "self", NULL
12976 };
12977
12978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
12980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 {
12984 wxFontData &_result_ref = (arg1)->GetFontData();
12985 result = (wxFontData *) &_result_ref;
12986 }
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
12992 return resultobj;
12993 fail:
12994 return NULL;
12995}
12996
12997
12998static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12999 PyObject *obj;
13000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13001 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13002 Py_INCREF(obj);
13003 return Py_BuildValue((char *)"");
13004}
13005static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13006 PyObject *resultobj;
13007 wxWindow *arg1 = (wxWindow *) 0 ;
13008 wxString *arg2 = 0 ;
13009 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13010 wxString *arg3 = (wxString *) &arg3_defvalue ;
13011 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13012 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13013 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13014 wxMessageDialog *result;
13015 bool temp2 = False ;
13016 bool temp3 = False ;
13017 wxPoint temp5 ;
13018 PyObject * obj0 = 0 ;
13019 PyObject * obj1 = 0 ;
13020 PyObject * obj2 = 0 ;
13021 PyObject * obj3 = 0 ;
13022 PyObject * obj4 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13030 {
13031 arg2 = wxString_in_helper(obj1);
13032 if (arg2 == NULL) SWIG_fail;
13033 temp2 = True;
13034 }
13035 if (obj2) {
13036 {
13037 arg3 = wxString_in_helper(obj2);
13038 if (arg3 == NULL) SWIG_fail;
13039 temp3 = True;
13040 }
13041 }
13042 if (obj3) {
13043 arg4 = (long) SWIG_AsLong(obj3);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 if (obj4) {
13047 {
13048 arg5 = &temp5;
13049 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13050 }
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13060 {
13061 if (temp2)
13062 delete arg2;
13063 }
13064 {
13065 if (temp3)
13066 delete arg3;
13067 }
13068 return resultobj;
13069 fail:
13070 {
13071 if (temp2)
13072 delete arg2;
13073 }
13074 {
13075 if (temp3)
13076 delete arg3;
13077 }
13078 return NULL;
13079}
13080
13081
13082static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13083 PyObject *obj;
13084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13085 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13086 Py_INCREF(obj);
13087 return Py_BuildValue((char *)"");
13088}
13089static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj;
13091 wxString *arg1 = 0 ;
13092 wxString *arg2 = 0 ;
13093 int arg3 = (int) 100 ;
13094 wxWindow *arg4 = (wxWindow *) NULL ;
13095 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13096 wxProgressDialog *result;
13097 bool temp1 = False ;
13098 bool temp2 = False ;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 PyObject * obj2 = 0 ;
13102 PyObject * obj3 = 0 ;
13103 PyObject * obj4 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13109 {
13110 arg1 = wxString_in_helper(obj0);
13111 if (arg1 == NULL) SWIG_fail;
13112 temp1 = True;
13113 }
13114 {
13115 arg2 = wxString_in_helper(obj1);
13116 if (arg2 == NULL) SWIG_fail;
13117 temp2 = True;
13118 }
13119 if (obj2) {
13120 arg3 = (int) SWIG_AsInt(obj2);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 if (obj3) {
13124 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13126 }
13127 if (obj4) {
13128 arg5 = (int) SWIG_AsInt(obj4);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13139 {
13140 if (temp1)
13141 delete arg1;
13142 }
13143 {
13144 if (temp2)
13145 delete arg2;
13146 }
13147 return resultobj;
13148 fail:
13149 {
13150 if (temp1)
13151 delete arg1;
13152 }
13153 {
13154 if (temp2)
13155 delete arg2;
13156 }
13157 return NULL;
13158}
13159
13160
13161static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13164 int arg2 ;
13165 wxString const &arg3_defvalue = wxPyEmptyString ;
13166 wxString *arg3 = (wxString *) &arg3_defvalue ;
13167 bool result;
13168 bool temp3 = False ;
13169 PyObject * obj0 = 0 ;
13170 PyObject * obj1 = 0 ;
13171 PyObject * obj2 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13179 arg2 = (int) SWIG_AsInt(obj1);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 if (obj2) {
13182 {
13183 arg3 = wxString_in_helper(obj2);
13184 if (arg3 == NULL) SWIG_fail;
13185 temp3 = True;
13186 }
13187 }
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 {
13196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13197 }
13198 {
13199 if (temp3)
13200 delete arg3;
13201 }
13202 return resultobj;
13203 fail:
13204 {
13205 if (temp3)
13206 delete arg3;
13207 }
13208 return NULL;
13209}
13210
13211
13212static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13213 PyObject *resultobj;
13214 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13215 PyObject * obj0 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "self", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 (arg1)->Resume();
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 Py_INCREF(Py_None); resultobj = Py_None;
13231 return resultobj;
13232 fail:
13233 return NULL;
13234}
13235
13236
13237static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13238 PyObject *obj;
13239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13240 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13241 Py_INCREF(obj);
13242 return Py_BuildValue((char *)"");
13243}
13244static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj;
13246 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13247 int arg2 = (int) 0 ;
13248 wxFindDialogEvent *result;
13249 PyObject * obj0 = 0 ;
13250 PyObject * obj1 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "commandType",(char *) "id", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13256 if (obj0) {
13257 arg1 = (wxEventType) SWIG_AsInt(obj0);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 if (obj1) {
13261 arg2 = (int) SWIG_AsInt(obj1);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
13271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13272 return resultobj;
13273 fail:
13274 return NULL;
13275}
13276
13277
13278static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13281 int result;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (int)(arg1)->GetFlags();
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 resultobj = SWIG_FromInt((int)result);
13298 return resultobj;
13299 fail:
13300 return NULL;
13301}
13302
13303
13304static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13307 wxString *result;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 {
13319 wxString const &_result_ref = (arg1)->GetFindString();
13320 result = (wxString *) &_result_ref;
13321 }
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
13326 {
13327#if wxUSE_UNICODE
13328 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13329#else
13330 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13331#endif
13332 }
13333 return resultobj;
13334 fail:
13335 return NULL;
13336}
13337
13338
13339static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13342 wxString *result;
13343 PyObject * obj0 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 {
13354 wxString const &_result_ref = (arg1)->GetReplaceString();
13355 result = (wxString *) &_result_ref;
13356 }
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 {
13362#if wxUSE_UNICODE
13363 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13364#else
13365 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13366#endif
13367 }
13368 return resultobj;
13369 fail:
13370 return NULL;
13371}
13372
13373
13374static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13377 wxFindReplaceDialog *result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13394 return resultobj;
13395 fail:
13396 return NULL;
13397}
13398
13399
13400static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13403 int arg2 ;
13404 PyObject * obj0 = 0 ;
13405 PyObject * obj1 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self",(char *) "flags", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13413 arg2 = (int) SWIG_AsInt(obj1);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 (arg1)->SetFlags(arg2);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 Py_INCREF(Py_None); resultobj = Py_None;
13423 return resultobj;
13424 fail:
13425 return NULL;
13426}
13427
13428
13429static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13430 PyObject *resultobj;
13431 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13432 wxString *arg2 = 0 ;
13433 bool temp2 = False ;
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "str", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13443 {
13444 arg2 = wxString_in_helper(obj1);
13445 if (arg2 == NULL) SWIG_fail;
13446 temp2 = True;
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 (arg1)->SetFindString((wxString const &)*arg2);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 Py_INCREF(Py_None); resultobj = Py_None;
13456 {
13457 if (temp2)
13458 delete arg2;
13459 }
13460 return resultobj;
13461 fail:
13462 {
13463 if (temp2)
13464 delete arg2;
13465 }
13466 return NULL;
13467}
13468
13469
13470static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13473 wxString *arg2 = 0 ;
13474 bool temp2 = False ;
13475 PyObject * obj0 = 0 ;
13476 PyObject * obj1 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self",(char *) "str", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13484 {
13485 arg2 = wxString_in_helper(obj1);
13486 if (arg2 == NULL) SWIG_fail;
13487 temp2 = True;
13488 }
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 (arg1)->SetReplaceString((wxString const &)*arg2);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 Py_INCREF(Py_None); resultobj = Py_None;
13497 {
13498 if (temp2)
13499 delete arg2;
13500 }
13501 return resultobj;
13502 fail:
13503 {
13504 if (temp2)
13505 delete arg2;
13506 }
13507 return NULL;
13508}
13509
13510
13511static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13512 PyObject *obj;
13513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13514 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13515 Py_INCREF(obj);
13516 return Py_BuildValue((char *)"");
13517}
13518static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 int arg1 = (int) 0 ;
13521 wxFindReplaceData *result;
13522 PyObject * obj0 = 0 ;
13523 char *kwnames[] = {
13524 (char *) "flags", NULL
13525 };
13526
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13528 if (obj0) {
13529 arg1 = (int) SWIG_AsInt(obj0);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 {
13533 PyThreadState* __tstate = wxPyBeginAllowThreads();
13534 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13535
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13540 return resultobj;
13541 fail:
13542 return NULL;
13543}
13544
13545
13546static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13549 PyObject * obj0 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 delete arg1;
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 Py_INCREF(Py_None); resultobj = Py_None;
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13574 wxString *result;
13575 PyObject * obj0 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 {
13586 wxString const &_result_ref = (arg1)->GetFindString();
13587 result = (wxString *) &_result_ref;
13588 }
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 {
13594#if wxUSE_UNICODE
13595 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13596#else
13597 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13598#endif
13599 }
13600 return resultobj;
13601 fail:
13602 return NULL;
13603}
13604
13605
13606static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13609 wxString *result;
13610 PyObject * obj0 = 0 ;
13611 char *kwnames[] = {
13612 (char *) "self", NULL
13613 };
13614
13615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 {
13621 wxString const &_result_ref = (arg1)->GetReplaceString();
13622 result = (wxString *) &_result_ref;
13623 }
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 {
13629#if wxUSE_UNICODE
13630 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13631#else
13632 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13633#endif
13634 }
13635 return resultobj;
13636 fail:
13637 return NULL;
13638}
13639
13640
13641static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13644 int result;
13645 PyObject * obj0 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 result = (int)(arg1)->GetFlags();
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 resultobj = SWIG_FromInt((int)result);
13661 return resultobj;
13662 fail:
13663 return NULL;
13664}
13665
13666
13667static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13668 PyObject *resultobj;
13669 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13670 int arg2 ;
13671 PyObject * obj0 = 0 ;
13672 PyObject * obj1 = 0 ;
13673 char *kwnames[] = {
13674 (char *) "self",(char *) "flags", NULL
13675 };
13676
13677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13680 arg2 = (int) SWIG_AsInt(obj1);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 (arg1)->SetFlags(arg2);
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 Py_INCREF(Py_None); resultobj = Py_None;
13690 return resultobj;
13691 fail:
13692 return NULL;
13693}
13694
13695
13696static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13697 PyObject *resultobj;
13698 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13699 wxString *arg2 = 0 ;
13700 bool temp2 = False ;
13701 PyObject * obj0 = 0 ;
13702 PyObject * obj1 = 0 ;
13703 char *kwnames[] = {
13704 (char *) "self",(char *) "str", NULL
13705 };
13706
13707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13710 {
13711 arg2 = wxString_in_helper(obj1);
13712 if (arg2 == NULL) SWIG_fail;
13713 temp2 = True;
13714 }
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 (arg1)->SetFindString((wxString const &)*arg2);
13718
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 Py_INCREF(Py_None); resultobj = Py_None;
13723 {
13724 if (temp2)
13725 delete arg2;
13726 }
13727 return resultobj;
13728 fail:
13729 {
13730 if (temp2)
13731 delete arg2;
13732 }
13733 return NULL;
13734}
13735
13736
13737static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13740 wxString *arg2 = 0 ;
13741 bool temp2 = False ;
13742 PyObject * obj0 = 0 ;
13743 PyObject * obj1 = 0 ;
13744 char *kwnames[] = {
13745 (char *) "self",(char *) "str", NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13751 {
13752 arg2 = wxString_in_helper(obj1);
13753 if (arg2 == NULL) SWIG_fail;
13754 temp2 = True;
13755 }
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 (arg1)->SetReplaceString((wxString const &)*arg2);
13759
13760 wxPyEndAllowThreads(__tstate);
13761 if (PyErr_Occurred()) SWIG_fail;
13762 }
13763 Py_INCREF(Py_None); resultobj = Py_None;
13764 {
13765 if (temp2)
13766 delete arg2;
13767 }
13768 return resultobj;
13769 fail:
13770 {
13771 if (temp2)
13772 delete arg2;
13773 }
13774 return NULL;
13775}
13776
13777
13778static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13779 PyObject *obj;
13780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13781 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13782 Py_INCREF(obj);
13783 return Py_BuildValue((char *)"");
13784}
13785static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxWindow *arg1 = (wxWindow *) 0 ;
13788 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13789 wxString *arg3 = 0 ;
13790 int arg4 = (int) 0 ;
13791 wxFindReplaceDialog *result;
13792 bool temp3 = False ;
13793 PyObject * obj0 = 0 ;
13794 PyObject * obj1 = 0 ;
13795 PyObject * obj2 = 0 ;
13796 PyObject * obj3 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13806 {
13807 arg3 = wxString_in_helper(obj2);
13808 if (arg3 == NULL) SWIG_fail;
13809 temp3 = True;
13810 }
13811 if (obj3) {
13812 arg4 = (int) SWIG_AsInt(obj3);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13823 {
13824 if (temp3)
13825 delete arg3;
13826 }
13827 return resultobj;
13828 fail:
13829 {
13830 if (temp3)
13831 delete arg3;
13832 }
13833 return NULL;
13834}
13835
13836
13837static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13838 PyObject *resultobj;
13839 wxFindReplaceDialog *result;
13840 char *kwnames[] = {
13841 NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13853 return resultobj;
13854 fail:
13855 return NULL;
13856}
13857
13858
13859static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13862 wxWindow *arg2 = (wxWindow *) 0 ;
13863 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13864 wxString *arg4 = 0 ;
13865 int arg5 = (int) 0 ;
13866 bool result;
13867 bool temp4 = False ;
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 PyObject * obj2 = 0 ;
13871 PyObject * obj3 = 0 ;
13872 PyObject * obj4 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13882 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13884 {
13885 arg4 = wxString_in_helper(obj3);
13886 if (arg4 == NULL) SWIG_fail;
13887 temp4 = True;
13888 }
13889 if (obj4) {
13890 arg5 = (int) SWIG_AsInt(obj4);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13902 }
13903 {
13904 if (temp4)
13905 delete arg4;
13906 }
13907 return resultobj;
13908 fail:
13909 {
13910 if (temp4)
13911 delete arg4;
13912 }
13913 return NULL;
13914}
13915
13916
13917static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13918 PyObject *resultobj;
13919 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13920 wxFindReplaceData *result;
13921 PyObject * obj0 = 0 ;
13922 char *kwnames[] = {
13923 (char *) "self", NULL
13924 };
13925
13926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
13931 result = (wxFindReplaceData *)(arg1)->GetData();
13932
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13937 return resultobj;
13938 fail:
13939 return NULL;
13940}
13941
13942
13943static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13944 PyObject *resultobj;
13945 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13946 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13947 PyObject * obj0 = 0 ;
13948 PyObject * obj1 = 0 ;
13949 char *kwnames[] = {
13950 (char *) "self",(char *) "data", NULL
13951 };
13952
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 (arg1)->SetData(arg2);
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 Py_INCREF(Py_None); resultobj = Py_None;
13966 return resultobj;
13967 fail:
13968 return NULL;
13969}
13970
13971
13972static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13973 PyObject *obj;
13974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13975 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13976 Py_INCREF(obj);
13977 return Py_BuildValue((char *)"");
13978}
13979static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13980 PyObject *resultobj;
13981 wxWindow *arg1 = (wxWindow *) 0 ;
13982 int arg2 ;
13983 wxString *arg3 = 0 ;
13984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13986 wxSize const &arg5_defvalue = wxDefaultSize ;
13987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13988 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13989 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13990 wxString *arg7 = (wxString *) &arg7_defvalue ;
13991 wxMDIParentFrame *result;
13992 bool temp3 = False ;
13993 wxPoint temp4 ;
13994 wxSize temp5 ;
13995 bool temp7 = False ;
13996 PyObject * obj0 = 0 ;
13997 PyObject * obj1 = 0 ;
13998 PyObject * obj2 = 0 ;
13999 PyObject * obj3 = 0 ;
14000 PyObject * obj4 = 0 ;
14001 PyObject * obj5 = 0 ;
14002 PyObject * obj6 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14010 arg2 = (int const) SWIG_AsInt(obj1);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 {
14013 arg3 = wxString_in_helper(obj2);
14014 if (arg3 == NULL) SWIG_fail;
14015 temp3 = True;
14016 }
14017 if (obj3) {
14018 {
14019 arg4 = &temp4;
14020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14021 }
14022 }
14023 if (obj4) {
14024 {
14025 arg5 = &temp5;
14026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14027 }
14028 }
14029 if (obj5) {
14030 arg6 = (long) SWIG_AsLong(obj5);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 if (obj6) {
14034 {
14035 arg7 = wxString_in_helper(obj6);
14036 if (arg7 == NULL) SWIG_fail;
14037 temp7 = True;
14038 }
14039 }
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14043
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14048 {
14049 if (temp3)
14050 delete arg3;
14051 }
14052 {
14053 if (temp7)
14054 delete arg7;
14055 }
14056 return resultobj;
14057 fail:
14058 {
14059 if (temp3)
14060 delete arg3;
14061 }
14062 {
14063 if (temp7)
14064 delete arg7;
14065 }
14066 return NULL;
14067}
14068
14069
14070static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxMDIParentFrame *result;
14073 char *kwnames[] = {
14074 NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14086 return resultobj;
14087 fail:
14088 return NULL;
14089}
14090
14091
14092static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14095 wxWindow *arg2 = (wxWindow *) 0 ;
14096 int arg3 ;
14097 wxString *arg4 = 0 ;
14098 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14099 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14100 wxSize const &arg6_defvalue = wxDefaultSize ;
14101 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14102 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14103 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14104 wxString *arg8 = (wxString *) &arg8_defvalue ;
14105 bool result;
14106 bool temp4 = False ;
14107 wxPoint temp5 ;
14108 wxSize temp6 ;
14109 bool temp8 = False ;
14110 PyObject * obj0 = 0 ;
14111 PyObject * obj1 = 0 ;
14112 PyObject * obj2 = 0 ;
14113 PyObject * obj3 = 0 ;
14114 PyObject * obj4 = 0 ;
14115 PyObject * obj5 = 0 ;
14116 PyObject * obj6 = 0 ;
14117 PyObject * obj7 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14120 };
14121
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14127 arg3 = (int const) SWIG_AsInt(obj2);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 {
14130 arg4 = wxString_in_helper(obj3);
14131 if (arg4 == NULL) SWIG_fail;
14132 temp4 = True;
14133 }
14134 if (obj4) {
14135 {
14136 arg5 = &temp5;
14137 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14138 }
14139 }
14140 if (obj5) {
14141 {
14142 arg6 = &temp6;
14143 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14144 }
14145 }
14146 if (obj6) {
14147 arg7 = (long) SWIG_AsLong(obj6);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 if (obj7) {
14151 {
14152 arg8 = wxString_in_helper(obj7);
14153 if (arg8 == NULL) SWIG_fail;
14154 temp8 = True;
14155 }
14156 }
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14160
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 {
14165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14166 }
14167 {
14168 if (temp4)
14169 delete arg4;
14170 }
14171 {
14172 if (temp8)
14173 delete arg8;
14174 }
14175 return resultobj;
14176 fail:
14177 {
14178 if (temp4)
14179 delete arg4;
14180 }
14181 {
14182 if (temp8)
14183 delete arg8;
14184 }
14185 return NULL;
14186}
14187
14188
14189static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14192 PyObject * obj0 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 (arg1)->ActivateNext();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 Py_INCREF(Py_None); resultobj = Py_None;
14208 return resultobj;
14209 fail:
14210 return NULL;
14211}
14212
14213
14214static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj;
14216 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14217 PyObject * obj0 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 (arg1)->ActivatePrevious();
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 Py_INCREF(Py_None); resultobj = Py_None;
14233 return resultobj;
14234 fail:
14235 return NULL;
14236}
14237
14238
14239static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14242 PyObject * obj0 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 (arg1)->ArrangeIcons();
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 Py_INCREF(Py_None); resultobj = Py_None;
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
14264static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj;
14266 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14267 PyObject * obj0 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 (arg1)->Cascade();
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 Py_INCREF(Py_None); resultobj = Py_None;
14283 return resultobj;
14284 fail:
14285 return NULL;
14286}
14287
14288
14289static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14292 wxMDIChildFrame *result;
14293 PyObject * obj0 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 {
14309 resultobj = wxPyMake_wxObject(result);
14310 }
14311 return resultobj;
14312 fail:
14313 return NULL;
14314}
14315
14316
14317static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj;
14319 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14320 wxMDIClientWindow *result;
14321 PyObject * obj0 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 {
14337 resultobj = wxPyMake_wxObject(result);
14338 }
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
14345static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj;
14347 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14348 wxWindow *result;
14349 PyObject * obj0 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 result = (wxWindow *)(arg1)->GetToolBar();
14360
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 {
14365 resultobj = wxPyMake_wxObject(result);
14366 }
14367 return resultobj;
14368 fail:
14369 return NULL;
14370}
14371
14372
14373static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14376 PyObject * obj0 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 (arg1)->Tile();
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 Py_INCREF(Py_None); resultobj = Py_None;
14392 return resultobj;
14393 fail:
14394 return NULL;
14395}
14396
14397
14398static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14399 PyObject *obj;
14400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14401 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14402 Py_INCREF(obj);
14403 return Py_BuildValue((char *)"");
14404}
14405static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj;
14407 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14408 int arg2 ;
14409 wxString *arg3 = 0 ;
14410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14412 wxSize const &arg5_defvalue = wxDefaultSize ;
14413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14414 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14415 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14416 wxString *arg7 = (wxString *) &arg7_defvalue ;
14417 wxMDIChildFrame *result;
14418 bool temp3 = False ;
14419 wxPoint temp4 ;
14420 wxSize temp5 ;
14421 bool temp7 = False ;
14422 PyObject * obj0 = 0 ;
14423 PyObject * obj1 = 0 ;
14424 PyObject * obj2 = 0 ;
14425 PyObject * obj3 = 0 ;
14426 PyObject * obj4 = 0 ;
14427 PyObject * obj5 = 0 ;
14428 PyObject * obj6 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14436 arg2 = (int const) SWIG_AsInt(obj1);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 {
14439 arg3 = wxString_in_helper(obj2);
14440 if (arg3 == NULL) SWIG_fail;
14441 temp3 = True;
14442 }
14443 if (obj3) {
14444 {
14445 arg4 = &temp4;
14446 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14447 }
14448 }
14449 if (obj4) {
14450 {
14451 arg5 = &temp5;
14452 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14453 }
14454 }
14455 if (obj5) {
14456 arg6 = (long) SWIG_AsLong(obj5);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 if (obj6) {
14460 {
14461 arg7 = wxString_in_helper(obj6);
14462 if (arg7 == NULL) SWIG_fail;
14463 temp7 = True;
14464 }
14465 }
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 {
14474 resultobj = wxPyMake_wxObject(result);
14475 }
14476 {
14477 if (temp3)
14478 delete arg3;
14479 }
14480 {
14481 if (temp7)
14482 delete arg7;
14483 }
14484 return resultobj;
14485 fail:
14486 {
14487 if (temp3)
14488 delete arg3;
14489 }
14490 {
14491 if (temp7)
14492 delete arg7;
14493 }
14494 return NULL;
14495}
14496
14497
14498static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxMDIChildFrame *result;
14501 char *kwnames[] = {
14502 NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 {
14514 resultobj = wxPyMake_wxObject(result);
14515 }
14516 return resultobj;
14517 fail:
14518 return NULL;
14519}
14520
14521
14522static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14525 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14526 int arg3 ;
14527 wxString *arg4 = 0 ;
14528 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14529 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14530 wxSize const &arg6_defvalue = wxDefaultSize ;
14531 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14532 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14533 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14534 wxString *arg8 = (wxString *) &arg8_defvalue ;
14535 bool result;
14536 bool temp4 = False ;
14537 wxPoint temp5 ;
14538 wxSize temp6 ;
14539 bool temp8 = False ;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 PyObject * obj2 = 0 ;
14543 PyObject * obj3 = 0 ;
14544 PyObject * obj4 = 0 ;
14545 PyObject * obj5 = 0 ;
14546 PyObject * obj6 = 0 ;
14547 PyObject * obj7 = 0 ;
14548 char *kwnames[] = {
14549 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14557 arg3 = (int const) SWIG_AsInt(obj2);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 {
14560 arg4 = wxString_in_helper(obj3);
14561 if (arg4 == NULL) SWIG_fail;
14562 temp4 = True;
14563 }
14564 if (obj4) {
14565 {
14566 arg5 = &temp5;
14567 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14568 }
14569 }
14570 if (obj5) {
14571 {
14572 arg6 = &temp6;
14573 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14574 }
14575 }
14576 if (obj6) {
14577 arg7 = (long) SWIG_AsLong(obj6);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 if (obj7) {
14581 {
14582 arg8 = wxString_in_helper(obj7);
14583 if (arg8 == NULL) SWIG_fail;
14584 temp8 = True;
14585 }
14586 }
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 {
14595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14596 }
14597 {
14598 if (temp4)
14599 delete arg4;
14600 }
14601 {
14602 if (temp8)
14603 delete arg8;
14604 }
14605 return resultobj;
14606 fail:
14607 {
14608 if (temp4)
14609 delete arg4;
14610 }
14611 {
14612 if (temp8)
14613 delete arg8;
14614 }
14615 return NULL;
14616}
14617
14618
14619static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj;
14621 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 (arg1)->Activate();
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 Py_INCREF(Py_None); resultobj = Py_None;
14638 return resultobj;
14639 fail:
14640 return NULL;
14641}
14642
14643
14644static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14647 bool arg2 ;
14648 PyObject * obj0 = 0 ;
14649 PyObject * obj1 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self",(char *) "maximize", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14657 arg2 = (bool) SWIG_AsBool(obj1);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 (arg1)->Maximize(arg2);
14662
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 Py_INCREF(Py_None); resultobj = Py_None;
14667 return resultobj;
14668 fail:
14669 return NULL;
14670}
14671
14672
14673static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj;
14675 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14676 PyObject * obj0 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 (arg1)->Restore();
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 Py_INCREF(Py_None); resultobj = Py_None;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
14698static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14699 PyObject *obj;
14700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14702 Py_INCREF(obj);
14703 return Py_BuildValue((char *)"");
14704}
14705static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14708 long arg2 = (long) 0 ;
14709 wxMDIClientWindow *result;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "parent",(char *) "style", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14719 if (obj1) {
14720 arg2 = (long) SWIG_AsLong(obj1);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = wxPyMake_wxObject(result);
14732 }
14733 return resultobj;
14734 fail:
14735 return NULL;
14736}
14737
14738
14739static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj;
14741 wxMDIClientWindow *result;
14742 char *kwnames[] = {
14743 NULL
14744 };
14745
14746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 {
14755 resultobj = wxPyMake_wxObject(result);
14756 }
14757 return resultobj;
14758 fail:
14759 return NULL;
14760}
14761
14762
14763static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14766 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14767 long arg3 = (long) 0 ;
14768 bool result;
14769 PyObject * obj0 = 0 ;
14770 PyObject * obj1 = 0 ;
14771 PyObject * obj2 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self",(char *) "parent",(char *) "style", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14781 if (obj2) {
14782 arg3 = (long) SWIG_AsLong(obj2);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 result = (bool)(arg1)->Create(arg2,arg3);
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 {
14793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14794 }
14795 return resultobj;
14796 fail:
14797 return NULL;
14798}
14799
14800
14801static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14802 PyObject *obj;
14803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14804 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14805 Py_INCREF(obj);
14806 return Py_BuildValue((char *)"");
14807}
14808static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxWindow *arg1 = (wxWindow *) 0 ;
14811 int arg2 ;
14812 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14813 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14814 wxSize const &arg4_defvalue = wxDefaultSize ;
14815 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14816 long arg5 = (long) 0 ;
14817 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14818 wxString *arg6 = (wxString *) &arg6_defvalue ;
14819 wxPyWindow *result;
14820 wxPoint temp3 ;
14821 wxSize temp4 ;
14822 bool temp6 = False ;
14823 PyObject * obj0 = 0 ;
14824 PyObject * obj1 = 0 ;
14825 PyObject * obj2 = 0 ;
14826 PyObject * obj3 = 0 ;
14827 PyObject * obj4 = 0 ;
14828 PyObject * obj5 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14836 arg2 = (int const) SWIG_AsInt(obj1);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 if (obj2) {
14839 {
14840 arg3 = &temp3;
14841 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14842 }
14843 }
14844 if (obj3) {
14845 {
14846 arg4 = &temp4;
14847 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14848 }
14849 }
14850 if (obj4) {
14851 arg5 = (long) SWIG_AsLong(obj4);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 if (obj5) {
14855 {
14856 arg6 = wxString_in_helper(obj5);
14857 if (arg6 == NULL) SWIG_fail;
14858 temp6 = True;
14859 }
14860 }
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14869 {
14870 if (temp6)
14871 delete arg6;
14872 }
14873 return resultobj;
14874 fail:
14875 {
14876 if (temp6)
14877 delete arg6;
14878 }
14879 return NULL;
14880}
14881
14882
14883static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj;
14885 wxPyWindow *result;
14886 char *kwnames[] = {
14887 NULL
14888 };
14889
14890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (wxPyWindow *)new wxPyWindow();
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14899 return resultobj;
14900 fail:
14901 return NULL;
14902}
14903
14904
14905static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14908 PyObject *arg2 = (PyObject *) 0 ;
14909 PyObject *arg3 = (PyObject *) 0 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 PyObject * obj2 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self",(char *) "self",(char *) "_class", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14920 arg2 = obj1;
14921 arg3 = obj2;
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 (arg1)->_setCallbackInfo(arg2,arg3);
14925
14926 wxPyEndAllowThreads(__tstate);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 }
14929 Py_INCREF(Py_None); resultobj = Py_None;
14930 return resultobj;
14931 fail:
14932 return NULL;
14933}
14934
14935
14936static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14939 int arg2 ;
14940 int arg3 ;
14941 int arg4 ;
14942 int arg5 ;
14943 PyObject * obj0 = 0 ;
14944 PyObject * obj1 = 0 ;
14945 PyObject * obj2 = 0 ;
14946 PyObject * obj3 = 0 ;
14947 PyObject * obj4 = 0 ;
14948 char *kwnames[] = {
14949 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14950 };
14951
14952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14955 arg2 = (int) SWIG_AsInt(obj1);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 arg3 = (int) SWIG_AsInt(obj2);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 arg4 = (int) SWIG_AsInt(obj3);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 arg5 = (int) SWIG_AsInt(obj4);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 Py_INCREF(Py_None); resultobj = Py_None;
14971 return resultobj;
14972 fail:
14973 return NULL;
14974}
14975
14976
14977static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14980 int arg2 ;
14981 int arg3 ;
14982 int arg4 ;
14983 int arg5 ;
14984 int arg6 = (int) wxSIZE_AUTO ;
14985 PyObject * obj0 = 0 ;
14986 PyObject * obj1 = 0 ;
14987 PyObject * obj2 = 0 ;
14988 PyObject * obj3 = 0 ;
14989 PyObject * obj4 = 0 ;
14990 PyObject * obj5 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14998 arg2 = (int) SWIG_AsInt(obj1);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 arg3 = (int) SWIG_AsInt(obj2);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 arg4 = (int) SWIG_AsInt(obj3);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 arg5 = (int) SWIG_AsInt(obj4);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 if (obj5) {
15007 arg6 = (int) SWIG_AsInt(obj5);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15013
15014 wxPyEndAllowThreads(__tstate);
15015 if (PyErr_Occurred()) SWIG_fail;
15016 }
15017 Py_INCREF(Py_None); resultobj = Py_None;
15018 return resultobj;
15019 fail:
15020 return NULL;
15021}
15022
15023
15024static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15027 int arg2 ;
15028 int arg3 ;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 PyObject * obj2 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "width",(char *) "height", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15039 arg2 = (int) SWIG_AsInt(obj1);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 arg3 = (int) SWIG_AsInt(obj2);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 (arg1)->base_DoSetClientSize(arg2,arg3);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 Py_INCREF(Py_None); resultobj = Py_None;
15051 return resultobj;
15052 fail:
15053 return NULL;
15054}
15055
15056
15057static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15058 PyObject *resultobj;
15059 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15060 int arg2 ;
15061 int arg3 ;
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 PyObject * obj2 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self",(char *) "x",(char *) "y", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15072 arg2 = (int) SWIG_AsInt(obj1);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 arg3 = (int) SWIG_AsInt(obj2);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 return resultobj;
15085 fail:
15086 return NULL;
15087}
15088
15089
15090static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15093 int *arg2 = (int *) 0 ;
15094 int *arg3 = (int *) 0 ;
15095 int temp2 ;
15096 int temp3 ;
15097 PyObject * obj0 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self", NULL
15100 };
15101
15102 arg2 = &temp2;
15103 arg3 = &temp3;
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 Py_INCREF(Py_None); resultobj = Py_None;
15115 {
15116 PyObject *o = PyInt_FromLong((long) (*arg2));
15117 resultobj = t_output_helper(resultobj,o);
15118 }
15119 {
15120 PyObject *o = PyInt_FromLong((long) (*arg3));
15121 resultobj = t_output_helper(resultobj,o);
15122 }
15123 return resultobj;
15124 fail:
15125 return NULL;
15126}
15127
15128
15129static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
15131 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15132 int *arg2 = (int *) 0 ;
15133 int *arg3 = (int *) 0 ;
15134 int temp2 ;
15135 int temp3 ;
15136 PyObject * obj0 = 0 ;
15137 char *kwnames[] = {
15138 (char *) "self", NULL
15139 };
15140
15141 arg2 = &temp2;
15142 arg3 = &temp3;
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15149
15150 wxPyEndAllowThreads(__tstate);
15151 if (PyErr_Occurred()) SWIG_fail;
15152 }
15153 Py_INCREF(Py_None); resultobj = Py_None;
15154 {
15155 PyObject *o = PyInt_FromLong((long) (*arg2));
15156 resultobj = t_output_helper(resultobj,o);
15157 }
15158 {
15159 PyObject *o = PyInt_FromLong((long) (*arg3));
15160 resultobj = t_output_helper(resultobj,o);
15161 }
15162 return resultobj;
15163 fail:
15164 return NULL;
15165}
15166
15167
15168static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj;
15170 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15171 int *arg2 = (int *) 0 ;
15172 int *arg3 = (int *) 0 ;
15173 int temp2 ;
15174 int temp3 ;
15175 PyObject * obj0 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self", NULL
15178 };
15179
15180 arg2 = &temp2;
15181 arg3 = &temp3;
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 Py_INCREF(Py_None); resultobj = Py_None;
15193 {
15194 PyObject *o = PyInt_FromLong((long) (*arg2));
15195 resultobj = t_output_helper(resultobj,o);
15196 }
15197 {
15198 PyObject *o = PyInt_FromLong((long) (*arg3));
15199 resultobj = t_output_helper(resultobj,o);
15200 }
15201 return resultobj;
15202 fail:
15203 return NULL;
15204}
15205
15206
15207static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj;
15209 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15210 wxSize result;
15211 PyObject * obj0 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 {
15227 wxSize * resultptr;
15228 resultptr = new wxSize((wxSize &) result);
15229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15230 }
15231 return resultobj;
15232 fail:
15233 return NULL;
15234}
15235
15236
15237static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15238 PyObject *resultobj;
15239 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15240 wxSize result;
15241 PyObject * obj0 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 {
15257 wxSize * resultptr;
15258 resultptr = new wxSize((wxSize &) result);
15259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15260 }
15261 return resultobj;
15262 fail:
15263 return NULL;
15264}
15265
15266
15267static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15270 PyObject * obj0 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 (arg1)->base_InitDialog();
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 Py_INCREF(Py_None); resultobj = Py_None;
15286 return resultobj;
15287 fail:
15288 return NULL;
15289}
15290
15291
15292static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15295 bool result;
15296 PyObject * obj0 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 result = (bool)(arg1)->base_TransferDataToWindow();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 {
15312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15313 }
15314 return resultobj;
15315 fail:
15316 return NULL;
15317}
15318
15319
15320static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15323 bool result;
15324 PyObject * obj0 = 0 ;
15325 char *kwnames[] = {
15326 (char *) "self", NULL
15327 };
15328
15329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (bool)(arg1)->base_TransferDataFromWindow();
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 {
15340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15341 }
15342 return resultobj;
15343 fail:
15344 return NULL;
15345}
15346
15347
15348static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15351 bool result;
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (bool)(arg1)->base_Validate();
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 {
15368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15369 }
15370 return resultobj;
15371 fail:
15372 return NULL;
15373}
15374
15375
15376static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15379 bool result;
15380 PyObject * obj0 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "self", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 {
15396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15397 }
15398 return resultobj;
15399 fail:
15400 return NULL;
15401}
15402
15403
15404static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15407 bool result;
15408 PyObject * obj0 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 {
15424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15425 }
15426 return resultobj;
15427 fail:
15428 return NULL;
15429}
15430
15431
15432static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15435 wxSize result;
15436 PyObject * obj0 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 wxSize * resultptr;
15453 resultptr = new wxSize((wxSize &) result);
15454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15455 }
15456 return resultobj;
15457 fail:
15458 return NULL;
15459}
15460
15461
15462static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15465 wxWindow *arg2 = (wxWindow *) 0 ;
15466 PyObject * obj0 = 0 ;
15467 PyObject * obj1 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self",(char *) "child", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->base_AddChild(arg2);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488}
15489
15490
15491static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15494 wxWindow *arg2 = (wxWindow *) 0 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "child", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 (arg1)->base_RemoveChild(arg2);
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 Py_INCREF(Py_None); resultobj = Py_None;
15514 return resultobj;
15515 fail:
15516 return NULL;
15517}
15518
15519
15520static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15521 PyObject *resultobj;
15522 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15523 bool result;
15524 PyObject * obj0 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 result = (bool)(arg1)->base_ShouldInheritColours();
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 {
15540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15541 }
15542 return resultobj;
15543 fail:
15544 return NULL;
15545}
15546
15547
15548static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj;
15550 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15551 wxColour *arg2 = 0 ;
15552 wxColour temp2 ;
15553 PyObject * obj0 = 0 ;
15554 PyObject * obj1 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self",(char *) "c", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15562 {
15563 arg2 = &temp2;
15564 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15565 }
15566 {
15567 PyThreadState* __tstate = wxPyBeginAllowThreads();
15568 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15569
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 Py_INCREF(Py_None); resultobj = Py_None;
15574 return resultobj;
15575 fail:
15576 return NULL;
15577}
15578
15579
15580static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15581 PyObject *obj;
15582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15583 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15584 Py_INCREF(obj);
15585 return Py_BuildValue((char *)"");
15586}
15587static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxWindow *arg1 = (wxWindow *) 0 ;
15590 int arg2 ;
15591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15593 wxSize const &arg4_defvalue = wxDefaultSize ;
15594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15595 long arg5 = (long) 0 ;
15596 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15597 wxString *arg6 = (wxString *) &arg6_defvalue ;
15598 wxPyPanel *result;
15599 wxPoint temp3 ;
15600 wxSize temp4 ;
15601 bool temp6 = False ;
15602 PyObject * obj0 = 0 ;
15603 PyObject * obj1 = 0 ;
15604 PyObject * obj2 = 0 ;
15605 PyObject * obj3 = 0 ;
15606 PyObject * obj4 = 0 ;
15607 PyObject * obj5 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15615 arg2 = (int const) SWIG_AsInt(obj1);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 if (obj2) {
15618 {
15619 arg3 = &temp3;
15620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15621 }
15622 }
15623 if (obj3) {
15624 {
15625 arg4 = &temp4;
15626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15627 }
15628 }
15629 if (obj4) {
15630 arg5 = (long) SWIG_AsLong(obj4);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 if (obj5) {
15634 {
15635 arg6 = wxString_in_helper(obj5);
15636 if (arg6 == NULL) SWIG_fail;
15637 temp6 = True;
15638 }
15639 }
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15648 {
15649 if (temp6)
15650 delete arg6;
15651 }
15652 return resultobj;
15653 fail:
15654 {
15655 if (temp6)
15656 delete arg6;
15657 }
15658 return NULL;
15659}
15660
15661
15662static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxPyPanel *result;
15665 char *kwnames[] = {
15666 NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 result = (wxPyPanel *)new wxPyPanel();
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15678 return resultobj;
15679 fail:
15680 return NULL;
15681}
15682
15683
15684static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15687 PyObject *arg2 = (PyObject *) 0 ;
15688 PyObject *arg3 = (PyObject *) 0 ;
15689 PyObject * obj0 = 0 ;
15690 PyObject * obj1 = 0 ;
15691 PyObject * obj2 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self",(char *) "self",(char *) "_class", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15699 arg2 = obj1;
15700 arg3 = obj2;
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->_setCallbackInfo(arg2,arg3);
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 Py_INCREF(Py_None); resultobj = Py_None;
15709 return resultobj;
15710 fail:
15711 return NULL;
15712}
15713
15714
15715static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15718 int arg2 ;
15719 int arg3 ;
15720 int arg4 ;
15721 int arg5 ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 PyObject * obj2 = 0 ;
15725 PyObject * obj3 = 0 ;
15726 PyObject * obj4 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15734 arg2 = (int) SWIG_AsInt(obj1);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 arg3 = (int) SWIG_AsInt(obj2);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 arg4 = (int) SWIG_AsInt(obj3);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 arg5 = (int) SWIG_AsInt(obj4);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15745
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 Py_INCREF(Py_None); resultobj = Py_None;
15750 return resultobj;
15751 fail:
15752 return NULL;
15753}
15754
15755
15756static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15757 PyObject *resultobj;
15758 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15759 int arg2 ;
15760 int arg3 ;
15761 int arg4 ;
15762 int arg5 ;
15763 int arg6 = (int) wxSIZE_AUTO ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 PyObject * obj2 = 0 ;
15767 PyObject * obj3 = 0 ;
15768 PyObject * obj4 = 0 ;
15769 PyObject * obj5 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15777 arg2 = (int) SWIG_AsInt(obj1);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 arg3 = (int) SWIG_AsInt(obj2);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 arg4 = (int) SWIG_AsInt(obj3);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 arg5 = (int) SWIG_AsInt(obj4);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 if (obj5) {
15786 arg6 = (int) SWIG_AsInt(obj5);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 Py_INCREF(Py_None); resultobj = Py_None;
15797 return resultobj;
15798 fail:
15799 return NULL;
15800}
15801
15802
15803static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15806 int arg2 ;
15807 int arg3 ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 PyObject * obj2 = 0 ;
15811 char *kwnames[] = {
15812 (char *) "self",(char *) "width",(char *) "height", NULL
15813 };
15814
15815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15818 arg2 = (int) SWIG_AsInt(obj1);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 arg3 = (int) SWIG_AsInt(obj2);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 (arg1)->base_DoSetClientSize(arg2,arg3);
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 Py_INCREF(Py_None); resultobj = Py_None;
15830 return resultobj;
15831 fail:
15832 return NULL;
15833}
15834
15835
15836static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15839 int arg2 ;
15840 int arg3 ;
15841 PyObject * obj0 = 0 ;
15842 PyObject * obj1 = 0 ;
15843 PyObject * obj2 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "x",(char *) "y", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15851 arg2 = (int) SWIG_AsInt(obj1);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 arg3 = (int) SWIG_AsInt(obj2);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 {
15856 PyThreadState* __tstate = wxPyBeginAllowThreads();
15857 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15858
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 Py_INCREF(Py_None); resultobj = Py_None;
15863 return resultobj;
15864 fail:
15865 return NULL;
15866}
15867
15868
15869static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj;
15871 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15872 int *arg2 = (int *) 0 ;
15873 int *arg3 = (int *) 0 ;
15874 int temp2 ;
15875 int temp3 ;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 arg2 = &temp2;
15882 arg3 = &temp3;
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 Py_INCREF(Py_None); resultobj = Py_None;
15894 {
15895 PyObject *o = PyInt_FromLong((long) (*arg2));
15896 resultobj = t_output_helper(resultobj,o);
15897 }
15898 {
15899 PyObject *o = PyInt_FromLong((long) (*arg3));
15900 resultobj = t_output_helper(resultobj,o);
15901 }
15902 return resultobj;
15903 fail:
15904 return NULL;
15905}
15906
15907
15908static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj;
15910 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15911 int *arg2 = (int *) 0 ;
15912 int *arg3 = (int *) 0 ;
15913 int temp2 ;
15914 int temp3 ;
15915 PyObject * obj0 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "self", NULL
15918 };
15919
15920 arg2 = &temp2;
15921 arg3 = &temp3;
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 Py_INCREF(Py_None); resultobj = Py_None;
15933 {
15934 PyObject *o = PyInt_FromLong((long) (*arg2));
15935 resultobj = t_output_helper(resultobj,o);
15936 }
15937 {
15938 PyObject *o = PyInt_FromLong((long) (*arg3));
15939 resultobj = t_output_helper(resultobj,o);
15940 }
15941 return resultobj;
15942 fail:
15943 return NULL;
15944}
15945
15946
15947static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15950 int *arg2 = (int *) 0 ;
15951 int *arg3 = (int *) 0 ;
15952 int temp2 ;
15953 int temp3 ;
15954 PyObject * obj0 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self", NULL
15957 };
15958
15959 arg2 = &temp2;
15960 arg3 = &temp3;
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 {
15973 PyObject *o = PyInt_FromLong((long) (*arg2));
15974 resultobj = t_output_helper(resultobj,o);
15975 }
15976 {
15977 PyObject *o = PyInt_FromLong((long) (*arg3));
15978 resultobj = t_output_helper(resultobj,o);
15979 }
15980 return resultobj;
15981 fail:
15982 return NULL;
15983}
15984
15985
15986static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15989 wxSize result;
15990 PyObject * obj0 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 {
16006 wxSize * resultptr;
16007 resultptr = new wxSize((wxSize &) result);
16008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16009 }
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
16016static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16019 wxSize result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 {
16036 wxSize * resultptr;
16037 resultptr = new wxSize((wxSize &) result);
16038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043}
16044
16045
16046static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16049 PyObject * obj0 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 (arg1)->base_InitDialog();
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 Py_INCREF(Py_None); resultobj = Py_None;
16065 return resultobj;
16066 fail:
16067 return NULL;
16068}
16069
16070
16071static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16074 bool result;
16075 PyObject * obj0 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (bool)(arg1)->base_TransferDataToWindow();
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 {
16091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16092 }
16093 return resultobj;
16094 fail:
16095 return NULL;
16096}
16097
16098
16099static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16100 PyObject *resultobj;
16101 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16102 bool result;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (bool)(arg1)->base_TransferDataFromWindow();
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 {
16119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16120 }
16121 return resultobj;
16122 fail:
16123 return NULL;
16124}
16125
16126
16127static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16130 bool result;
16131 PyObject * obj0 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)(arg1)->base_Validate();
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 {
16147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16148 }
16149 return resultobj;
16150 fail:
16151 return NULL;
16152}
16153
16154
16155static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16156 PyObject *resultobj;
16157 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16158 bool result;
16159 PyObject * obj0 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self", NULL
16162 };
16163
16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 {
16175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16176 }
16177 return resultobj;
16178 fail:
16179 return NULL;
16180}
16181
16182
16183static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16184 PyObject *resultobj;
16185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16186 bool result;
16187 PyObject * obj0 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
16211static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16214 wxSize result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 {
16231 wxSize * resultptr;
16232 resultptr = new wxSize((wxSize &) result);
16233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16234 }
16235 return resultobj;
16236 fail:
16237 return NULL;
16238}
16239
16240
16241static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16244 wxWindow *arg2 = (wxWindow *) 0 ;
16245 PyObject * obj0 = 0 ;
16246 PyObject * obj1 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self",(char *) "child", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 (arg1)->base_AddChild(arg2);
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 Py_INCREF(Py_None); resultobj = Py_None;
16264 return resultobj;
16265 fail:
16266 return NULL;
16267}
16268
16269
16270static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16273 wxWindow *arg2 = (wxWindow *) 0 ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self",(char *) "child", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 (arg1)->base_RemoveChild(arg2);
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 Py_INCREF(Py_None); resultobj = Py_None;
16293 return resultobj;
16294 fail:
16295 return NULL;
16296}
16297
16298
16299static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16302 bool result;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16311 {
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 result = (bool)(arg1)->base_ShouldInheritColours();
16314
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 {
16319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16320 }
16321 return resultobj;
16322 fail:
16323 return NULL;
16324}
16325
16326
16327static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16330 wxColour *arg2 = 0 ;
16331 wxColour temp2 ;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self",(char *) "c", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16341 {
16342 arg2 = &temp2;
16343 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16344 }
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 Py_INCREF(Py_None); resultobj = Py_None;
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
16359static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16360 PyObject *obj;
16361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16362 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16363 Py_INCREF(obj);
16364 return Py_BuildValue((char *)"");
16365}
16366static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16367 PyObject *resultobj;
16368 wxWindow *arg1 = (wxWindow *) 0 ;
16369 int arg2 ;
16370 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16371 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16372 wxSize const &arg4_defvalue = wxDefaultSize ;
16373 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16374 long arg5 = (long) 0 ;
16375 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16376 wxString *arg6 = (wxString *) &arg6_defvalue ;
16377 wxPyScrolledWindow *result;
16378 wxPoint temp3 ;
16379 wxSize temp4 ;
16380 bool temp6 = False ;
16381 PyObject * obj0 = 0 ;
16382 PyObject * obj1 = 0 ;
16383 PyObject * obj2 = 0 ;
16384 PyObject * obj3 = 0 ;
16385 PyObject * obj4 = 0 ;
16386 PyObject * obj5 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 arg2 = (int const) SWIG_AsInt(obj1);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 if (obj2) {
16397 {
16398 arg3 = &temp3;
16399 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16400 }
16401 }
16402 if (obj3) {
16403 {
16404 arg4 = &temp4;
16405 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16406 }
16407 }
16408 if (obj4) {
16409 arg5 = (long) SWIG_AsLong(obj4);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 if (obj5) {
16413 {
16414 arg6 = wxString_in_helper(obj5);
16415 if (arg6 == NULL) SWIG_fail;
16416 temp6 = True;
16417 }
16418 }
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16427 {
16428 if (temp6)
16429 delete arg6;
16430 }
16431 return resultobj;
16432 fail:
16433 {
16434 if (temp6)
16435 delete arg6;
16436 }
16437 return NULL;
16438}
16439
16440
16441static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxPyScrolledWindow *result;
16444 char *kwnames[] = {
16445 NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16457 return resultobj;
16458 fail:
16459 return NULL;
16460}
16461
16462
16463static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16466 PyObject *arg2 = (PyObject *) 0 ;
16467 PyObject *arg3 = (PyObject *) 0 ;
16468 PyObject * obj0 = 0 ;
16469 PyObject * obj1 = 0 ;
16470 PyObject * obj2 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "self",(char *) "self",(char *) "_class", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16478 arg2 = obj1;
16479 arg3 = obj2;
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 (arg1)->_setCallbackInfo(arg2,arg3);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 Py_INCREF(Py_None); resultobj = Py_None;
16488 return resultobj;
16489 fail:
16490 return NULL;
16491}
16492
16493
16494static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16497 int arg2 ;
16498 int arg3 ;
16499 int arg4 ;
16500 int arg5 ;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 PyObject * obj2 = 0 ;
16504 PyObject * obj3 = 0 ;
16505 PyObject * obj4 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16513 arg2 = (int) SWIG_AsInt(obj1);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 arg3 = (int) SWIG_AsInt(obj2);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 arg4 = (int) SWIG_AsInt(obj3);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 arg5 = (int) SWIG_AsInt(obj4);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 {
16522 PyThreadState* __tstate = wxPyBeginAllowThreads();
16523 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16524
16525 wxPyEndAllowThreads(__tstate);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 }
16528 Py_INCREF(Py_None); resultobj = Py_None;
16529 return resultobj;
16530 fail:
16531 return NULL;
16532}
16533
16534
16535static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16536 PyObject *resultobj;
16537 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16538 int arg2 ;
16539 int arg3 ;
16540 int arg4 ;
16541 int arg5 ;
16542 int arg6 = (int) wxSIZE_AUTO ;
16543 PyObject * obj0 = 0 ;
16544 PyObject * obj1 = 0 ;
16545 PyObject * obj2 = 0 ;
16546 PyObject * obj3 = 0 ;
16547 PyObject * obj4 = 0 ;
16548 PyObject * obj5 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16556 arg2 = (int) SWIG_AsInt(obj1);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 arg3 = (int) SWIG_AsInt(obj2);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 arg4 = (int) SWIG_AsInt(obj3);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 arg5 = (int) SWIG_AsInt(obj4);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 if (obj5) {
16565 arg6 = (int) SWIG_AsInt(obj5);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 Py_INCREF(Py_None); resultobj = Py_None;
16576 return resultobj;
16577 fail:
16578 return NULL;
16579}
16580
16581
16582static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16585 int arg2 ;
16586 int arg3 ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 PyObject * obj2 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "width",(char *) "height", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16597 arg2 = (int) SWIG_AsInt(obj1);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 arg3 = (int) SWIG_AsInt(obj2);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 (arg1)->base_DoSetClientSize(arg2,arg3);
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 Py_INCREF(Py_None); resultobj = Py_None;
16609 return resultobj;
16610 fail:
16611 return NULL;
16612}
16613
16614
16615static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16618 int arg2 ;
16619 int arg3 ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "x",(char *) "y", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16630 arg2 = (int) SWIG_AsInt(obj1);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 arg3 = (int) SWIG_AsInt(obj2);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 Py_INCREF(Py_None); resultobj = Py_None;
16642 return resultobj;
16643 fail:
16644 return NULL;
16645}
16646
16647
16648static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16651 int *arg2 = (int *) 0 ;
16652 int *arg3 = (int *) 0 ;
16653 int temp2 ;
16654 int temp3 ;
16655 PyObject * obj0 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self", NULL
16658 };
16659
16660 arg2 = &temp2;
16661 arg3 = &temp3;
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 Py_INCREF(Py_None); resultobj = Py_None;
16673 {
16674 PyObject *o = PyInt_FromLong((long) (*arg2));
16675 resultobj = t_output_helper(resultobj,o);
16676 }
16677 {
16678 PyObject *o = PyInt_FromLong((long) (*arg3));
16679 resultobj = t_output_helper(resultobj,o);
16680 }
16681 return resultobj;
16682 fail:
16683 return NULL;
16684}
16685
16686
16687static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16690 int *arg2 = (int *) 0 ;
16691 int *arg3 = (int *) 0 ;
16692 int temp2 ;
16693 int temp3 ;
16694 PyObject * obj0 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self", NULL
16697 };
16698
16699 arg2 = &temp2;
16700 arg3 = &temp3;
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 Py_INCREF(Py_None); resultobj = Py_None;
16712 {
16713 PyObject *o = PyInt_FromLong((long) (*arg2));
16714 resultobj = t_output_helper(resultobj,o);
16715 }
16716 {
16717 PyObject *o = PyInt_FromLong((long) (*arg3));
16718 resultobj = t_output_helper(resultobj,o);
16719 }
16720 return resultobj;
16721 fail:
16722 return NULL;
16723}
16724
16725
16726static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16729 int *arg2 = (int *) 0 ;
16730 int *arg3 = (int *) 0 ;
16731 int temp2 ;
16732 int temp3 ;
16733 PyObject * obj0 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self", NULL
16736 };
16737
16738 arg2 = &temp2;
16739 arg3 = &temp3;
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 {
16752 PyObject *o = PyInt_FromLong((long) (*arg2));
16753 resultobj = t_output_helper(resultobj,o);
16754 }
16755 {
16756 PyObject *o = PyInt_FromLong((long) (*arg3));
16757 resultobj = t_output_helper(resultobj,o);
16758 }
16759 return resultobj;
16760 fail:
16761 return NULL;
16762}
16763
16764
16765static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj;
16767 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16768 wxSize result;
16769 PyObject * obj0 = 0 ;
16770 char *kwnames[] = {
16771 (char *) "self", NULL
16772 };
16773
16774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 {
16785 wxSize * resultptr;
16786 resultptr = new wxSize((wxSize &) result);
16787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16788 }
16789 return resultobj;
16790 fail:
16791 return NULL;
16792}
16793
16794
16795static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16798 wxSize result;
16799 PyObject * obj0 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 {
16815 wxSize * resultptr;
16816 resultptr = new wxSize((wxSize &) result);
16817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16818 }
16819 return resultobj;
16820 fail:
16821 return NULL;
16822}
16823
16824
16825static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16828 PyObject * obj0 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 (arg1)->base_InitDialog();
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 Py_INCREF(Py_None); resultobj = Py_None;
16844 return resultobj;
16845 fail:
16846 return NULL;
16847}
16848
16849
16850static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16853 bool result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (bool)(arg1)->base_TransferDataToWindow();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 {
16870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16871 }
16872 return resultobj;
16873 fail:
16874 return NULL;
16875}
16876
16877
16878static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16881 bool result;
16882 PyObject * obj0 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (bool)(arg1)->base_TransferDataFromWindow();
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16899 }
16900 return resultobj;
16901 fail:
16902 return NULL;
16903}
16904
16905
16906static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj;
16908 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16909 bool result;
16910 PyObject * obj0 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
16916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (bool)(arg1)->base_Validate();
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 {
16926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16927 }
16928 return resultobj;
16929 fail:
16930 return NULL;
16931}
16932
16933
16934static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj;
16936 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16937 bool result;
16938 PyObject * obj0 = 0 ;
16939 char *kwnames[] = {
16940 (char *) "self", NULL
16941 };
16942
16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 {
16954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16955 }
16956 return resultobj;
16957 fail:
16958 return NULL;
16959}
16960
16961
16962static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj;
16964 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16965 bool result;
16966 PyObject * obj0 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 {
16982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16983 }
16984 return resultobj;
16985 fail:
16986 return NULL;
16987}
16988
16989
16990static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj;
16992 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16993 wxSize result;
16994 PyObject * obj0 = 0 ;
16995 char *kwnames[] = {
16996 (char *) "self", NULL
16997 };
16998
16999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17002 {
17003 PyThreadState* __tstate = wxPyBeginAllowThreads();
17004 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17005
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 {
17010 wxSize * resultptr;
17011 resultptr = new wxSize((wxSize &) result);
17012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17013 }
17014 return resultobj;
17015 fail:
17016 return NULL;
17017}
17018
17019
17020static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17023 wxWindow *arg2 = (wxWindow *) 0 ;
17024 PyObject * obj0 = 0 ;
17025 PyObject * obj1 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self",(char *) "child", NULL
17028 };
17029
17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 (arg1)->base_AddChild(arg2);
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 Py_INCREF(Py_None); resultobj = Py_None;
17043 return resultobj;
17044 fail:
17045 return NULL;
17046}
17047
17048
17049static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17052 wxWindow *arg2 = (wxWindow *) 0 ;
17053 PyObject * obj0 = 0 ;
17054 PyObject * obj1 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self",(char *) "child", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 (arg1)->base_RemoveChild(arg2);
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 Py_INCREF(Py_None); resultobj = Py_None;
17072 return resultobj;
17073 fail:
17074 return NULL;
17075}
17076
17077
17078static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj;
17080 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17081 bool result;
17082 PyObject * obj0 = 0 ;
17083 char *kwnames[] = {
17084 (char *) "self", NULL
17085 };
17086
17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 result = (bool)(arg1)->base_ShouldInheritColours();
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 {
17098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17099 }
17100 return resultobj;
17101 fail:
17102 return NULL;
17103}
17104
17105
17106static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17109 wxColour *arg2 = 0 ;
17110 wxColour temp2 ;
17111 PyObject * obj0 = 0 ;
17112 PyObject * obj1 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "self",(char *) "c", NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17120 {
17121 arg2 = &temp2;
17122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17123 }
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 Py_INCREF(Py_None); resultobj = Py_None;
17132 return resultobj;
17133 fail:
17134 return NULL;
17135}
17136
17137
17138static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17139 PyObject *obj;
17140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17142 Py_INCREF(obj);
17143 return Py_BuildValue((char *)"");
17144}
17145static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17146 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17147 return 1;
17148}
17149
17150
17151static PyObject *_wrap_PrintoutTitleStr_get() {
17152 PyObject *pyobj;
17153
17154 {
17155#if wxUSE_UNICODE
17156 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17157#else
17158 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17159#endif
17160 }
17161 return pyobj;
17162}
17163
17164
17165static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17166 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17167 return 1;
17168}
17169
17170
17171static PyObject *_wrap_PreviewCanvasNameStr_get() {
17172 PyObject *pyobj;
17173
17174 {
17175#if wxUSE_UNICODE
17176 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17177#else
17178 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17179#endif
17180 }
17181 return pyobj;
17182}
17183
17184
17185static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxPrintData *result;
17188 char *kwnames[] = {
17189 NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxPrintData *)new wxPrintData();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17201 return resultobj;
17202 fail:
17203 return NULL;
17204}
17205
17206
17207static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxPrintData *arg1 = (wxPrintData *) 0 ;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 delete arg1;
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 Py_INCREF(Py_None); resultobj = Py_None;
17226 return resultobj;
17227 fail:
17228 return NULL;
17229}
17230
17231
17232static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxPrintData *arg1 = (wxPrintData *) 0 ;
17235 int result;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 result = (int)(arg1)->GetNoCopies();
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
17251 resultobj = SWIG_FromInt((int)result);
17252 return resultobj;
17253 fail:
17254 return NULL;
17255}
17256
17257
17258static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxPrintData *arg1 = (wxPrintData *) 0 ;
17261 bool result;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 result = (bool)(arg1)->GetCollate();
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 {
17278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17279 }
17280 return resultobj;
17281 fail:
17282 return NULL;
17283}
17284
17285
17286static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxPrintData *arg1 = (wxPrintData *) 0 ;
17289 int result;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 result = (int)(arg1)->GetOrientation();
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 resultobj = SWIG_FromInt((int)result);
17306 return resultobj;
17307 fail:
17308 return NULL;
17309}
17310
17311
17312static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17313 PyObject *resultobj;
17314 wxPrintData *arg1 = (wxPrintData *) 0 ;
17315 bool result;
17316 PyObject * obj0 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (bool)(arg1)->Ok();
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 {
17332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17333 }
17334 return resultobj;
17335 fail:
17336 return NULL;
17337}
17338
17339
17340static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17341 PyObject *resultobj;
17342 wxPrintData *arg1 = (wxPrintData *) 0 ;
17343 wxString *result;
17344 PyObject * obj0 = 0 ;
17345 char *kwnames[] = {
17346 (char *) "self", NULL
17347 };
17348
17349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 {
17355 wxString const &_result_ref = (arg1)->GetPrinterName();
17356 result = (wxString *) &_result_ref;
17357 }
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 {
17363#if wxUSE_UNICODE
17364 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17365#else
17366 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17367#endif
17368 }
17369 return resultobj;
17370 fail:
17371 return NULL;
17372}
17373
17374
17375static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj;
17377 wxPrintData *arg1 = (wxPrintData *) 0 ;
17378 bool result;
17379 PyObject * obj0 = 0 ;
17380 char *kwnames[] = {
17381 (char *) "self", NULL
17382 };
17383
17384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 result = (bool)(arg1)->GetColour();
17390
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 {
17395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17396 }
17397 return resultobj;
17398 fail:
17399 return NULL;
17400}
17401
17402
17403static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxPrintData *arg1 = (wxPrintData *) 0 ;
17406 int result;
17407 PyObject * obj0 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = (int)(arg1)->GetDuplex();
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = SWIG_FromInt((int)result);
17423 return resultobj;
17424 fail:
17425 return NULL;
17426}
17427
17428
17429static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxPrintData *arg1 = (wxPrintData *) 0 ;
17432 int result;
17433 PyObject * obj0 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (int)(arg1)->GetPaperId();
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = SWIG_FromInt((int)result);
17449 return resultobj;
17450 fail:
17451 return NULL;
17452}
17453
17454
17455static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxPrintData *arg1 = (wxPrintData *) 0 ;
17458 wxSize *result;
17459 PyObject * obj0 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 {
17470 wxSize const &_result_ref = (arg1)->GetPaperSize();
17471 result = (wxSize *) &_result_ref;
17472 }
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17478 return resultobj;
17479 fail:
17480 return NULL;
17481}
17482
17483
17484static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxPrintData *arg1 = (wxPrintData *) 0 ;
17487 int result;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (int)(arg1)->GetQuality();
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 resultobj = SWIG_FromInt((int)result);
17504 return resultobj;
17505 fail:
17506 return NULL;
17507}
17508
17509
17510static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxPrintData *arg1 = (wxPrintData *) 0 ;
17513 int arg2 ;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "v", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17523 arg2 = (int) SWIG_AsInt(obj1);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 (arg1)->SetNoCopies(arg2);
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 Py_INCREF(Py_None); resultobj = Py_None;
17533 return resultobj;
17534 fail:
17535 return NULL;
17536}
17537
17538
17539static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxPrintData *arg1 = (wxPrintData *) 0 ;
17542 bool arg2 ;
17543 PyObject * obj0 = 0 ;
17544 PyObject * obj1 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self",(char *) "flag", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17552 arg2 = (bool) SWIG_AsBool(obj1);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 (arg1)->SetCollate(arg2);
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 Py_INCREF(Py_None); resultobj = Py_None;
17562 return resultobj;
17563 fail:
17564 return NULL;
17565}
17566
17567
17568static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17569 PyObject *resultobj;
17570 wxPrintData *arg1 = (wxPrintData *) 0 ;
17571 int arg2 ;
17572 PyObject * obj0 = 0 ;
17573 PyObject * obj1 = 0 ;
17574 char *kwnames[] = {
17575 (char *) "self",(char *) "orient", NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17581 arg2 = (int) SWIG_AsInt(obj1);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 (arg1)->SetOrientation(arg2);
17586
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 Py_INCREF(Py_None); resultobj = Py_None;
17591 return resultobj;
17592 fail:
17593 return NULL;
17594}
17595
17596
17597static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 wxPrintData *arg1 = (wxPrintData *) 0 ;
17600 wxString *arg2 = 0 ;
17601 bool temp2 = False ;
17602 PyObject * obj0 = 0 ;
17603 PyObject * obj1 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "self",(char *) "name", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17611 {
17612 arg2 = wxString_in_helper(obj1);
17613 if (arg2 == NULL) SWIG_fail;
17614 temp2 = True;
17615 }
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 (arg1)->SetPrinterName((wxString const &)*arg2);
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 Py_INCREF(Py_None); resultobj = Py_None;
17624 {
17625 if (temp2)
17626 delete arg2;
17627 }
17628 return resultobj;
17629 fail:
17630 {
17631 if (temp2)
17632 delete arg2;
17633 }
17634 return NULL;
17635}
17636
17637
17638static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxPrintData *arg1 = (wxPrintData *) 0 ;
17641 bool arg2 ;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "colour", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 arg2 = (bool) SWIG_AsBool(obj1);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SetColour(arg2);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 Py_INCREF(Py_None); resultobj = Py_None;
17661 return resultobj;
17662 fail:
17663 return NULL;
17664}
17665
17666
17667static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxPrintData *arg1 = (wxPrintData *) 0 ;
17670 int arg2 ;
17671 PyObject * obj0 = 0 ;
17672 PyObject * obj1 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "self",(char *) "duplex", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17680 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 (arg1)->SetDuplex((wxDuplexMode )arg2);
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 Py_INCREF(Py_None); resultobj = Py_None;
17690 return resultobj;
17691 fail:
17692 return NULL;
17693}
17694
17695
17696static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxPrintData *arg1 = (wxPrintData *) 0 ;
17699 int arg2 ;
17700 PyObject * obj0 = 0 ;
17701 PyObject * obj1 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self",(char *) "sizeId", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17709 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 (arg1)->SetPaperId((wxPaperSize )arg2);
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 Py_INCREF(Py_None); resultobj = Py_None;
17719 return resultobj;
17720 fail:
17721 return NULL;
17722}
17723
17724
17725static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17726 PyObject *resultobj;
17727 wxPrintData *arg1 = (wxPrintData *) 0 ;
17728 wxSize *arg2 = 0 ;
17729 wxSize temp2 ;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self",(char *) "sz", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17739 {
17740 arg2 = &temp2;
17741 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17742 }
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->SetPaperSize((wxSize const &)*arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754}
17755
17756
17757static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintData *arg1 = (wxPrintData *) 0 ;
17760 int arg2 ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "quality", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17770 arg2 = (int) SWIG_AsInt(obj1);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 (arg1)->SetQuality(arg2);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintData *arg1 = (wxPrintData *) 0 ;
17789 wxString *result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 {
17801 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17802 result = (wxString *) &_result_ref;
17803 }
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 {
17809#if wxUSE_UNICODE
17810 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17811#else
17812 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17813#endif
17814 }
17815 return resultobj;
17816 fail:
17817 return NULL;
17818}
17819
17820
17821static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj;
17823 wxPrintData *arg1 = (wxPrintData *) 0 ;
17824 wxString *result;
17825 PyObject * obj0 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 {
17836 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17837 result = (wxString *) &_result_ref;
17838 }
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 {
17844#if wxUSE_UNICODE
17845 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17846#else
17847 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17848#endif
17849 }
17850 return resultobj;
17851 fail:
17852 return NULL;
17853}
17854
17855
17856static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj;
17858 wxPrintData *arg1 = (wxPrintData *) 0 ;
17859 wxString *result;
17860 PyObject * obj0 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 {
17871 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17872 result = (wxString *) &_result_ref;
17873 }
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 {
17879#if wxUSE_UNICODE
17880 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17881#else
17882 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17883#endif
17884 }
17885 return resultobj;
17886 fail:
17887 return NULL;
17888}
17889
17890
17891static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17892 PyObject *resultobj;
17893 wxPrintData *arg1 = (wxPrintData *) 0 ;
17894 wxString *result;
17895 PyObject * obj0 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 {
17906 wxString const &_result_ref = (arg1)->GetFilename();
17907 result = (wxString *) &_result_ref;
17908 }
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 {
17914#if wxUSE_UNICODE
17915 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17916#else
17917 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17918#endif
17919 }
17920 return resultobj;
17921 fail:
17922 return NULL;
17923}
17924
17925
17926static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPrintData *arg1 = (wxPrintData *) 0 ;
17929 wxString *result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 {
17941 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17942 result = (wxString *) &_result_ref;
17943 }
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 {
17949#if wxUSE_UNICODE
17950 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17951#else
17952 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17953#endif
17954 }
17955 return resultobj;
17956 fail:
17957 return NULL;
17958}
17959
17960
17961static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj;
17963 wxPrintData *arg1 = (wxPrintData *) 0 ;
17964 double result;
17965 PyObject * obj0 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 result = (double)(arg1)->GetPrinterScaleX();
17976
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 resultobj = SWIG_FromDouble((double)result);
17981 return resultobj;
17982 fail:
17983 return NULL;
17984}
17985
17986
17987static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxPrintData *arg1 = (wxPrintData *) 0 ;
17990 double result;
17991 PyObject * obj0 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self", NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (double)(arg1)->GetPrinterScaleY();
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 resultobj = SWIG_FromDouble((double)result);
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
18013static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxPrintData *arg1 = (wxPrintData *) 0 ;
18016 long result;
18017 PyObject * obj0 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (long)(arg1)->GetPrinterTranslateX();
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = SWIG_FromLong((long)result);
18033 return resultobj;
18034 fail:
18035 return NULL;
18036}
18037
18038
18039static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj;
18041 wxPrintData *arg1 = (wxPrintData *) 0 ;
18042 long result;
18043 PyObject * obj0 = 0 ;
18044 char *kwnames[] = {
18045 (char *) "self", NULL
18046 };
18047
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 result = (long)(arg1)->GetPrinterTranslateY();
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 resultobj = SWIG_FromLong((long)result);
18059 return resultobj;
18060 fail:
18061 return NULL;
18062}
18063
18064
18065static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxPrintData *arg1 = (wxPrintData *) 0 ;
18068 int result;
18069 PyObject * obj0 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (int)(arg1)->GetPrintMode();
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = SWIG_FromInt((int)result);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088}
18089
18090
18091static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPrintData *arg1 = (wxPrintData *) 0 ;
18094 wxString *arg2 = 0 ;
18095 bool temp2 = False ;
18096 PyObject * obj0 = 0 ;
18097 PyObject * obj1 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self",(char *) "command", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18105 {
18106 arg2 = wxString_in_helper(obj1);
18107 if (arg2 == NULL) SWIG_fail;
18108 temp2 = True;
18109 }
18110 {
18111 PyThreadState* __tstate = wxPyBeginAllowThreads();
18112 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 Py_INCREF(Py_None); resultobj = Py_None;
18118 {
18119 if (temp2)
18120 delete arg2;
18121 }
18122 return resultobj;
18123 fail:
18124 {
18125 if (temp2)
18126 delete arg2;
18127 }
18128 return NULL;
18129}
18130
18131
18132static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj;
18134 wxPrintData *arg1 = (wxPrintData *) 0 ;
18135 wxString *arg2 = 0 ;
18136 bool temp2 = False ;
18137 PyObject * obj0 = 0 ;
18138 PyObject * obj1 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self",(char *) "options", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18146 {
18147 arg2 = wxString_in_helper(obj1);
18148 if (arg2 == NULL) SWIG_fail;
18149 temp2 = True;
18150 }
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 Py_INCREF(Py_None); resultobj = Py_None;
18159 {
18160 if (temp2)
18161 delete arg2;
18162 }
18163 return resultobj;
18164 fail:
18165 {
18166 if (temp2)
18167 delete arg2;
18168 }
18169 return NULL;
18170}
18171
18172
18173static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxPrintData *arg1 = (wxPrintData *) 0 ;
18176 wxString *arg2 = 0 ;
18177 bool temp2 = False ;
18178 PyObject * obj0 = 0 ;
18179 PyObject * obj1 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "self",(char *) "command", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18187 {
18188 arg2 = wxString_in_helper(obj1);
18189 if (arg2 == NULL) SWIG_fail;
18190 temp2 = True;
18191 }
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18195
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 Py_INCREF(Py_None); resultobj = Py_None;
18200 {
18201 if (temp2)
18202 delete arg2;
18203 }
18204 return resultobj;
18205 fail:
18206 {
18207 if (temp2)
18208 delete arg2;
18209 }
18210 return NULL;
18211}
18212
18213
18214static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxPrintData *arg1 = (wxPrintData *) 0 ;
18217 wxString *arg2 = 0 ;
18218 bool temp2 = False ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "filename", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18228 {
18229 arg2 = wxString_in_helper(obj1);
18230 if (arg2 == NULL) SWIG_fail;
18231 temp2 = True;
18232 }
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 (arg1)->SetFilename((wxString const &)*arg2);
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 Py_INCREF(Py_None); resultobj = Py_None;
18241 {
18242 if (temp2)
18243 delete arg2;
18244 }
18245 return resultobj;
18246 fail:
18247 {
18248 if (temp2)
18249 delete arg2;
18250 }
18251 return NULL;
18252}
18253
18254
18255static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18256 PyObject *resultobj;
18257 wxPrintData *arg1 = (wxPrintData *) 0 ;
18258 wxString *arg2 = 0 ;
18259 bool temp2 = False ;
18260 PyObject * obj0 = 0 ;
18261 PyObject * obj1 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self",(char *) "path", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18269 {
18270 arg2 = wxString_in_helper(obj1);
18271 if (arg2 == NULL) SWIG_fail;
18272 temp2 = True;
18273 }
18274 {
18275 PyThreadState* __tstate = wxPyBeginAllowThreads();
18276 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 Py_INCREF(Py_None); resultobj = Py_None;
18282 {
18283 if (temp2)
18284 delete arg2;
18285 }
18286 return resultobj;
18287 fail:
18288 {
18289 if (temp2)
18290 delete arg2;
18291 }
18292 return NULL;
18293}
18294
18295
18296static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPrintData *arg1 = (wxPrintData *) 0 ;
18299 double arg2 ;
18300 PyObject * obj0 = 0 ;
18301 PyObject * obj1 = 0 ;
18302 char *kwnames[] = {
18303 (char *) "self",(char *) "x", NULL
18304 };
18305
18306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18309 arg2 = (double) SWIG_AsDouble(obj1);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 (arg1)->SetPrinterScaleX(arg2);
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 Py_INCREF(Py_None); resultobj = Py_None;
18319 return resultobj;
18320 fail:
18321 return NULL;
18322}
18323
18324
18325static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj;
18327 wxPrintData *arg1 = (wxPrintData *) 0 ;
18328 double arg2 ;
18329 PyObject * obj0 = 0 ;
18330 PyObject * obj1 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self",(char *) "y", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18338 arg2 = (double) SWIG_AsDouble(obj1);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 (arg1)->SetPrinterScaleY(arg2);
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 Py_INCREF(Py_None); resultobj = Py_None;
18348 return resultobj;
18349 fail:
18350 return NULL;
18351}
18352
18353
18354static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPrintData *arg1 = (wxPrintData *) 0 ;
18357 double arg2 ;
18358 double arg3 ;
18359 PyObject * obj0 = 0 ;
18360 PyObject * obj1 = 0 ;
18361 PyObject * obj2 = 0 ;
18362 char *kwnames[] = {
18363 (char *) "self",(char *) "x",(char *) "y", NULL
18364 };
18365
18366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18369 arg2 = (double) SWIG_AsDouble(obj1);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 arg3 = (double) SWIG_AsDouble(obj2);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetPrinterScaling(arg2,arg3);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 return resultobj;
18382 fail:
18383 return NULL;
18384}
18385
18386
18387static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPrintData *arg1 = (wxPrintData *) 0 ;
18390 long arg2 ;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self",(char *) "x", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18400 arg2 = (long) SWIG_AsLong(obj1);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 (arg1)->SetPrinterTranslateX(arg2);
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 Py_INCREF(Py_None); resultobj = Py_None;
18410 return resultobj;
18411 fail:
18412 return NULL;
18413}
18414
18415
18416static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPrintData *arg1 = (wxPrintData *) 0 ;
18419 long arg2 ;
18420 PyObject * obj0 = 0 ;
18421 PyObject * obj1 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self",(char *) "y", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18429 arg2 = (long) SWIG_AsLong(obj1);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 (arg1)->SetPrinterTranslateY(arg2);
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
18438 Py_INCREF(Py_None); resultobj = Py_None;
18439 return resultobj;
18440 fail:
18441 return NULL;
18442}
18443
18444
18445static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 wxPrintData *arg1 = (wxPrintData *) 0 ;
18448 long arg2 ;
18449 long arg3 ;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj1 = 0 ;
18452 PyObject * obj2 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "x",(char *) "y", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18460 arg2 = (long) SWIG_AsLong(obj1);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 arg3 = (long) SWIG_AsLong(obj2);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 (arg1)->SetPrinterTranslation(arg2,arg3);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 Py_INCREF(Py_None); resultobj = Py_None;
18472 return resultobj;
18473 fail:
18474 return NULL;
18475}
18476
18477
18478static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPrintData *arg1 = (wxPrintData *) 0 ;
18481 int arg2 ;
18482 PyObject * obj0 = 0 ;
18483 PyObject * obj1 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "printMode", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18491 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 (arg1)->SetPrintMode((wxPrintMode )arg2);
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 Py_INCREF(Py_None); resultobj = Py_None;
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
18507static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxPrintData *arg1 = (wxPrintData *) 0 ;
18510 wxOutputStream *result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (wxOutputStream *)(arg1)->GetOutputStream();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18527 return resultobj;
18528 fail:
18529 return NULL;
18530}
18531
18532
18533static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxPrintData *arg1 = (wxPrintData *) 0 ;
18536 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "outputstream", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18548 {
18549 PyThreadState* __tstate = wxPyBeginAllowThreads();
18550 (arg1)->SetOutputStream(arg2);
18551
18552 wxPyEndAllowThreads(__tstate);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 }
18555 Py_INCREF(Py_None); resultobj = Py_None;
18556 return resultobj;
18557 fail:
18558 return NULL;
18559}
18560
18561
18562static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18563 PyObject *obj;
18564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18565 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18566 Py_INCREF(obj);
18567 return Py_BuildValue((char *)"");
18568}
18569static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxPageSetupDialogData *result;
18572 char *kwnames[] = {
18573 NULL
18574 };
18575
18576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18577 {
18578 PyThreadState* __tstate = wxPyBeginAllowThreads();
18579 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18580
18581 wxPyEndAllowThreads(__tstate);
18582 if (PyErr_Occurred()) SWIG_fail;
18583 }
18584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18585 return resultobj;
18586 fail:
18587 return NULL;
18588}
18589
18590
18591static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18592 PyObject *resultobj;
18593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 delete arg1;
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613}
18614
18615
18616static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18619 bool arg2 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "flag", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 arg2 = (bool) SWIG_AsBool(obj1);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->EnableHelp(arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642}
18643
18644
18645static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18648 bool arg2 ;
18649 PyObject * obj0 = 0 ;
18650 PyObject * obj1 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "flag", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18658 arg2 = (bool) SWIG_AsBool(obj1);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->EnableMargins(arg2);
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671}
18672
18673
18674static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18677 bool arg2 ;
18678 PyObject * obj0 = 0 ;
18679 PyObject * obj1 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "flag", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18687 arg2 = (bool) SWIG_AsBool(obj1);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 (arg1)->EnableOrientation(arg2);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 Py_INCREF(Py_None); resultobj = Py_None;
18697 return resultobj;
18698 fail:
18699 return NULL;
18700}
18701
18702
18703static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18706 bool arg2 ;
18707 PyObject * obj0 = 0 ;
18708 PyObject * obj1 = 0 ;
18709 char *kwnames[] = {
18710 (char *) "self",(char *) "flag", NULL
18711 };
18712
18713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18716 arg2 = (bool) SWIG_AsBool(obj1);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 (arg1)->EnablePaper(arg2);
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 Py_INCREF(Py_None); resultobj = Py_None;
18726 return resultobj;
18727 fail:
18728 return NULL;
18729}
18730
18731
18732static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18735 bool arg2 ;
18736 PyObject * obj0 = 0 ;
18737 PyObject * obj1 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self",(char *) "flag", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18745 arg2 = (bool) SWIG_AsBool(obj1);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 (arg1)->EnablePrinter(arg2);
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 Py_INCREF(Py_None); resultobj = Py_None;
18755 return resultobj;
18756 fail:
18757 return NULL;
18758}
18759
18760
18761static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18764 bool result;
18765 PyObject * obj0 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18773 {
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 result = (bool)(arg1)->GetDefaultMinMargins();
18776
18777 wxPyEndAllowThreads(__tstate);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 }
18780 {
18781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18782 }
18783 return resultobj;
18784 fail:
18785 return NULL;
18786}
18787
18788
18789static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18792 bool result;
18793 PyObject * obj0 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (bool)(arg1)->GetEnableMargins();
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 {
18809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18810 }
18811 return resultobj;
18812 fail:
18813 return NULL;
18814}
18815
18816
18817static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18820 bool result;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 result = (bool)(arg1)->GetEnableOrientation();
18832
18833 wxPyEndAllowThreads(__tstate);
18834 if (PyErr_Occurred()) SWIG_fail;
18835 }
18836 {
18837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18838 }
18839 return resultobj;
18840 fail:
18841 return NULL;
18842}
18843
18844
18845static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18848 bool result;
18849 PyObject * obj0 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = (bool)(arg1)->GetEnablePaper();
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 {
18865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18866 }
18867 return resultobj;
18868 fail:
18869 return NULL;
18870}
18871
18872
18873static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18876 bool result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = (bool)(arg1)->GetEnablePrinter();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 {
18893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18894 }
18895 return resultobj;
18896 fail:
18897 return NULL;
18898}
18899
18900
18901static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18904 bool result;
18905 PyObject * obj0 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18913 {
18914 PyThreadState* __tstate = wxPyBeginAllowThreads();
18915 result = (bool)(arg1)->GetEnableHelp();
18916
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 {
18921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18922 }
18923 return resultobj;
18924 fail:
18925 return NULL;
18926}
18927
18928
18929static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18932 bool result;
18933 PyObject * obj0 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (bool)(arg1)->GetDefaultInfo();
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
18949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18950 }
18951 return resultobj;
18952 fail:
18953 return NULL;
18954}
18955
18956
18957static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj;
18959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18960 wxPoint result;
18961 PyObject * obj0 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (arg1)->GetMarginTopLeft();
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 {
18977 wxPoint * resultptr;
18978 resultptr = new wxPoint((wxPoint &) result);
18979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18980 }
18981 return resultobj;
18982 fail:
18983 return NULL;
18984}
18985
18986
18987static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18990 wxPoint result;
18991 PyObject * obj0 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = (arg1)->GetMarginBottomRight();
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 {
19007 wxPoint * resultptr;
19008 resultptr = new wxPoint((wxPoint &) result);
19009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19010 }
19011 return resultobj;
19012 fail:
19013 return NULL;
19014}
19015
19016
19017static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19020 wxPoint result;
19021 PyObject * obj0 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (arg1)->GetMinMarginTopLeft();
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 {
19037 wxPoint * resultptr;
19038 resultptr = new wxPoint((wxPoint &) result);
19039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19040 }
19041 return resultobj;
19042 fail:
19043 return NULL;
19044}
19045
19046
19047static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj;
19049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19050 wxPoint result;
19051 PyObject * obj0 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (arg1)->GetMinMarginBottomRight();
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 {
19067 wxPoint * resultptr;
19068 resultptr = new wxPoint((wxPoint &) result);
19069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19070 }
19071 return resultobj;
19072 fail:
19073 return NULL;
19074}
19075
19076
19077static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19080 int result;
19081 PyObject * obj0 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = (int)(arg1)->GetPaperId();
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 resultobj = SWIG_FromInt((int)result);
19097 return resultobj;
19098 fail:
19099 return NULL;
19100}
19101
19102
19103static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj;
19105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19106 wxSize result;
19107 PyObject * obj0 = 0 ;
19108 char *kwnames[] = {
19109 (char *) "self", NULL
19110 };
19111
19112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 result = (arg1)->GetPaperSize();
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 {
19123 wxSize * resultptr;
19124 resultptr = new wxSize((wxSize &) result);
19125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19126 }
19127 return resultobj;
19128 fail:
19129 return NULL;
19130}
19131
19132
19133static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19136 wxPrintData *result;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 {
19148 wxPrintData &_result_ref = (arg1)->GetPrintData();
19149 result = (wxPrintData *) &_result_ref;
19150 }
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19156 return resultobj;
19157 fail:
19158 return NULL;
19159}
19160
19161
19162static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19165 bool result;
19166 PyObject * obj0 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = (bool)(arg1)->Ok();
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 {
19182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19183 }
19184 return resultobj;
19185 fail:
19186 return NULL;
19187}
19188
19189
19190static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19193 bool arg2 ;
19194 PyObject * obj0 = 0 ;
19195 PyObject * obj1 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "flag", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19203 arg2 = (bool) SWIG_AsBool(obj1);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 (arg1)->SetDefaultInfo(arg2);
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 Py_INCREF(Py_None); resultobj = Py_None;
19213 return resultobj;
19214 fail:
19215 return NULL;
19216}
19217
19218
19219static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19222 bool arg2 ;
19223 PyObject * obj0 = 0 ;
19224 PyObject * obj1 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self",(char *) "flag", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19232 arg2 = (bool) SWIG_AsBool(obj1);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 (arg1)->SetDefaultMinMargins(arg2);
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 Py_INCREF(Py_None); resultobj = Py_None;
19242 return resultobj;
19243 fail:
19244 return NULL;
19245}
19246
19247
19248static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19251 wxPoint *arg2 = 0 ;
19252 wxPoint temp2 ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self",(char *) "pt", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19262 {
19263 arg2 = &temp2;
19264 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19265 }
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 Py_INCREF(Py_None); resultobj = Py_None;
19274 return resultobj;
19275 fail:
19276 return NULL;
19277}
19278
19279
19280static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19283 wxPoint *arg2 = 0 ;
19284 wxPoint temp2 ;
19285 PyObject * obj0 = 0 ;
19286 PyObject * obj1 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self",(char *) "pt", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19294 {
19295 arg2 = &temp2;
19296 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 Py_INCREF(Py_None); resultobj = Py_None;
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
19312static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19315 wxPoint *arg2 = 0 ;
19316 wxPoint temp2 ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self",(char *) "pt", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19326 {
19327 arg2 = &temp2;
19328 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19329 }
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 Py_INCREF(Py_None); resultobj = Py_None;
19338 return resultobj;
19339 fail:
19340 return NULL;
19341}
19342
19343
19344static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19347 wxPoint *arg2 = 0 ;
19348 wxPoint temp2 ;
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
19351 char *kwnames[] = {
19352 (char *) "self",(char *) "pt", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19358 {
19359 arg2 = &temp2;
19360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19361 }
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 Py_INCREF(Py_None); resultobj = Py_None;
19370 return resultobj;
19371 fail:
19372 return NULL;
19373}
19374
19375
19376static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj;
19378 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19379 int arg2 ;
19380 PyObject * obj0 = 0 ;
19381 PyObject * obj1 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self",(char *) "id", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19389 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 (arg1)->SetPaperId((wxPaperSize )arg2);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 return resultobj;
19400 fail:
19401 return NULL;
19402}
19403
19404
19405static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19408 wxSize *arg2 = 0 ;
19409 wxSize temp2 ;
19410 PyObject * obj0 = 0 ;
19411 PyObject * obj1 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self",(char *) "size", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19419 {
19420 arg2 = &temp2;
19421 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 (arg1)->SetPaperSize((wxSize const &)*arg2);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 Py_INCREF(Py_None); resultobj = Py_None;
19431 return resultobj;
19432 fail:
19433 return NULL;
19434}
19435
19436
19437static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19440 wxPrintData *arg2 = 0 ;
19441 PyObject * obj0 = 0 ;
19442 PyObject * obj1 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self",(char *) "printData", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1)
19452 SWIG_fail;
19453 if (arg2 == NULL) {
19454 PyErr_SetString(PyExc_TypeError,"null reference");
19455 SWIG_fail;
19456 }
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468}
19469
19470
19471static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19472 PyObject *obj;
19473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19474 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19475 Py_INCREF(obj);
19476 return Py_BuildValue((char *)"");
19477}
19478static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19479 PyObject *resultobj;
19480 wxWindow *arg1 = (wxWindow *) 0 ;
19481 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19482 wxPageSetupDialog *result;
19483 PyObject * obj0 = 0 ;
19484 PyObject * obj1 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "parent",(char *) "data", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19492 if (obj1) {
19493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19495 }
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19504 return resultobj;
19505 fail:
19506 return NULL;
19507}
19508
19509
19510static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19513 wxPageSetupDialogData *result;
19514 PyObject * obj0 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "self", NULL
19517 };
19518
19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 {
19525 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19526 result = (wxPageSetupDialogData *) &_result_ref;
19527 }
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19533 return resultobj;
19534 fail:
19535 return NULL;
19536}
19537
19538
19539static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19542 int result;
19543 PyObject * obj0 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (int)(arg1)->ShowModal();
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = SWIG_FromInt((int)result);
19559 return resultobj;
19560 fail:
19561 return NULL;
19562}
19563
19564
19565static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19566 PyObject *obj;
19567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19568 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19569 Py_INCREF(obj);
19570 return Py_BuildValue((char *)"");
19571}
19572static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19573 PyObject *resultobj;
19574 wxPrintDialogData *result;
19575
19576 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (wxPrintDialogData *)new wxPrintDialogData();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19585 return resultobj;
19586 fail:
19587 return NULL;
19588}
19589
19590
19591static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19592 PyObject *resultobj;
19593 wxPrintData *arg1 = 0 ;
19594 wxPrintDialogData *result;
19595 PyObject * obj0 = 0 ;
19596
19597 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19599 SWIG_POINTER_EXCEPTION | 0)) == -1)
19600 SWIG_fail;
19601 if (arg1 == NULL) {
19602 PyErr_SetString(PyExc_TypeError,"null reference");
19603 SWIG_fail;
19604 }
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19613 return resultobj;
19614 fail:
19615 return NULL;
19616}
19617
19618
19619static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19620 int argc;
19621 PyObject *argv[2];
19622 int ii;
19623
19624 argc = PyObject_Length(args);
19625 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19626 argv[ii] = PyTuple_GetItem(args,ii);
19627 }
19628 if (argc == 0) {
19629 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19630 }
19631 if (argc == 1) {
19632 int _v;
19633 {
19634 void *ptr;
19635 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19636 _v = 0;
19637 PyErr_Clear();
19638 } else {
19639 _v = 1;
19640 }
19641 }
19642 if (_v) {
19643 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19644 }
19645 }
19646
19647 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19648 return NULL;
19649}
19650
19651
19652static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj;
19654 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19655 PyObject * obj0 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "self", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 delete arg1;
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 Py_INCREF(Py_None); resultobj = Py_None;
19671 return resultobj;
19672 fail:
19673 return NULL;
19674}
19675
19676
19677static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19680 int result;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 resultobj = SWIG_FromInt((int)result);
19697 return resultobj;
19698 fail:
19699 return NULL;
19700}
19701
19702
19703static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj;
19705 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19706 int result;
19707 PyObject * obj0 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = SWIG_FromInt((int)result);
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
19729static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19732 int result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 resultobj = SWIG_FromInt((int)result);
19749 return resultobj;
19750 fail:
19751 return NULL;
19752}
19753
19754
19755static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19756 PyObject *resultobj;
19757 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19758 int result;
19759 PyObject * obj0 = 0 ;
19760 char *kwnames[] = {
19761 (char *) "self", NULL
19762 };
19763
19764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 resultobj = SWIG_FromInt((int)result);
19775 return resultobj;
19776 fail:
19777 return NULL;
19778}
19779
19780
19781static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj;
19783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19784 int result;
19785 PyObject * obj0 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
19791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
19796
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
19800 resultobj = SWIG_FromInt((int)result);
19801 return resultobj;
19802 fail:
19803 return NULL;
19804}
19805
19806
19807static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19810 bool result;
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 {
19827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19828 }
19829 return resultobj;
19830 fail:
19831 return NULL;
19832}
19833
19834
19835static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19838 bool result;
19839 PyObject * obj0 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 {
19855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19856 }
19857 return resultobj;
19858 fail:
19859 return NULL;
19860}
19861
19862
19863static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj;
19865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19866 bool result;
19867 PyObject * obj0 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 {
19883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19884 }
19885 return resultobj;
19886 fail:
19887 return NULL;
19888}
19889
19890
19891static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19892 PyObject *resultobj;
19893 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19894 bool result;
19895 PyObject * obj0 = 0 ;
19896 char *kwnames[] = {
19897 (char *) "self", NULL
19898 };
19899
19900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 {
19911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19912 }
19913 return resultobj;
19914 fail:
19915 return NULL;
19916}
19917
19918
19919static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19922 bool result;
19923 PyObject * obj0 = 0 ;
19924 char *kwnames[] = {
19925 (char *) "self", NULL
19926 };
19927
19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 {
19939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19940 }
19941 return resultobj;
19942 fail:
19943 return NULL;
19944}
19945
19946
19947static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19950 int arg2 ;
19951 PyObject * obj0 = 0 ;
19952 PyObject * obj1 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self",(char *) "v", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19960 arg2 = (int) SWIG_AsInt(obj1);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 (arg1)->SetFromPage(arg2);
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 Py_INCREF(Py_None); resultobj = Py_None;
19970 return resultobj;
19971 fail:
19972 return NULL;
19973}
19974
19975
19976static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19979 int arg2 ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "v", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 arg2 = (int) SWIG_AsInt(obj1);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 (arg1)->SetToPage(arg2);
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 Py_INCREF(Py_None); resultobj = Py_None;
19999 return resultobj;
20000 fail:
20001 return NULL;
20002}
20003
20004
20005static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20008 int arg2 ;
20009 PyObject * obj0 = 0 ;
20010 PyObject * obj1 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self",(char *) "v", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20018 arg2 = (int) SWIG_AsInt(obj1);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->SetMinPage(arg2);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
20034static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20037 int arg2 ;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "v", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20047 arg2 = (int) SWIG_AsInt(obj1);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 (arg1)->SetMaxPage(arg2);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 Py_INCREF(Py_None); resultobj = Py_None;
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
20063static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20066 int arg2 ;
20067 PyObject * obj0 = 0 ;
20068 PyObject * obj1 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "v", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 arg2 = (int) SWIG_AsInt(obj1);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetNoCopies(arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
20092static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20095 bool arg2 ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "flag", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20105 arg2 = (bool) SWIG_AsBool(obj1);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 (arg1)->SetAllPages(arg2);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
20121static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20124 bool arg2 ;
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self",(char *) "flag", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 arg2 = (bool) SWIG_AsBool(obj1);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 {
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 (arg1)->SetSelection(arg2);
20139
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 Py_INCREF(Py_None); resultobj = Py_None;
20144 return resultobj;
20145 fail:
20146 return NULL;
20147}
20148
20149
20150static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20153 bool arg2 ;
20154 PyObject * obj0 = 0 ;
20155 PyObject * obj1 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self",(char *) "flag", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20163 arg2 = (bool) SWIG_AsBool(obj1);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 (arg1)->SetCollate(arg2);
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 Py_INCREF(Py_None); resultobj = Py_None;
20173 return resultobj;
20174 fail:
20175 return NULL;
20176}
20177
20178
20179static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20182 bool arg2 ;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "flag", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20192 arg2 = (bool) SWIG_AsBool(obj1);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 (arg1)->SetPrintToFile(arg2);
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 Py_INCREF(Py_None); resultobj = Py_None;
20202 return resultobj;
20203 fail:
20204 return NULL;
20205}
20206
20207
20208static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20211 bool arg2 ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self",(char *) "flag", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20221 arg2 = (bool) SWIG_AsBool(obj1);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->SetSetupDialog(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 Py_INCREF(Py_None); resultobj = Py_None;
20231 return resultobj;
20232 fail:
20233 return NULL;
20234}
20235
20236
20237static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20240 bool arg2 ;
20241 PyObject * obj0 = 0 ;
20242 PyObject * obj1 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self",(char *) "flag", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20250 arg2 = (bool) SWIG_AsBool(obj1);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->EnablePrintToFile(arg2);
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 Py_INCREF(Py_None); resultobj = Py_None;
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
20266static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20269 bool arg2 ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "flag", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20279 arg2 = (bool) SWIG_AsBool(obj1);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->EnableSelection(arg2);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 Py_INCREF(Py_None); resultobj = Py_None;
20289 return resultobj;
20290 fail:
20291 return NULL;
20292}
20293
20294
20295static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20298 bool arg2 ;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self",(char *) "flag", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20308 arg2 = (bool) SWIG_AsBool(obj1);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 (arg1)->EnablePageNumbers(arg2);
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 Py_INCREF(Py_None); resultobj = Py_None;
20318 return resultobj;
20319 fail:
20320 return NULL;
20321}
20322
20323
20324static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20327 bool arg2 ;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "flag", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20337 arg2 = (bool) SWIG_AsBool(obj1);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 (arg1)->EnableHelp(arg2);
20342
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 Py_INCREF(Py_None); resultobj = Py_None;
20347 return resultobj;
20348 fail:
20349 return NULL;
20350}
20351
20352
20353static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20356 bool result;
20357 PyObject * obj0 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 {
20373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20374 }
20375 return resultobj;
20376 fail:
20377 return NULL;
20378}
20379
20380
20381static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20384 bool result;
20385 PyObject * obj0 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 {
20401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20402 }
20403 return resultobj;
20404 fail:
20405 return NULL;
20406}
20407
20408
20409static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20412 bool result;
20413 PyObject * obj0 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20430 }
20431 return resultobj;
20432 fail:
20433 return NULL;
20434}
20435
20436
20437static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20440 bool result;
20441 PyObject * obj0 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self", NULL
20444 };
20445
20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 {
20457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20458 }
20459 return resultobj;
20460 fail:
20461 return NULL;
20462}
20463
20464
20465static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20468 bool result;
20469 PyObject * obj0 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20480
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 {
20485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20486 }
20487 return resultobj;
20488 fail:
20489 return NULL;
20490}
20491
20492
20493static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj;
20495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20496 wxPrintData *result;
20497 PyObject * obj0 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 {
20508 wxPrintData &_result_ref = (arg1)->GetPrintData();
20509 result = (wxPrintData *) &_result_ref;
20510 }
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
20515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20516 return resultobj;
20517 fail:
20518 return NULL;
20519}
20520
20521
20522static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20525 wxPrintData *arg2 = 0 ;
20526 PyObject * obj0 = 0 ;
20527 PyObject * obj1 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self",(char *) "printData", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20536 SWIG_POINTER_EXCEPTION | 0)) == -1)
20537 SWIG_fail;
20538 if (arg2 == NULL) {
20539 PyErr_SetString(PyExc_TypeError,"null reference");
20540 SWIG_fail;
20541 }
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 Py_INCREF(Py_None); resultobj = Py_None;
20550 return resultobj;
20551 fail:
20552 return NULL;
20553}
20554
20555
20556static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20557 PyObject *obj;
20558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20559 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20560 Py_INCREF(obj);
20561 return Py_BuildValue((char *)"");
20562}
20563static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxWindow *arg1 = (wxWindow *) 0 ;
20566 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20567 wxPrintDialog *result;
20568 PyObject * obj0 = 0 ;
20569 PyObject * obj1 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "parent",(char *) "data", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20577 if (obj1) {
20578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20580 }
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20589 return resultobj;
20590 fail:
20591 return NULL;
20592}
20593
20594
20595static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20598 wxPrintDialogData *result;
20599 PyObject * obj0 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 {
20610 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20611 result = (wxPrintDialogData *) &_result_ref;
20612 }
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
20624static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20627 wxDC *result;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (wxDC *)(arg1)->GetPrintDC();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 {
20644 resultobj = wxPyMake_wxObject(result);
20645 }
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
20652static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20655 int result;
20656 PyObject * obj0 = 0 ;
20657 char *kwnames[] = {
20658 (char *) "self", NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (int)(arg1)->ShowModal();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 resultobj = SWIG_FromInt((int)result);
20672 return resultobj;
20673 fail:
20674 return NULL;
20675}
20676
20677
20678static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20679 PyObject *obj;
20680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20681 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20682 Py_INCREF(obj);
20683 return Py_BuildValue((char *)"");
20684}
20685static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20686 PyObject *resultobj;
20687 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20688 wxPrinter *result;
20689 PyObject * obj0 = 0 ;
20690 char *kwnames[] = {
20691 (char *) "data", NULL
20692 };
20693
20694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20695 if (obj0) {
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 }
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (wxPrinter *)new wxPrinter(arg1);
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20707 return resultobj;
20708 fail:
20709 return NULL;
20710}
20711
20712
20713static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxPrinter *arg1 = (wxPrinter *) 0 ;
20716 PyObject * obj0 = 0 ;
20717 char *kwnames[] = {
20718 (char *) "self", NULL
20719 };
20720
20721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20724 {
20725 PyThreadState* __tstate = wxPyBeginAllowThreads();
20726 delete arg1;
20727
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 Py_INCREF(Py_None); resultobj = Py_None;
20732 return resultobj;
20733 fail:
20734 return NULL;
20735}
20736
20737
20738static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxPrinter *arg1 = (wxPrinter *) 0 ;
20741 wxWindow *arg2 = (wxWindow *) 0 ;
20742 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20743 PyObject * obj0 = 0 ;
20744 PyObject * obj1 = 0 ;
20745 PyObject * obj2 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self",(char *) "parent",(char *) "printout", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20755 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 (arg1)->CreateAbortWindow(arg2,arg3);
20760
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 Py_INCREF(Py_None); resultobj = Py_None;
20765 return resultobj;
20766 fail:
20767 return NULL;
20768}
20769
20770
20771static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj;
20773 wxPrinter *arg1 = (wxPrinter *) 0 ;
20774 wxPrintDialogData *result;
20775 PyObject * obj0 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 {
20786 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20787 result = (wxPrintDialogData *) &_result_ref;
20788 }
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
20800static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxPrinter *arg1 = (wxPrinter *) 0 ;
20803 wxWindow *arg2 = (wxWindow *) 0 ;
20804 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20805 int arg4 = (int) True ;
20806 bool result;
20807 PyObject * obj0 = 0 ;
20808 PyObject * obj1 = 0 ;
20809 PyObject * obj2 = 0 ;
20810 PyObject * obj3 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20820 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20822 if (obj3) {
20823 arg4 = (int) SWIG_AsInt(obj3);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839}
20840
20841
20842static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxPrinter *arg1 = (wxPrinter *) 0 ;
20845 wxWindow *arg2 = (wxWindow *) 0 ;
20846 wxDC *result;
20847 PyObject * obj0 = 0 ;
20848 PyObject * obj1 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self",(char *) "parent", NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (wxDC *)(arg1)->PrintDialog(arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 {
20866 resultobj = wxPyMake_wxObject(result);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
20874static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxPrinter *arg1 = (wxPrinter *) 0 ;
20877 wxWindow *arg2 = (wxWindow *) 0 ;
20878 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20879 wxString *arg4 = 0 ;
20880 bool temp4 = False ;
20881 PyObject * obj0 = 0 ;
20882 PyObject * obj1 = 0 ;
20883 PyObject * obj2 = 0 ;
20884 PyObject * obj3 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20894 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20896 {
20897 arg4 = wxString_in_helper(obj3);
20898 if (arg4 == NULL) SWIG_fail;
20899 temp4 = True;
20900 }
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 Py_INCREF(Py_None); resultobj = Py_None;
20909 {
20910 if (temp4)
20911 delete arg4;
20912 }
20913 return resultobj;
20914 fail:
20915 {
20916 if (temp4)
20917 delete arg4;
20918 }
20919 return NULL;
20920}
20921
20922
20923static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxPrinter *arg1 = (wxPrinter *) 0 ;
20926 wxWindow *arg2 = (wxWindow *) 0 ;
20927 bool result;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "parent", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = (bool)(arg1)->Setup(arg2);
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 {
20947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20948 }
20949 return resultobj;
20950 fail:
20951 return NULL;
20952}
20953
20954
20955static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
20956 PyObject *resultobj;
20957 wxPrinter *arg1 = (wxPrinter *) 0 ;
20958 bool result;
20959 PyObject * obj0 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 result = (bool)(arg1)->GetAbort();
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 {
20975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20976 }
20977 return resultobj;
20978 fail:
20979 return NULL;
20980}
20981
20982
20983static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 int result;
20986 char *kwnames[] = {
20987 NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (int)wxPrinter::GetLastError();
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 resultobj = SWIG_FromInt((int)result);
20999 return resultobj;
21000 fail:
21001 return NULL;
21002}
21003
21004
21005static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21006 PyObject *obj;
21007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21008 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21009 Py_INCREF(obj);
21010 return Py_BuildValue((char *)"");
21011}
21012static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21015 wxString *arg1 = (wxString *) &arg1_defvalue ;
21016 wxPyPrintout *result;
21017 bool temp1 = False ;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "title", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21024 if (obj0) {
21025 {
21026 arg1 = wxString_in_helper(obj0);
21027 if (arg1 == NULL) SWIG_fail;
21028 temp1 = True;
21029 }
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 {
21039 resultobj = wxPyMake_wxObject(result);
21040 }
21041 {
21042 if (temp1)
21043 delete arg1;
21044 }
21045 return resultobj;
21046 fail:
21047 {
21048 if (temp1)
21049 delete arg1;
21050 }
21051 return NULL;
21052}
21053
21054
21055static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21058 PyObject *arg2 = (PyObject *) 0 ;
21059 PyObject *arg3 = (PyObject *) 0 ;
21060 PyObject * obj0 = 0 ;
21061 PyObject * obj1 = 0 ;
21062 PyObject * obj2 = 0 ;
21063 char *kwnames[] = {
21064 (char *) "self",(char *) "self",(char *) "_class", NULL
21065 };
21066
21067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21070 arg2 = obj1;
21071 arg3 = obj2;
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 (arg1)->_setCallbackInfo(arg2,arg3);
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 Py_INCREF(Py_None); resultobj = Py_None;
21080 return resultobj;
21081 fail:
21082 return NULL;
21083}
21084
21085
21086static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj;
21088 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21089 wxString result;
21090 PyObject * obj0 = 0 ;
21091 char *kwnames[] = {
21092 (char *) "self", NULL
21093 };
21094
21095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 result = ((wxPyPrintout const *)arg1)->GetTitle();
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 {
21106#if wxUSE_UNICODE
21107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21108#else
21109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21110#endif
21111 }
21112 return resultobj;
21113 fail:
21114 return NULL;
21115}
21116
21117
21118static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21121 wxDC *result;
21122 PyObject * obj0 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 result = (wxDC *)(arg1)->GetDC();
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 {
21138 resultobj = wxPyMake_wxObject(result);
21139 }
21140 return resultobj;
21141 fail:
21142 return NULL;
21143}
21144
21145
21146static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21147 PyObject *resultobj;
21148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21149 wxDC *arg2 = (wxDC *) 0 ;
21150 PyObject * obj0 = 0 ;
21151 PyObject * obj1 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self",(char *) "dc", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 (arg1)->SetDC(arg2);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 Py_INCREF(Py_None); resultobj = Py_None;
21169 return resultobj;
21170 fail:
21171 return NULL;
21172}
21173
21174
21175static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21178 int arg2 ;
21179 int arg3 ;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 PyObject * obj2 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self",(char *) "w",(char *) "h", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 arg2 = (int) SWIG_AsInt(obj1);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 arg3 = (int) SWIG_AsInt(obj2);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 {
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 (arg1)->SetPageSizePixels(arg2,arg3);
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 Py_INCREF(Py_None); resultobj = Py_None;
21202 return resultobj;
21203 fail:
21204 return NULL;
21205}
21206
21207
21208static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21211 int *arg2 = (int *) 0 ;
21212 int *arg3 = (int *) 0 ;
21213 int temp2 ;
21214 int temp3 ;
21215 PyObject * obj0 = 0 ;
21216 char *kwnames[] = {
21217 (char *) "self", NULL
21218 };
21219
21220 arg2 = &temp2;
21221 arg3 = &temp3;
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21225 {
21226 PyThreadState* __tstate = wxPyBeginAllowThreads();
21227 (arg1)->GetPageSizePixels(arg2,arg3);
21228
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 Py_INCREF(Py_None); resultobj = Py_None;
21233 {
21234 PyObject *o = PyInt_FromLong((long) (*arg2));
21235 resultobj = t_output_helper(resultobj,o);
21236 }
21237 {
21238 PyObject *o = PyInt_FromLong((long) (*arg3));
21239 resultobj = t_output_helper(resultobj,o);
21240 }
21241 return resultobj;
21242 fail:
21243 return NULL;
21244}
21245
21246
21247static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21250 int arg2 ;
21251 int arg3 ;
21252 PyObject * obj0 = 0 ;
21253 PyObject * obj1 = 0 ;
21254 PyObject * obj2 = 0 ;
21255 char *kwnames[] = {
21256 (char *) "self",(char *) "w",(char *) "h", NULL
21257 };
21258
21259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21262 arg2 = (int) SWIG_AsInt(obj1);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 arg3 = (int) SWIG_AsInt(obj2);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 (arg1)->SetPageSizeMM(arg2,arg3);
21269
21270 wxPyEndAllowThreads(__tstate);
21271 if (PyErr_Occurred()) SWIG_fail;
21272 }
21273 Py_INCREF(Py_None); resultobj = Py_None;
21274 return resultobj;
21275 fail:
21276 return NULL;
21277}
21278
21279
21280static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21283 int *arg2 = (int *) 0 ;
21284 int *arg3 = (int *) 0 ;
21285 int temp2 ;
21286 int temp3 ;
21287 PyObject * obj0 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self", NULL
21290 };
21291
21292 arg2 = &temp2;
21293 arg3 = &temp3;
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 (arg1)->GetPageSizeMM(arg2,arg3);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 Py_INCREF(Py_None); resultobj = Py_None;
21305 {
21306 PyObject *o = PyInt_FromLong((long) (*arg2));
21307 resultobj = t_output_helper(resultobj,o);
21308 }
21309 {
21310 PyObject *o = PyInt_FromLong((long) (*arg3));
21311 resultobj = t_output_helper(resultobj,o);
21312 }
21313 return resultobj;
21314 fail:
21315 return NULL;
21316}
21317
21318
21319static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21320 PyObject *resultobj;
21321 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21322 int arg2 ;
21323 int arg3 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 PyObject * obj2 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self",(char *) "x",(char *) "y", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21334 arg2 = (int) SWIG_AsInt(obj1);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 arg3 = (int) SWIG_AsInt(obj2);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 (arg1)->SetPPIScreen(arg2,arg3);
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 Py_INCREF(Py_None); resultobj = Py_None;
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
21352static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21355 int *arg2 = (int *) 0 ;
21356 int *arg3 = (int *) 0 ;
21357 int temp2 ;
21358 int temp3 ;
21359 PyObject * obj0 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self", NULL
21362 };
21363
21364 arg2 = &temp2;
21365 arg3 = &temp3;
21366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 (arg1)->GetPPIScreen(arg2,arg3);
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 Py_INCREF(Py_None); resultobj = Py_None;
21377 {
21378 PyObject *o = PyInt_FromLong((long) (*arg2));
21379 resultobj = t_output_helper(resultobj,o);
21380 }
21381 {
21382 PyObject *o = PyInt_FromLong((long) (*arg3));
21383 resultobj = t_output_helper(resultobj,o);
21384 }
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
21391static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21394 int arg2 ;
21395 int arg3 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 PyObject * obj2 = 0 ;
21399 char *kwnames[] = {
21400 (char *) "self",(char *) "x",(char *) "y", NULL
21401 };
21402
21403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21406 arg2 = (int) SWIG_AsInt(obj1);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 arg3 = (int) SWIG_AsInt(obj2);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 (arg1)->SetPPIPrinter(arg2,arg3);
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 Py_INCREF(Py_None); resultobj = Py_None;
21418 return resultobj;
21419 fail:
21420 return NULL;
21421}
21422
21423
21424static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21427 int *arg2 = (int *) 0 ;
21428 int *arg3 = (int *) 0 ;
21429 int temp2 ;
21430 int temp3 ;
21431 PyObject * obj0 = 0 ;
21432 char *kwnames[] = {
21433 (char *) "self", NULL
21434 };
21435
21436 arg2 = &temp2;
21437 arg3 = &temp3;
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->GetPPIPrinter(arg2,arg3);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 {
21450 PyObject *o = PyInt_FromLong((long) (*arg2));
21451 resultobj = t_output_helper(resultobj,o);
21452 }
21453 {
21454 PyObject *o = PyInt_FromLong((long) (*arg3));
21455 resultobj = t_output_helper(resultobj,o);
21456 }
21457 return resultobj;
21458 fail:
21459 return NULL;
21460}
21461
21462
21463static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21466 bool result;
21467 PyObject * obj0 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 result = (bool)(arg1)->IsPreview();
21478
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 {
21483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21484 }
21485 return resultobj;
21486 fail:
21487 return NULL;
21488}
21489
21490
21491static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21494 bool arg2 ;
21495 PyObject * obj0 = 0 ;
21496 PyObject * obj1 = 0 ;
21497 char *kwnames[] = {
21498 (char *) "self",(char *) "p", NULL
21499 };
21500
21501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21504 arg2 = (bool) SWIG_AsBool(obj1);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 (arg1)->SetIsPreview(arg2);
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 Py_INCREF(Py_None); resultobj = Py_None;
21514 return resultobj;
21515 fail:
21516 return NULL;
21517}
21518
21519
21520static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21521 PyObject *resultobj;
21522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21523 int arg2 ;
21524 int arg3 ;
21525 bool result;
21526 PyObject * obj0 = 0 ;
21527 PyObject * obj1 = 0 ;
21528 PyObject * obj2 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21536 arg2 = (int) SWIG_AsInt(obj1);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 arg3 = (int) SWIG_AsInt(obj2);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 {
21548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21549 }
21550 return resultobj;
21551 fail:
21552 return NULL;
21553}
21554
21555
21556static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21557 PyObject *resultobj;
21558 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21559 PyObject * obj0 = 0 ;
21560 char *kwnames[] = {
21561 (char *) "self", NULL
21562 };
21563
21564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 (arg1)->base_OnEndDocument();
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 Py_INCREF(Py_None); resultobj = Py_None;
21575 return resultobj;
21576 fail:
21577 return NULL;
21578}
21579
21580
21581static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj;
21583 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21584 PyObject * obj0 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self", NULL
21587 };
21588
21589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 (arg1)->base_OnBeginPrinting();
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 Py_INCREF(Py_None); resultobj = Py_None;
21600 return resultobj;
21601 fail:
21602 return NULL;
21603}
21604
21605
21606static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21607 PyObject *resultobj;
21608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21609 PyObject * obj0 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self", NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21617 {
21618 PyThreadState* __tstate = wxPyBeginAllowThreads();
21619 (arg1)->base_OnEndPrinting();
21620
21621 wxPyEndAllowThreads(__tstate);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 }
21624 Py_INCREF(Py_None); resultobj = Py_None;
21625 return resultobj;
21626 fail:
21627 return NULL;
21628}
21629
21630
21631static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21634 PyObject * obj0 = 0 ;
21635 char *kwnames[] = {
21636 (char *) "self", NULL
21637 };
21638
21639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 (arg1)->base_OnPreparePrinting();
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 Py_INCREF(Py_None); resultobj = Py_None;
21650 return resultobj;
21651 fail:
21652 return NULL;
21653}
21654
21655
21656static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21657 PyObject *resultobj;
21658 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21659 int arg2 ;
21660 bool result;
21661 PyObject * obj0 = 0 ;
21662 PyObject * obj1 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "page", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21670 arg2 = (int) SWIG_AsInt(obj1);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = (bool)(arg1)->base_HasPage(arg2);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 {
21680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21681 }
21682 return resultobj;
21683 fail:
21684 return NULL;
21685}
21686
21687
21688static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj;
21690 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21691 int *arg2 = (int *) 0 ;
21692 int *arg3 = (int *) 0 ;
21693 int *arg4 = (int *) 0 ;
21694 int *arg5 = (int *) 0 ;
21695 int temp2 ;
21696 int temp3 ;
21697 int temp4 ;
21698 int temp5 ;
21699 PyObject * obj0 = 0 ;
21700 char *kwnames[] = {
21701 (char *) "self", NULL
21702 };
21703
21704 arg2 = &temp2;
21705 arg3 = &temp3;
21706 arg4 = &temp4;
21707 arg5 = &temp5;
21708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 Py_INCREF(Py_None); resultobj = Py_None;
21719 {
21720 PyObject *o = PyInt_FromLong((long) (*arg2));
21721 resultobj = t_output_helper(resultobj,o);
21722 }
21723 {
21724 PyObject *o = PyInt_FromLong((long) (*arg3));
21725 resultobj = t_output_helper(resultobj,o);
21726 }
21727 {
21728 PyObject *o = PyInt_FromLong((long) (*arg4));
21729 resultobj = t_output_helper(resultobj,o);
21730 }
21731 {
21732 PyObject *o = PyInt_FromLong((long) (*arg5));
21733 resultobj = t_output_helper(resultobj,o);
21734 }
21735 return resultobj;
21736 fail:
21737 return NULL;
21738}
21739
21740
21741static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21742 PyObject *obj;
21743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21744 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21745 Py_INCREF(obj);
21746 return Py_BuildValue((char *)"");
21747}
21748static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21751 wxWindow *arg2 = (wxWindow *) 0 ;
21752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21754 wxSize const &arg4_defvalue = wxDefaultSize ;
21755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21756 long arg5 = (long) 0 ;
21757 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21758 wxString *arg6 = (wxString *) &arg6_defvalue ;
21759 wxPreviewCanvas *result;
21760 wxPoint temp3 ;
21761 wxSize temp4 ;
21762 bool temp6 = False ;
21763 PyObject * obj0 = 0 ;
21764 PyObject * obj1 = 0 ;
21765 PyObject * obj2 = 0 ;
21766 PyObject * obj3 = 0 ;
21767 PyObject * obj4 = 0 ;
21768 PyObject * obj5 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21778 if (obj2) {
21779 {
21780 arg3 = &temp3;
21781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21782 }
21783 }
21784 if (obj3) {
21785 {
21786 arg4 = &temp4;
21787 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21788 }
21789 }
21790 if (obj4) {
21791 arg5 = (long) SWIG_AsLong(obj4);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 if (obj5) {
21795 {
21796 arg6 = wxString_in_helper(obj5);
21797 if (arg6 == NULL) SWIG_fail;
21798 temp6 = True;
21799 }
21800 }
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21809 {
21810 if (temp6)
21811 delete arg6;
21812 }
21813 return resultobj;
21814 fail:
21815 {
21816 if (temp6)
21817 delete arg6;
21818 }
21819 return NULL;
21820}
21821
21822
21823static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
21824 PyObject *obj;
21825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21826 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21827 Py_INCREF(obj);
21828 return Py_BuildValue((char *)"");
21829}
21830static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21833 wxFrame *arg2 = (wxFrame *) 0 ;
21834 wxString *arg3 = 0 ;
21835 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21836 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21837 wxSize const &arg5_defvalue = wxDefaultSize ;
21838 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21839 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21840 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21841 wxString *arg7 = (wxString *) &arg7_defvalue ;
21842 wxPreviewFrame *result;
21843 bool temp3 = False ;
21844 wxPoint temp4 ;
21845 wxSize temp5 ;
21846 bool temp7 = False ;
21847 PyObject * obj0 = 0 ;
21848 PyObject * obj1 = 0 ;
21849 PyObject * obj2 = 0 ;
21850 PyObject * obj3 = 0 ;
21851 PyObject * obj4 = 0 ;
21852 PyObject * obj5 = 0 ;
21853 PyObject * obj6 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21863 {
21864 arg3 = wxString_in_helper(obj2);
21865 if (arg3 == NULL) SWIG_fail;
21866 temp3 = True;
21867 }
21868 if (obj3) {
21869 {
21870 arg4 = &temp4;
21871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21872 }
21873 }
21874 if (obj4) {
21875 {
21876 arg5 = &temp5;
21877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21878 }
21879 }
21880 if (obj5) {
21881 arg6 = (long) SWIG_AsLong(obj5);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 if (obj6) {
21885 {
21886 arg7 = wxString_in_helper(obj6);
21887 if (arg7 == NULL) SWIG_fail;
21888 temp7 = True;
21889 }
21890 }
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21899 {
21900 if (temp3)
21901 delete arg3;
21902 }
21903 {
21904 if (temp7)
21905 delete arg7;
21906 }
21907 return resultobj;
21908 fail:
21909 {
21910 if (temp3)
21911 delete arg3;
21912 }
21913 {
21914 if (temp7)
21915 delete arg7;
21916 }
21917 return NULL;
21918}
21919
21920
21921static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21924 PyObject * obj0 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 (arg1)->Initialize();
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 Py_INCREF(Py_None); resultobj = Py_None;
21940 return resultobj;
21941 fail:
21942 return NULL;
21943}
21944
21945
21946static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21949 PyObject * obj0 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
21959 (arg1)->CreateControlBar();
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 Py_INCREF(Py_None); resultobj = Py_None;
21965 return resultobj;
21966 fail:
21967 return NULL;
21968}
21969
21970
21971static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj;
21973 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21974 PyObject * obj0 = 0 ;
21975 char *kwnames[] = {
21976 (char *) "self", NULL
21977 };
21978
21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->CreateCanvas();
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 Py_INCREF(Py_None); resultobj = Py_None;
21990 return resultobj;
21991 fail:
21992 return NULL;
21993}
21994
21995
21996static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21999 wxPreviewControlBar *result;
22000 PyObject * obj0 = 0 ;
22001 char *kwnames[] = {
22002 (char *) "self", NULL
22003 };
22004
22005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
22022static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22023 PyObject *obj;
22024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22025 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22026 Py_INCREF(obj);
22027 return Py_BuildValue((char *)"");
22028}
22029static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22030 PyObject *resultobj;
22031 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22032 long arg2 ;
22033 wxWindow *arg3 = (wxWindow *) 0 ;
22034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22036 wxSize const &arg5_defvalue = wxDefaultSize ;
22037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22038 long arg6 = (long) wxTAB_TRAVERSAL ;
22039 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22040 wxString *arg7 = (wxString *) &arg7_defvalue ;
22041 wxPreviewControlBar *result;
22042 wxPoint temp4 ;
22043 wxSize temp5 ;
22044 bool temp7 = False ;
22045 PyObject * obj0 = 0 ;
22046 PyObject * obj1 = 0 ;
22047 PyObject * obj2 = 0 ;
22048 PyObject * obj3 = 0 ;
22049 PyObject * obj4 = 0 ;
22050 PyObject * obj5 = 0 ;
22051 PyObject * obj6 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22059 arg2 = (long) SWIG_AsLong(obj1);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22063 if (obj3) {
22064 {
22065 arg4 = &temp4;
22066 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22067 }
22068 }
22069 if (obj4) {
22070 {
22071 arg5 = &temp5;
22072 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22073 }
22074 }
22075 if (obj5) {
22076 arg6 = (long) SWIG_AsLong(obj5);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 if (obj6) {
22080 {
22081 arg7 = wxString_in_helper(obj6);
22082 if (arg7 == NULL) SWIG_fail;
22083 temp7 = True;
22084 }
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22094 {
22095 if (temp7)
22096 delete arg7;
22097 }
22098 return resultobj;
22099 fail:
22100 {
22101 if (temp7)
22102 delete arg7;
22103 }
22104 return NULL;
22105}
22106
22107
22108static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22111 int result;
22112 PyObject * obj0 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (int)(arg1)->GetZoomControl();
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_FromInt((int)result);
22128 return resultobj;
22129 fail:
22130 return NULL;
22131}
22132
22133
22134static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22137 int arg2 ;
22138 PyObject * obj0 = 0 ;
22139 PyObject * obj1 = 0 ;
22140 char *kwnames[] = {
22141 (char *) "self",(char *) "zoom", NULL
22142 };
22143
22144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22147 arg2 = (int) SWIG_AsInt(obj1);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
22151 (arg1)->SetZoomControl(arg2);
22152
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 Py_INCREF(Py_None); resultobj = Py_None;
22157 return resultobj;
22158 fail:
22159 return NULL;
22160}
22161
22162
22163static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22166 wxPrintPreview *result;
22167 PyObject * obj0 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22178
22179 wxPyEndAllowThreads(__tstate);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
22182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22183 return resultobj;
22184 fail:
22185 return NULL;
22186}
22187
22188
22189static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22192 PyObject * obj0 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 (arg1)->OnNext();
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 Py_INCREF(Py_None); resultobj = Py_None;
22208 return resultobj;
22209 fail:
22210 return NULL;
22211}
22212
22213
22214static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22215 PyObject *resultobj;
22216 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22217 PyObject * obj0 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 (arg1)->OnPrevious();
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 Py_INCREF(Py_None); resultobj = Py_None;
22233 return resultobj;
22234 fail:
22235 return NULL;
22236}
22237
22238
22239static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22240 PyObject *resultobj;
22241 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22242 PyObject * obj0 = 0 ;
22243 char *kwnames[] = {
22244 (char *) "self", NULL
22245 };
22246
22247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 (arg1)->OnFirst();
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 Py_INCREF(Py_None); resultobj = Py_None;
22258 return resultobj;
22259 fail:
22260 return NULL;
22261}
22262
22263
22264static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj;
22266 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22267 PyObject * obj0 = 0 ;
22268 char *kwnames[] = {
22269 (char *) "self", NULL
22270 };
22271
22272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22275 {
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 (arg1)->OnLast();
22278
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 Py_INCREF(Py_None); resultobj = Py_None;
22283 return resultobj;
22284 fail:
22285 return NULL;
22286}
22287
22288
22289static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 (arg1)->OnGoto();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 Py_INCREF(Py_None); resultobj = Py_None;
22308 return resultobj;
22309 fail:
22310 return NULL;
22311}
22312
22313
22314static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22315 PyObject *obj;
22316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22317 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22318 Py_INCREF(obj);
22319 return Py_BuildValue((char *)"");
22320}
22321static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22322 PyObject *resultobj;
22323 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22324 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22325 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22326 wxPrintPreview *result;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 PyObject * obj2 = 0 ;
22330
22331 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 if (obj2) {
22337 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 }
22340 {
22341 PyThreadState* __tstate = wxPyBeginAllowThreads();
22342 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22343
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22348 return resultobj;
22349 fail:
22350 return NULL;
22351}
22352
22353
22354static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22355 PyObject *resultobj;
22356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22357 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22358 wxPrintData *arg3 = (wxPrintData *) 0 ;
22359 wxPrintPreview *result;
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 PyObject * obj2 = 0 ;
22363
22364 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22379 return resultobj;
22380 fail:
22381 return NULL;
22382}
22383
22384
22385static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22386 int argc;
22387 PyObject *argv[4];
22388 int ii;
22389
22390 argc = PyObject_Length(args);
22391 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22392 argv[ii] = PyTuple_GetItem(args,ii);
22393 }
22394 if ((argc >= 2) && (argc <= 3)) {
22395 int _v;
22396 {
22397 void *ptr;
22398 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22399 _v = 0;
22400 PyErr_Clear();
22401 } else {
22402 _v = 1;
22403 }
22404 }
22405 if (_v) {
22406 {
22407 void *ptr;
22408 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22409 _v = 0;
22410 PyErr_Clear();
22411 } else {
22412 _v = 1;
22413 }
22414 }
22415 if (_v) {
22416 if (argc <= 2) {
22417 return _wrap_new_PrintPreview__SWIG_0(self,args);
22418 }
22419 {
22420 void *ptr;
22421 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22422 _v = 0;
22423 PyErr_Clear();
22424 } else {
22425 _v = 1;
22426 }
22427 }
22428 if (_v) {
22429 return _wrap_new_PrintPreview__SWIG_0(self,args);
22430 }
22431 }
22432 }
22433 }
22434 if (argc == 3) {
22435 int _v;
22436 {
22437 void *ptr;
22438 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22439 _v = 0;
22440 PyErr_Clear();
22441 } else {
22442 _v = 1;
22443 }
22444 }
22445 if (_v) {
22446 {
22447 void *ptr;
22448 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22449 _v = 0;
22450 PyErr_Clear();
22451 } else {
22452 _v = 1;
22453 }
22454 }
22455 if (_v) {
22456 {
22457 void *ptr;
22458 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22459 _v = 0;
22460 PyErr_Clear();
22461 } else {
22462 _v = 1;
22463 }
22464 }
22465 if (_v) {
22466 return _wrap_new_PrintPreview__SWIG_1(self,args);
22467 }
22468 }
22469 }
22470 }
22471
22472 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22473 return NULL;
22474}
22475
22476
22477static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22480 int arg2 ;
22481 bool result;
22482 PyObject * obj0 = 0 ;
22483 PyObject * obj1 = 0 ;
22484 char *kwnames[] = {
22485 (char *) "self",(char *) "pageNum", NULL
22486 };
22487
22488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22491 arg2 = (int) SWIG_AsInt(obj1);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 result = (bool)(arg1)->SetCurrentPage(arg2);
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 {
22501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22502 }
22503 return resultobj;
22504 fail:
22505 return NULL;
22506}
22507
22508
22509static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22510 PyObject *resultobj;
22511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22512 int result;
22513 PyObject * obj0 = 0 ;
22514 char *kwnames[] = {
22515 (char *) "self", NULL
22516 };
22517
22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 result = (int)(arg1)->GetCurrentPage();
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 resultobj = SWIG_FromInt((int)result);
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
22535static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj;
22537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22538 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "printout", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 (arg1)->SetPrintout(arg2);
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 Py_INCREF(Py_None); resultobj = Py_None;
22558 return resultobj;
22559 fail:
22560 return NULL;
22561}
22562
22563
22564static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj;
22566 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22567 wxPyPrintout *result;
22568 PyObject * obj0 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "self", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = (wxPyPrintout *)(arg1)->GetPrintout();
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 {
22584 resultobj = wxPyMake_wxObject(result);
22585 }
22586 return resultobj;
22587 fail:
22588 return NULL;
22589}
22590
22591
22592static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22593 PyObject *resultobj;
22594 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22595 wxPyPrintout *result;
22596 PyObject * obj0 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "self", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 {
22612 resultobj = wxPyMake_wxObject(result);
22613 }
22614 return resultobj;
22615 fail:
22616 return NULL;
22617}
22618
22619
22620static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22621 PyObject *resultobj;
22622 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22623 wxFrame *arg2 = (wxFrame *) 0 ;
22624 PyObject * obj0 = 0 ;
22625 PyObject * obj1 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "frame", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 (arg1)->SetFrame(arg2);
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 Py_INCREF(Py_None); resultobj = Py_None;
22643 return resultobj;
22644 fail:
22645 return NULL;
22646}
22647
22648
22649static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22650 PyObject *resultobj;
22651 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22652 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22653 PyObject * obj0 = 0 ;
22654 PyObject * obj1 = 0 ;
22655 char *kwnames[] = {
22656 (char *) "self",(char *) "canvas", NULL
22657 };
22658
22659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 (arg1)->SetCanvas(arg2);
22667
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 Py_INCREF(Py_None); resultobj = Py_None;
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
22678static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22681 wxFrame *result;
22682 PyObject * obj0 = 0 ;
22683 char *kwnames[] = {
22684 (char *) "self", NULL
22685 };
22686
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22690 {
22691 PyThreadState* __tstate = wxPyBeginAllowThreads();
22692 result = (wxFrame *)(arg1)->GetFrame();
22693
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 {
22698 resultobj = wxPyMake_wxObject(result);
22699 }
22700 return resultobj;
22701 fail:
22702 return NULL;
22703}
22704
22705
22706static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22707 PyObject *resultobj;
22708 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22709 wxPreviewCanvas *result;
22710 PyObject * obj0 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22718 {
22719 PyThreadState* __tstate = wxPyBeginAllowThreads();
22720 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22721
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22726 return resultobj;
22727 fail:
22728 return NULL;
22729}
22730
22731
22732static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22733 PyObject *resultobj;
22734 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22735 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22736 wxDC *arg3 = 0 ;
22737 bool result;
22738 PyObject * obj0 = 0 ;
22739 PyObject * obj1 = 0 ;
22740 PyObject * obj2 = 0 ;
22741 char *kwnames[] = {
22742 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22743 };
22744
22745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22750 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22751 SWIG_POINTER_EXCEPTION | 0)) == -1)
22752 SWIG_fail;
22753 if (arg3 == NULL) {
22754 PyErr_SetString(PyExc_TypeError,"null reference");
22755 SWIG_fail;
22756 }
22757 {
22758 PyThreadState* __tstate = wxPyBeginAllowThreads();
22759 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22760
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 {
22765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22766 }
22767 return resultobj;
22768 fail:
22769 return NULL;
22770}
22771
22772
22773static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22776 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22777 wxDC *arg3 = 0 ;
22778 bool result;
22779 PyObject * obj0 = 0 ;
22780 PyObject * obj1 = 0 ;
22781 PyObject * obj2 = 0 ;
22782 char *kwnames[] = {
22783 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22784 };
22785
22786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22791 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1)
22793 SWIG_fail;
22794 if (arg3 == NULL) {
22795 PyErr_SetString(PyExc_TypeError,"null reference");
22796 SWIG_fail;
22797 }
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 {
22806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22807 }
22808 return resultobj;
22809 fail:
22810 return NULL;
22811}
22812
22813
22814static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22817 int arg2 ;
22818 bool result;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self",(char *) "pageNum", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22828 arg2 = (int) SWIG_AsInt(obj1);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (bool)(arg1)->RenderPage(arg2);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 {
22838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22839 }
22840 return resultobj;
22841 fail:
22842 return NULL;
22843}
22844
22845
22846static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22849 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22850 PyObject * obj0 = 0 ;
22851 PyObject * obj1 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self",(char *) "canvas", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 (arg1)->AdjustScrollbars(arg2);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872}
22873
22874
22875static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22878 wxPrintDialogData *result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 {
22890 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22891 result = (wxPrintDialogData *) &_result_ref;
22892 }
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22898 return resultobj;
22899 fail:
22900 return NULL;
22901}
22902
22903
22904static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj;
22906 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22907 int arg2 ;
22908 PyObject * obj0 = 0 ;
22909 PyObject * obj1 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self",(char *) "percent", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 arg2 = (int) SWIG_AsInt(obj1);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 (arg1)->SetZoom(arg2);
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 Py_INCREF(Py_None); resultobj = Py_None;
22927 return resultobj;
22928 fail:
22929 return NULL;
22930}
22931
22932
22933static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22934 PyObject *resultobj;
22935 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22936 int result;
22937 PyObject * obj0 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 result = (int)(arg1)->GetZoom();
22948
22949 wxPyEndAllowThreads(__tstate);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 resultobj = SWIG_FromInt((int)result);
22953 return resultobj;
22954 fail:
22955 return NULL;
22956}
22957
22958
22959static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22960 PyObject *resultobj;
22961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22962 int result;
22963 PyObject * obj0 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "self", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
22969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22971 {
22972 PyThreadState* __tstate = wxPyBeginAllowThreads();
22973 result = (int)(arg1)->GetMaxPage();
22974
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 resultobj = SWIG_FromInt((int)result);
22979 return resultobj;
22980 fail:
22981 return NULL;
22982}
22983
22984
22985static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22988 int result;
22989 PyObject * obj0 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22997 {
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 result = (int)(arg1)->GetMinPage();
23000
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 resultobj = SWIG_FromInt((int)result);
23005 return resultobj;
23006 fail:
23007 return NULL;
23008}
23009
23010
23011static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23014 bool result;
23015 PyObject * obj0 = 0 ;
23016 char *kwnames[] = {
23017 (char *) "self", NULL
23018 };
23019
23020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 result = (bool)(arg1)->Ok();
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 {
23031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23032 }
23033 return resultobj;
23034 fail:
23035 return NULL;
23036}
23037
23038
23039static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj;
23041 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23042 bool arg2 ;
23043 PyObject * obj0 = 0 ;
23044 PyObject * obj1 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self",(char *) "ok", NULL
23047 };
23048
23049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23052 arg2 = (bool) SWIG_AsBool(obj1);
23053 if (PyErr_Occurred()) SWIG_fail;
23054 {
23055 PyThreadState* __tstate = wxPyBeginAllowThreads();
23056 (arg1)->SetOk(arg2);
23057
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 Py_INCREF(Py_None); resultobj = Py_None;
23062 return resultobj;
23063 fail:
23064 return NULL;
23065}
23066
23067
23068static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23069 PyObject *resultobj;
23070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23071 bool arg2 ;
23072 bool result;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 char *kwnames[] = {
23076 (char *) "self",(char *) "interactive", NULL
23077 };
23078
23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23082 arg2 = (bool) SWIG_AsBool(obj1);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 {
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 result = (bool)(arg1)->Print(arg2);
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 {
23092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23093 }
23094 return resultobj;
23095 fail:
23096 return NULL;
23097}
23098
23099
23100static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23101 PyObject *resultobj;
23102 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23103 PyObject * obj0 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 (arg1)->DetermineScaling();
23114
23115 wxPyEndAllowThreads(__tstate);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 }
23118 Py_INCREF(Py_None); resultobj = Py_None;
23119 return resultobj;
23120 fail:
23121 return NULL;
23122}
23123
23124
23125static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23126 PyObject *obj;
23127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23128 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23129 Py_INCREF(obj);
23130 return Py_BuildValue((char *)"");
23131}
23132static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23133 PyObject *resultobj;
23134 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23135 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23136 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23137 wxPyPrintPreview *result;
23138 PyObject * obj0 = 0 ;
23139 PyObject * obj1 = 0 ;
23140 PyObject * obj2 = 0 ;
23141
23142 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23147 if (obj2) {
23148 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23150 }
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23159 return resultobj;
23160 fail:
23161 return NULL;
23162}
23163
23164
23165static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23166 PyObject *resultobj;
23167 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23168 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23169 wxPrintData *arg3 = (wxPrintData *) 0 ;
23170 wxPyPrintPreview *result;
23171 PyObject * obj0 = 0 ;
23172 PyObject * obj1 = 0 ;
23173 PyObject * obj2 = 0 ;
23174
23175 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23180 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23185
23186 wxPyEndAllowThreads(__tstate);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 }
23189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23190 return resultobj;
23191 fail:
23192 return NULL;
23193}
23194
23195
23196static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23197 int argc;
23198 PyObject *argv[4];
23199 int ii;
23200
23201 argc = PyObject_Length(args);
23202 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23203 argv[ii] = PyTuple_GetItem(args,ii);
23204 }
23205 if ((argc >= 2) && (argc <= 3)) {
23206 int _v;
23207 {
23208 void *ptr;
23209 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23210 _v = 0;
23211 PyErr_Clear();
23212 } else {
23213 _v = 1;
23214 }
23215 }
23216 if (_v) {
23217 {
23218 void *ptr;
23219 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23220 _v = 0;
23221 PyErr_Clear();
23222 } else {
23223 _v = 1;
23224 }
23225 }
23226 if (_v) {
23227 if (argc <= 2) {
23228 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23229 }
23230 {
23231 void *ptr;
23232 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23233 _v = 0;
23234 PyErr_Clear();
23235 } else {
23236 _v = 1;
23237 }
23238 }
23239 if (_v) {
23240 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23241 }
23242 }
23243 }
23244 }
23245 if (argc == 3) {
23246 int _v;
23247 {
23248 void *ptr;
23249 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23250 _v = 0;
23251 PyErr_Clear();
23252 } else {
23253 _v = 1;
23254 }
23255 }
23256 if (_v) {
23257 {
23258 void *ptr;
23259 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23260 _v = 0;
23261 PyErr_Clear();
23262 } else {
23263 _v = 1;
23264 }
23265 }
23266 if (_v) {
23267 {
23268 void *ptr;
23269 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23270 _v = 0;
23271 PyErr_Clear();
23272 } else {
23273 _v = 1;
23274 }
23275 }
23276 if (_v) {
23277 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23278 }
23279 }
23280 }
23281 }
23282
23283 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23284 return NULL;
23285}
23286
23287
23288static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23291 PyObject *arg2 = (PyObject *) 0 ;
23292 PyObject *arg3 = (PyObject *) 0 ;
23293 PyObject * obj0 = 0 ;
23294 PyObject * obj1 = 0 ;
23295 PyObject * obj2 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "self",(char *) "_class", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23303 arg2 = obj1;
23304 arg3 = obj2;
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 (arg1)->_setCallbackInfo(arg2,arg3);
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 Py_INCREF(Py_None); resultobj = Py_None;
23313 return resultobj;
23314 fail:
23315 return NULL;
23316}
23317
23318
23319static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23322 int arg2 ;
23323 bool result;
23324 PyObject * obj0 = 0 ;
23325 PyObject * obj1 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self",(char *) "pageNum", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23333 arg2 = (int) SWIG_AsInt(obj1);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 {
23336 PyThreadState* __tstate = wxPyBeginAllowThreads();
23337 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 {
23343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23344 }
23345 return resultobj;
23346 fail:
23347 return NULL;
23348}
23349
23350
23351static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23352 PyObject *resultobj;
23353 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23354 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23355 wxDC *arg3 = 0 ;
23356 bool result;
23357 PyObject * obj0 = 0 ;
23358 PyObject * obj1 = 0 ;
23359 PyObject * obj2 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23369 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23370 SWIG_POINTER_EXCEPTION | 0)) == -1)
23371 SWIG_fail;
23372 if (arg3 == NULL) {
23373 PyErr_SetString(PyExc_TypeError,"null reference");
23374 SWIG_fail;
23375 }
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 {
23384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23385 }
23386 return resultobj;
23387 fail:
23388 return NULL;
23389}
23390
23391
23392static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23393 PyObject *resultobj;
23394 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23395 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23396 wxDC *arg3 = 0 ;
23397 bool result;
23398 PyObject * obj0 = 0 ;
23399 PyObject * obj1 = 0 ;
23400 PyObject * obj2 = 0 ;
23401 char *kwnames[] = {
23402 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23403 };
23404
23405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23410 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23411 SWIG_POINTER_EXCEPTION | 0)) == -1)
23412 SWIG_fail;
23413 if (arg3 == NULL) {
23414 PyErr_SetString(PyExc_TypeError,"null reference");
23415 SWIG_fail;
23416 }
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 {
23425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23426 }
23427 return resultobj;
23428 fail:
23429 return NULL;
23430}
23431
23432
23433static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23436 int arg2 ;
23437 bool result;
23438 PyObject * obj0 = 0 ;
23439 PyObject * obj1 = 0 ;
23440 char *kwnames[] = {
23441 (char *) "self",(char *) "pageNum", NULL
23442 };
23443
23444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23447 arg2 = (int) SWIG_AsInt(obj1);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 result = (bool)(arg1)->base_RenderPage(arg2);
23452
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 {
23457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23458 }
23459 return resultobj;
23460 fail:
23461 return NULL;
23462}
23463
23464
23465static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23466 PyObject *resultobj;
23467 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23468 int arg2 ;
23469 PyObject * obj0 = 0 ;
23470 PyObject * obj1 = 0 ;
23471 char *kwnames[] = {
23472 (char *) "self",(char *) "percent", NULL
23473 };
23474
23475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23478 arg2 = (int) SWIG_AsInt(obj1);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 (arg1)->base_SetZoom(arg2);
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 Py_INCREF(Py_None); resultobj = Py_None;
23488 return resultobj;
23489 fail:
23490 return NULL;
23491}
23492
23493
23494static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23495 PyObject *resultobj;
23496 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23497 bool arg2 ;
23498 bool result;
23499 PyObject * obj0 = 0 ;
23500 PyObject * obj1 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self",(char *) "interactive", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23508 arg2 = (bool) SWIG_AsBool(obj1);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 result = (bool)(arg1)->base_Print(arg2);
23513
23514 wxPyEndAllowThreads(__tstate);
23515 if (PyErr_Occurred()) SWIG_fail;
23516 }
23517 {
23518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23519 }
23520 return resultobj;
23521 fail:
23522 return NULL;
23523}
23524
23525
23526static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23527 PyObject *resultobj;
23528 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23529 PyObject * obj0 = 0 ;
23530 char *kwnames[] = {
23531 (char *) "self", NULL
23532 };
23533
23534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 (arg1)->base_DetermineScaling();
23540
23541 wxPyEndAllowThreads(__tstate);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 }
23544 Py_INCREF(Py_None); resultobj = Py_None;
23545 return resultobj;
23546 fail:
23547 return NULL;
23548}
23549
23550
23551static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23552 PyObject *obj;
23553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23554 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23555 Py_INCREF(obj);
23556 return Py_BuildValue((char *)"");
23557}
23558static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23561 wxFrame *arg2 = (wxFrame *) 0 ;
23562 wxString *arg3 = 0 ;
23563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23565 wxSize const &arg5_defvalue = wxDefaultSize ;
23566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23567 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23568 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23569 wxString *arg7 = (wxString *) &arg7_defvalue ;
23570 wxPyPreviewFrame *result;
23571 bool temp3 = False ;
23572 wxPoint temp4 ;
23573 wxSize temp5 ;
23574 bool temp7 = False ;
23575 PyObject * obj0 = 0 ;
23576 PyObject * obj1 = 0 ;
23577 PyObject * obj2 = 0 ;
23578 PyObject * obj3 = 0 ;
23579 PyObject * obj4 = 0 ;
23580 PyObject * obj5 = 0 ;
23581 PyObject * obj6 = 0 ;
23582 char *kwnames[] = {
23583 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23584 };
23585
23586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23591 {
23592 arg3 = wxString_in_helper(obj2);
23593 if (arg3 == NULL) SWIG_fail;
23594 temp3 = True;
23595 }
23596 if (obj3) {
23597 {
23598 arg4 = &temp4;
23599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23600 }
23601 }
23602 if (obj4) {
23603 {
23604 arg5 = &temp5;
23605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23606 }
23607 }
23608 if (obj5) {
23609 arg6 = (long) SWIG_AsLong(obj5);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 if (obj6) {
23613 {
23614 arg7 = wxString_in_helper(obj6);
23615 if (arg7 == NULL) SWIG_fail;
23616 temp7 = True;
23617 }
23618 }
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23627 {
23628 if (temp3)
23629 delete arg3;
23630 }
23631 {
23632 if (temp7)
23633 delete arg7;
23634 }
23635 return resultobj;
23636 fail:
23637 {
23638 if (temp3)
23639 delete arg3;
23640 }
23641 {
23642 if (temp7)
23643 delete arg7;
23644 }
23645 return NULL;
23646}
23647
23648
23649static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23652 PyObject *arg2 = (PyObject *) 0 ;
23653 PyObject *arg3 = (PyObject *) 0 ;
23654 PyObject * obj0 = 0 ;
23655 PyObject * obj1 = 0 ;
23656 PyObject * obj2 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "self",(char *) "_class", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23664 arg2 = obj1;
23665 arg3 = obj2;
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->_setCallbackInfo(arg2,arg3);
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 Py_INCREF(Py_None); resultobj = Py_None;
23674 return resultobj;
23675 fail:
23676 return NULL;
23677}
23678
23679
23680static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23683 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23684 PyObject * obj0 = 0 ;
23685 PyObject * obj1 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self",(char *) "canvas", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 (arg1)->SetPreviewCanvas(arg2);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 Py_INCREF(Py_None); resultobj = Py_None;
23703 return resultobj;
23704 fail:
23705 return NULL;
23706}
23707
23708
23709static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23712 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23713 PyObject * obj0 = 0 ;
23714 PyObject * obj1 = 0 ;
23715 char *kwnames[] = {
23716 (char *) "self",(char *) "bar", NULL
23717 };
23718
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 (arg1)->SetControlBar(arg2);
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 Py_INCREF(Py_None); resultobj = Py_None;
23732 return resultobj;
23733 fail:
23734 return NULL;
23735}
23736
23737
23738static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23739 PyObject *resultobj;
23740 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23741 PyObject * obj0 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "self", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23749 {
23750 PyThreadState* __tstate = wxPyBeginAllowThreads();
23751 (arg1)->base_Initialize();
23752
23753 wxPyEndAllowThreads(__tstate);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 Py_INCREF(Py_None); resultobj = Py_None;
23757 return resultobj;
23758 fail:
23759 return NULL;
23760}
23761
23762
23763static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23764 PyObject *resultobj;
23765 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23766 PyObject * obj0 = 0 ;
23767 char *kwnames[] = {
23768 (char *) "self", NULL
23769 };
23770
23771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 (arg1)->base_CreateCanvas();
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 Py_INCREF(Py_None); resultobj = Py_None;
23782 return resultobj;
23783 fail:
23784 return NULL;
23785}
23786
23787
23788static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23791 PyObject * obj0 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
23797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 (arg1)->base_CreateControlBar();
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 Py_INCREF(Py_None); resultobj = Py_None;
23807 return resultobj;
23808 fail:
23809 return NULL;
23810}
23811
23812
23813static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
23814 PyObject *obj;
23815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23816 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23817 Py_INCREF(obj);
23818 return Py_BuildValue((char *)"");
23819}
23820static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23821 PyObject *resultobj;
23822 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23823 long arg2 ;
23824 wxWindow *arg3 = (wxWindow *) 0 ;
23825 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23826 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23827 wxSize const &arg5_defvalue = wxDefaultSize ;
23828 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23829 long arg6 = (long) 0 ;
23830 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23831 wxString *arg7 = (wxString *) &arg7_defvalue ;
23832 wxPyPreviewControlBar *result;
23833 wxPoint temp4 ;
23834 wxSize temp5 ;
23835 bool temp7 = False ;
23836 PyObject * obj0 = 0 ;
23837 PyObject * obj1 = 0 ;
23838 PyObject * obj2 = 0 ;
23839 PyObject * obj3 = 0 ;
23840 PyObject * obj4 = 0 ;
23841 PyObject * obj5 = 0 ;
23842 PyObject * obj6 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23850 arg2 = (long) SWIG_AsLong(obj1);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23854 if (obj3) {
23855 {
23856 arg4 = &temp4;
23857 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23858 }
23859 }
23860 if (obj4) {
23861 {
23862 arg5 = &temp5;
23863 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23864 }
23865 }
23866 if (obj5) {
23867 arg6 = (long) SWIG_AsLong(obj5);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
23870 if (obj6) {
23871 {
23872 arg7 = wxString_in_helper(obj6);
23873 if (arg7 == NULL) SWIG_fail;
23874 temp7 = True;
23875 }
23876 }
23877 {
23878 PyThreadState* __tstate = wxPyBeginAllowThreads();
23879 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23880
23881 wxPyEndAllowThreads(__tstate);
23882 if (PyErr_Occurred()) SWIG_fail;
23883 }
23884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23885 {
23886 if (temp7)
23887 delete arg7;
23888 }
23889 return resultobj;
23890 fail:
23891 {
23892 if (temp7)
23893 delete arg7;
23894 }
23895 return NULL;
23896}
23897
23898
23899static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23902 PyObject *arg2 = (PyObject *) 0 ;
23903 PyObject *arg3 = (PyObject *) 0 ;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 PyObject * obj2 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self",(char *) "self",(char *) "_class", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23914 arg2 = obj1;
23915 arg3 = obj2;
23916 {
23917 PyThreadState* __tstate = wxPyBeginAllowThreads();
23918 (arg1)->_setCallbackInfo(arg2,arg3);
23919
23920 wxPyEndAllowThreads(__tstate);
23921 if (PyErr_Occurred()) SWIG_fail;
23922 }
23923 Py_INCREF(Py_None); resultobj = Py_None;
23924 return resultobj;
23925 fail:
23926 return NULL;
23927}
23928
23929
23930static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23931 PyObject *resultobj;
23932 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23933 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23934 PyObject * obj0 = 0 ;
23935 PyObject * obj1 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "preview", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 (arg1)->SetPrintPreview(arg2);
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 Py_INCREF(Py_None); resultobj = Py_None;
23953 return resultobj;
23954 fail:
23955 return NULL;
23956}
23957
23958
23959static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj;
23961 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23962 PyObject * obj0 = 0 ;
23963 char *kwnames[] = {
23964 (char *) "self", NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
23968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 (arg1)->base_CreateButtons();
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 Py_INCREF(Py_None); resultobj = Py_None;
23978 return resultobj;
23979 fail:
23980 return NULL;
23981}
23982
23983
23984static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23987 int arg2 ;
23988 PyObject * obj0 = 0 ;
23989 PyObject * obj1 = 0 ;
23990 char *kwnames[] = {
23991 (char *) "self",(char *) "zoom", NULL
23992 };
23993
23994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23997 arg2 = (int) SWIG_AsInt(obj1);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 {
24000 PyThreadState* __tstate = wxPyBeginAllowThreads();
24001 (arg1)->base_SetZoomControl(arg2);
24002
24003 wxPyEndAllowThreads(__tstate);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 }
24006 Py_INCREF(Py_None); resultobj = Py_None;
24007 return resultobj;
24008 fail:
24009 return NULL;
24010}
24011
24012
24013static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24014 PyObject *obj;
24015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24016 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24017 Py_INCREF(obj);
24018 return Py_BuildValue((char *)"");
24019}
24020static PyMethodDef SwigMethods[] = {
24021 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24022 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24023 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24024 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24025 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24026 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24027 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24028 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24029 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24030 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24031 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24032 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24033 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24034 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24035 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24036 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24037 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24038 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24039 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24040 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24041 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24042 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24043 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24044 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24045 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24046 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24047 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24048 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24049 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24050 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24051 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24052 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24053 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24054 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24055 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24056 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24057 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24058 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24059 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24060 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24061 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24062 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24063 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24064 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24065 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24066 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24067 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24068 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24069 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24070 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24071 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24072 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24073 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24074 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24075 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24076 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24077 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24078 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24079 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24080 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24081 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24082 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24083 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24084 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24085 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24086 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24087 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24088 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24089 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24090 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24091 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24092 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24093 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24094 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24095 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24096 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24097 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24098 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24099 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24100 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24101 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24102 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24103 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24104 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24105 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24106 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24107 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24108 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24109 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24110 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24111 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24112 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24113 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24114 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24115 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24116 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24117 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24118 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24119 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24120 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24121 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24122 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24123 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24124 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24125 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24126 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24127 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24128 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24129 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24130 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24131 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24132 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24133 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24134 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24135 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24136 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24137 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24138 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24139 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24140 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24141 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24142 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24143 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24144 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24145 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24146 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24147 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24148 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24149 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24150 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24151 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24152 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24153 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24154 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24155 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24156 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24157 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24158 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24159 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24160 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24161 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24162 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24163 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24164 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24165 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24166 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24167 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24168 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24169 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24170 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24171 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24172 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24173 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24174 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24175 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24176 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24177 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24178 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24179 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24180 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24181 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24182 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24183 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24184 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24185 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24186 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24187 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24188 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24189 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24190 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24191 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24192 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24193 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24194 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24195 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24196 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24197 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24198 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24199 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24200 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24201 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24202 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24203 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24204 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24205 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24206 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24207 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24208 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24209 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24210 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24211 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24212 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24213 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24214 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24215 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24216 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24217 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24218 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24219 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24220 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24221 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24222 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24223 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24224 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24225 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24226 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24227 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24228 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24229 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24230 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24231 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24232 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24233 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24234 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24235 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24236 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24237 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24238 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24239 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24240 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24241 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24242 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24243 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24244 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24245 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24246 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24247 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24248 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24249 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24250 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24251 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24252 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24253 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24254 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24255 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24256 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24257 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24258 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24259 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24260 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24261 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24262 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24263 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24264 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24265 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24266 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24267 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24268 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24269 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24270 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24271 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24272 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24273 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24274 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24276 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24278 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24279 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24283 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24286 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24290 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24292 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24299 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24301 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24304 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24311 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24329 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24333 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24338 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24342 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24358 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24361 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24363 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24367 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24376 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24385 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24391 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24403 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24410 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24414 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24438 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24462 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24486 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24532 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24564 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24568 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24569 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24602 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24607 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24618 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24641 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24643 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24649 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24659 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24660 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24683 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24684 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24693 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24701 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24707 { NULL, NULL }
24708};
24709
24710
24711/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24712
24713static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24714 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24715}
24716static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24717 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24718}
24719static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24720 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24721}
24722static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24723 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24724}
24725static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24726 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24727}
24728static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24729 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24730}
24731static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24732 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24733}
24734static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24735 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24736}
24737static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24738 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24739}
24740static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24741 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24742}
24743static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24745}
24746static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24747 return (void *)((wxEvent *) ((wxPyEvent *) x));
24748}
24749static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24750 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24751}
24752static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24753 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24754}
24755static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24756 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24757}
24758static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24759 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24760}
24761static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24762 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24763}
24764static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24765 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24766}
24767static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24768 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24769}
24770static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24771 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24772}
24773static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24774 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24775}
24776static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24777 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24778}
24779static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
24780 return (void *)((wxEvent *) ((wxPaintEvent *) x));
24781}
24782static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
24783 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
24784}
24785static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
24786 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
24787}
24788static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
24789 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
24790}
24791static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
24792 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
24793}
24794static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
24795 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24796}
24797static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
24798 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
24799}
24800static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
24801 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
24802}
24803static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
24804 return (void *)((wxEvent *) ((wxFocusEvent *) x));
24805}
24806static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
24807 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
24808}
24809static void *_p_wxSashEventTo_p_wxEvent(void *x) {
24810 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
24811}
24812static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
24813 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24814}
24815static void *_p_wxShowEventTo_p_wxEvent(void *x) {
24816 return (void *)((wxEvent *) ((wxShowEvent *) x));
24817}
24818static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
24819 return (void *)((wxEvent *) ((wxCommandEvent *) x));
24820}
24821static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
24822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
24823}
24824static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
24825 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24826}
24827static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
24828 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
24829}
24830static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24831 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24832}
24833static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24834 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24835}
24836static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24837 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24838}
24839static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24840 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24841}
24842static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24843 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24844}
24845static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24846 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24847}
24848static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24849 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24850}
24851static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24853}
24854static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24855 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24856}
24857static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24858 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24859}
24860static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24861 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24862}
24863static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24865}
24866static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24868}
24869static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24871}
24872static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24874}
24875static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24876 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24877}
24878static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24880}
24881static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24883}
24884static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24885 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24886}
24887static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24888 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24889}
24890static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24892}
24893static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24895}
24896static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24897 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24898}
24899static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24900 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24901}
24902static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24903 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24904}
24905static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24907}
24908static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24909 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24910}
24911static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24912 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24913}
24914static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24915 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24916}
24917static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24918 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24919}
24920static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24921 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24922}
24923static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24925}
24926static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
24927 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
24928}
24929static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24930 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24931}
24932static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24933 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24934}
24935static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24936 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24937}
24938static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24939 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24940}
24941static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24942 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24943}
24944static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24946}
24947static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24949}
24950static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24951 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24952}
24953static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24954 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24955}
24956static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24957 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24958}
24959static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24960 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24961}
24962static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24963 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24964}
24965static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
24966 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
24967}
24968static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
24969 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24970}
24971static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
24972 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24973}
24974static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
24975 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24976}
24977static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
24978 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24979}
24980static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
24981 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24982}
24983static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
24984 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24985}
24986static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
24987 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24988}
24989static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
24990 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24991}
24992static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
24993 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
24994}
24995static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
24996 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
24997}
24998static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
24999 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25000}
25001static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25002 return (void *)((wxFrame *) ((wxTipWindow *) x));
25003}
25004static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25005 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25006}
25007static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25008 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25009}
25010static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25011 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25012}
25013static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25014 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25015}
25016static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25017 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25018}
25019static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25020 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25021}
25022static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25023 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25024}
25025static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25027}
25028static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25030}
25031static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25032 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25033}
25034static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25035 return (void *)((wxObject *) ((wxSizerItem *) x));
25036}
25037static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25038 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25039}
25040static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25041 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25042}
25043static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25044 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25045}
25046static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25047 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25048}
25049static void *_p_wxSizerTo_p_wxObject(void *x) {
25050 return (void *)((wxObject *) ((wxSizer *) x));
25051}
25052static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25053 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25054}
25055static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25057}
25058static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25060}
25061static void *_p_wxEventTo_p_wxObject(void *x) {
25062 return (void *)((wxObject *) ((wxEvent *) x));
25063}
25064static void *_p_wxFontDataTo_p_wxObject(void *x) {
25065 return (void *)((wxObject *) ((wxFontData *) x));
25066}
25067static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25068 return (void *)((wxObject *) ((wxPrintData *) x));
25069}
25070static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25071 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25072}
25073static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25074 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25075}
25076static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25077 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25078}
25079static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25080 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25081}
25082static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25083 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25084}
25085static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25087}
25088static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25089 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25090}
25091static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25092 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25093}
25094static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25095 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25096}
25097static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25098 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25099}
25100static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25101 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25102}
25103static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25104 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25105}
25106static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25108}
25109static void *_p_wxControlTo_p_wxObject(void *x) {
25110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25111}
25112static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25113 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25114}
25115static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25116 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25117}
25118static void *_p_wxFSFileTo_p_wxObject(void *x) {
25119 return (void *)((wxObject *) ((wxFSFile *) x));
25120}
25121static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25122 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25123}
25124static void *_p_wxPySizerTo_p_wxObject(void *x) {
25125 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25126}
25127static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25129}
25130static void *_p_wxColourDataTo_p_wxObject(void *x) {
25131 return (void *)((wxObject *) ((wxColourData *) x));
25132}
25133static void *_p_wxPyEventTo_p_wxObject(void *x) {
25134 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25135}
25136static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25138}
25139static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25141}
25142static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25144}
25145static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25147}
25148static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25150}
25151static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25153}
25154static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25156}
25157static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25159}
25160static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25162}
25163static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25165}
25166static void *_p_wxShowEventTo_p_wxObject(void *x) {
25167 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25168}
25169static void *_p_wxPrinterTo_p_wxObject(void *x) {
25170 return (void *)((wxObject *) ((wxPrinter *) x));
25171}
25172static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25173 return (void *)((wxObject *) ((wxMenuItem *) x));
25174}
25175static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25176 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25177}
25178static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25180}
25181static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25182 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25183}
25184static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25185 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25186}
25187static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25188 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25189}
25190static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25191 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25192}
25193static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25194 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25195}
25196static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25197 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25198}
25199static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25200 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25201}
25202static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25203 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25204}
25205static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25206 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25207}
25208static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25209 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25210}
25211static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25212 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25213}
25214static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25215 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25216}
25217static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25218 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25219}
25220static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25221 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25222}
25223static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25224 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25225}
25226static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25227 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25228}
25229static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25230 return (void *)((wxObject *) ((wxImageHandler *) x));
25231}
25232static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25233 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25234}
25235static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25236 return (void *)((wxObject *) ((wxEvtHandler *) x));
25237}
25238static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25239 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25240}
25241static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25243}
25244static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25246}
25247static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25248 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25249}
25250static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25252}
25253static void *_p_wxImageTo_p_wxObject(void *x) {
25254 return (void *)((wxObject *) ((wxImage *) x));
25255}
25256static void *_p_wxFrameTo_p_wxObject(void *x) {
25257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25258}
25259static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25260 return (void *)((wxObject *) ((wxPyPrintout *) x));
25261}
25262static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25263 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25264}
25265static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25266 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25267}
25268static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25270}
25271static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25273}
25274static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25275 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25276}
25277static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25278 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25279}
25280static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25282}
25283static void *_p_wxWindowTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25285}
25286static void *_p_wxMenuTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25288}
25289static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25291}
25292static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25294}
25295static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25297}
25298static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25300}
25301static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25303}
25304static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25306}
25307static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25309}
25310static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25312}
25313static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25315}
25316static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25318}
25319static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25321}
25322static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25324}
25325static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25327}
25328static void *_p_wxSashEventTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25330}
25331static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) ((wxPrintPreview *) x));
25333}
25334static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25336}
25337static void *_p_wxPanelTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25339}
25340static void *_p_wxDialogTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25342}
25343static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25345}
25346static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25348}
25349static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25351}
25352static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25354}
25355static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25357}
25358static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) ((wxFileSystem *) x));
25360}
25361static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25363}
25364static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25366}
25367static void *_p_wxPyAppTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25369}
25370static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25372}
25373static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25375}
25376static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25378}
25379static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25381}
25382static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25384}
25385static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25387}
25388static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25390}
25391static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25393}
25394static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25396}
25397static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25399}
25400static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25402}
25403static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25405}
25406static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25408}
25409static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25411}
25412static void *_p_wxValidatorTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25414}
25415static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25416 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25417}
25418static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25419 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25420}
25421static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25422 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25423}
25424static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25425 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25426}
25427static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25428 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25429}
25430static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25431 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25432}
25433static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25434 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25435}
25436static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25437 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25438}
25439static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25440 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25441}
25442static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25443 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25444}
25445static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25446 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25447}
25448static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25449 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25450}
25451static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25452 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25453}
25454static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
25455 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
25456}
25457static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25458 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25459}
25460static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25461 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25462}
25463static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25464 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25465}
25466static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25467 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25468}
25469static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25470 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25471}
25472static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25473 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25474}
25475static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25476 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25477}
25478static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25479 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25480}
25481static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25483}
25484static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25485 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25486}
25487static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25488 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25489}
25490static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25491 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25492}
25493static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25494 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25495}
25496static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25497 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25498}
25499static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25500 return (void *)((wxWindow *) ((wxMenuBar *) x));
25501}
25502static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25504}
25505static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25507}
25508static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25510}
25511static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25512 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25513}
25514static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25515 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25516}
25517static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25518 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25519}
25520static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25521 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25522}
25523static void *_p_wxPanelTo_p_wxWindow(void *x) {
25524 return (void *)((wxWindow *) ((wxPanel *) x));
25525}
25526static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25527 return (void *)((wxWindow *) ((wxStatusBar *) x));
25528}
25529static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25530 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25531}
25532static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25533 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25534}
25535static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25537}
25538static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25539 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25540}
25541static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25542 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25543}
25544static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25545 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25546}
25547static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25548 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25549}
25550static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25551 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25552}
25553static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25554 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25555}
25556static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25557 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25558}
25559static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25560 return (void *)((wxWindow *) ((wxSashWindow *) x));
25561}
25562static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25563 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25564}
25565static void *_p_wxControlTo_p_wxWindow(void *x) {
25566 return (void *)((wxWindow *) ((wxControl *) x));
25567}
25568static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25570}
25571static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25573}
25574static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25575 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25576}
25577static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25578 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25579}
25580static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25581 return (void *)((wxWindow *) ((wxPyWindow *) x));
25582}
25583static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25584 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25585}
25586static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25587 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25588}
25589static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25590 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25591}
25592static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25593 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25594}
25595static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25596 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25597}
25598static void *_p_wxFrameTo_p_wxWindow(void *x) {
25599 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25600}
25601static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25603}
25604static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25606}
25607static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25608 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25609}
25610static void *_p_wxDialogTo_p_wxWindow(void *x) {
25611 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25612}
25613static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25615}
25616static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25618}
25619static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25620 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25621}
25622static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25623 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25624}
25625static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25626 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25627}
25628static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25629 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25630}
25631static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25632 return (void *)((wxDialog *) ((wxColourDialog *) x));
25633}
25634static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25635 return (void *)((wxDialog *) ((wxDirDialog *) x));
25636}
25637static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25638 return (void *)((wxDialog *) ((wxFontDialog *) x));
25639}
25640static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25641 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25642}
25643static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25644 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25645}
25646static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25647 return (void *)((wxDialog *) ((wxFileDialog *) x));
25648}
25649static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25650 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25651}
25652static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25653 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25654}
25655static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25656 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25657}
25658static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25659 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25660}
25661static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25662 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25663}
25664static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25665 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25666}
25667static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25668 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25669}
25670static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25671 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25672}
25673static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25674 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25675}
25676static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25677 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25678}
25679static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25680 return (void *)((wxPanel *) ((wxPyPanel *) x));
25681}
25682static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25683 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25684}
25685static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25686 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25687}
25688static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25689 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25690}
25691static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25692 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25693}
25694static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25695 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25696}
25697static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25698 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25699}
25700static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25701 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25702}
25703static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25704 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25705}
25706static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25707 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25708}
25709static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25710 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25711}
25712static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25713 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25714}
25715static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25716 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25717}
25718static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25719 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25720}
25721static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25722 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25723}
25724static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25725 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25726}
25727static 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}};
25728static 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}};
25729static 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}};
25730static 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}};
25731static 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}};
25732static 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}};
25733static 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}};
25734static 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}};
25735static 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}};
25736static 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}};
25737static 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}};
25738static 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}};
25739static 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}};
25740static 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}};
25741static 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}};
25742static 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}};
25743static 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}};
25744static 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}};
25745static 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}};
25746static 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}};
25747static 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}};
25748static 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}};
25749static 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}};
25750static 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}};
25751static 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}};
25752static 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}};
25753static 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}};
25754static 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}};
25755static 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}};
25756static 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}};
25757static 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}};
25758static 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}};
25759static 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}};
25760static 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}};
25761static 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}};
25762static 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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25763static 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}};
25764static 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}};
25765static 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}};
25766static 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}};
25767static 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}};
25768static 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}};
25769static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25770static 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}};
25771static 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}};
25772static 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}};
25773static 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}};
25774static 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}};
25775static 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}};
25776static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}};
25777static 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}};
25778static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25779static 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}};
25780static 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}};
25781static 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}};
25782static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25783static 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}};
25784static 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}};
25785static 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}};
25786static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25787static 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}};
25788static 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_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}};
25789static 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
25790static 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}};
25791static 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}};
25792static 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}};
25793static 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}};
25794static 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}};
25795static 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}};
25796static 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}};
25797static 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}};
25798static 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}};
25799static 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}};
25800static 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}};
25801static 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}};
25802static 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}};
25803static 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}};
25804static 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}};
25805static 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}};
25806static 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}};
25807static 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}};
25808static 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}};
25809static 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}};
25810static 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}};
25811static 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}};
25812
25813static swig_type_info *swig_types_initial[] = {
25814_swigt__p_wxQueryLayoutInfoEvent,
25815_swigt__p_wxPreviewFrame,
25816_swigt__p_wxPyPreviewFrame,
25817_swigt__p_wxPyPanel,
25818_swigt__p_wxMenu,
25819_swigt__p_wxPrintData,
25820_swigt__p_wxFontData,
25821_swigt__p_wxEvent,
25822_swigt__p_wxTaskBarIcon,
25823_swigt__p_wxIconBundle,
25824_swigt__p_wxLayoutAlgorithm,
25825_swigt__p_wxFindDialogEvent,
25826_swigt__p_wxPreviewCanvas,
25827_swigt__p_wxFont,
25828_swigt__p_wxSplitterEvent,
25829_swigt__p_wxRegion,
25830_swigt__p_wxFindReplaceData,
25831_swigt__p_int,
25832_swigt__p_wxSize,
25833_swigt__p_wxDC,
25834_swigt__p_wxIcon,
25835_swigt__p_wxMDIChildFrame,
25836_swigt__p_wxColourData,
25837_swigt__p_wxNotifyEvent,
25838_swigt__p_wxPyWindow,
25839_swigt__p_wxSplashScreen,
25840_swigt__p_wxFindReplaceDialog,
25841_swigt__p_wxProgressDialog,
25842_swigt__p_wxMessageDialog,
25843_swigt__p_wxTextEntryDialog,
25844_swigt__p_wxSingleChoiceDialog,
25845_swigt__p_wxMultiChoiceDialog,
25846_swigt__p_wxFileDialog,
25847_swigt__p_wxPrinter,
25848_swigt__p_wxArrayInt,
25849_swigt__p_wxEvtHandler,
25850_swigt__p_wxCalculateLayoutEvent,
25851_swigt__p_wxPyHtmlListBox,
25852_swigt__p_wxPyVListBox,
25853_swigt__p_wxRect,
25854_swigt__p_char,
25855_swigt__p_wxMiniFrame,
25856_swigt__p_wxFrame,
25857_swigt__p_wxPyPrintout,
25858_swigt__p_wxTaskBarIconEvent,
25859_swigt__p_wxScrollWinEvent,
25860_swigt__p_wxStatusBar,
25861_swigt__p_wxMDIParentFrame,
25862_swigt__p_wxPoint,
25863_swigt__p_wxObject,
25864_swigt__p_wxOutputStream,
25865_swigt__p_unsigned_long,
25866_swigt__p_wxPyScrolledWindow,
25867_swigt__p_wxMDIClientWindow,
25868_swigt__p_wxTipWindow,
25869_swigt__p_wxPyPopupTransientWindow,
25870_swigt__p_wxSashLayoutWindow,
25871_swigt__p_wxSplitterWindow,
25872_swigt__p_wxPyVScrolledWindow,
25873_swigt__p_wxPopupWindow,
25874_swigt__p_wxSashWindow,
25875_swigt__p_wxTopLevelWindow,
25876_swigt__p_wxWindow,
25877_swigt__p_wxScrolledWindow,
25878_swigt__p_wxSplashScreenWindow,
25879_swigt__p_wxMenuBar,
25880_swigt__p_wxPrintPreview,
25881_swigt__p_wxSashEvent,
25882_swigt__p_wxString,
25883_swigt__p_wxPyPrintPreview,
25884_swigt__p_wxFontDialog,
25885_swigt__p_wxDirDialog,
25886_swigt__p_wxColourDialog,
25887_swigt__p_wxDialog,
25888_swigt__p_wxPanel,
25889_swigt__p_wxPageSetupDialog,
25890_swigt__p_wxPrintDialog,
25891_swigt__p_wxBitmap,
25892_swigt__p_wxCommandEvent,
25893_swigt__p_wxPreviewControlBar,
25894_swigt__p_wxPyPreviewControlBar,
25895_swigt__p_wxColour,
25896_swigt__p_wxToolBar,
25897_swigt__p_wxPageSetupDialogData,
25898_swigt__p_wxPrintDialogData,
258990
25900};
25901
25902
25903/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25904
25905static swig_const_info swig_const_table[] = {
25906{0}};
25907
25908#ifdef __cplusplus
25909}
25910#endif
25911
25912#ifdef __cplusplus
25913extern "C"
25914#endif
25915SWIGEXPORT(void) SWIG_init(void) {
25916 static PyObject *SWIG_globals = 0;
25917 static int typeinit = 0;
25918 PyObject *m, *d;
25919 int i;
25920 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25921 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25922 d = PyModule_GetDict(m);
25923
25924 if (!typeinit) {
25925 for (i = 0; swig_types_initial[i]; i++) {
25926 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25927 }
25928 typeinit = 1;
25929 }
25930 SWIG_InstallConstants(d,swig_const_table);
25931
25932 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25933 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25934 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25935 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25936 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25937 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
25938 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
25939 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
25940 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
25941 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
25942 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
25943 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
25944 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
25945 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
25946 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
25947 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
25948 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
25949 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
25950 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
25951 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
25952 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
25953 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
25954 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
25955 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
25956 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
25957 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
25958 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
25959 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
25960 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
25961 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
25962 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25963 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25964 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25965 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25966 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
25967 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
25968 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
25969 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
25970 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
25971 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
25972 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
25973 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
25974 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
25975 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
25976 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
25977 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
25978 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
25979 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
25980 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
25981 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
25982 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
25983 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
25984 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
25985 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
25986 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
25987 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
25988 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
25989 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
25990 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
25991 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
25992 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
25993 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
25994 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
25995 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
25996 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
25997 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
25998 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
25999 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26000 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26001 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26002 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26003 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26004 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26005 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26006 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26007 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26008 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26009 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26010 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26011 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26012 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26013 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26014 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26015 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26016 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26017 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26018 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26019 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26020 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26021 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26022 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26023 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26024 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26025
26026 // Map renamed classes back to their common name for OOR
26027 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26028 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26029 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26030
26031 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26032 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26033 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26034 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26035 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26036 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26037 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26038 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26039 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26040 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26041 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26042 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26043 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26044 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26045 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26046 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26047 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26048 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26049 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26050 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26051 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26052 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26053 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26054 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26055 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26056 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26057 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26058 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26059 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26060 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26061 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26062 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26063 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26064 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26065 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26066 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26067 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26068 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26069 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26070 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26071 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26072 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26073 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26074 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26075 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26076 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26077 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26078 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26079 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26080 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26081 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26082 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26083 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26084 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26085 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26086 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26087 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26088 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26089 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26090 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26091
26092 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26093
26094}
26095