]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
Updated layout test
[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]
d6c14a4c
RD
286#define SWIGTYPE_p_wxFileSystem swig_types[77]
287#define SWIGTYPE_p_wxBitmap swig_types[78]
288#define SWIGTYPE_p_wxCommandEvent swig_types[79]
289#define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291#define SWIGTYPE_p_wxColour swig_types[82]
292#define SWIGTYPE_p_wxToolBar swig_types[83]
293#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294#define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295static swig_type_info *swig_types[87];
d55e5bfc
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303#define SWIG_init init_windows_
304
305#define SWIG_name "_windows_"
306
307/* Auxiliar swig macros */
308
309#ifdef __cplusplus
310#define SWIGSTATICINLINE(a) static inline a
311#define SWIGSTATIC(a) static a
312#define swig_new_array(type, size) (new type[(size)])
313#define swig_delete_array(cptr) delete[] cptr
314#define swig_const_cast(type,a) const_cast<type>(a)
315#define swig_static_cast(type,a) static_cast<type>(a)
316#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318#ifdef HAVE_NUMERIC_CAST
319#define swig_numeric_cast(type,a) numeric_cast<type>(a)
320#else
321#define swig_numeric_cast(type,a) static_cast<type>(a)
322#endif
323
324#else /* C case */
325
326#define SWIGSTATICINLINE(a) static a
327#define SWIGSTATIC(a) static a
328#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329#define swig_delete_array(cptr) free((char*)cptr)
330#define swig_const_cast(type,a) (type)(a)
331#define swig_static_cast(type,a) (type)(a)
332#define swig_reinterpret_cast(type,a) (type)(a)
333#define swig_numeric_cast(type,a) (type)(a)
334
335#endif /* __cplusplus */
336
337
338#define SWIG_FromSignedChar PyInt_FromLong
339#define SWIG_FromUnsignedChar PyInt_FromLong
340#define SWIG_FromShort PyInt_FromLong
341#define SWIG_FromUnsignedShort PyInt_FromLong
342#define SWIG_FromInt PyInt_FromLong
343#define SWIG_FromLong PyInt_FromLong
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
346#define SWIG_FromFloat PyFloat_FromDouble
347#define SWIG_FromDouble PyFloat_FromDouble
348
349
350#include "wx/wxPython/wxPython.h"
351#include "wx/wxPython/pyclasses.h"
352
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355 static const wxString wxPyPanelNameStr(wxPanelNameStr);
356
357
358
359#include <limits.h>
360
361
362SWIGSTATICINLINE(long)
363SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365{
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383}
384
385
386SWIGSTATICINLINE(long)
387SWIG_AsLong(PyObject * obj)
388{
389 if (PyNumber_Check(obj))
390 return PyInt_AsLong(obj);
391 else {
392 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
393 obj->ob_type->tp_name);
394 PyErr_SetObject(PyExc_TypeError, errmsg);
395 Py_DECREF(errmsg);
396 return 0;
397 }
398}
399
400
401#if INT_MAX != LONG_MAX
402SWIGSTATICINLINE(int)
403SWIG_AsInt(PyObject *obj)
404{
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj),
407 "int", INT_MIN, INT_MAX));
408}
409#else
410#define SWIG_AsInt SWIG_AsLong
411#endif
412
413
414SWIGSTATICINLINE(int)
415SWIG_CheckInt(PyObject* obj)
416{
417 SWIG_AsInt(obj);
418 if (PyErr_Occurred()) {
419 PyErr_Clear();
420 return 0;
421 } else {
422 return 1;
423 }
424}
425
426
427SWIGSTATICINLINE(int)
428SWIG_CheckLong(PyObject* obj)
429{
430 SWIG_AsLong(obj);
431 if (PyErr_Occurred()) {
432 PyErr_Clear();
433 return 0;
434 } else {
435 return 1;
436 }
437}
438
439
440SWIGSTATICINLINE(bool)
441SWIG_AsBool(PyObject *obj)
442{
443 return PyObject_IsTrue(obj) ? true : false;
444}
445
446
447SWIGSTATICINLINE(int)
448SWIG_CheckBool(PyObject* obj)
449{
450 SWIG_AsBool(obj);
451 if (PyErr_Occurred()) {
452 PyErr_Clear();
453 return 0;
454 } else {
455 return 1;
456 }
457}
458
459
460static PyObject* t_output_helper(PyObject* target, PyObject* o) {
461 PyObject* o2;
462 PyObject* o3;
463
464 if (!target) {
465 target = o;
466 } else if (target == Py_None) {
467 Py_DECREF(Py_None);
468 target = o;
469 } else {
470 if (!PyTuple_Check(target)) {
471 o2 = target;
472 target = PyTuple_New(1);
473 PyTuple_SetItem(target, 0, o2);
474 }
475 o3 = PyTuple_New(1);
476 PyTuple_SetItem(o3, 0, o);
477
478 o2 = target;
479 target = PySequence_Concat(o2, o3);
480 Py_DECREF(o2);
481 Py_DECREF(o3);
482 }
483 return target;
484}
485
486
487SWIGSTATICINLINE(double)
488SWIG_AsDouble(PyObject *obj)
489{
490 if (PyNumber_Check(obj))
491 return PyFloat_AsDouble(obj);
492 else {
493 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
494 obj->ob_type->tp_name);
495 PyErr_SetObject(PyExc_TypeError, errmsg);
496 Py_DECREF(errmsg);
497 return 0;
498 }
499}
500
501
502SWIGSTATICINLINE(int)
503SWIG_CheckDouble(PyObject* obj)
504{
505 SWIG_AsDouble(obj);
506 if (PyErr_Occurred()) {
507 PyErr_Clear();
508 return 0;
509 } else {
510 return 1;
511 }
512}
513
514 static const wxString wxPyFrameNameStr(wxFrameNameStr);
515 static const wxString wxPyDialogNameStr(wxDialogNameStr);
516 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
517 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
518
519
520wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529#include <wx/popupwin.h>
530
531
532class wxPopupWindow : public wxWindow {
533public:
534 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
536};
537
538class wxPyPopupTransientWindow : public wxPopupWindow
539{
540public:
541 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
543};
544
545
546#include <wx/tipwin.h>
547
548wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
549 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
550 }
551
552#include <wx/tipwin.h>
553
554
555#include <wx/vscroll.h>
556
557
558class wxPyVScrolledWindow : public wxVScrolledWindow
559{
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
561public:
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
563
564 wxPyVScrolledWindow(wxWindow *parent,
565 wxWindowID id = wxID_ANY,
566 const wxPoint& pos = wxDefaultPosition,
567 const wxSize& size = wxDefaultSize,
568 long style = 0,
569 const wxString& name = wxPyPanelNameStr)
570 : wxVScrolledWindow(parent, id, pos, size, style, name)
571 {}
572
573 // Overridable virtuals
574
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
578
579
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
583 // once
584 //
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
590 //
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
592 // usual
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
594
595
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
600 // its own logic
601 //
602 // this function should return the best guess for the total height it may
603 // make
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
605
606
607 // Also expose some other interesting protected methods
608
609
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
614
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
619
620
621 PYPRIVATE;
622};
623
624IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
625
626IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
627IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
628IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
629
630
631SWIGSTATICINLINE(unsigned long)
632SWIG_AsUnsignedLong(PyObject * obj)
633{
634 if (PyLong_Check(obj)) {
635 return PyLong_AsUnsignedLong(obj);
636 } else {
637 long i = SWIG_AsLong(obj);
638 if ( !PyErr_Occurred() && (i < 0)) {
639 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
640 }
641 return i;
642 }
643}
644
645
646SWIGSTATICINLINE(int)
647SWIG_CheckUnsignedLong(PyObject* obj)
648{
649 SWIG_AsUnsignedLong(obj);
650 if (PyErr_Occurred()) {
651 PyErr_Clear();
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658
659SWIGSTATICINLINE(PyObject* )
660SWIG_FromUnsignedLong(unsigned long value)
661{
662 return (value > LONG_MAX) ?
663 PyLong_FromUnsignedLong(value)
664 : PyInt_FromLong(swig_numeric_cast(long,value));
665}
666
667
668#include <wx/vlbox.h>
669
670 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
671
672class wxPyVListBox : public wxVListBox
673{
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
675public:
676 wxPyVListBox() : wxVListBox() {}
677
678 wxPyVListBox(wxWindow *parent,
679 wxWindowID id = wxID_ANY,
680 const wxPoint& pos = wxDefaultPosition,
681 const wxSize& size = wxDefaultSize,
682 long style = 0,
683 const wxString& name = wxPyVListBoxNameStr)
684 : wxVListBox(parent, id, pos, size, style, name)
685 {}
686
687 // Overridable virtuals
688
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
693
694
695 // the derived class must implement this method to return the height of the
696 // specified item
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
699
700
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
704 //
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
708
709
710 // this method is used to draw the items background and, maybe, a border
711 // around it
712 //
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
716 // current
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
719
720
721 PYPRIVATE;
722};
723
724IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
725
726IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
727IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
728IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
729IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
730
731
732
733#include <wx/htmllbox.h>
734
735
736class wxPyHtmlListBox : public wxHtmlListBox
737{
738 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
739public:
740 wxPyHtmlListBox() : wxHtmlListBox() {}
741
742 wxPyHtmlListBox(wxWindow *parent,
743 wxWindowID id = wxID_ANY,
744 const wxPoint& pos = wxDefaultPosition,
745 const wxSize& size = wxDefaultSize,
746 long style = 0,
747 const wxString& name = wxPyVListBoxNameStr)
748 : wxHtmlListBox(parent, id, pos, size, style, name)
749 {}
750
751 // Overridable virtuals
752
753 // this method must be implemented in the derived class and should return
754 // the body (i.e. without <html>) of the HTML for the given item
755 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
756
757 // this function may be overridden to decorate HTML returned by OnGetItem()
758 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
759
760// TODO:
761// // this method allows to customize the selection appearance: it may be used
762// // to specify the colour of the text which normally has the given colour
763// // colFg when it is inside the selection
764// //
765// // by default, the original colour is not used at all and all text has the
766// // same (default for this system) colour inside selection
767// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
768
769// // this is the same as GetSelectedTextColour() but allows to customize the
770// // background colour -- this is even more rarely used as you can change it
771// // globally using SetSelectionBackground()
772// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
773
774
775 PYPRIVATE;
776};
777
778
779IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
780
781IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
782IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
783
784
785
786
787
788#ifdef __WXMAC__
789// implement dummy classes and such for wxMac
790
791class wxTaskBarIcon : public wxEvtHandler
792{
793public:
794 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
795};
796
797
798class wxTaskBarIconEvent : public wxEvent
799{
800public:
801 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
802 { wxPyRaiseNotImplemented(); }
803 virtual wxEvent* Clone() const { return NULL; }
804};
805
806enum {
807 wxEVT_TASKBAR_MOVE = 0,
808 wxEVT_TASKBAR_LEFT_DOWN = 0,
809 wxEVT_TASKBAR_LEFT_UP = 0,
810 wxEVT_TASKBAR_RIGHT_DOWN = 0,
811 wxEVT_TASKBAR_RIGHT_UP = 0,
812 wxEVT_TASKBAR_LEFT_DCLICK = 0,
813 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
814};
815#endif
816
817void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
818
819
820
821 }
822 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
823 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
824 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
825 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
826 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
827 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
828PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
829 wxArrayString arr;
830 self->GetFilenames(arr);
831 return wxArrayString2PyList_helper(arr);
832 }
833PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
834 wxArrayString arr;
835 self->GetPaths(arr);
836 return wxArrayString2PyList_helper(arr);
837 }
838PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
839 return wxArrayInt2PyList_helper(self->GetSelections());
840 }
841wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
842 return new wxSingleChoiceDialog(parent, message, caption,
843 choices, choices_array, NULL, style, pos);
844 }
845
846#include <wx/mdi.h>
847
848 // C++ version of Python aware wxWindow
849class wxPyWindow : public wxWindow
850{
851 DECLARE_DYNAMIC_CLASS(wxPyWindow)
852public:
853 wxPyWindow() : wxWindow() {}
854 wxPyWindow(wxWindow* parent, const wxWindowID id,
855 const wxPoint& pos = wxDefaultPosition,
856 const wxSize& size = wxDefaultSize,
857 long style = 0,
858 const wxString& name = wxPyPanelNameStr)
859 : wxWindow(parent, id, pos, size, style, name) {}
860
861
862 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
863 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
866
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
870
871 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
872 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
873
874 DEC_PYCALLBACK__(InitDialog);
875 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
876 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
877 DEC_PYCALLBACK_BOOL_(Validate);
878
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
881 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
882
883 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
884 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
885
886 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
887 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
888
889 PYPRIVATE;
890};
891
892IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
893
894IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
895IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
896IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
897IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
898
899IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
900IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
901IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
902
903IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
904IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
905
906IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
907IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
908IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
909IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
910
911IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
912IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
913IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
914
915IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
916IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
917
918IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
919IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
920
921
922 // C++ version of Python aware wxPanel
923class wxPyPanel : public wxPanel
924{
925 DECLARE_DYNAMIC_CLASS(wxPyPanel)
926public:
927 wxPyPanel() : wxPanel() {}
928 wxPyPanel(wxWindow* parent, const wxWindowID id,
929 const wxPoint& pos = wxDefaultPosition,
930 const wxSize& size = wxDefaultSize,
931 long style = 0,
932 const wxString& name = wxPyPanelNameStr)
933 : wxPanel(parent, id, pos, size, style, name) {}
934
935
936 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
937 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
938 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
940
941 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
944
945 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
946 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
947
948 DEC_PYCALLBACK__(InitDialog);
949 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
950 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
951 DEC_PYCALLBACK_BOOL_(Validate);
952
953 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
955 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
956
957 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
958 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
959
960 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
961 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
962
963 PYPRIVATE;
964};
965
966IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
967
968IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
969IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
970IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
971IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
972
973IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
974IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
975IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
976
977IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
978IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
979
980IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
981IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
982IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
983IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
984
985IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
986IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
987IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
988
989IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
990IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
991
992IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
993IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
994
995 // C++ version of Python aware wxScrolledWindow
996class wxPyScrolledWindow : public wxScrolledWindow
997{
998 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
999public:
1000 wxPyScrolledWindow() : wxScrolledWindow() {}
1001 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1002 const wxPoint& pos = wxDefaultPosition,
1003 const wxSize& size = wxDefaultSize,
1004 long style = 0,
1005 const wxString& name = wxPyPanelNameStr)
1006 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1007
1008
1009 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1010 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1011 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1013
1014 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1017
1018 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1019 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1020
1021 DEC_PYCALLBACK__(InitDialog);
1022 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1023 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1024 DEC_PYCALLBACK_BOOL_(Validate);
1025
1026 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1028 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1029
1030 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1032
1033 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1034 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1035
1036 PYPRIVATE;
1037};
1038
1039IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1040
1041IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1042IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1043IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1044IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1045
1046IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1047IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1048IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1049
1050IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1051IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1052
1053IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1054IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1055IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1056IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1057
1058IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1059IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1060IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1061
1062IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1063IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1064
1065IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1066IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1067
1068
1069#include "wx/wxPython/printfw.h"
1070
1071
1072 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1073 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1074
1075
1076
1077// Since this one would be tough and ugly to do with the Macros...
1078void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1079 bool hadErr = False;
1080 bool found;
1081
1082 bool blocked = wxPyBeginBlockThreads();
1083 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1084 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1085 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1086 PyObject* val;
1087
1088 val = PyTuple_GetItem(result, 0);
1089 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1090 else hadErr = True;
1091
1092 val = PyTuple_GetItem(result, 1);
1093 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1094 else hadErr = True;
1095
1096 val = PyTuple_GetItem(result, 2);
1097 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1098 else hadErr = True;
1099
1100 val = PyTuple_GetItem(result, 3);
1101 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1102 else hadErr = True;
1103 }
1104 else
1105 hadErr = True;
1106
1107 if (hadErr) {
1108 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1109 PyErr_Print();
1110 }
1111 Py_DECREF(result);
1112 }
1113 wxPyEndBlockThreads(blocked);
1114 if (! found)
1115 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1116}
1117
1118void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1119 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1120}
1121
1122
1123IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1124IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1125IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1126IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1127IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1128IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1129IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1130
1131
1132
1133
1134
1135#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1136 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1137 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1138
1139
1140#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1141 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1142 bool rval=False; \
1143 bool found; \
1144 bool blocked = wxPyBeginBlockThreads(); \
1145 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1146 PyObject* win = wxPyMake_wxObject(a); \
1147 PyObject* dc = wxPyMake_wxObject(&b); \
1148 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1149 Py_DECREF(win); \
1150 Py_DECREF(dc); \
1151 } \
1152 wxPyEndBlockThreads(blocked); \
1153 if (! found) \
1154 rval = PCLASS::CBNAME(a, b); \
1155 return rval; \
1156 } \
1157 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1158 return PCLASS::CBNAME(a, b); \
1159 }
1160
1161
1162
1163
1164class wxPyPrintPreview : public wxPrintPreview
1165{
1166 DECLARE_CLASS(wxPyPrintPreview)
1167public:
1168 wxPyPrintPreview(wxPyPrintout* printout,
1169 wxPyPrintout* printoutForPrinting,
1170 wxPrintDialogData* data=NULL)
1171 : wxPrintPreview(printout, printoutForPrinting, data)
1172 {}
1173 wxPyPrintPreview(wxPyPrintout* printout,
1174 wxPyPrintout* printoutForPrinting,
1175 wxPrintData* data=NULL)
1176 : wxPrintPreview(printout, printoutForPrinting, data)
1177 {}
1178
1179 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1180 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1182 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1183 DEC_PYCALLBACK_VOID_INT(SetZoom);
1184 DEC_PYCALLBACK_BOOL_BOOL(Print);
1185 DEC_PYCALLBACK_VOID_(DetermineScaling);
1186
1187 PYPRIVATE;
1188};
1189
1190// Stupid renamed classes... Fix this in 2.5...
1191#if defined(__WXMSW__)
1192IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1193#elif defined(__WXMAC__)
1194IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1195#else
1196IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1197#endif
1198
1199IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1200IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1201IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1202IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1203IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1204IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1205IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1206
1207
1208class wxPyPreviewFrame : public wxPreviewFrame
1209{
1210 DECLARE_CLASS(wxPyPreviewFrame);
1211public:
1212 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1213 const wxString& title,
1214 const wxPoint& pos = wxDefaultPosition,
1215 const wxSize& size = wxDefaultSize,
1216 long style = wxDEFAULT_FRAME_STYLE,
1217 const wxString& name = wxPyFrameNameStr)
1218 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1219 {}
1220
1221 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1222 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1223
1224 DEC_PYCALLBACK_VOID_(Initialize);
1225 DEC_PYCALLBACK_VOID_(CreateCanvas);
1226 DEC_PYCALLBACK_VOID_(CreateControlBar);
1227
1228 PYPRIVATE;
1229};
1230
1231IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1232
1233IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1234IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1235IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1236
1237
1238class wxPyPreviewControlBar : public wxPreviewControlBar
1239{
1240 DECLARE_CLASS(wxPyPreviewControlBar);
1241public:
1242 wxPyPreviewControlBar(wxPrintPreview *preview,
1243 long buttons,
1244 wxWindow *parent,
1245 const wxPoint& pos = wxDefaultPosition,
1246 const wxSize& size = wxDefaultSize,
1247 long style = 0,
1248 const wxString& name = wxPyPanelNameStr)
1249 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1250 {}
1251
1252 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1253
1254 DEC_PYCALLBACK_VOID_(CreateButtons);
1255 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1256
1257 PYPRIVATE;
1258};
1259
1260IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1261IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1262IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1263
1264#ifdef __cplusplus
1265extern "C" {
1266#endif
1267static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject *resultobj;
1269 wxWindow *arg1 = (wxWindow *) 0 ;
1270 int arg2 = (int) (int)-1 ;
1271 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1272 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1273 wxSize const &arg4_defvalue = wxDefaultSize ;
1274 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1275 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1276 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1277 wxString *arg6 = (wxString *) &arg6_defvalue ;
1278 wxPanel *result;
1279 wxPoint temp3 ;
1280 wxSize temp4 ;
1281 bool temp6 = False ;
1282 PyObject * obj0 = 0 ;
1283 PyObject * obj1 = 0 ;
1284 PyObject * obj2 = 0 ;
1285 PyObject * obj3 = 0 ;
1286 PyObject * obj4 = 0 ;
1287 PyObject * obj5 = 0 ;
1288 char *kwnames[] = {
1289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1290 };
1291
1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1295 if (obj1) {
1296 arg2 = (int const) SWIG_AsInt(obj1);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 if (obj2) {
1300 {
1301 arg3 = &temp3;
1302 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1303 }
1304 }
1305 if (obj3) {
1306 {
1307 arg4 = &temp4;
1308 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1309 }
1310 }
1311 if (obj4) {
1312 arg5 = (long) SWIG_AsLong(obj4);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 if (obj5) {
1316 {
1317 arg6 = wxString_in_helper(obj5);
1318 if (arg6 == NULL) SWIG_fail;
1319 temp6 = True;
1320 }
1321 }
1322 {
1323 PyThreadState* __tstate = wxPyBeginAllowThreads();
1324 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1325
1326 wxPyEndAllowThreads(__tstate);
1327 if (PyErr_Occurred()) SWIG_fail;
1328 }
1329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1330 {
1331 if (temp6)
1332 delete arg6;
1333 }
1334 return resultobj;
1335 fail:
1336 {
1337 if (temp6)
1338 delete arg6;
1339 }
1340 return NULL;
1341}
1342
1343
1344static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 wxPanel *result;
1347 char *kwnames[] = {
1348 NULL
1349 };
1350
1351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = (wxPanel *)new wxPanel();
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1360 return resultobj;
1361 fail:
1362 return NULL;
1363}
1364
1365
1366static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxPanel *arg1 = (wxPanel *) 0 ;
1369 wxWindow *arg2 = (wxWindow *) 0 ;
1370 int arg3 = (int) (int)-1 ;
1371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1373 wxSize const &arg5_defvalue = wxDefaultSize ;
1374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1375 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1376 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1377 wxString *arg7 = (wxString *) &arg7_defvalue ;
1378 bool result;
1379 wxPoint temp4 ;
1380 wxSize temp5 ;
1381 bool temp7 = False ;
1382 PyObject * obj0 = 0 ;
1383 PyObject * obj1 = 0 ;
1384 PyObject * obj2 = 0 ;
1385 PyObject * obj3 = 0 ;
1386 PyObject * obj4 = 0 ;
1387 PyObject * obj5 = 0 ;
1388 PyObject * obj6 = 0 ;
1389 char *kwnames[] = {
1390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1391 };
1392
1393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1398 if (obj2) {
1399 arg3 = (int const) SWIG_AsInt(obj2);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
1402 if (obj3) {
1403 {
1404 arg4 = &temp4;
1405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1406 }
1407 }
1408 if (obj4) {
1409 {
1410 arg5 = &temp5;
1411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1412 }
1413 }
1414 if (obj5) {
1415 arg6 = (long) SWIG_AsLong(obj5);
1416 if (PyErr_Occurred()) SWIG_fail;
1417 }
1418 if (obj6) {
1419 {
1420 arg7 = wxString_in_helper(obj6);
1421 if (arg7 == NULL) SWIG_fail;
1422 temp7 = True;
1423 }
1424 }
1425 {
1426 PyThreadState* __tstate = wxPyBeginAllowThreads();
1427 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1428
1429 wxPyEndAllowThreads(__tstate);
1430 if (PyErr_Occurred()) SWIG_fail;
1431 }
1432 {
1433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1434 }
1435 {
1436 if (temp7)
1437 delete arg7;
1438 }
1439 return resultobj;
1440 fail:
1441 {
1442 if (temp7)
1443 delete arg7;
1444 }
1445 return NULL;
1446}
1447
1448
1449static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject *resultobj;
1451 wxPanel *arg1 = (wxPanel *) 0 ;
1452 PyObject * obj0 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 (arg1)->InitDialog();
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 Py_INCREF(Py_None); resultobj = Py_None;
1468 return resultobj;
1469 fail:
1470 return NULL;
1471}
1472
1473
1474static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1475 PyObject *obj;
1476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1477 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1478 Py_INCREF(obj);
1479 return Py_BuildValue((char *)"");
1480}
1481static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject *resultobj;
1483 wxWindow *arg1 = (wxWindow *) 0 ;
1484 int arg2 = (int) (int)-1 ;
1485 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1486 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1487 wxSize const &arg4_defvalue = wxDefaultSize ;
1488 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1489 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1490 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1491 wxString *arg6 = (wxString *) &arg6_defvalue ;
1492 wxScrolledWindow *result;
1493 wxPoint temp3 ;
1494 wxSize temp4 ;
1495 bool temp6 = False ;
1496 PyObject * obj0 = 0 ;
1497 PyObject * obj1 = 0 ;
1498 PyObject * obj2 = 0 ;
1499 PyObject * obj3 = 0 ;
1500 PyObject * obj4 = 0 ;
1501 PyObject * obj5 = 0 ;
1502 char *kwnames[] = {
1503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1504 };
1505
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1509 if (obj1) {
1510 arg2 = (int const) SWIG_AsInt(obj1);
1511 if (PyErr_Occurred()) SWIG_fail;
1512 }
1513 if (obj2) {
1514 {
1515 arg3 = &temp3;
1516 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1517 }
1518 }
1519 if (obj3) {
1520 {
1521 arg4 = &temp4;
1522 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1523 }
1524 }
1525 if (obj4) {
1526 arg5 = (long) SWIG_AsLong(obj4);
1527 if (PyErr_Occurred()) SWIG_fail;
1528 }
1529 if (obj5) {
1530 {
1531 arg6 = wxString_in_helper(obj5);
1532 if (arg6 == NULL) SWIG_fail;
1533 temp6 = True;
1534 }
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) SWIG_fail;
1542 }
1543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1544 {
1545 if (temp6)
1546 delete arg6;
1547 }
1548 return resultobj;
1549 fail:
1550 {
1551 if (temp6)
1552 delete arg6;
1553 }
1554 return NULL;
1555}
1556
1557
1558static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxScrolledWindow *result;
1561 char *kwnames[] = {
1562 NULL
1563 };
1564
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1566 {
1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
1568 result = (wxScrolledWindow *)new wxScrolledWindow();
1569
1570 wxPyEndAllowThreads(__tstate);
1571 if (PyErr_Occurred()) SWIG_fail;
1572 }
1573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1574 return resultobj;
1575 fail:
1576 return NULL;
1577}
1578
1579
1580static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject *resultobj;
1582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1583 wxWindow *arg2 = (wxWindow *) 0 ;
1584 int arg3 = (int) (int)-1 ;
1585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1587 wxSize const &arg5_defvalue = wxDefaultSize ;
1588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1589 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1590 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1591 wxString *arg7 = (wxString *) &arg7_defvalue ;
1592 bool result;
1593 wxPoint temp4 ;
1594 wxSize temp5 ;
1595 bool temp7 = False ;
1596 PyObject * obj0 = 0 ;
1597 PyObject * obj1 = 0 ;
1598 PyObject * obj2 = 0 ;
1599 PyObject * obj3 = 0 ;
1600 PyObject * obj4 = 0 ;
1601 PyObject * obj5 = 0 ;
1602 PyObject * obj6 = 0 ;
1603 char *kwnames[] = {
1604 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1605 };
1606
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1612 if (obj2) {
1613 arg3 = (int const) SWIG_AsInt(obj2);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
1616 if (obj3) {
1617 {
1618 arg4 = &temp4;
1619 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1620 }
1621 }
1622 if (obj4) {
1623 {
1624 arg5 = &temp5;
1625 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1626 }
1627 }
1628 if (obj5) {
1629 arg6 = (long) SWIG_AsLong(obj5);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 if (obj6) {
1633 {
1634 arg7 = wxString_in_helper(obj6);
1635 if (arg7 == NULL) SWIG_fail;
1636 temp7 = True;
1637 }
1638 }
1639 {
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1642
1643 wxPyEndAllowThreads(__tstate);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
1646 {
1647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1648 }
1649 {
1650 if (temp7)
1651 delete arg7;
1652 }
1653 return resultobj;
1654 fail:
1655 {
1656 if (temp7)
1657 delete arg7;
1658 }
1659 return NULL;
1660}
1661
1662
1663static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject *resultobj;
1665 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1666 int arg2 ;
1667 int arg3 ;
1668 int arg4 ;
1669 int arg5 ;
1670 int arg6 = (int) 0 ;
1671 int arg7 = (int) 0 ;
1672 bool arg8 = (bool) False ;
1673 PyObject * obj0 = 0 ;
1674 PyObject * obj1 = 0 ;
1675 PyObject * obj2 = 0 ;
1676 PyObject * obj3 = 0 ;
1677 PyObject * obj4 = 0 ;
1678 PyObject * obj5 = 0 ;
1679 PyObject * obj6 = 0 ;
1680 PyObject * obj7 = 0 ;
1681 char *kwnames[] = {
1682 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1683 };
1684
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1688 arg2 = (int) SWIG_AsInt(obj1);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 arg3 = (int) SWIG_AsInt(obj2);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 arg4 = (int) SWIG_AsInt(obj3);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 arg5 = (int) SWIG_AsInt(obj4);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 if (obj5) {
1697 arg6 = (int) SWIG_AsInt(obj5);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 }
1700 if (obj6) {
1701 arg7 = (int) SWIG_AsInt(obj6);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 if (obj7) {
1705 arg8 = (bool) SWIG_AsBool(obj7);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 Py_INCREF(Py_None); resultobj = Py_None;
1716 return resultobj;
1717 fail:
1718 return NULL;
1719}
1720
1721
1722static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1725 int arg2 ;
1726 int arg3 ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj1 = 0 ;
1729 PyObject * obj2 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "x",(char *) "y", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1737 arg2 = (int) SWIG_AsInt(obj1);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 arg3 = (int) SWIG_AsInt(obj2);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 (arg1)->Scroll(arg2,arg3);
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 Py_INCREF(Py_None); resultobj = Py_None;
1749 return resultobj;
1750 fail:
1751 return NULL;
1752}
1753
1754
1755static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1758 int arg2 ;
1759 int result;
1760 PyObject * obj0 = 0 ;
1761 PyObject * obj1 = 0 ;
1762 char *kwnames[] = {
1763 (char *) "self",(char *) "orient", NULL
1764 };
1765
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1769 arg2 = (int) SWIG_AsInt(obj1);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 resultobj = SWIG_FromInt((int)result);
1779 return resultobj;
1780 fail:
1781 return NULL;
1782}
1783
1784
1785static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1788 int arg2 ;
1789 int arg3 ;
1790 PyObject * obj0 = 0 ;
1791 PyObject * obj1 = 0 ;
1792 PyObject * obj2 = 0 ;
1793 char *kwnames[] = {
1794 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1795 };
1796
1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1800 arg2 = (int) SWIG_AsInt(obj1);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 arg3 = (int) SWIG_AsInt(obj2);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 {
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
1806 (arg1)->SetScrollPageSize(arg2,arg3);
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 }
1811 Py_INCREF(Py_None); resultobj = Py_None;
1812 return resultobj;
1813 fail:
1814 return NULL;
1815}
1816
1817
1818static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject *resultobj;
1820 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1821 int arg2 ;
1822 int arg3 ;
1823 PyObject * obj0 = 0 ;
1824 PyObject * obj1 = 0 ;
1825 PyObject * obj2 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1833 arg2 = (int) SWIG_AsInt(obj1);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 arg3 = (int) SWIG_AsInt(obj2);
1836 if (PyErr_Occurred()) SWIG_fail;
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 (arg1)->SetScrollRate(arg2,arg3);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 Py_INCREF(Py_None); resultobj = Py_None;
1845 return resultobj;
1846 fail:
1847 return NULL;
1848}
1849
1850
1851static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject *resultobj;
1853 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1854 int *arg2 = (int *) 0 ;
1855 int *arg3 = (int *) 0 ;
1856 int temp2 ;
1857 int temp3 ;
1858 PyObject * obj0 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self", NULL
1861 };
1862
1863 arg2 = &temp2;
1864 arg3 = &temp3;
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1868 {
1869 PyThreadState* __tstate = wxPyBeginAllowThreads();
1870 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1871
1872 wxPyEndAllowThreads(__tstate);
1873 if (PyErr_Occurred()) SWIG_fail;
1874 }
1875 Py_INCREF(Py_None); resultobj = Py_None;
1876 {
1877 PyObject *o = PyInt_FromLong((long) (*arg2));
1878 resultobj = t_output_helper(resultobj,o);
1879 }
1880 {
1881 PyObject *o = PyInt_FromLong((long) (*arg3));
1882 resultobj = t_output_helper(resultobj,o);
1883 }
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
1890static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1893 bool arg2 ;
1894 bool arg3 ;
1895 PyObject * obj0 = 0 ;
1896 PyObject * obj1 = 0 ;
1897 PyObject * obj2 = 0 ;
1898 char *kwnames[] = {
1899 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1900 };
1901
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1905 arg2 = (bool) SWIG_AsBool(obj1);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 arg3 = (bool) SWIG_AsBool(obj2);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 (arg1)->EnableScrolling(arg2,arg3);
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 Py_INCREF(Py_None); resultobj = Py_None;
1917 return resultobj;
1918 fail:
1919 return NULL;
1920}
1921
1922
1923static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1926 int *arg2 = (int *) 0 ;
1927 int *arg3 = (int *) 0 ;
1928 int temp2 ;
1929 int temp3 ;
1930 PyObject * obj0 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self", NULL
1933 };
1934
1935 arg2 = &temp2;
1936 arg3 = &temp3;
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1940 {
1941 PyThreadState* __tstate = wxPyBeginAllowThreads();
1942 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1943
1944 wxPyEndAllowThreads(__tstate);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
1947 Py_INCREF(Py_None); resultobj = Py_None;
1948 {
1949 PyObject *o = PyInt_FromLong((long) (*arg2));
1950 resultobj = t_output_helper(resultobj,o);
1951 }
1952 {
1953 PyObject *o = PyInt_FromLong((long) (*arg3));
1954 resultobj = t_output_helper(resultobj,o);
1955 }
1956 return resultobj;
1957 fail:
1958 return NULL;
1959}
1960
1961
1962static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject *resultobj;
1964 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1965 double arg2 ;
1966 double arg3 ;
1967 PyObject * obj0 = 0 ;
1968 PyObject * obj1 = 0 ;
1969 PyObject * obj2 = 0 ;
1970 char *kwnames[] = {
1971 (char *) "self",(char *) "xs",(char *) "ys", NULL
1972 };
1973
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1977 arg2 = (double) SWIG_AsDouble(obj1);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 arg3 = (double) SWIG_AsDouble(obj2);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 {
1982 PyThreadState* __tstate = wxPyBeginAllowThreads();
1983 (arg1)->SetScale(arg2,arg3);
1984
1985 wxPyEndAllowThreads(__tstate);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
1988 Py_INCREF(Py_None); resultobj = Py_None;
1989 return resultobj;
1990 fail:
1991 return NULL;
1992}
1993
1994
1995static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1996 PyObject *resultobj;
1997 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1998 double result;
1999 PyObject * obj0 = 0 ;
2000 char *kwnames[] = {
2001 (char *) "self", NULL
2002 };
2003
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 resultobj = SWIG_FromDouble((double)result);
2015 return resultobj;
2016 fail:
2017 return NULL;
2018}
2019
2020
2021static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2024 double result;
2025 PyObject * obj0 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 resultobj = SWIG_FromDouble((double)result);
2041 return resultobj;
2042 fail:
2043 return NULL;
2044}
2045
2046
2047static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2048 PyObject *resultobj;
2049 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2050 wxPoint *arg2 = 0 ;
2051 wxPoint result;
2052 wxPoint temp2 ;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj1 = 0 ;
2055
2056 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2059 {
2060 arg2 = &temp2;
2061 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2062 }
2063 {
2064 PyThreadState* __tstate = wxPyBeginAllowThreads();
2065 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2066
2067 wxPyEndAllowThreads(__tstate);
2068 if (PyErr_Occurred()) SWIG_fail;
2069 }
2070 {
2071 wxPoint * resultptr;
2072 resultptr = new wxPoint((wxPoint &) result);
2073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2074 }
2075 return resultobj;
2076 fail:
2077 return NULL;
2078}
2079
2080
2081static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2082 PyObject *resultobj;
2083 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2084 int arg2 ;
2085 int arg3 ;
2086 int *arg4 = (int *) 0 ;
2087 int *arg5 = (int *) 0 ;
2088 int temp4 ;
2089 int temp5 ;
2090 PyObject * obj0 = 0 ;
2091 PyObject * obj1 = 0 ;
2092 PyObject * obj2 = 0 ;
2093
2094 arg4 = &temp4;
2095 arg5 = &temp5;
2096 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2099 arg2 = (int) SWIG_AsInt(obj1);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 arg3 = (int) SWIG_AsInt(obj2);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 Py_INCREF(Py_None); resultobj = Py_None;
2111 {
2112 PyObject *o = PyInt_FromLong((long) (*arg4));
2113 resultobj = t_output_helper(resultobj,o);
2114 }
2115 {
2116 PyObject *o = PyInt_FromLong((long) (*arg5));
2117 resultobj = t_output_helper(resultobj,o);
2118 }
2119 return resultobj;
2120 fail:
2121 return NULL;
2122}
2123
2124
2125static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2126 int argc;
2127 PyObject *argv[4];
2128 int ii;
2129
2130 argc = PyObject_Length(args);
2131 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2132 argv[ii] = PyTuple_GetItem(args,ii);
2133 }
2134 if (argc == 2) {
2135 int _v;
2136 {
2137 void *ptr;
2138 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2139 _v = 0;
2140 PyErr_Clear();
2141 } else {
2142 _v = 1;
2143 }
2144 }
2145 if (_v) {
2146 {
2147 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2148 }
2149 if (_v) {
2150 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2151 }
2152 }
2153 }
2154 if (argc == 3) {
2155 int _v;
2156 {
2157 void *ptr;
2158 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2159 _v = 0;
2160 PyErr_Clear();
2161 } else {
2162 _v = 1;
2163 }
2164 }
2165 if (_v) {
2166 _v = SWIG_CheckInt(argv[1]);
2167 if (_v) {
2168 _v = SWIG_CheckInt(argv[2]);
2169 if (_v) {
2170 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2171 }
2172 }
2173 }
2174 }
2175
2176 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2177 return NULL;
2178}
2179
2180
2181static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2182 PyObject *resultobj;
2183 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2184 wxPoint *arg2 = 0 ;
2185 wxPoint result;
2186 wxPoint temp2 ;
2187 PyObject * obj0 = 0 ;
2188 PyObject * obj1 = 0 ;
2189
2190 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2193 {
2194 arg2 = &temp2;
2195 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2196 }
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 {
2205 wxPoint * resultptr;
2206 resultptr = new wxPoint((wxPoint &) result);
2207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212}
2213
2214
2215static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2216 PyObject *resultobj;
2217 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2218 int arg2 ;
2219 int arg3 ;
2220 int *arg4 = (int *) 0 ;
2221 int *arg5 = (int *) 0 ;
2222 int temp4 ;
2223 int temp5 ;
2224 PyObject * obj0 = 0 ;
2225 PyObject * obj1 = 0 ;
2226 PyObject * obj2 = 0 ;
2227
2228 arg4 = &temp4;
2229 arg5 = &temp5;
2230 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2233 arg2 = (int) SWIG_AsInt(obj1);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 arg3 = (int) SWIG_AsInt(obj2);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) SWIG_fail;
2243 }
2244 Py_INCREF(Py_None); resultobj = Py_None;
2245 {
2246 PyObject *o = PyInt_FromLong((long) (*arg4));
2247 resultobj = t_output_helper(resultobj,o);
2248 }
2249 {
2250 PyObject *o = PyInt_FromLong((long) (*arg5));
2251 resultobj = t_output_helper(resultobj,o);
2252 }
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2260 int argc;
2261 PyObject *argv[4];
2262 int ii;
2263
2264 argc = PyObject_Length(args);
2265 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2266 argv[ii] = PyTuple_GetItem(args,ii);
2267 }
2268 if (argc == 2) {
2269 int _v;
2270 {
2271 void *ptr;
2272 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2273 _v = 0;
2274 PyErr_Clear();
2275 } else {
2276 _v = 1;
2277 }
2278 }
2279 if (_v) {
2280 {
2281 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2282 }
2283 if (_v) {
2284 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2285 }
2286 }
2287 }
2288 if (argc == 3) {
2289 int _v;
2290 {
2291 void *ptr;
2292 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2293 _v = 0;
2294 PyErr_Clear();
2295 } else {
2296 _v = 1;
2297 }
2298 }
2299 if (_v) {
2300 _v = SWIG_CheckInt(argv[1]);
2301 if (_v) {
2302 _v = SWIG_CheckInt(argv[2]);
2303 if (_v) {
2304 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2305 }
2306 }
2307 }
2308 }
2309
2310 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2311 return NULL;
2312}
2313
2314
2315static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2318 PyObject * obj0 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 (arg1)->AdjustScrollbars();
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
2340static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2343 wxScrollWinEvent *arg2 = 0 ;
2344 int result;
2345 PyObject * obj0 = 0 ;
2346 PyObject * obj1 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "event", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2355 SWIG_POINTER_EXCEPTION | 0)) == -1)
2356 SWIG_fail;
2357 if (arg2 == NULL) {
2358 PyErr_SetString(PyExc_TypeError,"null reference");
2359 SWIG_fail;
2360 }
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 result = (int)(arg1)->CalcScrollInc(*arg2);
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 resultobj = SWIG_FromInt((int)result);
2369 return resultobj;
2370 fail:
2371 return NULL;
2372}
2373
2374
2375static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2376 PyObject *resultobj;
2377 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2378 wxWindow *arg2 = (wxWindow *) 0 ;
2379 PyObject * obj0 = 0 ;
2380 PyObject * obj1 = 0 ;
2381 char *kwnames[] = {
2382 (char *) "self",(char *) "target", NULL
2383 };
2384
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 (arg1)->SetTargetWindow(arg2);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 Py_INCREF(Py_None); resultobj = Py_None;
2398 return resultobj;
2399 fail:
2400 return NULL;
2401}
2402
2403
2404static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject *resultobj;
2406 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2407 wxWindow *result;
2408 PyObject * obj0 = 0 ;
2409 char *kwnames[] = {
2410 (char *) "self", NULL
2411 };
2412
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 {
2424 resultobj = wxPyMake_wxObject(result);
2425 }
2426 return resultobj;
2427 fail:
2428 return NULL;
2429}
2430
2431
2432static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject *resultobj;
2434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2435 wxRect *arg2 = 0 ;
2436 wxRect temp2 ;
2437 PyObject * obj0 = 0 ;
2438 PyObject * obj1 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self",(char *) "rect", NULL
2441 };
2442
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2446 {
2447 arg2 = &temp2;
2448 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2449 }
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
2452 (arg1)->SetTargetRect((wxRect const &)*arg2);
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
2457 Py_INCREF(Py_None); resultobj = Py_None;
2458 return resultobj;
2459 fail:
2460 return NULL;
2461}
2462
2463
2464static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject *resultobj;
2466 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2467 wxRect result;
2468 PyObject * obj0 = 0 ;
2469 char *kwnames[] = {
2470 (char *) "self", NULL
2471 };
2472
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2476 {
2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
2478 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2479
2480 wxPyEndAllowThreads(__tstate);
2481 if (PyErr_Occurred()) SWIG_fail;
2482 }
2483 {
2484 wxRect * resultptr;
2485 resultptr = new wxRect((wxRect &) result);
2486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2487 }
2488 return resultobj;
2489 fail:
2490 return NULL;
2491}
2492
2493
2494static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2495 PyObject *obj;
2496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2497 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2498 Py_INCREF(obj);
2499 return Py_BuildValue((char *)"");
2500}
2501static int _wrap_FrameNameStr_set(PyObject *_val) {
2502 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2503 return 1;
2504}
2505
2506
2507static PyObject *_wrap_FrameNameStr_get() {
2508 PyObject *pyobj;
2509
2510 {
2511#if wxUSE_UNICODE
2512 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2513#else
2514 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2515#endif
2516 }
2517 return pyobj;
2518}
2519
2520
2521static int _wrap_DialogNameStr_set(PyObject *_val) {
2522 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2523 return 1;
2524}
2525
2526
2527static PyObject *_wrap_DialogNameStr_get() {
2528 PyObject *pyobj;
2529
2530 {
2531#if wxUSE_UNICODE
2532 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2533#else
2534 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2535#endif
2536 }
2537 return pyobj;
2538}
2539
2540
2541static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2542 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2543 return 1;
2544}
2545
2546
2547static PyObject *_wrap_StatusLineNameStr_get() {
2548 PyObject *pyobj;
2549
2550 {
2551#if wxUSE_UNICODE
2552 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2553#else
2554 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2555#endif
2556 }
2557 return pyobj;
2558}
2559
2560
2561static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2562 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2563 return 1;
2564}
2565
2566
2567static PyObject *_wrap_ToolBarNameStr_get() {
2568 PyObject *pyobj;
2569
2570 {
2571#if wxUSE_UNICODE
2572 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2573#else
2574 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2575#endif
2576 }
2577 return pyobj;
2578}
2579
2580
2581static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2584 bool arg2 = (bool) True ;
2585 PyObject * obj0 = 0 ;
2586 PyObject * obj1 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self",(char *) "maximize", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2594 if (obj1) {
2595 arg2 = (bool) SWIG_AsBool(obj1);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->Maximize(arg2);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 return resultobj;
2607 fail:
2608 return NULL;
2609}
2610
2611
2612static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2615 PyObject * obj0 = 0 ;
2616 char *kwnames[] = {
2617 (char *) "self", NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 (arg1)->Restore();
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 Py_INCREF(Py_None); resultobj = Py_None;
2631 return resultobj;
2632 fail:
2633 return NULL;
2634}
2635
2636
2637static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2640 bool arg2 = (bool) True ;
2641 PyObject * obj0 = 0 ;
2642 PyObject * obj1 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "iconize", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2650 if (obj1) {
2651 arg2 = (bool) SWIG_AsBool(obj1);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 {
2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
2656 (arg1)->Iconize(arg2);
2657
2658 wxPyEndAllowThreads(__tstate);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 }
2661 Py_INCREF(Py_None); resultobj = Py_None;
2662 return resultobj;
2663 fail:
2664 return NULL;
2665}
2666
2667
2668static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2671 bool result;
2672 PyObject * obj0 = 0 ;
2673 char *kwnames[] = {
2674 (char *) "self", NULL
2675 };
2676
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 {
2688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2689 }
2690 return resultobj;
2691 fail:
2692 return NULL;
2693}
2694
2695
2696static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj;
2698 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2699 bool result;
2700 PyObject * obj0 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 {
2716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2717 }
2718 return resultobj;
2719 fail:
2720 return NULL;
2721}
2722
2723
2724static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2727 wxIcon result;
2728 PyObject * obj0 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 {
2744 wxIcon * resultptr;
2745 resultptr = new wxIcon((wxIcon &) result);
2746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2747 }
2748 return resultobj;
2749 fail:
2750 return NULL;
2751}
2752
2753
2754static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2757 wxIcon *arg2 = 0 ;
2758 PyObject * obj0 = 0 ;
2759 PyObject * obj1 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self",(char *) "icon", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2768 SWIG_POINTER_EXCEPTION | 0)) == -1)
2769 SWIG_fail;
2770 if (arg2 == NULL) {
2771 PyErr_SetString(PyExc_TypeError,"null reference");
2772 SWIG_fail;
2773 }
2774 {
2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
2776 (arg1)->SetIcon((wxIcon const &)*arg2);
2777
2778 wxPyEndAllowThreads(__tstate);
2779 if (PyErr_Occurred()) SWIG_fail;
2780 }
2781 Py_INCREF(Py_None); resultobj = Py_None;
2782 return resultobj;
2783 fail:
2784 return NULL;
2785}
2786
2787
2788static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2791 wxIconBundle *arg2 = 0 ;
2792 PyObject * obj0 = 0 ;
2793 PyObject * obj1 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self",(char *) "icons", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2802 SWIG_POINTER_EXCEPTION | 0)) == -1)
2803 SWIG_fail;
2804 if (arg2 == NULL) {
2805 PyErr_SetString(PyExc_TypeError,"null reference");
2806 SWIG_fail;
2807 }
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 Py_INCREF(Py_None); resultobj = Py_None;
2816 return resultobj;
2817 fail:
2818 return NULL;
2819}
2820
2821
2822static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2825 bool arg2 ;
2826 long arg3 = (long) wxFULLSCREEN_ALL ;
2827 bool result;
2828 PyObject * obj0 = 0 ;
2829 PyObject * obj1 = 0 ;
2830 PyObject * obj2 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self",(char *) "show",(char *) "style", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2838 arg2 = (bool) SWIG_AsBool(obj1);
2839 if (PyErr_Occurred()) SWIG_fail;
2840 if (obj2) {
2841 arg3 = (long) SWIG_AsLong(obj2);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 {
2852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2853 }
2854 return resultobj;
2855 fail:
2856 return NULL;
2857}
2858
2859
2860static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2863 bool result;
2864 PyObject * obj0 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2872 {
2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
2874 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2875
2876 wxPyEndAllowThreads(__tstate);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 {
2880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2881 }
2882 return resultobj;
2883 fail:
2884 return NULL;
2885}
2886
2887
2888static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2891 wxString *arg2 = 0 ;
2892 bool temp2 = False ;
2893 PyObject * obj0 = 0 ;
2894 PyObject * obj1 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self",(char *) "title", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2902 {
2903 arg2 = wxString_in_helper(obj1);
2904 if (arg2 == NULL) SWIG_fail;
2905 temp2 = True;
2906 }
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 (arg1)->SetTitle((wxString const &)*arg2);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 Py_INCREF(Py_None); resultobj = Py_None;
2915 {
2916 if (temp2)
2917 delete arg2;
2918 }
2919 return resultobj;
2920 fail:
2921 {
2922 if (temp2)
2923 delete arg2;
2924 }
2925 return NULL;
2926}
2927
2928
2929static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2930 PyObject *resultobj;
2931 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2932 wxString result;
2933 PyObject * obj0 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2941 {
2942 PyThreadState* __tstate = wxPyBeginAllowThreads();
2943 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2944
2945 wxPyEndAllowThreads(__tstate);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 {
2949#if wxUSE_UNICODE
2950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2951#else
2952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2953#endif
2954 }
2955 return resultobj;
2956 fail:
2957 return NULL;
2958}
2959
2960
2961static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2962 PyObject *resultobj;
2963 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2964 wxRegion *arg2 = 0 ;
2965 bool result;
2966 PyObject * obj0 = 0 ;
2967 PyObject * obj1 = 0 ;
2968 char *kwnames[] = {
2969 (char *) "self",(char *) "region", NULL
2970 };
2971
2972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2976 SWIG_POINTER_EXCEPTION | 0)) == -1)
2977 SWIG_fail;
2978 if (arg2 == NULL) {
2979 PyErr_SetString(PyExc_TypeError,"null reference");
2980 SWIG_fail;
2981 }
2982 {
2983 PyThreadState* __tstate = wxPyBeginAllowThreads();
2984 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2985
2986 wxPyEndAllowThreads(__tstate);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 }
2989 {
2990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2991 }
2992 return resultobj;
2993 fail:
2994 return NULL;
2995}
2996
2997
2998static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
2999 PyObject *resultobj;
3000 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3001 bool arg2 ;
3002 PyObject * obj0 = 0 ;
3003 PyObject * obj1 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self",(char *) "on", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3011 arg2 = (bool) SWIG_AsBool(obj1);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 (arg1)->MacSetMetalAppearance(arg2);
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 Py_INCREF(Py_None); resultobj = Py_None;
3021 return resultobj;
3022 fail:
3023 return NULL;
3024}
3025
3026
3027static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3028 PyObject *resultobj;
3029 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3030 bool result;
3031 PyObject * obj0 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "self", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 {
3047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3048 }
3049 return resultobj;
3050 fail:
3051 return NULL;
3052}
3053
3054
3055static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3056 PyObject *obj;
3057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3058 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3059 Py_INCREF(obj);
3060 return Py_BuildValue((char *)"");
3061}
3062static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject *resultobj;
3064 wxWindow *arg1 = (wxWindow *) 0 ;
3065 int arg2 ;
3066 wxString *arg3 = 0 ;
3067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3069 wxSize const &arg5_defvalue = wxDefaultSize ;
3070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3071 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3072 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3073 wxString *arg7 = (wxString *) &arg7_defvalue ;
3074 wxFrame *result;
3075 bool temp3 = False ;
3076 wxPoint temp4 ;
3077 wxSize temp5 ;
3078 bool temp7 = False ;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 PyObject * obj2 = 0 ;
3082 PyObject * obj3 = 0 ;
3083 PyObject * obj4 = 0 ;
3084 PyObject * obj5 = 0 ;
3085 PyObject * obj6 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3093 arg2 = (int const) SWIG_AsInt(obj1);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 {
3096 arg3 = wxString_in_helper(obj2);
3097 if (arg3 == NULL) SWIG_fail;
3098 temp3 = True;
3099 }
3100 if (obj3) {
3101 {
3102 arg4 = &temp4;
3103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3104 }
3105 }
3106 if (obj4) {
3107 {
3108 arg5 = &temp5;
3109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3110 }
3111 }
3112 if (obj5) {
3113 arg6 = (long) SWIG_AsLong(obj5);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 if (obj6) {
3117 {
3118 arg7 = wxString_in_helper(obj6);
3119 if (arg7 == NULL) SWIG_fail;
3120 temp7 = True;
3121 }
3122 }
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 resultobj = wxPyMake_wxObject(result);
3132 }
3133 {
3134 if (temp3)
3135 delete arg3;
3136 }
3137 {
3138 if (temp7)
3139 delete arg7;
3140 }
3141 return resultobj;
3142 fail:
3143 {
3144 if (temp3)
3145 delete arg3;
3146 }
3147 {
3148 if (temp7)
3149 delete arg7;
3150 }
3151 return NULL;
3152}
3153
3154
3155static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxFrame *result;
3158 char *kwnames[] = {
3159 NULL
3160 };
3161
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = (wxFrame *)new wxFrame();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 {
3171 resultobj = wxPyMake_wxObject(result);
3172 }
3173 return resultobj;
3174 fail:
3175 return NULL;
3176}
3177
3178
3179static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject *resultobj;
3181 wxFrame *arg1 = (wxFrame *) 0 ;
3182 wxWindow *arg2 = (wxWindow *) 0 ;
3183 int arg3 ;
3184 wxString *arg4 = 0 ;
3185 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3186 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3187 wxSize const &arg6_defvalue = wxDefaultSize ;
3188 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3189 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3190 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3191 wxString *arg8 = (wxString *) &arg8_defvalue ;
3192 bool result;
3193 bool temp4 = False ;
3194 wxPoint temp5 ;
3195 wxSize temp6 ;
3196 bool temp8 = False ;
3197 PyObject * obj0 = 0 ;
3198 PyObject * obj1 = 0 ;
3199 PyObject * obj2 = 0 ;
3200 PyObject * obj3 = 0 ;
3201 PyObject * obj4 = 0 ;
3202 PyObject * obj5 = 0 ;
3203 PyObject * obj6 = 0 ;
3204 PyObject * obj7 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3214 arg3 = (int const) SWIG_AsInt(obj2);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 {
3217 arg4 = wxString_in_helper(obj3);
3218 if (arg4 == NULL) SWIG_fail;
3219 temp4 = True;
3220 }
3221 if (obj4) {
3222 {
3223 arg5 = &temp5;
3224 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3225 }
3226 }
3227 if (obj5) {
3228 {
3229 arg6 = &temp6;
3230 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3231 }
3232 }
3233 if (obj6) {
3234 arg7 = (long) SWIG_AsLong(obj6);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 if (obj7) {
3238 {
3239 arg8 = wxString_in_helper(obj7);
3240 if (arg8 == NULL) SWIG_fail;
3241 temp8 = True;
3242 }
3243 }
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 {
3252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3253 }
3254 {
3255 if (temp4)
3256 delete arg4;
3257 }
3258 {
3259 if (temp8)
3260 delete arg8;
3261 }
3262 return resultobj;
3263 fail:
3264 {
3265 if (temp4)
3266 delete arg4;
3267 }
3268 {
3269 if (temp8)
3270 delete arg8;
3271 }
3272 return NULL;
3273}
3274
3275
3276static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject *resultobj;
3278 wxFrame *arg1 = (wxFrame *) 0 ;
3279 wxPoint result;
3280 PyObject * obj0 = 0 ;
3281 char *kwnames[] = {
3282 (char *) "self", NULL
3283 };
3284
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3291
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 {
3296 wxPoint * resultptr;
3297 resultptr = new wxPoint((wxPoint &) result);
3298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3299 }
3300 return resultobj;
3301 fail:
3302 return NULL;
3303}
3304
3305
3306static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxFrame *arg1 = (wxFrame *) 0 ;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 (arg1)->SendSizeEvent();
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 Py_INCREF(Py_None); resultobj = Py_None;
3325 return resultobj;
3326 fail:
3327 return NULL;
3328}
3329
3330
3331static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxFrame *arg1 = (wxFrame *) 0 ;
3334 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3335 PyObject * obj0 = 0 ;
3336 PyObject * obj1 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self",(char *) "menubar", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 (arg1)->SetMenuBar(arg2);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 Py_INCREF(Py_None); resultobj = Py_None;
3354 return resultobj;
3355 fail:
3356 return NULL;
3357}
3358
3359
3360static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj;
3362 wxFrame *arg1 = (wxFrame *) 0 ;
3363 wxMenuBar *result;
3364 PyObject * obj0 = 0 ;
3365 char *kwnames[] = {
3366 (char *) "self", NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
3380 resultobj = wxPyMake_wxObject(result);
3381 }
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
3388static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxFrame *arg1 = (wxFrame *) 0 ;
3391 int arg2 ;
3392 bool result;
3393 PyObject * obj0 = 0 ;
3394 PyObject * obj1 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "self",(char *) "winid", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3402 arg2 = (int) SWIG_AsInt(obj1);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 {
3405 PyThreadState* __tstate = wxPyBeginAllowThreads();
3406 result = (bool)(arg1)->ProcessCommand(arg2);
3407
3408 wxPyEndAllowThreads(__tstate);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 }
3411 {
3412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3413 }
3414 return resultobj;
3415 fail:
3416 return NULL;
3417}
3418
3419
3420static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxFrame *arg1 = (wxFrame *) 0 ;
3423 int arg2 = (int) 1 ;
3424 long arg3 = (long) wxST_SIZEGRIP ;
3425 int arg4 = (int) 0 ;
3426 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3427 wxString *arg5 = (wxString *) &arg5_defvalue ;
3428 wxStatusBar *result;
3429 bool temp5 = False ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 PyObject * obj2 = 0 ;
3433 PyObject * obj3 = 0 ;
3434 PyObject * obj4 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3442 if (obj1) {
3443 arg2 = (int) SWIG_AsInt(obj1);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 if (obj2) {
3447 arg3 = (long) SWIG_AsLong(obj2);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 if (obj3) {
3451 arg4 = (int) SWIG_AsInt(obj3);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 if (obj4) {
3455 {
3456 arg5 = wxString_in_helper(obj4);
3457 if (arg5 == NULL) SWIG_fail;
3458 temp5 = True;
3459 }
3460 }
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 {
3469 resultobj = wxPyMake_wxObject(result);
3470 }
3471 {
3472 if (temp5)
3473 delete arg5;
3474 }
3475 return resultobj;
3476 fail:
3477 {
3478 if (temp5)
3479 delete arg5;
3480 }
3481 return NULL;
3482}
3483
3484
3485static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxFrame *arg1 = (wxFrame *) 0 ;
3488 wxStatusBar *result;
3489 PyObject * obj0 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3500
3501 wxPyEndAllowThreads(__tstate);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 }
3504 {
3505 resultobj = wxPyMake_wxObject(result);
3506 }
3507 return resultobj;
3508 fail:
3509 return NULL;
3510}
3511
3512
3513static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxFrame *arg1 = (wxFrame *) 0 ;
3516 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self",(char *) "statBar", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 (arg1)->SetStatusBar(arg2);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 Py_INCREF(Py_None); resultobj = Py_None;
3536 return resultobj;
3537 fail:
3538 return NULL;
3539}
3540
3541
3542static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxFrame *arg1 = (wxFrame *) 0 ;
3545 wxString *arg2 = 0 ;
3546 int arg3 = (int) 0 ;
3547 bool temp2 = False ;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 PyObject * obj2 = 0 ;
3551 char *kwnames[] = {
3552 (char *) "self",(char *) "text",(char *) "number", NULL
3553 };
3554
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3558 {
3559 arg2 = wxString_in_helper(obj1);
3560 if (arg2 == NULL) SWIG_fail;
3561 temp2 = True;
3562 }
3563 if (obj2) {
3564 arg3 = (int) SWIG_AsInt(obj2);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 {
3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
3569 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3570
3571 wxPyEndAllowThreads(__tstate);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 Py_INCREF(Py_None); resultobj = Py_None;
3575 {
3576 if (temp2)
3577 delete arg2;
3578 }
3579 return resultobj;
3580 fail:
3581 {
3582 if (temp2)
3583 delete arg2;
3584 }
3585 return NULL;
3586}
3587
3588
3589static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3590 PyObject *resultobj;
3591 wxFrame *arg1 = (wxFrame *) 0 ;
3592 int arg2 ;
3593 int *arg3 = (int *) 0 ;
3594 PyObject * obj0 = 0 ;
3595 PyObject * obj1 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self",(char *) "widths", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3603 {
3604 arg2 = PyList_Size(obj1);
3605 arg3 = int_LIST_helper(obj1);
3606 if (arg3 == NULL) SWIG_fail;
3607 }
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 Py_INCREF(Py_None); resultobj = Py_None;
3616 {
3617 if (arg3) delete [] arg3;
3618 }
3619 return resultobj;
3620 fail:
3621 {
3622 if (arg3) delete [] arg3;
3623 }
3624 return NULL;
3625}
3626
3627
3628static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxFrame *arg1 = (wxFrame *) 0 ;
3631 wxString *arg2 = 0 ;
3632 int arg3 = (int) 0 ;
3633 bool temp2 = False ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636 PyObject * obj2 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self",(char *) "text",(char *) "number", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3644 {
3645 arg2 = wxString_in_helper(obj1);
3646 if (arg2 == NULL) SWIG_fail;
3647 temp2 = True;
3648 }
3649 if (obj2) {
3650 arg3 = (int) SWIG_AsInt(obj2);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 Py_INCREF(Py_None); resultobj = Py_None;
3661 {
3662 if (temp2)
3663 delete arg2;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp2)
3669 delete arg2;
3670 }
3671 return NULL;
3672}
3673
3674
3675static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 wxFrame *arg1 = (wxFrame *) 0 ;
3678 int arg2 = (int) 0 ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "number", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 if (obj1) {
3689 arg2 = (int) SWIG_AsInt(obj1);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->PopStatusText(arg2);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703}
3704
3705
3706static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxFrame *arg1 = (wxFrame *) 0 ;
3709 int arg2 ;
3710 PyObject * obj0 = 0 ;
3711 PyObject * obj1 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self",(char *) "n", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3719 arg2 = (int) SWIG_AsInt(obj1);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 (arg1)->SetStatusBarPane(arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
3735static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxFrame *arg1 = (wxFrame *) 0 ;
3738 int result;
3739 PyObject * obj0 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 resultobj = SWIG_FromInt((int)result);
3755 return resultobj;
3756 fail:
3757 return NULL;
3758}
3759
3760
3761static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj;
3763 wxFrame *arg1 = (wxFrame *) 0 ;
3764 long arg2 = (long) -1 ;
3765 int arg3 = (int) -1 ;
3766 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3767 wxString *arg4 = (wxString *) &arg4_defvalue ;
3768 wxToolBar *result;
3769 bool temp4 = False ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 char *kwnames[] = {
3775 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3776 };
3777
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3781 if (obj1) {
3782 arg2 = (long) SWIG_AsLong(obj1);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 if (obj2) {
3786 arg3 = (int) SWIG_AsInt(obj2);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 if (obj3) {
3790 {
3791 arg4 = wxString_in_helper(obj3);
3792 if (arg4 == NULL) SWIG_fail;
3793 temp4 = True;
3794 }
3795 }
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 {
3804 resultobj = wxPyMake_wxObject(result);
3805 }
3806 {
3807 if (temp4)
3808 delete arg4;
3809 }
3810 return resultobj;
3811 fail:
3812 {
3813 if (temp4)
3814 delete arg4;
3815 }
3816 return NULL;
3817}
3818
3819
3820static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxFrame *arg1 = (wxFrame *) 0 ;
3823 wxToolBar *result;
3824 PyObject * obj0 = 0 ;
3825 char *kwnames[] = {
3826 (char *) "self", NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 {
3840 resultobj = wxPyMake_wxObject(result);
3841 }
3842 return resultobj;
3843 fail:
3844 return NULL;
3845}
3846
3847
3848static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject *resultobj;
3850 wxFrame *arg1 = (wxFrame *) 0 ;
3851 wxToolBar *arg2 = (wxToolBar *) 0 ;
3852 PyObject * obj0 = 0 ;
3853 PyObject * obj1 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self",(char *) "toolbar", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 (arg1)->SetToolBar(arg2);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 return resultobj;
3872 fail:
3873 return NULL;
3874}
3875
3876
3877static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxFrame *arg1 = (wxFrame *) 0 ;
3880 wxString *arg2 = 0 ;
3881 bool arg3 ;
3882 bool temp2 = False ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 PyObject * obj2 = 0 ;
3886 char *kwnames[] = {
3887 (char *) "self",(char *) "text",(char *) "show", NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3893 {
3894 arg2 = wxString_in_helper(obj1);
3895 if (arg2 == NULL) SWIG_fail;
3896 temp2 = True;
3897 }
3898 arg3 = (bool) SWIG_AsBool(obj2);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 {
3909 if (temp2)
3910 delete arg2;
3911 }
3912 return resultobj;
3913 fail:
3914 {
3915 if (temp2)
3916 delete arg2;
3917 }
3918 return NULL;
3919}
3920
3921
3922static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxFrame *arg1 = (wxFrame *) 0 ;
3925 wxMenu *arg2 = (wxMenu *) NULL ;
3926 PyObject * obj0 = 0 ;
3927 PyObject * obj1 = 0 ;
3928 char *kwnames[] = {
3929 (char *) "self",(char *) "menu", NULL
3930 };
3931
3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3935 if (obj1) {
3936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3938 }
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 (arg1)->DoMenuUpdates(arg2);
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 Py_INCREF(Py_None); resultobj = Py_None;
3947 return resultobj;
3948 fail:
3949 return NULL;
3950}
3951
3952
3953static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3954 PyObject *obj;
3955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3956 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3957 Py_INCREF(obj);
3958 return Py_BuildValue((char *)"");
3959}
3960static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj;
3962 wxWindow *arg1 = (wxWindow *) 0 ;
3963 int arg2 ;
3964 wxString *arg3 = 0 ;
3965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3967 wxSize const &arg5_defvalue = wxDefaultSize ;
3968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3969 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3970 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3971 wxString *arg7 = (wxString *) &arg7_defvalue ;
3972 wxDialog *result;
3973 bool temp3 = False ;
3974 wxPoint temp4 ;
3975 wxSize temp5 ;
3976 bool temp7 = False ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 PyObject * obj2 = 0 ;
3980 PyObject * obj3 = 0 ;
3981 PyObject * obj4 = 0 ;
3982 PyObject * obj5 = 0 ;
3983 PyObject * obj6 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3991 arg2 = (int const) SWIG_AsInt(obj1);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 {
3994 arg3 = wxString_in_helper(obj2);
3995 if (arg3 == NULL) SWIG_fail;
3996 temp3 = True;
3997 }
3998 if (obj3) {
3999 {
4000 arg4 = &temp4;
4001 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4002 }
4003 }
4004 if (obj4) {
4005 {
4006 arg5 = &temp5;
4007 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4008 }
4009 }
4010 if (obj5) {
4011 arg6 = (long) SWIG_AsLong(obj5);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 if (obj6) {
4015 {
4016 arg7 = wxString_in_helper(obj6);
4017 if (arg7 == NULL) SWIG_fail;
4018 temp7 = True;
4019 }
4020 }
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4029 {
4030 if (temp3)
4031 delete arg3;
4032 }
4033 {
4034 if (temp7)
4035 delete arg7;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp3)
4041 delete arg3;
4042 }
4043 {
4044 if (temp7)
4045 delete arg7;
4046 }
4047 return NULL;
4048}
4049
4050
4051static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxDialog *result;
4054 char *kwnames[] = {
4055 NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (wxDialog *)new wxDialog();
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4067 return resultobj;
4068 fail:
4069 return NULL;
4070}
4071
4072
4073static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxDialog *arg1 = (wxDialog *) 0 ;
4076 wxWindow *arg2 = (wxWindow *) 0 ;
4077 int arg3 ;
4078 wxString *arg4 = 0 ;
4079 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4080 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4081 wxSize const &arg6_defvalue = wxDefaultSize ;
4082 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4083 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4084 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4085 wxString *arg8 = (wxString *) &arg8_defvalue ;
4086 bool result;
4087 bool temp4 = False ;
4088 wxPoint temp5 ;
4089 wxSize temp6 ;
4090 bool temp8 = False ;
4091 PyObject * obj0 = 0 ;
4092 PyObject * obj1 = 0 ;
4093 PyObject * obj2 = 0 ;
4094 PyObject * obj3 = 0 ;
4095 PyObject * obj4 = 0 ;
4096 PyObject * obj5 = 0 ;
4097 PyObject * obj6 = 0 ;
4098 PyObject * obj7 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4108 arg3 = (int const) SWIG_AsInt(obj2);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 {
4111 arg4 = wxString_in_helper(obj3);
4112 if (arg4 == NULL) SWIG_fail;
4113 temp4 = True;
4114 }
4115 if (obj4) {
4116 {
4117 arg5 = &temp5;
4118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4119 }
4120 }
4121 if (obj5) {
4122 {
4123 arg6 = &temp6;
4124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4125 }
4126 }
4127 if (obj6) {
4128 arg7 = (long) SWIG_AsLong(obj6);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 if (obj7) {
4132 {
4133 arg8 = wxString_in_helper(obj7);
4134 if (arg8 == NULL) SWIG_fail;
4135 temp8 = True;
4136 }
4137 }
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 {
4146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4147 }
4148 {
4149 if (temp4)
4150 delete arg4;
4151 }
4152 {
4153 if (temp8)
4154 delete arg8;
4155 }
4156 return resultobj;
4157 fail:
4158 {
4159 if (temp4)
4160 delete arg4;
4161 }
4162 {
4163 if (temp8)
4164 delete arg8;
4165 }
4166 return NULL;
4167}
4168
4169
4170static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxDialog *arg1 = (wxDialog *) 0 ;
4173 int arg2 ;
4174 PyObject * obj0 = 0 ;
4175 PyObject * obj1 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "self",(char *) "returnCode", NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4183 arg2 = (int) SWIG_AsInt(obj1);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 (arg1)->SetReturnCode(arg2);
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 Py_INCREF(Py_None); resultobj = Py_None;
4193 return resultobj;
4194 fail:
4195 return NULL;
4196}
4197
4198
4199static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject *resultobj;
4201 wxDialog *arg1 = (wxDialog *) 0 ;
4202 int result;
4203 PyObject * obj0 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "self", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 resultobj = SWIG_FromInt((int)result);
4219 return resultobj;
4220 fail:
4221 return NULL;
4222}
4223
4224
4225static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxDialog *arg1 = (wxDialog *) 0 ;
4228 wxString *arg2 = 0 ;
4229 wxSizer *result;
4230 bool temp2 = False ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233 char *kwnames[] = {
4234 (char *) "self",(char *) "message", NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4240 {
4241 arg2 = wxString_in_helper(obj1);
4242 if (arg2 == NULL) SWIG_fail;
4243 temp2 = True;
4244 }
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 {
4253 resultobj = wxPyMake_wxSizer(result);
4254 }
4255 {
4256 if (temp2)
4257 delete arg2;
4258 }
4259 return resultobj;
4260 fail:
4261 {
4262 if (temp2)
4263 delete arg2;
4264 }
4265 return NULL;
4266}
4267
4268
4269static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxDialog *arg1 = (wxDialog *) 0 ;
4272 long arg2 ;
4273 wxSizer *result;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 char *kwnames[] = {
4277 (char *) "self",(char *) "flags", NULL
4278 };
4279
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4283 arg2 = (long) SWIG_AsLong(obj1);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 {
4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
4287 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4288
4289 wxPyEndAllowThreads(__tstate);
4290 if (PyErr_Occurred()) SWIG_fail;
4291 }
4292 {
4293 resultobj = wxPyMake_wxSizer(result);
4294 }
4295 return resultobj;
4296 fail:
4297 return NULL;
4298}
4299
4300
4301static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxDialog *arg1 = (wxDialog *) 0 ;
4304 bool result;
4305 PyObject * obj0 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4313 {
4314 PyThreadState* __tstate = wxPyBeginAllowThreads();
4315 result = (bool)((wxDialog const *)arg1)->IsModal();
4316
4317 wxPyEndAllowThreads(__tstate);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 {
4321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4322 }
4323 return resultobj;
4324 fail:
4325 return NULL;
4326}
4327
4328
4329static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4330 PyObject *resultobj;
4331 wxDialog *arg1 = (wxDialog *) 0 ;
4332 int result;
4333 PyObject * obj0 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "self", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 result = (int)(arg1)->ShowModal();
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 resultobj = SWIG_FromInt((int)result);
4349 return resultobj;
4350 fail:
4351 return NULL;
4352}
4353
4354
4355static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxDialog *arg1 = (wxDialog *) 0 ;
4358 int arg2 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self",(char *) "retCode", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4368 arg2 = (int) SWIG_AsInt(obj1);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 (arg1)->EndModal(arg2);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 Py_INCREF(Py_None); resultobj = Py_None;
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
4384static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4385 PyObject *obj;
4386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4387 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4388 Py_INCREF(obj);
4389 return Py_BuildValue((char *)"");
4390}
4391static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj;
4393 wxWindow *arg1 = (wxWindow *) 0 ;
4394 int arg2 ;
4395 wxString *arg3 = 0 ;
4396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4398 wxSize const &arg5_defvalue = wxDefaultSize ;
4399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4400 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4401 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4402 wxString *arg7 = (wxString *) &arg7_defvalue ;
4403 wxMiniFrame *result;
4404 bool temp3 = False ;
4405 wxPoint temp4 ;
4406 wxSize temp5 ;
4407 bool temp7 = False ;
4408 PyObject * obj0 = 0 ;
4409 PyObject * obj1 = 0 ;
4410 PyObject * obj2 = 0 ;
4411 PyObject * obj3 = 0 ;
4412 PyObject * obj4 = 0 ;
4413 PyObject * obj5 = 0 ;
4414 PyObject * obj6 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4422 arg2 = (int const) SWIG_AsInt(obj1);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 {
4425 arg3 = wxString_in_helper(obj2);
4426 if (arg3 == NULL) SWIG_fail;
4427 temp3 = True;
4428 }
4429 if (obj3) {
4430 {
4431 arg4 = &temp4;
4432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4433 }
4434 }
4435 if (obj4) {
4436 {
4437 arg5 = &temp5;
4438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4439 }
4440 }
4441 if (obj5) {
4442 arg6 = (long) SWIG_AsLong(obj5);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 if (obj6) {
4446 {
4447 arg7 = wxString_in_helper(obj6);
4448 if (arg7 == NULL) SWIG_fail;
4449 temp7 = True;
4450 }
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4460 {
4461 if (temp3)
4462 delete arg3;
4463 }
4464 {
4465 if (temp7)
4466 delete arg7;
4467 }
4468 return resultobj;
4469 fail:
4470 {
4471 if (temp3)
4472 delete arg3;
4473 }
4474 {
4475 if (temp7)
4476 delete arg7;
4477 }
4478 return NULL;
4479}
4480
4481
4482static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4483 PyObject *resultobj;
4484 wxMiniFrame *result;
4485 char *kwnames[] = {
4486 NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 result = (wxMiniFrame *)new wxMiniFrame();
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4498 return resultobj;
4499 fail:
4500 return NULL;
4501}
4502
4503
4504static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4507 wxWindow *arg2 = (wxWindow *) 0 ;
4508 int arg3 ;
4509 wxString *arg4 = 0 ;
4510 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4511 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4512 wxSize const &arg6_defvalue = wxDefaultSize ;
4513 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4514 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4515 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4516 wxString *arg8 = (wxString *) &arg8_defvalue ;
4517 bool result;
4518 bool temp4 = False ;
4519 wxPoint temp5 ;
4520 wxSize temp6 ;
4521 bool temp8 = False ;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4524 PyObject * obj2 = 0 ;
4525 PyObject * obj3 = 0 ;
4526 PyObject * obj4 = 0 ;
4527 PyObject * obj5 = 0 ;
4528 PyObject * obj6 = 0 ;
4529 PyObject * obj7 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 arg3 = (int const) SWIG_AsInt(obj2);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 {
4542 arg4 = wxString_in_helper(obj3);
4543 if (arg4 == NULL) SWIG_fail;
4544 temp4 = True;
4545 }
4546 if (obj4) {
4547 {
4548 arg5 = &temp5;
4549 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4550 }
4551 }
4552 if (obj5) {
4553 {
4554 arg6 = &temp6;
4555 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4556 }
4557 }
4558 if (obj6) {
4559 arg7 = (long) SWIG_AsLong(obj6);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 if (obj7) {
4563 {
4564 arg8 = wxString_in_helper(obj7);
4565 if (arg8 == NULL) SWIG_fail;
4566 temp8 = True;
4567 }
4568 }
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
4576 {
4577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4578 }
4579 {
4580 if (temp4)
4581 delete arg4;
4582 }
4583 {
4584 if (temp8)
4585 delete arg8;
4586 }
4587 return resultobj;
4588 fail:
4589 {
4590 if (temp4)
4591 delete arg4;
4592 }
4593 {
4594 if (temp8)
4595 delete arg8;
4596 }
4597 return NULL;
4598}
4599
4600
4601static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4602 PyObject *obj;
4603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4604 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4605 Py_INCREF(obj);
4606 return Py_BuildValue((char *)"");
4607}
4608static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxBitmap *arg1 = 0 ;
4611 wxWindow *arg2 = (wxWindow *) 0 ;
4612 int arg3 ;
4613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4615 wxSize const &arg5_defvalue = wxDefaultSize ;
4616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4617 long arg6 = (long) wxNO_BORDER ;
4618 wxSplashScreenWindow *result;
4619 wxPoint temp4 ;
4620 wxSize temp5 ;
4621 PyObject * obj0 = 0 ;
4622 PyObject * obj1 = 0 ;
4623 PyObject * obj2 = 0 ;
4624 PyObject * obj3 = 0 ;
4625 PyObject * obj4 = 0 ;
4626 PyObject * obj5 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4633 SWIG_POINTER_EXCEPTION | 0)) == -1)
4634 SWIG_fail;
4635 if (arg1 == NULL) {
4636 PyErr_SetString(PyExc_TypeError,"null reference");
4637 SWIG_fail;
4638 }
4639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4641 arg3 = (int) SWIG_AsInt(obj2);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 if (obj3) {
4644 {
4645 arg4 = &temp4;
4646 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4647 }
4648 }
4649 if (obj4) {
4650 {
4651 arg5 = &temp5;
4652 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4653 }
4654 }
4655 if (obj5) {
4656 arg6 = (long) SWIG_AsLong(obj5);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
4673static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4676 wxBitmap *arg2 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self",(char *) "bitmap", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4687 SWIG_POINTER_EXCEPTION | 0)) == -1)
4688 SWIG_fail;
4689 if (arg2 == NULL) {
4690 PyErr_SetString(PyExc_TypeError,"null reference");
4691 SWIG_fail;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 Py_INCREF(Py_None); resultobj = Py_None;
4701 return resultobj;
4702 fail:
4703 return NULL;
4704}
4705
4706
4707static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4710 wxBitmap *result;
4711 PyObject * obj0 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 {
4722 wxBitmap &_result_ref = (arg1)->GetBitmap();
4723 result = (wxBitmap *) &_result_ref;
4724 }
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 {
4730 wxBitmap* resultptr = new wxBitmap(*result);
4731 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4732 }
4733 return resultobj;
4734 fail:
4735 return NULL;
4736}
4737
4738
4739static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4740 PyObject *obj;
4741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4742 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4743 Py_INCREF(obj);
4744 return Py_BuildValue((char *)"");
4745}
4746static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4747 PyObject *resultobj;
4748 wxBitmap *arg1 = 0 ;
4749 long arg2 ;
4750 int arg3 ;
4751 wxWindow *arg4 = (wxWindow *) 0 ;
4752 int arg5 ;
4753 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4754 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4755 wxSize const &arg7_defvalue = wxDefaultSize ;
4756 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4757 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4758 wxSplashScreen *result;
4759 wxPoint temp6 ;
4760 wxSize temp7 ;
4761 PyObject * obj0 = 0 ;
4762 PyObject * obj1 = 0 ;
4763 PyObject * obj2 = 0 ;
4764 PyObject * obj3 = 0 ;
4765 PyObject * obj4 = 0 ;
4766 PyObject * obj5 = 0 ;
4767 PyObject * obj6 = 0 ;
4768 PyObject * obj7 = 0 ;
4769 char *kwnames[] = {
4770 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4771 };
4772
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4775 SWIG_POINTER_EXCEPTION | 0)) == -1)
4776 SWIG_fail;
4777 if (arg1 == NULL) {
4778 PyErr_SetString(PyExc_TypeError,"null reference");
4779 SWIG_fail;
4780 }
4781 arg2 = (long) SWIG_AsLong(obj1);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 arg3 = (int) SWIG_AsInt(obj2);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4787 arg5 = (int) SWIG_AsInt(obj4);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 if (obj5) {
4790 {
4791 arg6 = &temp6;
4792 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4793 }
4794 }
4795 if (obj6) {
4796 {
4797 arg7 = &temp7;
4798 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4799 }
4800 }
4801 if (obj7) {
4802 arg8 = (long) SWIG_AsLong(obj7);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4813 return resultobj;
4814 fail:
4815 return NULL;
4816}
4817
4818
4819static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4822 long result;
4823 PyObject * obj0 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 resultobj = SWIG_FromLong((long)result);
4839 return resultobj;
4840 fail:
4841 return NULL;
4842}
4843
4844
4845static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4848 wxSplashScreenWindow *result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
4871static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4874 int result;
4875 PyObject * obj0 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 resultobj = SWIG_FromInt((int)result);
4891 return resultobj;
4892 fail:
4893 return NULL;
4894}
4895
4896
4897static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4898 PyObject *obj;
4899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4900 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4901 Py_INCREF(obj);
4902 return Py_BuildValue((char *)"");
4903}
4904static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxWindow *arg1 = (wxWindow *) 0 ;
4907 int arg2 = (int) -1 ;
4908 long arg3 = (long) wxST_SIZEGRIP ;
4909 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4910 wxString *arg4 = (wxString *) &arg4_defvalue ;
4911 wxStatusBar *result;
4912 bool temp4 = False ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 PyObject * obj2 = 0 ;
4916 PyObject * obj3 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 if (obj1) {
4925 arg2 = (int) SWIG_AsInt(obj1);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 if (obj2) {
4929 arg3 = (long) SWIG_AsLong(obj2);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 if (obj3) {
4933 {
4934 arg4 = wxString_in_helper(obj3);
4935 if (arg4 == NULL) SWIG_fail;
4936 temp4 = True;
4937 }
4938 }
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 {
4947 resultobj = wxPyMake_wxObject(result);
4948 }
4949 {
4950 if (temp4)
4951 delete arg4;
4952 }
4953 return resultobj;
4954 fail:
4955 {
4956 if (temp4)
4957 delete arg4;
4958 }
4959 return NULL;
4960}
4961
4962
4963static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj;
4965 wxStatusBar *result;
4966 char *kwnames[] = {
4967 NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (wxStatusBar *)new wxStatusBar();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 {
4979 resultobj = wxPyMake_wxObject(result);
4980 }
4981 return resultobj;
4982 fail:
4983 return NULL;
4984}
4985
4986
4987static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4990 wxWindow *arg2 = (wxWindow *) 0 ;
4991 int arg3 ;
4992 long arg4 = (long) wxST_SIZEGRIP ;
4993 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4994 wxString *arg5 = (wxString *) &arg5_defvalue ;
4995 bool result;
4996 bool temp5 = False ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 PyObject * obj2 = 0 ;
5000 PyObject * obj3 = 0 ;
5001 PyObject * obj4 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 arg3 = (int) SWIG_AsInt(obj2);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 if (obj3) {
5014 arg4 = (long) SWIG_AsLong(obj3);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 if (obj4) {
5018 {
5019 arg5 = wxString_in_helper(obj4);
5020 if (arg5 == NULL) SWIG_fail;
5021 temp5 = True;
5022 }
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 {
5032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5033 }
5034 {
5035 if (temp5)
5036 delete arg5;
5037 }
5038 return resultobj;
5039 fail:
5040 {
5041 if (temp5)
5042 delete arg5;
5043 }
5044 return NULL;
5045}
5046
5047
5048static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5051 int arg2 = (int) 1 ;
5052 PyObject * obj0 = 0 ;
5053 PyObject * obj1 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self",(char *) "number", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5061 if (obj1) {
5062 arg2 = (int) SWIG_AsInt(obj1);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->SetFieldsCount(arg2);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
5079static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5082 int result;
5083 PyObject * obj0 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 resultobj = SWIG_FromInt((int)result);
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
5105static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5108 wxString *arg2 = 0 ;
5109 int arg3 = (int) 0 ;
5110 bool temp2 = False ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 PyObject * obj2 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self",(char *) "text",(char *) "number", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5121 {
5122 arg2 = wxString_in_helper(obj1);
5123 if (arg2 == NULL) SWIG_fail;
5124 temp2 = True;
5125 }
5126 if (obj2) {
5127 arg3 = (int) SWIG_AsInt(obj2);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 Py_INCREF(Py_None); resultobj = Py_None;
5138 {
5139 if (temp2)
5140 delete arg2;
5141 }
5142 return resultobj;
5143 fail:
5144 {
5145 if (temp2)
5146 delete arg2;
5147 }
5148 return NULL;
5149}
5150
5151
5152static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5155 int arg2 = (int) 0 ;
5156 wxString result;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self",(char *) "number", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5166 if (obj1) {
5167 arg2 = (int) SWIG_AsInt(obj1);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 {
5178#if wxUSE_UNICODE
5179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5180#else
5181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5182#endif
5183 }
5184 return resultobj;
5185 fail:
5186 return NULL;
5187}
5188
5189
5190static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj;
5192 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5193 wxString *arg2 = 0 ;
5194 int arg3 = (int) 0 ;
5195 bool temp2 = False ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 PyObject * obj2 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "text",(char *) "number", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 {
5207 arg2 = wxString_in_helper(obj1);
5208 if (arg2 == NULL) SWIG_fail;
5209 temp2 = True;
5210 }
5211 if (obj2) {
5212 arg3 = (int) SWIG_AsInt(obj2);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 Py_INCREF(Py_None); resultobj = Py_None;
5223 {
5224 if (temp2)
5225 delete arg2;
5226 }
5227 return resultobj;
5228 fail:
5229 {
5230 if (temp2)
5231 delete arg2;
5232 }
5233 return NULL;
5234}
5235
5236
5237static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5240 int arg2 = (int) 0 ;
5241 PyObject * obj0 = 0 ;
5242 PyObject * obj1 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self",(char *) "number", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5250 if (obj1) {
5251 arg2 = (int) SWIG_AsInt(obj1);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 (arg1)->PopStatusText(arg2);
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 Py_INCREF(Py_None); resultobj = Py_None;
5262 return resultobj;
5263 fail:
5264 return NULL;
5265}
5266
5267
5268static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5269 PyObject *resultobj;
5270 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5271 int arg2 ;
5272 int *arg3 = (int *) 0 ;
5273 PyObject * obj0 = 0 ;
5274 PyObject * obj1 = 0 ;
5275 char *kwnames[] = {
5276 (char *) "self",(char *) "widths", NULL
5277 };
5278
5279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5282 {
5283 arg2 = PyList_Size(obj1);
5284 arg3 = int_LIST_helper(obj1);
5285 if (arg3 == NULL) SWIG_fail;
5286 }
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 Py_INCREF(Py_None); resultobj = Py_None;
5295 {
5296 if (arg3) delete [] arg3;
5297 }
5298 return resultobj;
5299 fail:
5300 {
5301 if (arg3) delete [] arg3;
5302 }
5303 return NULL;
5304}
5305
5306
5307static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5310 int arg2 ;
5311 wxRect result;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "i", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5321 arg2 = (int) SWIG_AsInt(obj1);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = wxStatusBar_GetFieldRect(arg1,arg2);
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 {
5331 wxRect * resultptr;
5332 resultptr = new wxRect((wxRect &) result);
5333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5334 }
5335 return resultobj;
5336 fail:
5337 return NULL;
5338}
5339
5340
5341static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5344 int arg2 ;
5345 PyObject * obj0 = 0 ;
5346 PyObject * obj1 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self",(char *) "height", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5354 arg2 = (int) SWIG_AsInt(obj1);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 (arg1)->SetMinHeight(arg2);
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 Py_INCREF(Py_None); resultobj = Py_None;
5364 return resultobj;
5365 fail:
5366 return NULL;
5367}
5368
5369
5370static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj;
5372 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5373 int result;
5374 PyObject * obj0 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 resultobj = SWIG_FromInt((int)result);
5390 return resultobj;
5391 fail:
5392 return NULL;
5393}
5394
5395
5396static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5399 int result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = SWIG_FromInt((int)result);
5416 return resultobj;
5417 fail:
5418 return NULL;
5419}
5420
5421
5422static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5423 PyObject *obj;
5424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5425 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5426 Py_INCREF(obj);
5427 return Py_BuildValue((char *)"");
5428}
5429static int _wrap_SplitterNameStr_set(PyObject *_val) {
5430 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5431 return 1;
5432}
5433
5434
5435static PyObject *_wrap_SplitterNameStr_get() {
5436 PyObject *pyobj;
5437
5438 {
5439#if wxUSE_UNICODE
5440 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5441#else
5442 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5443#endif
5444 }
5445 return pyobj;
5446}
5447
5448
5449static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj;
5451 wxWindow *arg1 = (wxWindow *) 0 ;
5452 int arg2 = (int) -1 ;
5453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5455 wxSize const &arg4_defvalue = wxDefaultSize ;
5456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5457 long arg5 = (long) wxSP_3D ;
5458 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5459 wxString *arg6 = (wxString *) &arg6_defvalue ;
5460 wxSplitterWindow *result;
5461 wxPoint temp3 ;
5462 wxSize temp4 ;
5463 bool temp6 = False ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 PyObject * obj2 = 0 ;
5467 PyObject * obj3 = 0 ;
5468 PyObject * obj4 = 0 ;
5469 PyObject * obj5 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5477 if (obj1) {
5478 arg2 = (int) SWIG_AsInt(obj1);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 if (obj2) {
5482 {
5483 arg3 = &temp3;
5484 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5485 }
5486 }
5487 if (obj3) {
5488 {
5489 arg4 = &temp4;
5490 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5491 }
5492 }
5493 if (obj4) {
5494 arg5 = (long) SWIG_AsLong(obj4);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 if (obj5) {
5498 {
5499 arg6 = wxString_in_helper(obj5);
5500 if (arg6 == NULL) SWIG_fail;
5501 temp6 = True;
5502 }
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5512 {
5513 if (temp6)
5514 delete arg6;
5515 }
5516 return resultobj;
5517 fail:
5518 {
5519 if (temp6)
5520 delete arg6;
5521 }
5522 return NULL;
5523}
5524
5525
5526static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxSplitterWindow *result;
5529 char *kwnames[] = {
5530 NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 result = (wxSplitterWindow *)new wxSplitterWindow();
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
5548static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5551 wxWindow *arg2 = (wxWindow *) 0 ;
5552 int arg3 = (int) -1 ;
5553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5555 wxSize const &arg5_defvalue = wxDefaultSize ;
5556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5557 long arg6 = (long) wxSP_3D ;
5558 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5559 wxString *arg7 = (wxString *) &arg7_defvalue ;
5560 bool result;
5561 wxPoint temp4 ;
5562 wxSize temp5 ;
5563 bool temp7 = False ;
5564 PyObject * obj0 = 0 ;
5565 PyObject * obj1 = 0 ;
5566 PyObject * obj2 = 0 ;
5567 PyObject * obj3 = 0 ;
5568 PyObject * obj4 = 0 ;
5569 PyObject * obj5 = 0 ;
5570 PyObject * obj6 = 0 ;
5571 char *kwnames[] = {
5572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5573 };
5574
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5580 if (obj2) {
5581 arg3 = (int) SWIG_AsInt(obj2);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 if (obj3) {
5585 {
5586 arg4 = &temp4;
5587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5588 }
5589 }
5590 if (obj4) {
5591 {
5592 arg5 = &temp5;
5593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5594 }
5595 }
5596 if (obj5) {
5597 arg6 = (long) SWIG_AsLong(obj5);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 if (obj6) {
5601 {
5602 arg7 = wxString_in_helper(obj6);
5603 if (arg7 == NULL) SWIG_fail;
5604 temp7 = True;
5605 }
5606 }
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5610
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 {
5615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5616 }
5617 {
5618 if (temp7)
5619 delete arg7;
5620 }
5621 return resultobj;
5622 fail:
5623 {
5624 if (temp7)
5625 delete arg7;
5626 }
5627 return NULL;
5628}
5629
5630
5631static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5634 wxWindow *result;
5635 PyObject * obj0 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "self", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
5651 resultobj = wxPyMake_wxObject(result);
5652 }
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
5659static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5662 wxWindow *result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679 resultobj = wxPyMake_wxObject(result);
5680 }
5681 return resultobj;
5682 fail:
5683 return NULL;
5684}
5685
5686
5687static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5690 int arg2 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "mode", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5700 arg2 = (int) SWIG_AsInt(obj1);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 (arg1)->SetSplitMode(arg2);
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 Py_INCREF(Py_None); resultobj = Py_None;
5710 return resultobj;
5711 fail:
5712 return NULL;
5713}
5714
5715
5716static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5719 int result;
5720 PyObject * obj0 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = SWIG_FromInt((int)result);
5736 return resultobj;
5737 fail:
5738 return NULL;
5739}
5740
5741
5742static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5745 wxWindow *arg2 = (wxWindow *) 0 ;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "window", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->Initialize(arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768}
5769
5770
5771static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5774 wxWindow *arg2 = (wxWindow *) 0 ;
5775 wxWindow *arg3 = (wxWindow *) 0 ;
5776 int arg4 = (int) 0 ;
5777 bool result;
5778 PyObject * obj0 = 0 ;
5779 PyObject * obj1 = 0 ;
5780 PyObject * obj2 = 0 ;
5781 PyObject * obj3 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 if (obj3) {
5794 arg4 = (int) SWIG_AsInt(obj3);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 {
5805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5806 }
5807 return resultobj;
5808 fail:
5809 return NULL;
5810}
5811
5812
5813static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5816 wxWindow *arg2 = (wxWindow *) 0 ;
5817 wxWindow *arg3 = (wxWindow *) 0 ;
5818 int arg4 = (int) 0 ;
5819 bool result;
5820 PyObject * obj0 = 0 ;
5821 PyObject * obj1 = 0 ;
5822 PyObject * obj2 = 0 ;
5823 PyObject * obj3 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5833 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5835 if (obj3) {
5836 arg4 = (int) SWIG_AsInt(obj3);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 {
5847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5848 }
5849 return resultobj;
5850 fail:
5851 return NULL;
5852}
5853
5854
5855static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5858 wxWindow *arg2 = (wxWindow *) NULL ;
5859 bool result;
5860 PyObject * obj0 = 0 ;
5861 PyObject * obj1 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self",(char *) "toRemove", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5869 if (obj1) {
5870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (bool)(arg1)->Unsplit(arg2);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 {
5881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5882 }
5883 return resultobj;
5884 fail:
5885 return NULL;
5886}
5887
5888
5889static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5892 wxWindow *arg2 = (wxWindow *) 0 ;
5893 wxWindow *arg3 = (wxWindow *) 0 ;
5894 bool result;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 PyObject * obj2 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5907 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 {
5917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5918 }
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
5925static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5928 PyObject * obj0 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 (arg1)->UpdateSize();
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 Py_INCREF(Py_None); resultobj = Py_None;
5944 return resultobj;
5945 fail:
5946 return NULL;
5947}
5948
5949
5950static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj;
5952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5953 bool result;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 {
5970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5971 }
5972 return resultobj;
5973 fail:
5974 return NULL;
5975}
5976
5977
5978static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5981 int arg2 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "width", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 arg2 = (int) SWIG_AsInt(obj1);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 (arg1)->SetSashSize(arg2);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 Py_INCREF(Py_None); resultobj = Py_None;
6001 return resultobj;
6002 fail:
6003 return NULL;
6004}
6005
6006
6007static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6010 int arg2 ;
6011 PyObject * obj0 = 0 ;
6012 PyObject * obj1 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self",(char *) "width", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6020 arg2 = (int) SWIG_AsInt(obj1);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 (arg1)->SetBorderSize(arg2);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 Py_INCREF(Py_None); resultobj = Py_None;
6030 return resultobj;
6031 fail:
6032 return NULL;
6033}
6034
6035
6036static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6039 int result;
6040 PyObject * obj0 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 resultobj = SWIG_FromInt((int)result);
6056 return resultobj;
6057 fail:
6058 return NULL;
6059}
6060
6061
6062static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6065 int result;
6066 PyObject * obj0 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = SWIG_FromInt((int)result);
6082 return resultobj;
6083 fail:
6084 return NULL;
6085}
6086
6087
6088static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6091 int arg2 ;
6092 bool arg3 = (bool) True ;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 PyObject * obj2 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self",(char *) "position",(char *) "redraw", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6103 arg2 = (int) SWIG_AsInt(obj1);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 if (obj2) {
6106 arg3 = (bool) SWIG_AsBool(obj2);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 (arg1)->SetSashPosition(arg2,arg3);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 Py_INCREF(Py_None); resultobj = Py_None;
6117 return resultobj;
6118 fail:
6119 return NULL;
6120}
6121
6122
6123static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6126 int result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = SWIG_FromInt((int)result);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146}
6147
6148
6149static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6152 int arg2 ;
6153 PyObject * obj0 = 0 ;
6154 PyObject * obj1 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self",(char *) "min", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6162 arg2 = (int) SWIG_AsInt(obj1);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->SetMinimumPaneSize(arg2);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 Py_INCREF(Py_None); resultobj = Py_None;
6172 return resultobj;
6173 fail:
6174 return NULL;
6175}
6176
6177
6178static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6181 int result;
6182 PyObject * obj0 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 resultobj = SWIG_FromInt((int)result);
6198 return resultobj;
6199 fail:
6200 return NULL;
6201}
6202
6203
6204static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6207 int arg2 ;
6208 int arg3 ;
6209 int arg4 = (int) 5 ;
6210 bool result;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj1 = 0 ;
6213 PyObject * obj2 = 0 ;
6214 PyObject * obj3 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6222 arg2 = (int) SWIG_AsInt(obj1);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 arg3 = (int) SWIG_AsInt(obj2);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 if (obj3) {
6227 arg4 = (int) SWIG_AsInt(obj3);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 {
6238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6239 }
6240 return resultobj;
6241 fail:
6242 return NULL;
6243}
6244
6245
6246static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6249 PyObject * obj0 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 (arg1)->SizeWindows();
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 Py_INCREF(Py_None); resultobj = Py_None;
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
6271static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj;
6273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6274 bool arg2 ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self",(char *) "needUpdating", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6284 arg2 = (bool) SWIG_AsBool(obj1);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->SetNeedUpdating(arg2);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 return resultobj;
6295 fail:
6296 return NULL;
6297}
6298
6299
6300static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6303 bool result;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6321 }
6322 return resultobj;
6323 fail:
6324 return NULL;
6325}
6326
6327
6328static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6329 PyObject *obj;
6330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6331 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6332 Py_INCREF(obj);
6333 return Py_BuildValue((char *)"");
6334}
6335static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6338 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6339 wxSplitterEvent *result;
6340 PyObject * obj0 = 0 ;
6341 PyObject * obj1 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "type",(char *) "splitter", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6347 if (obj0) {
6348 arg1 = (wxEventType) SWIG_AsInt(obj0);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 if (obj1) {
6352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6354 }
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6363 return resultobj;
6364 fail:
6365 return NULL;
6366}
6367
6368
6369static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6372 int arg2 ;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "pos", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6382 arg2 = (int) SWIG_AsInt(obj1);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->SetSashPosition(arg2);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395}
6396
6397
6398static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6401 int result;
6402 PyObject * obj0 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 resultobj = SWIG_FromInt((int)result);
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
6424static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6427 wxWindow *result;
6428 PyObject * obj0 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6439
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 {
6444 resultobj = wxPyMake_wxObject(result);
6445 }
6446 return resultobj;
6447 fail:
6448 return NULL;
6449}
6450
6451
6452static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6455 int result;
6456 PyObject * obj0 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 resultobj = SWIG_FromInt((int)result);
6472 return resultobj;
6473 fail:
6474 return NULL;
6475}
6476
6477
6478static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject *resultobj;
6480 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6481 int result;
6482 PyObject * obj0 = 0 ;
6483 char *kwnames[] = {
6484 (char *) "self", NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = SWIG_FromInt((int)result);
6498 return resultobj;
6499 fail:
6500 return NULL;
6501}
6502
6503
6504static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6505 PyObject *obj;
6506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6507 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6508 Py_INCREF(obj);
6509 return Py_BuildValue((char *)"");
6510}
6511static int _wrap_SashNameStr_set(PyObject *_val) {
6512 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6513 return 1;
6514}
6515
6516
6517static PyObject *_wrap_SashNameStr_get() {
6518 PyObject *pyobj;
6519
6520 {
6521#if wxUSE_UNICODE
6522 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6523#else
6524 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6525#endif
6526 }
6527 return pyobj;
6528}
6529
6530
6531static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6532 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6533 return 1;
6534}
6535
6536
6537static PyObject *_wrap_SashLayoutNameStr_get() {
6538 PyObject *pyobj;
6539
6540 {
6541#if wxUSE_UNICODE
6542 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6543#else
6544 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6545#endif
6546 }
6547 return pyobj;
6548}
6549
6550
6551static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxWindow *arg1 = (wxWindow *) 0 ;
6554 int arg2 ;
6555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6557 wxSize const &arg4_defvalue = wxDefaultSize ;
6558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6559 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6560 wxString const &arg6_defvalue = wxPySashNameStr ;
6561 wxString *arg6 = (wxString *) &arg6_defvalue ;
6562 wxSashWindow *result;
6563 wxPoint temp3 ;
6564 wxSize temp4 ;
6565 bool temp6 = False ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 PyObject * obj2 = 0 ;
6569 PyObject * obj3 = 0 ;
6570 PyObject * obj4 = 0 ;
6571 PyObject * obj5 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6579 arg2 = (int) SWIG_AsInt(obj1);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 if (obj2) {
6582 {
6583 arg3 = &temp3;
6584 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6585 }
6586 }
6587 if (obj3) {
6588 {
6589 arg4 = &temp4;
6590 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6591 }
6592 }
6593 if (obj4) {
6594 arg5 = (long) SWIG_AsLong(obj4);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 if (obj5) {
6598 {
6599 arg6 = wxString_in_helper(obj5);
6600 if (arg6 == NULL) SWIG_fail;
6601 temp6 = True;
6602 }
6603 }
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6612 {
6613 if (temp6)
6614 delete arg6;
6615 }
6616 return resultobj;
6617 fail:
6618 {
6619 if (temp6)
6620 delete arg6;
6621 }
6622 return NULL;
6623}
6624
6625
6626static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj;
6628 wxSashWindow *result;
6629 char *kwnames[] = {
6630 NULL
6631 };
6632
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (wxSashWindow *)new wxSashWindow();
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6642 return resultobj;
6643 fail:
6644 return NULL;
6645}
6646
6647
6648static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj;
6650 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6651 wxWindow *arg2 = (wxWindow *) 0 ;
6652 int arg3 ;
6653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6655 wxSize const &arg5_defvalue = wxDefaultSize ;
6656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6657 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6658 wxString const &arg7_defvalue = wxPySashNameStr ;
6659 wxString *arg7 = (wxString *) &arg7_defvalue ;
6660 bool result;
6661 wxPoint temp4 ;
6662 wxSize temp5 ;
6663 bool temp7 = False ;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 PyObject * obj2 = 0 ;
6667 PyObject * obj3 = 0 ;
6668 PyObject * obj4 = 0 ;
6669 PyObject * obj5 = 0 ;
6670 PyObject * obj6 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6673 };
6674
6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6680 arg3 = (int) SWIG_AsInt(obj2);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 if (obj3) {
6683 {
6684 arg4 = &temp4;
6685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6686 }
6687 }
6688 if (obj4) {
6689 {
6690 arg5 = &temp5;
6691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6692 }
6693 }
6694 if (obj5) {
6695 arg6 = (long) SWIG_AsLong(obj5);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 if (obj6) {
6699 {
6700 arg7 = wxString_in_helper(obj6);
6701 if (arg7 == NULL) SWIG_fail;
6702 temp7 = True;
6703 }
6704 }
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6714 }
6715 {
6716 if (temp7)
6717 delete arg7;
6718 }
6719 return resultobj;
6720 fail:
6721 {
6722 if (temp7)
6723 delete arg7;
6724 }
6725 return NULL;
6726}
6727
6728
6729static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6730 PyObject *resultobj;
6731 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6732 int arg2 ;
6733 bool arg3 ;
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 PyObject * obj2 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self",(char *) "edge",(char *) "sash", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6744 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 arg3 = (bool) SWIG_AsBool(obj2);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 Py_INCREF(Py_None); resultobj = Py_None;
6756 return resultobj;
6757 fail:
6758 return NULL;
6759}
6760
6761
6762static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6765 int arg2 ;
6766 bool result;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "edge", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6776 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 {
6786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6787 }
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
6794static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6797 int arg2 ;
6798 bool arg3 ;
6799 PyObject * obj0 = 0 ;
6800 PyObject * obj1 = 0 ;
6801 PyObject * obj2 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "edge",(char *) "border", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 arg3 = (bool) SWIG_AsBool(obj2);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 Py_INCREF(Py_None); resultobj = Py_None;
6821 return resultobj;
6822 fail:
6823 return NULL;
6824}
6825
6826
6827static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6830 int arg2 ;
6831 bool result;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self",(char *) "edge", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 {
6851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6852 }
6853 return resultobj;
6854 fail:
6855 return NULL;
6856}
6857
6858
6859static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6862 int arg2 ;
6863 int result;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self",(char *) "edge", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6873 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = SWIG_FromInt((int)result);
6883 return resultobj;
6884 fail:
6885 return NULL;
6886}
6887
6888
6889static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6892 int arg2 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "self",(char *) "width", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6902 arg2 = (int) SWIG_AsInt(obj1);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 (arg1)->SetDefaultBorderSize(arg2);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 Py_INCREF(Py_None); resultobj = Py_None;
6912 return resultobj;
6913 fail:
6914 return NULL;
6915}
6916
6917
6918static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6921 int result;
6922 PyObject * obj0 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 resultobj = SWIG_FromInt((int)result);
6938 return resultobj;
6939 fail:
6940 return NULL;
6941}
6942
6943
6944static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj;
6946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6947 int arg2 ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self",(char *) "width", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6957 arg2 = (int) SWIG_AsInt(obj1);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->SetExtraBorderSize(arg2);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 Py_INCREF(Py_None); resultobj = Py_None;
6967 return resultobj;
6968 fail:
6969 return NULL;
6970}
6971
6972
6973static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj;
6975 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6976 int result;
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 resultobj = SWIG_FromInt((int)result);
6993 return resultobj;
6994 fail:
6995 return NULL;
6996}
6997
6998
6999static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject *resultobj;
7001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7002 int arg2 ;
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "min", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7012 arg2 = (int) SWIG_AsInt(obj1);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 (arg1)->SetMinimumSizeX(arg2);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 Py_INCREF(Py_None); resultobj = Py_None;
7022 return resultobj;
7023 fail:
7024 return NULL;
7025}
7026
7027
7028static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7031 int arg2 ;
7032 PyObject * obj0 = 0 ;
7033 PyObject * obj1 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self",(char *) "min", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7041 arg2 = (int) SWIG_AsInt(obj1);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->SetMinimumSizeY(arg2);
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 Py_INCREF(Py_None); resultobj = Py_None;
7051 return resultobj;
7052 fail:
7053 return NULL;
7054}
7055
7056
7057static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7060 int result;
7061 PyObject * obj0 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_FromInt((int)result);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080}
7081
7082
7083static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7086 int result;
7087 PyObject * obj0 = 0 ;
7088 char *kwnames[] = {
7089 (char *) "self", NULL
7090 };
7091
7092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 resultobj = SWIG_FromInt((int)result);
7103 return resultobj;
7104 fail:
7105 return NULL;
7106}
7107
7108
7109static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject *resultobj;
7111 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7112 int arg2 ;
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj1 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self",(char *) "max", NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7122 arg2 = (int) SWIG_AsInt(obj1);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 (arg1)->SetMaximumSizeX(arg2);
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 Py_INCREF(Py_None); resultobj = Py_None;
7132 return resultobj;
7133 fail:
7134 return NULL;
7135}
7136
7137
7138static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7141 int arg2 ;
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self",(char *) "max", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7151 arg2 = (int) SWIG_AsInt(obj1);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 (arg1)->SetMaximumSizeY(arg2);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 Py_INCREF(Py_None); resultobj = Py_None;
7161 return resultobj;
7162 fail:
7163 return NULL;
7164}
7165
7166
7167static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7170 int result;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 resultobj = SWIG_FromInt((int)result);
7187 return resultobj;
7188 fail:
7189 return NULL;
7190}
7191
7192
7193static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7196 int result;
7197 PyObject * obj0 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = SWIG_FromInt((int)result);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216}
7217
7218
7219static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7222 int arg2 ;
7223 int arg3 ;
7224 int arg4 = (int) 2 ;
7225 int result;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 PyObject * obj2 = 0 ;
7229 PyObject * obj3 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7237 arg2 = (int) SWIG_AsInt(obj1);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 arg3 = (int) SWIG_AsInt(obj2);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 if (obj3) {
7242 arg4 = (int) SWIG_AsInt(obj3);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 resultobj = SWIG_FromInt((int)result);
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
7259static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7262 PyObject * obj0 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "self", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 (arg1)->SizeWindows();
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 Py_INCREF(Py_None); resultobj = Py_None;
7278 return resultobj;
7279 fail:
7280 return NULL;
7281}
7282
7283
7284static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7285 PyObject *obj;
7286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7287 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7288 Py_INCREF(obj);
7289 return Py_BuildValue((char *)"");
7290}
7291static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 int arg1 = (int) 0 ;
7294 int arg2 = (int) wxSASH_NONE ;
7295 wxSashEvent *result;
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "id",(char *) "edge", NULL
7300 };
7301
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7303 if (obj0) {
7304 arg1 = (int) SWIG_AsInt(obj0);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 if (obj1) {
7308 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7319 return resultobj;
7320 fail:
7321 return NULL;
7322}
7323
7324
7325static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7328 int arg2 ;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "edge", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7338 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 Py_INCREF(Py_None); resultobj = Py_None;
7348 return resultobj;
7349 fail:
7350 return NULL;
7351}
7352
7353
7354static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj;
7356 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7357 int result;
7358 PyObject * obj0 = 0 ;
7359 char *kwnames[] = {
7360 (char *) "self", NULL
7361 };
7362
7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 resultobj = SWIG_FromInt((int)result);
7374 return resultobj;
7375 fail:
7376 return NULL;
7377}
7378
7379
7380static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7381 PyObject *resultobj;
7382 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7383 wxRect *arg2 = 0 ;
7384 wxRect temp2 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "self",(char *) "rect", NULL
7389 };
7390
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7394 {
7395 arg2 = &temp2;
7396 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7397 }
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 (arg1)->SetDragRect((wxRect const &)*arg2);
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 Py_INCREF(Py_None); resultobj = Py_None;
7406 return resultobj;
7407 fail:
7408 return NULL;
7409}
7410
7411
7412static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7415 wxRect result;
7416 PyObject * obj0 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = ((wxSashEvent const *)arg1)->GetDragRect();
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 {
7432 wxRect * resultptr;
7433 resultptr = new wxRect((wxRect &) result);
7434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7435 }
7436 return resultobj;
7437 fail:
7438 return NULL;
7439}
7440
7441
7442static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7445 int arg2 ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "status", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7455 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 Py_INCREF(Py_None); resultobj = Py_None;
7465 return resultobj;
7466 fail:
7467 return NULL;
7468}
7469
7470
7471static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7474 int result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = SWIG_FromInt((int)result);
7491 return resultobj;
7492 fail:
7493 return NULL;
7494}
7495
7496
7497static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7498 PyObject *obj;
7499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7500 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7501 Py_INCREF(obj);
7502 return Py_BuildValue((char *)"");
7503}
7504static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 int arg1 = (int) 0 ;
7507 wxQueryLayoutInfoEvent *result;
7508 PyObject * obj0 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "id", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7514 if (obj0) {
7515 arg1 = (int) SWIG_AsInt(obj0);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7526 return resultobj;
7527 fail:
7528 return NULL;
7529}
7530
7531
7532static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7535 int arg2 ;
7536 PyObject * obj0 = 0 ;
7537 PyObject * obj1 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self",(char *) "length", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7545 arg2 = (int) SWIG_AsInt(obj1);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 (arg1)->SetRequestedLength(arg2);
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 Py_INCREF(Py_None); resultobj = Py_None;
7555 return resultobj;
7556 fail:
7557 return NULL;
7558}
7559
7560
7561static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7562 PyObject *resultobj;
7563 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7564 int result;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 resultobj = SWIG_FromInt((int)result);
7581 return resultobj;
7582 fail:
7583 return NULL;
7584}
7585
7586
7587static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7590 int arg2 ;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "flags", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7600 arg2 = (int) SWIG_AsInt(obj1);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 (arg1)->SetFlags(arg2);
7605
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
7609 Py_INCREF(Py_None); resultobj = Py_None;
7610 return resultobj;
7611 fail:
7612 return NULL;
7613}
7614
7615
7616static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject *resultobj;
7618 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7619 int result;
7620 PyObject * obj0 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "self", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_FromInt((int)result);
7636 return resultobj;
7637 fail:
7638 return NULL;
7639}
7640
7641
7642static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7645 wxSize *arg2 = 0 ;
7646 wxSize temp2 ;
7647 PyObject * obj0 = 0 ;
7648 PyObject * obj1 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "self",(char *) "size", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7656 {
7657 arg2 = &temp2;
7658 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7659 }
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->SetSize((wxSize const &)*arg2);
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 Py_INCREF(Py_None); resultobj = Py_None;
7668 return resultobj;
7669 fail:
7670 return NULL;
7671}
7672
7673
7674static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7677 wxSize result;
7678 PyObject * obj0 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 {
7694 wxSize * resultptr;
7695 resultptr = new wxSize((wxSize &) result);
7696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7697 }
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
7704static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7707 int arg2 ;
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
7710 char *kwnames[] = {
7711 (char *) "self",(char *) "orient", NULL
7712 };
7713
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7717 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7736 int result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_FromInt((int)result);
7753 return resultobj;
7754 fail:
7755 return NULL;
7756}
7757
7758
7759static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj;
7761 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7762 int arg2 ;
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj1 = 0 ;
7765 char *kwnames[] = {
7766 (char *) "self",(char *) "align", NULL
7767 };
7768
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7772 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 Py_INCREF(Py_None); resultobj = Py_None;
7782 return resultobj;
7783 fail:
7784 return NULL;
7785}
7786
7787
7788static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7791 int result;
7792 PyObject * obj0 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = SWIG_FromInt((int)result);
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
7814static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7815 PyObject *obj;
7816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7817 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7818 Py_INCREF(obj);
7819 return Py_BuildValue((char *)"");
7820}
7821static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 int arg1 = (int) 0 ;
7824 wxCalculateLayoutEvent *result;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "id", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7831 if (obj0) {
7832 arg1 = (int) SWIG_AsInt(obj0);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7843 return resultobj;
7844 fail:
7845 return NULL;
7846}
7847
7848
7849static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7852 int arg2 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "flags", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7862 arg2 = (int) SWIG_AsInt(obj1);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->SetFlags(arg2);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
7878static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7881 int result;
7882 PyObject * obj0 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 resultobj = SWIG_FromInt((int)result);
7898 return resultobj;
7899 fail:
7900 return NULL;
7901}
7902
7903
7904static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7907 wxRect *arg2 = 0 ;
7908 wxRect temp2 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "rect", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7918 {
7919 arg2 = &temp2;
7920 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7921 }
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 (arg1)->SetRect((wxRect const &)*arg2);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 Py_INCREF(Py_None); resultobj = Py_None;
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
7936static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7939 wxRect result;
7940 PyObject * obj0 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956 wxRect * resultptr;
7957 resultptr = new wxRect((wxRect &) result);
7958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7959 }
7960 return resultobj;
7961 fail:
7962 return NULL;
7963}
7964
7965
7966static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7967 PyObject *obj;
7968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7969 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7970 Py_INCREF(obj);
7971 return Py_BuildValue((char *)"");
7972}
7973static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxWindow *arg1 = (wxWindow *) 0 ;
7976 int arg2 ;
7977 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7978 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7979 wxSize const &arg4_defvalue = wxDefaultSize ;
7980 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7981 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7982 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7983 wxString *arg6 = (wxString *) &arg6_defvalue ;
7984 wxSashLayoutWindow *result;
7985 wxPoint temp3 ;
7986 wxSize temp4 ;
7987 bool temp6 = False ;
7988 PyObject * obj0 = 0 ;
7989 PyObject * obj1 = 0 ;
7990 PyObject * obj2 = 0 ;
7991 PyObject * obj3 = 0 ;
7992 PyObject * obj4 = 0 ;
7993 PyObject * obj5 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 arg2 = (int) SWIG_AsInt(obj1);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 if (obj2) {
8004 {
8005 arg3 = &temp3;
8006 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8007 }
8008 }
8009 if (obj3) {
8010 {
8011 arg4 = &temp4;
8012 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8013 }
8014 }
8015 if (obj4) {
8016 arg5 = (long) SWIG_AsLong(obj4);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 if (obj5) {
8020 {
8021 arg6 = wxString_in_helper(obj5);
8022 if (arg6 == NULL) SWIG_fail;
8023 temp6 = True;
8024 }
8025 }
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8034 {
8035 if (temp6)
8036 delete arg6;
8037 }
8038 return resultobj;
8039 fail:
8040 {
8041 if (temp6)
8042 delete arg6;
8043 }
8044 return NULL;
8045}
8046
8047
8048static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8049 PyObject *resultobj;
8050 wxSashLayoutWindow *result;
8051 char *kwnames[] = {
8052 NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8064 return resultobj;
8065 fail:
8066 return NULL;
8067}
8068
8069
8070static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj;
8072 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8073 wxWindow *arg2 = (wxWindow *) 0 ;
8074 int arg3 ;
8075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8077 wxSize const &arg5_defvalue = wxDefaultSize ;
8078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8079 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8080 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8081 wxString *arg7 = (wxString *) &arg7_defvalue ;
8082 bool result;
8083 wxPoint temp4 ;
8084 wxSize temp5 ;
8085 bool temp7 = False ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 PyObject * obj3 = 0 ;
8090 PyObject * obj4 = 0 ;
8091 PyObject * obj5 = 0 ;
8092 PyObject * obj6 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8102 arg3 = (int) SWIG_AsInt(obj2);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 if (obj3) {
8105 {
8106 arg4 = &temp4;
8107 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8108 }
8109 }
8110 if (obj4) {
8111 {
8112 arg5 = &temp5;
8113 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8114 }
8115 }
8116 if (obj5) {
8117 arg6 = (long) SWIG_AsLong(obj5);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 if (obj6) {
8121 {
8122 arg7 = wxString_in_helper(obj6);
8123 if (arg7 == NULL) SWIG_fail;
8124 temp7 = True;
8125 }
8126 }
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 {
8135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8136 }
8137 {
8138 if (temp7)
8139 delete arg7;
8140 }
8141 return resultobj;
8142 fail:
8143 {
8144 if (temp7)
8145 delete arg7;
8146 }
8147 return NULL;
8148}
8149
8150
8151static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8152 PyObject *resultobj;
8153 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8154 int result;
8155 PyObject * obj0 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (int)(arg1)->GetAlignment();
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 resultobj = SWIG_FromInt((int)result);
8171 return resultobj;
8172 fail:
8173 return NULL;
8174}
8175
8176
8177static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8180 int result;
8181 PyObject * obj0 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = (int)(arg1)->GetOrientation();
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 resultobj = SWIG_FromInt((int)result);
8197 return resultobj;
8198 fail:
8199 return NULL;
8200}
8201
8202
8203static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8206 int arg2 ;
8207 PyObject * obj0 = 0 ;
8208 PyObject * obj1 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "alignment", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8216 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229}
8230
8231
8232static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8235 wxSize *arg2 = 0 ;
8236 wxSize temp2 ;
8237 PyObject * obj0 = 0 ;
8238 PyObject * obj1 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "size", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8246 {
8247 arg2 = &temp2;
8248 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8249 }
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 Py_INCREF(Py_None); resultobj = Py_None;
8258 return resultobj;
8259 fail:
8260 return NULL;
8261}
8262
8263
8264static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8265 PyObject *resultobj;
8266 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8267 int arg2 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self",(char *) "orientation", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8277 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
8293static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8294 PyObject *obj;
8295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8296 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8297 Py_INCREF(obj);
8298 return Py_BuildValue((char *)"");
8299}
8300static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxLayoutAlgorithm *result;
8303 char *kwnames[] = {
8304 NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8316 return resultobj;
8317 fail:
8318 return NULL;
8319}
8320
8321
8322static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8325 PyObject * obj0 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 delete arg1;
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 Py_INCREF(Py_None); resultobj = Py_None;
8341 return resultobj;
8342 fail:
8343 return NULL;
8344}
8345
8346
8347static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8350 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8351 wxRect *arg3 = (wxRect *) NULL ;
8352 bool result;
8353 PyObject * obj0 = 0 ;
8354 PyObject * obj1 = 0 ;
8355 PyObject * obj2 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "self",(char *) "frame",(char *) "rect", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8365 if (obj2) {
8366 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 {
8377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8378 }
8379 return resultobj;
8380 fail:
8381 return NULL;
8382}
8383
8384
8385static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8388 wxFrame *arg2 = (wxFrame *) 0 ;
8389 wxWindow *arg3 = (wxWindow *) NULL ;
8390 bool result;
8391 PyObject * obj0 = 0 ;
8392 PyObject * obj1 = 0 ;
8393 PyObject * obj2 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8403 if (obj2) {
8404 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8406 }
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 {
8415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8416 }
8417 return resultobj;
8418 fail:
8419 return NULL;
8420}
8421
8422
8423static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8426 wxWindow *arg2 = (wxWindow *) 0 ;
8427 wxWindow *arg3 = (wxWindow *) NULL ;
8428 bool result;
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 PyObject * obj2 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 if (obj2) {
8442 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8444 }
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 {
8453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8454 }
8455 return resultobj;
8456 fail:
8457 return NULL;
8458}
8459
8460
8461static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8462 PyObject *obj;
8463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8464 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8465 Py_INCREF(obj);
8466 return Py_BuildValue((char *)"");
8467}
8468static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8469 PyObject *resultobj;
8470 wxWindow *arg1 = (wxWindow *) 0 ;
8471 int arg2 = (int) wxBORDER_NONE ;
8472 wxPopupWindow *result;
8473 PyObject * obj0 = 0 ;
8474 PyObject * obj1 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "parent",(char *) "flags", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8482 if (obj1) {
8483 arg2 = (int) SWIG_AsInt(obj1);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 {
8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
8488 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8489
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8494 return resultobj;
8495 fail:
8496 return NULL;
8497}
8498
8499
8500static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxPopupWindow *result;
8503 char *kwnames[] = {
8504 NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxPopupWindow *)new wxPopupWindow();
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
8522static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8523 PyObject *obj;
8524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8526 Py_INCREF(obj);
8527 return Py_BuildValue((char *)"");
8528}
8529static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject *resultobj;
8531 wxWindow *arg1 = (wxWindow *) 0 ;
8532 int arg2 = (int) wxBORDER_NONE ;
8533 wxPyPopupTransientWindow *result;
8534 PyObject * obj0 = 0 ;
8535 PyObject * obj1 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "parent",(char *) "style", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8543 if (obj1) {
8544 arg2 = (int) SWIG_AsInt(obj1);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8555 return resultobj;
8556 fail:
8557 return NULL;
8558}
8559
8560
8561static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 wxPyPopupTransientWindow *result;
8564 char *kwnames[] = {
8565 NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8577 return resultobj;
8578 fail:
8579 return NULL;
8580}
8581
8582
8583static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8584 PyObject *obj;
8585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8586 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8587 Py_INCREF(obj);
8588 return Py_BuildValue((char *)"");
8589}
8590static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxWindow *arg1 = (wxWindow *) 0 ;
8593 wxString *arg2 = 0 ;
8594 int arg3 = (int) 100 ;
8595 wxRect *arg4 = (wxRect *) NULL ;
8596 wxTipWindow *result;
8597 bool temp2 = False ;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 PyObject * obj2 = 0 ;
8601 PyObject * obj3 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 {
8610 arg2 = wxString_in_helper(obj1);
8611 if (arg2 == NULL) SWIG_fail;
8612 temp2 = True;
8613 }
8614 if (obj2) {
8615 arg3 = (int) SWIG_AsInt(obj2);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 if (obj3) {
8619 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8621 }
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8630 {
8631 if (temp2)
8632 delete arg2;
8633 }
8634 return resultobj;
8635 fail:
8636 {
8637 if (temp2)
8638 delete arg2;
8639 }
8640 return NULL;
8641}
8642
8643
8644static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject *resultobj;
8646 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8647 wxRect *arg2 = 0 ;
8648 wxRect temp2 ;
8649 PyObject * obj0 = 0 ;
8650 PyObject * obj1 = 0 ;
8651 char *kwnames[] = {
8652 (char *) "self",(char *) "rectBound", NULL
8653 };
8654
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8658 {
8659 arg2 = &temp2;
8660 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8661 }
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 Py_INCREF(Py_None); resultobj = Py_None;
8670 return resultobj;
8671 fail:
8672 return NULL;
8673}
8674
8675
8676static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj;
8678 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8679 PyObject * obj0 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->Close();
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 Py_INCREF(Py_None); resultobj = Py_None;
8695 return resultobj;
8696 fail:
8697 return NULL;
8698}
8699
8700
8701static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8702 PyObject *obj;
8703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8705 Py_INCREF(obj);
8706 return Py_BuildValue((char *)"");
8707}
8708static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj;
8710 wxWindow *arg1 = (wxWindow *) 0 ;
8711 int arg2 = (int) wxID_ANY ;
8712 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8713 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8714 wxSize const &arg4_defvalue = wxDefaultSize ;
8715 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8716 long arg5 = (long) 0 ;
8717 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8718 wxString *arg6 = (wxString *) &arg6_defvalue ;
8719 wxPyVScrolledWindow *result;
8720 wxPoint temp3 ;
8721 wxSize temp4 ;
8722 bool temp6 = False ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725 PyObject * obj2 = 0 ;
8726 PyObject * obj3 = 0 ;
8727 PyObject * obj4 = 0 ;
8728 PyObject * obj5 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8736 if (obj1) {
8737 arg2 = (int) SWIG_AsInt(obj1);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 if (obj2) {
8741 {
8742 arg3 = &temp3;
8743 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8744 }
8745 }
8746 if (obj3) {
8747 {
8748 arg4 = &temp4;
8749 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8750 }
8751 }
8752 if (obj4) {
8753 arg5 = (long) SWIG_AsLong(obj4);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 if (obj5) {
8757 {
8758 arg6 = wxString_in_helper(obj5);
8759 if (arg6 == NULL) SWIG_fail;
8760 temp6 = True;
8761 }
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8771 {
8772 if (temp6)
8773 delete arg6;
8774 }
8775 return resultobj;
8776 fail:
8777 {
8778 if (temp6)
8779 delete arg6;
8780 }
8781 return NULL;
8782}
8783
8784
8785static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxPyVScrolledWindow *result;
8788 char *kwnames[] = {
8789 NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8801 return resultobj;
8802 fail:
8803 return NULL;
8804}
8805
8806
8807static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8810 PyObject *arg2 = (PyObject *) 0 ;
8811 PyObject *arg3 = (PyObject *) 0 ;
8812 PyObject * obj0 = 0 ;
8813 PyObject * obj1 = 0 ;
8814 PyObject * obj2 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self",(char *) "self",(char *) "_class", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8822 arg2 = obj1;
8823 arg3 = obj2;
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 (arg1)->_setCallbackInfo(arg2,arg3);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 Py_INCREF(Py_None); resultobj = Py_None;
8832 return resultobj;
8833 fail:
8834 return NULL;
8835}
8836
8837
8838static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8841 wxWindow *arg2 = (wxWindow *) 0 ;
8842 int arg3 = (int) wxID_ANY ;
8843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8845 wxSize const &arg5_defvalue = wxDefaultSize ;
8846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8847 long arg6 = (long) 0 ;
8848 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8849 wxString *arg7 = (wxString *) &arg7_defvalue ;
8850 bool result;
8851 wxPoint temp4 ;
8852 wxSize temp5 ;
8853 bool temp7 = False ;
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 PyObject * obj2 = 0 ;
8857 PyObject * obj3 = 0 ;
8858 PyObject * obj4 = 0 ;
8859 PyObject * obj5 = 0 ;
8860 PyObject * obj6 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8870 if (obj2) {
8871 arg3 = (int) SWIG_AsInt(obj2);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 if (obj3) {
8875 {
8876 arg4 = &temp4;
8877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8878 }
8879 }
8880 if (obj4) {
8881 {
8882 arg5 = &temp5;
8883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8884 }
8885 }
8886 if (obj5) {
8887 arg6 = (long) SWIG_AsLong(obj5);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 if (obj6) {
8891 {
8892 arg7 = wxString_in_helper(obj6);
8893 if (arg7 == NULL) SWIG_fail;
8894 temp7 = True;
8895 }
8896 }
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 {
8905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8906 }
8907 {
8908 if (temp7)
8909 delete arg7;
8910 }
8911 return resultobj;
8912 fail:
8913 {
8914 if (temp7)
8915 delete arg7;
8916 }
8917 return NULL;
8918}
8919
8920
8921static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8924 size_t arg2 ;
8925 PyObject * obj0 = 0 ;
8926 PyObject * obj1 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "count", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8934 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->SetLineCount(arg2);
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 Py_INCREF(Py_None); resultobj = Py_None;
8944 return resultobj;
8945 fail:
8946 return NULL;
8947}
8948
8949
8950static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8953 size_t arg2 ;
8954 bool result;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self",(char *) "line", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8964 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 result = (bool)(arg1)->ScrollToLine(arg2);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 {
8974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8975 }
8976 return resultobj;
8977 fail:
8978 return NULL;
8979}
8980
8981
8982static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8985 int arg2 ;
8986 bool result;
8987 PyObject * obj0 = 0 ;
8988 PyObject * obj1 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self",(char *) "lines", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8996 arg2 = (int) SWIG_AsInt(obj1);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (bool)(arg1)->ScrollLines(arg2);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 {
9006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9007 }
9008 return resultobj;
9009 fail:
9010 return NULL;
9011}
9012
9013
9014static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj;
9016 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9017 int arg2 ;
9018 bool result;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self",(char *) "pages", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9028 arg2 = (int) SWIG_AsInt(obj1);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (bool)(arg1)->ScrollPages(arg2);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 {
9038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9039 }
9040 return resultobj;
9041 fail:
9042 return NULL;
9043}
9044
9045
9046static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj;
9048 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9049 size_t arg2 ;
9050 PyObject * obj0 = 0 ;
9051 PyObject * obj1 = 0 ;
9052 char *kwnames[] = {
9053 (char *) "self",(char *) "line", NULL
9054 };
9055
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9059 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 (arg1)->RefreshLine(arg2);
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 Py_INCREF(Py_None); resultobj = Py_None;
9069 return resultobj;
9070 fail:
9071 return NULL;
9072}
9073
9074
9075static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9078 size_t arg2 ;
9079 size_t arg3 ;
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj2 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "from",(char *) "to", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 (arg1)->RefreshLines(arg2,arg3);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
9108static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9111 int arg2 ;
9112 int arg3 ;
9113 int result;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116 PyObject * obj2 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self",(char *) "x",(char *) "y", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9124 arg2 = (int) SWIG_AsInt(obj1);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 arg3 = (int) SWIG_AsInt(obj2);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = SWIG_FromInt((int)result);
9136 return resultobj;
9137 fail:
9138 return NULL;
9139}
9140
9141
9142static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9145 wxPoint *arg2 = 0 ;
9146 int result;
9147 wxPoint temp2 ;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self",(char *) "pt", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9157 {
9158 arg2 = &temp2;
9159 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9160 }
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 resultobj = SWIG_FromInt((int)result);
9169 return resultobj;
9170 fail:
9171 return NULL;
9172}
9173
9174
9175static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9178 PyObject * obj0 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->RefreshAll();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197}
9198
9199
9200static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9203 size_t result;
9204 PyObject * obj0 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9220 return resultobj;
9221 fail:
9222 return NULL;
9223}
9224
9225
9226static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9227 PyObject *resultobj;
9228 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9229 size_t result;
9230 PyObject * obj0 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9246 return resultobj;
9247 fail:
9248 return NULL;
9249}
9250
9251
9252static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9255 size_t result;
9256 PyObject * obj0 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9272 return resultobj;
9273 fail:
9274 return NULL;
9275}
9276
9277
9278static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9281 size_t arg2 ;
9282 bool result;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self",(char *) "line", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9292 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 {
9302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9303 }
9304 return resultobj;
9305 fail:
9306 return NULL;
9307}
9308
9309
9310static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9311 PyObject *obj;
9312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9313 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9314 Py_INCREF(obj);
9315 return Py_BuildValue((char *)"");
9316}
9317static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9318 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9319 return 1;
9320}
9321
9322
9323static PyObject *_wrap_VListBoxNameStr_get() {
9324 PyObject *pyobj;
9325
9326 {
9327#if wxUSE_UNICODE
9328 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9329#else
9330 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9331#endif
9332 }
9333 return pyobj;
9334}
9335
9336
9337static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxWindow *arg1 = (wxWindow *) 0 ;
9340 int arg2 = (int) wxID_ANY ;
9341 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9342 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9343 wxSize const &arg4_defvalue = wxDefaultSize ;
9344 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9345 long arg5 = (long) 0 ;
9346 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9347 wxString *arg6 = (wxString *) &arg6_defvalue ;
9348 wxPyVListBox *result;
9349 wxPoint temp3 ;
9350 wxSize temp4 ;
9351 bool temp6 = False ;
9352 PyObject * obj0 = 0 ;
9353 PyObject * obj1 = 0 ;
9354 PyObject * obj2 = 0 ;
9355 PyObject * obj3 = 0 ;
9356 PyObject * obj4 = 0 ;
9357 PyObject * obj5 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9365 if (obj1) {
9366 arg2 = (int) SWIG_AsInt(obj1);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 if (obj2) {
9370 {
9371 arg3 = &temp3;
9372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9373 }
9374 }
9375 if (obj3) {
9376 {
9377 arg4 = &temp4;
9378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9379 }
9380 }
9381 if (obj4) {
9382 arg5 = (long) SWIG_AsLong(obj4);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 if (obj5) {
9386 {
9387 arg6 = wxString_in_helper(obj5);
9388 if (arg6 == NULL) SWIG_fail;
9389 temp6 = True;
9390 }
9391 }
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9400 {
9401 if (temp6)
9402 delete arg6;
9403 }
9404 return resultobj;
9405 fail:
9406 {
9407 if (temp6)
9408 delete arg6;
9409 }
9410 return NULL;
9411}
9412
9413
9414static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj;
9416 wxPyVListBox *result;
9417 char *kwnames[] = {
9418 NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (wxPyVListBox *)new wxPyVListBox();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
9436static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9439 PyObject *arg2 = (PyObject *) 0 ;
9440 PyObject *arg3 = (PyObject *) 0 ;
9441 PyObject * obj0 = 0 ;
9442 PyObject * obj1 = 0 ;
9443 PyObject * obj2 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self",(char *) "self",(char *) "_class", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9451 arg2 = obj1;
9452 arg3 = obj2;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 (arg1)->_setCallbackInfo(arg2,arg3);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 Py_INCREF(Py_None); resultobj = Py_None;
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
9467static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9470 wxWindow *arg2 = (wxWindow *) 0 ;
9471 int arg3 = (int) wxID_ANY ;
9472 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9473 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9474 wxSize const &arg5_defvalue = wxDefaultSize ;
9475 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9476 long arg6 = (long) 0 ;
9477 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9478 wxString *arg7 = (wxString *) &arg7_defvalue ;
9479 bool result;
9480 wxPoint temp4 ;
9481 wxSize temp5 ;
9482 bool temp7 = False ;
9483 PyObject * obj0 = 0 ;
9484 PyObject * obj1 = 0 ;
9485 PyObject * obj2 = 0 ;
9486 PyObject * obj3 = 0 ;
9487 PyObject * obj4 = 0 ;
9488 PyObject * obj5 = 0 ;
9489 PyObject * obj6 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9499 if (obj2) {
9500 arg3 = (int) SWIG_AsInt(obj2);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 if (obj3) {
9504 {
9505 arg4 = &temp4;
9506 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9507 }
9508 }
9509 if (obj4) {
9510 {
9511 arg5 = &temp5;
9512 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9513 }
9514 }
9515 if (obj5) {
9516 arg6 = (long) SWIG_AsLong(obj5);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 if (obj6) {
9520 {
9521 arg7 = wxString_in_helper(obj6);
9522 if (arg7 == NULL) SWIG_fail;
9523 temp7 = True;
9524 }
9525 }
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 {
9534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9535 }
9536 {
9537 if (temp7)
9538 delete arg7;
9539 }
9540 return resultobj;
9541 fail:
9542 {
9543 if (temp7)
9544 delete arg7;
9545 }
9546 return NULL;
9547}
9548
9549
9550static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9553 size_t result;
9554 PyObject * obj0 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "self", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9570 return resultobj;
9571 fail:
9572 return NULL;
9573}
9574
9575
9576static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9579 bool result;
9580 PyObject * obj0 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "self", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9591
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 {
9596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9597 }
9598 return resultobj;
9599 fail:
9600 return NULL;
9601}
9602
9603
9604static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9607 int result;
9608 PyObject * obj0 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "self", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = SWIG_FromInt((int)result);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627}
9628
9629
9630static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9633 size_t arg2 ;
9634 bool result;
9635 PyObject * obj0 = 0 ;
9636 PyObject * obj1 = 0 ;
9637 char *kwnames[] = {
9638 (char *) "self",(char *) "item", NULL
9639 };
9640
9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9644 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9649
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 {
9654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9655 }
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
9662static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9665 size_t arg2 ;
9666 bool result;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self",(char *) "item", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9676 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 {
9686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9687 }
9688 return resultobj;
9689 fail:
9690 return NULL;
9691}
9692
9693
9694static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9697 size_t result;
9698 PyObject * obj0 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9714 return resultobj;
9715 fail:
9716 return NULL;
9717}
9718
9719
9720static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9723 unsigned long *arg2 = 0 ;
9724 int result;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self",(char *) "cookie", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9735 SWIG_POINTER_EXCEPTION | 0)) == -1)
9736 SWIG_fail;
9737 if (arg2 == NULL) {
9738 PyErr_SetString(PyExc_TypeError,"null reference");
9739 SWIG_fail;
9740 }
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 resultobj = SWIG_FromInt((int)result);
9749 return resultobj;
9750 fail:
9751 return NULL;
9752}
9753
9754
9755static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9758 unsigned long *arg2 = 0 ;
9759 int result;
9760 PyObject * obj0 = 0 ;
9761 PyObject * obj1 = 0 ;
9762 char *kwnames[] = {
9763 (char *) "self",(char *) "cookie", NULL
9764 };
9765
9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1)
9771 SWIG_fail;
9772 if (arg2 == NULL) {
9773 PyErr_SetString(PyExc_TypeError,"null reference");
9774 SWIG_fail;
9775 }
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 }
9783 resultobj = SWIG_FromInt((int)result);
9784 return resultobj;
9785 fail:
9786 return NULL;
9787}
9788
9789
9790static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9791 PyObject *resultobj;
9792 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9793 wxPoint result;
9794 PyObject * obj0 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "self", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = ((wxPyVListBox const *)arg1)->GetMargins();
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 {
9810 wxPoint * resultptr;
9811 resultptr = new wxPoint((wxPoint &) result);
9812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9813 }
9814 return resultobj;
9815 fail:
9816 return NULL;
9817}
9818
9819
9820static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj;
9822 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9823 wxColour *result;
9824 PyObject * obj0 = 0 ;
9825 char *kwnames[] = {
9826 (char *) "self", NULL
9827 };
9828
9829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 {
9835 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9836 result = (wxColour *) &_result_ref;
9837 }
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9843 return resultobj;
9844 fail:
9845 return NULL;
9846}
9847
9848
9849static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9852 size_t arg2 ;
9853 PyObject * obj0 = 0 ;
9854 PyObject * obj1 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self",(char *) "count", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9862 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 (arg1)->SetItemCount(arg2);
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
9871 Py_INCREF(Py_None); resultobj = Py_None;
9872 return resultobj;
9873 fail:
9874 return NULL;
9875}
9876
9877
9878static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 (arg1)->Clear();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 Py_INCREF(Py_None); resultobj = Py_None;
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
9903static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9906 int arg2 ;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "selection", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9916 arg2 = (int) SWIG_AsInt(obj1);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 (arg1)->SetSelection(arg2);
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 Py_INCREF(Py_None); resultobj = Py_None;
9926 return resultobj;
9927 fail:
9928 return NULL;
9929}
9930
9931
9932static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9935 size_t arg2 ;
9936 bool arg3 = (bool) True ;
9937 bool result;
9938 PyObject * obj0 = 0 ;
9939 PyObject * obj1 = 0 ;
9940 PyObject * obj2 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self",(char *) "item",(char *) "select", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9948 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 if (obj2) {
9951 arg3 = (bool) SWIG_AsBool(obj2);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = (bool)(arg1)->Select(arg2,arg3);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 {
9962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9963 }
9964 return resultobj;
9965 fail:
9966 return NULL;
9967}
9968
9969
9970static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9973 size_t arg2 ;
9974 size_t arg3 ;
9975 bool result;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj1 = 0 ;
9978 PyObject * obj2 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "from",(char *) "to", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9986 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (bool)(arg1)->SelectRange(arg2,arg3);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 {
9998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9999 }
10000 return resultobj;
10001 fail:
10002 return NULL;
10003}
10004
10005
10006static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10009 size_t arg2 ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self",(char *) "item", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10019 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 (arg1)->Toggle(arg2);
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 Py_INCREF(Py_None); resultobj = Py_None;
10029 return resultobj;
10030 fail:
10031 return NULL;
10032}
10033
10034
10035static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10038 bool result;
10039 PyObject * obj0 = 0 ;
10040 char *kwnames[] = {
10041 (char *) "self", NULL
10042 };
10043
10044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = (bool)(arg1)->SelectAll();
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 {
10055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10056 }
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
10063static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10066 bool result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 result = (bool)(arg1)->DeselectAll();
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 {
10083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10084 }
10085 return resultobj;
10086 fail:
10087 return NULL;
10088}
10089
10090
10091static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10094 wxPoint *arg2 = 0 ;
10095 wxPoint temp2 ;
10096 PyObject * obj0 = 0 ;
10097 PyObject * obj1 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self",(char *) "pt", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10105 {
10106 arg2 = &temp2;
10107 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10108 }
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 (arg1)->SetMargins((wxPoint const &)*arg2);
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 Py_INCREF(Py_None); resultobj = Py_None;
10117 return resultobj;
10118 fail:
10119 return NULL;
10120}
10121
10122
10123static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj;
10125 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10126 int arg2 ;
10127 int arg3 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 PyObject * obj2 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self",(char *) "x",(char *) "y", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10138 arg2 = (int) SWIG_AsInt(obj1);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 arg3 = (int) SWIG_AsInt(obj2);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 (arg1)->SetMargins(arg2,arg3);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 Py_INCREF(Py_None); resultobj = Py_None;
10150 return resultobj;
10151 fail:
10152 return NULL;
10153}
10154
10155
10156static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10159 wxColour *arg2 = 0 ;
10160 wxColour temp2 ;
10161 PyObject * obj0 = 0 ;
10162 PyObject * obj1 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "self",(char *) "col", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10170 {
10171 arg2 = &temp2;
10172 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10173 }
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185}
10186
10187
10188static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10189 PyObject *obj;
10190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10191 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10192 Py_INCREF(obj);
10193 return Py_BuildValue((char *)"");
10194}
10195static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxWindow *arg1 = (wxWindow *) 0 ;
10198 int arg2 = (int) wxID_ANY ;
10199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10201 wxSize const &arg4_defvalue = wxDefaultSize ;
10202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10203 long arg5 = (long) 0 ;
10204 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10205 wxString *arg6 = (wxString *) &arg6_defvalue ;
10206 wxPyHtmlListBox *result;
10207 wxPoint temp3 ;
10208 wxSize temp4 ;
10209 bool temp6 = False ;
10210 PyObject * obj0 = 0 ;
10211 PyObject * obj1 = 0 ;
10212 PyObject * obj2 = 0 ;
10213 PyObject * obj3 = 0 ;
10214 PyObject * obj4 = 0 ;
10215 PyObject * obj5 = 0 ;
10216 char *kwnames[] = {
10217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10218 };
10219
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10223 if (obj1) {
10224 arg2 = (int) SWIG_AsInt(obj1);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 if (obj2) {
10228 {
10229 arg3 = &temp3;
10230 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10231 }
10232 }
10233 if (obj3) {
10234 {
10235 arg4 = &temp4;
10236 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10237 }
10238 }
10239 if (obj4) {
10240 arg5 = (long) SWIG_AsLong(obj4);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 if (obj5) {
10244 {
10245 arg6 = wxString_in_helper(obj5);
10246 if (arg6 == NULL) SWIG_fail;
10247 temp6 = True;
10248 }
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10258 {
10259 if (temp6)
10260 delete arg6;
10261 }
10262 return resultobj;
10263 fail:
10264 {
10265 if (temp6)
10266 delete arg6;
10267 }
10268 return NULL;
10269}
10270
10271
10272static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj;
10274 wxPyHtmlListBox *result;
10275 char *kwnames[] = {
10276 NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10288 return resultobj;
10289 fail:
10290 return NULL;
10291}
10292
10293
10294static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10297 PyObject *arg2 = (PyObject *) 0 ;
10298 PyObject *arg3 = (PyObject *) 0 ;
10299 PyObject * obj0 = 0 ;
10300 PyObject * obj1 = 0 ;
10301 PyObject * obj2 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self",(char *) "self",(char *) "_class", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10309 arg2 = obj1;
10310 arg3 = obj2;
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->_setCallbackInfo(arg2,arg3);
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 Py_INCREF(Py_None); resultobj = Py_None;
10319 return resultobj;
10320 fail:
10321 return NULL;
10322}
10323
10324
10325static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10328 wxWindow *arg2 = (wxWindow *) 0 ;
10329 int arg3 = (int) wxID_ANY ;
10330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10332 wxSize const &arg5_defvalue = wxDefaultSize ;
10333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10334 long arg6 = (long) 0 ;
10335 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10336 wxString *arg7 = (wxString *) &arg7_defvalue ;
10337 bool result;
10338 wxPoint temp4 ;
10339 wxSize temp5 ;
10340 bool temp7 = False ;
10341 PyObject * obj0 = 0 ;
10342 PyObject * obj1 = 0 ;
10343 PyObject * obj2 = 0 ;
10344 PyObject * obj3 = 0 ;
10345 PyObject * obj4 = 0 ;
10346 PyObject * obj5 = 0 ;
10347 PyObject * obj6 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10357 if (obj2) {
10358 arg3 = (int) SWIG_AsInt(obj2);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 if (obj3) {
10362 {
10363 arg4 = &temp4;
10364 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10365 }
10366 }
10367 if (obj4) {
10368 {
10369 arg5 = &temp5;
10370 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10371 }
10372 }
10373 if (obj5) {
10374 arg6 = (long) SWIG_AsLong(obj5);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 if (obj6) {
10378 {
10379 arg7 = wxString_in_helper(obj6);
10380 if (arg7 == NULL) SWIG_fail;
10381 temp7 = True;
10382 }
10383 }
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 {
10392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10393 }
10394 {
10395 if (temp7)
10396 delete arg7;
10397 }
10398 return resultobj;
10399 fail:
10400 {
10401 if (temp7)
10402 delete arg7;
10403 }
10404 return NULL;
10405}
10406
10407
10408static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 (arg1)->RefreshAll();
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 Py_INCREF(Py_None); resultobj = Py_None;
10427 return resultobj;
10428 fail:
10429 return NULL;
10430}
10431
10432
10433static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10436 size_t arg2 ;
10437 PyObject * obj0 = 0 ;
10438 PyObject * obj1 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self",(char *) "count", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10446 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 (arg1)->SetItemCount(arg2);
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 Py_INCREF(Py_None); resultobj = Py_None;
10456 return resultobj;
10457 fail:
10458 return NULL;
10459}
10460
10461
d6c14a4c
RD
10462static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10465 wxFileSystem *result;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 {
10477 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10478 result = (wxFileSystem *) &_result_ref;
10479 }
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10485 return resultobj;
10486 fail:
10487 return NULL;
10488}
10489
10490
d55e5bfc
RD
10491static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10492 PyObject *obj;
10493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10494 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10495 Py_INCREF(obj);
10496 return Py_BuildValue((char *)"");
10497}
10498static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10499 PyObject *resultobj;
10500 wxTaskBarIcon *result;
10501 char *kwnames[] = {
10502 NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10514 return resultobj;
10515 fail:
10516 return NULL;
10517}
10518
10519
10520static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10523 PyObject * obj0 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 delete arg1;
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 Py_INCREF(Py_None); resultobj = Py_None;
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
10545static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10548 PyObject * obj0 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 wxTaskBarIcon_Destroy(arg1);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 return resultobj;
10565 fail:
10566 return NULL;
10567}
10568
10569
10570static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10571 PyObject *obj;
10572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10573 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10574 Py_INCREF(obj);
10575 return Py_BuildValue((char *)"");
10576}
10577static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxEventType arg1 ;
10580 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10581 wxTaskBarIconEvent *result;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj1 = 0 ;
10584 char *kwnames[] = {
10585 (char *) "evtType",(char *) "tbIcon", NULL
10586 };
10587
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10589 arg1 = (wxEventType) SWIG_AsInt(obj0);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10596
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10601 return resultobj;
10602 fail:
10603 return NULL;
10604}
10605
10606
10607static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10608 PyObject *obj;
10609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10610 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10611 Py_INCREF(obj);
10612 return Py_BuildValue((char *)"");
10613}
10614static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10615 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10616 return 1;
10617}
10618
10619
10620static PyObject *_wrap_FileSelectorPromptStr_get() {
10621 PyObject *pyobj;
10622
10623 {
10624#if wxUSE_UNICODE
10625 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10626#else
10627 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10628#endif
10629 }
10630 return pyobj;
10631}
10632
10633
10634static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10635 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10636 return 1;
10637}
10638
10639
10640static PyObject *_wrap_DirSelectorPromptStr_get() {
10641 PyObject *pyobj;
10642
10643 {
10644#if wxUSE_UNICODE
10645 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10646#else
10647 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10648#endif
10649 }
10650 return pyobj;
10651}
10652
10653
10654static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10655 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10656 return 1;
10657}
10658
10659
10660static PyObject *_wrap_DirDialogNameStr_get() {
10661 PyObject *pyobj;
10662
10663 {
10664#if wxUSE_UNICODE
10665 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10666#else
10667 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10668#endif
10669 }
10670 return pyobj;
10671}
10672
10673
10674static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10675 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10676 return 1;
10677}
10678
10679
10680static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10681 PyObject *pyobj;
10682
10683 {
10684#if wxUSE_UNICODE
10685 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10686#else
10687 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10688#endif
10689 }
10690 return pyobj;
10691}
10692
10693
10694static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10695 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10696 return 1;
10697}
10698
10699
10700static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10701 PyObject *pyobj;
10702
10703 {
10704#if wxUSE_UNICODE
10705 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10706#else
10707 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10708#endif
10709 }
10710 return pyobj;
10711}
10712
10713
10714static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10715 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10716 return 1;
10717}
10718
10719
10720static PyObject *_wrap_MessageBoxCaptionStr_get() {
10721 PyObject *pyobj;
10722
10723 {
10724#if wxUSE_UNICODE
10725 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10726#else
10727 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10728#endif
10729 }
10730 return pyobj;
10731}
10732
10733
10734static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10735 PyObject *resultobj;
10736 wxColourData *result;
10737 char *kwnames[] = {
10738 NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (wxColourData *)new wxColourData();
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10750 return resultobj;
10751 fail:
10752 return NULL;
10753}
10754
10755
10756static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxColourData *arg1 = (wxColourData *) 0 ;
10759 PyObject * obj0 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 delete arg1;
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 Py_INCREF(Py_None); resultobj = Py_None;
10775 return resultobj;
10776 fail:
10777 return NULL;
10778}
10779
10780
10781static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxColourData *arg1 = (wxColourData *) 0 ;
10784 bool result;
10785 PyObject * obj0 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 result = (bool)(arg1)->GetChooseFull();
10796
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 {
10801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10802 }
10803 return resultobj;
10804 fail:
10805 return NULL;
10806}
10807
10808
10809static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxColourData *arg1 = (wxColourData *) 0 ;
10812 wxColour result;
10813 PyObject * obj0 = 0 ;
10814 char *kwnames[] = {
10815 (char *) "self", NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 result = (arg1)->GetColour();
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 {
10829 wxColour * resultptr;
10830 resultptr = new wxColour((wxColour &) result);
10831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10832 }
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
10839static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj;
10841 wxColourData *arg1 = (wxColourData *) 0 ;
10842 int arg2 ;
10843 wxColour result;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "i", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10853 arg2 = (int) SWIG_AsInt(obj1);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 result = (arg1)->GetCustomColour(arg2);
10858
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 {
10863 wxColour * resultptr;
10864 resultptr = new wxColour((wxColour &) result);
10865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10866 }
10867 return resultobj;
10868 fail:
10869 return NULL;
10870}
10871
10872
10873static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj;
10875 wxColourData *arg1 = (wxColourData *) 0 ;
10876 int arg2 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "flag", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10886 arg2 = (int) SWIG_AsInt(obj1);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 (arg1)->SetChooseFull(arg2);
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 Py_INCREF(Py_None); resultobj = Py_None;
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
10902static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxColourData *arg1 = (wxColourData *) 0 ;
10905 wxColour *arg2 = 0 ;
10906 wxColour temp2 ;
10907 PyObject * obj0 = 0 ;
10908 PyObject * obj1 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self",(char *) "colour", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10916 {
10917 arg2 = &temp2;
10918 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10919 }
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 (arg1)->SetColour((wxColour const &)*arg2);
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 Py_INCREF(Py_None); resultobj = Py_None;
10928 return resultobj;
10929 fail:
10930 return NULL;
10931}
10932
10933
10934static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject *resultobj;
10936 wxColourData *arg1 = (wxColourData *) 0 ;
10937 int arg2 ;
10938 wxColour *arg3 = 0 ;
10939 wxColour temp3 ;
10940 PyObject * obj0 = 0 ;
10941 PyObject * obj1 = 0 ;
10942 PyObject * obj2 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "i",(char *) "colour", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10950 arg2 = (int) SWIG_AsInt(obj1);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 {
10953 arg3 = &temp3;
10954 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10955 }
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 Py_INCREF(Py_None); resultobj = Py_None;
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
10970static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10971 PyObject *obj;
10972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10973 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10974 Py_INCREF(obj);
10975 return Py_BuildValue((char *)"");
10976}
10977static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj;
10979 wxWindow *arg1 = (wxWindow *) 0 ;
10980 wxColourData *arg2 = (wxColourData *) NULL ;
10981 wxColourDialog *result;
10982 PyObject * obj0 = 0 ;
10983 PyObject * obj1 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "parent",(char *) "data", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10991 if (obj1) {
10992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10994 }
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11003 return resultobj;
11004 fail:
11005 return NULL;
11006}
11007
11008
11009static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11012 wxColourData *result;
11013 PyObject * obj0 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 {
11024 wxColourData &_result_ref = (arg1)->GetColourData();
11025 result = (wxColourData *) &_result_ref;
11026 }
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11032 return resultobj;
11033 fail:
11034 return NULL;
11035}
11036
11037
11038static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11039 PyObject *obj;
11040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11041 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11042 Py_INCREF(obj);
11043 return Py_BuildValue((char *)"");
11044}
11045static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxWindow *arg1 = (wxWindow *) 0 ;
11048 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11049 wxString *arg2 = (wxString *) &arg2_defvalue ;
11050 wxString const &arg3_defvalue = wxPyEmptyString ;
11051 wxString *arg3 = (wxString *) &arg3_defvalue ;
11052 long arg4 = (long) 0 ;
11053 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11054 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11055 wxSize const &arg6_defvalue = wxDefaultSize ;
11056 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11057 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11058 wxString *arg7 = (wxString *) &arg7_defvalue ;
11059 wxDirDialog *result;
11060 bool temp2 = False ;
11061 bool temp3 = False ;
11062 wxPoint temp5 ;
11063 wxSize temp6 ;
11064 bool temp7 = False ;
11065 PyObject * obj0 = 0 ;
11066 PyObject * obj1 = 0 ;
11067 PyObject * obj2 = 0 ;
11068 PyObject * obj3 = 0 ;
11069 PyObject * obj4 = 0 ;
11070 PyObject * obj5 = 0 ;
11071 PyObject * obj6 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11079 if (obj1) {
11080 {
11081 arg2 = wxString_in_helper(obj1);
11082 if (arg2 == NULL) SWIG_fail;
11083 temp2 = True;
11084 }
11085 }
11086 if (obj2) {
11087 {
11088 arg3 = wxString_in_helper(obj2);
11089 if (arg3 == NULL) SWIG_fail;
11090 temp3 = True;
11091 }
11092 }
11093 if (obj3) {
11094 arg4 = (long) SWIG_AsLong(obj3);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 if (obj4) {
11098 {
11099 arg5 = &temp5;
11100 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11101 }
11102 }
11103 if (obj5) {
11104 {
11105 arg6 = &temp6;
11106 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11107 }
11108 }
11109 if (obj6) {
11110 {
11111 arg7 = wxString_in_helper(obj6);
11112 if (arg7 == NULL) SWIG_fail;
11113 temp7 = True;
11114 }
11115 }
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11119
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11124 {
11125 if (temp2)
11126 delete arg2;
11127 }
11128 {
11129 if (temp3)
11130 delete arg3;
11131 }
11132 {
11133 if (temp7)
11134 delete arg7;
11135 }
11136 return resultobj;
11137 fail:
11138 {
11139 if (temp2)
11140 delete arg2;
11141 }
11142 {
11143 if (temp3)
11144 delete arg3;
11145 }
11146 {
11147 if (temp7)
11148 delete arg7;
11149 }
11150 return NULL;
11151}
11152
11153
11154static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj;
11156 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11157 wxString result;
11158 PyObject * obj0 = 0 ;
11159 char *kwnames[] = {
11160 (char *) "self", NULL
11161 };
11162
11163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (arg1)->GetPath();
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 {
11174#if wxUSE_UNICODE
11175 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11176#else
11177 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11178#endif
11179 }
11180 return resultobj;
11181 fail:
11182 return NULL;
11183}
11184
11185
11186static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11189 wxString result;
11190 PyObject * obj0 = 0 ;
11191 char *kwnames[] = {
11192 (char *) "self", NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (arg1)->GetMessage();
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206#if wxUSE_UNICODE
11207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11208#else
11209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11210#endif
11211 }
11212 return resultobj;
11213 fail:
11214 return NULL;
11215}
11216
11217
11218static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11221 long result;
11222 PyObject * obj0 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 result = (long)(arg1)->GetStyle();
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 resultobj = SWIG_FromLong((long)result);
11238 return resultobj;
11239 fail:
11240 return NULL;
11241}
11242
11243
11244static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11247 wxString *arg2 = 0 ;
11248 bool temp2 = False ;
11249 PyObject * obj0 = 0 ;
11250 PyObject * obj1 = 0 ;
11251 char *kwnames[] = {
11252 (char *) "self",(char *) "message", NULL
11253 };
11254
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11258 {
11259 arg2 = wxString_in_helper(obj1);
11260 if (arg2 == NULL) SWIG_fail;
11261 temp2 = True;
11262 }
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 (arg1)->SetMessage((wxString const &)*arg2);
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 Py_INCREF(Py_None); resultobj = Py_None;
11271 {
11272 if (temp2)
11273 delete arg2;
11274 }
11275 return resultobj;
11276 fail:
11277 {
11278 if (temp2)
11279 delete arg2;
11280 }
11281 return NULL;
11282}
11283
11284
11285static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11286 PyObject *resultobj;
11287 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11288 wxString *arg2 = 0 ;
11289 bool temp2 = False ;
11290 PyObject * obj0 = 0 ;
11291 PyObject * obj1 = 0 ;
11292 char *kwnames[] = {
11293 (char *) "self",(char *) "path", NULL
11294 };
11295
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11299 {
11300 arg2 = wxString_in_helper(obj1);
11301 if (arg2 == NULL) SWIG_fail;
11302 temp2 = True;
11303 }
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 (arg1)->SetPath((wxString const &)*arg2);
11307
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 Py_INCREF(Py_None); resultobj = Py_None;
11312 {
11313 if (temp2)
11314 delete arg2;
11315 }
11316 return resultobj;
11317 fail:
11318 {
11319 if (temp2)
11320 delete arg2;
11321 }
11322 return NULL;
11323}
11324
11325
11326static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11327 PyObject *obj;
11328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11329 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11330 Py_INCREF(obj);
11331 return Py_BuildValue((char *)"");
11332}
11333static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxWindow *arg1 = (wxWindow *) 0 ;
11336 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11337 wxString *arg2 = (wxString *) &arg2_defvalue ;
11338 wxString const &arg3_defvalue = wxPyEmptyString ;
11339 wxString *arg3 = (wxString *) &arg3_defvalue ;
11340 wxString const &arg4_defvalue = wxPyEmptyString ;
11341 wxString *arg4 = (wxString *) &arg4_defvalue ;
11342 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11343 wxString *arg5 = (wxString *) &arg5_defvalue ;
11344 long arg6 = (long) 0 ;
11345 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11346 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11347 wxFileDialog *result;
11348 bool temp2 = False ;
11349 bool temp3 = False ;
11350 bool temp4 = False ;
11351 bool temp5 = False ;
11352 wxPoint temp7 ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 PyObject * obj2 = 0 ;
11356 PyObject * obj3 = 0 ;
11357 PyObject * obj4 = 0 ;
11358 PyObject * obj5 = 0 ;
11359 PyObject * obj6 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11367 if (obj1) {
11368 {
11369 arg2 = wxString_in_helper(obj1);
11370 if (arg2 == NULL) SWIG_fail;
11371 temp2 = True;
11372 }
11373 }
11374 if (obj2) {
11375 {
11376 arg3 = wxString_in_helper(obj2);
11377 if (arg3 == NULL) SWIG_fail;
11378 temp3 = True;
11379 }
11380 }
11381 if (obj3) {
11382 {
11383 arg4 = wxString_in_helper(obj3);
11384 if (arg4 == NULL) SWIG_fail;
11385 temp4 = True;
11386 }
11387 }
11388 if (obj4) {
11389 {
11390 arg5 = wxString_in_helper(obj4);
11391 if (arg5 == NULL) SWIG_fail;
11392 temp5 = True;
11393 }
11394 }
11395 if (obj5) {
11396 arg6 = (long) SWIG_AsLong(obj5);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 if (obj6) {
11400 {
11401 arg7 = &temp7;
11402 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11403 }
11404 }
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11413 {
11414 if (temp2)
11415 delete arg2;
11416 }
11417 {
11418 if (temp3)
11419 delete arg3;
11420 }
11421 {
11422 if (temp4)
11423 delete arg4;
11424 }
11425 {
11426 if (temp5)
11427 delete arg5;
11428 }
11429 return resultobj;
11430 fail:
11431 {
11432 if (temp2)
11433 delete arg2;
11434 }
11435 {
11436 if (temp3)
11437 delete arg3;
11438 }
11439 {
11440 if (temp4)
11441 delete arg4;
11442 }
11443 {
11444 if (temp5)
11445 delete arg5;
11446 }
11447 return NULL;
11448}
11449
11450
11451static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11454 wxString *arg2 = 0 ;
11455 bool temp2 = False ;
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "self",(char *) "message", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11465 {
11466 arg2 = wxString_in_helper(obj1);
11467 if (arg2 == NULL) SWIG_fail;
11468 temp2 = True;
11469 }
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 (arg1)->SetMessage((wxString const &)*arg2);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 Py_INCREF(Py_None); resultobj = Py_None;
11478 {
11479 if (temp2)
11480 delete arg2;
11481 }
11482 return resultobj;
11483 fail:
11484 {
11485 if (temp2)
11486 delete arg2;
11487 }
11488 return NULL;
11489}
11490
11491
11492static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj;
11494 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11495 wxString *arg2 = 0 ;
11496 bool temp2 = False ;
11497 PyObject * obj0 = 0 ;
11498 PyObject * obj1 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self",(char *) "path", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11506 {
11507 arg2 = wxString_in_helper(obj1);
11508 if (arg2 == NULL) SWIG_fail;
11509 temp2 = True;
11510 }
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 (arg1)->SetPath((wxString const &)*arg2);
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 Py_INCREF(Py_None); resultobj = Py_None;
11519 {
11520 if (temp2)
11521 delete arg2;
11522 }
11523 return resultobj;
11524 fail:
11525 {
11526 if (temp2)
11527 delete arg2;
11528 }
11529 return NULL;
11530}
11531
11532
11533static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11536 wxString *arg2 = 0 ;
11537 bool temp2 = False ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self",(char *) "dir", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11547 {
11548 arg2 = wxString_in_helper(obj1);
11549 if (arg2 == NULL) SWIG_fail;
11550 temp2 = True;
11551 }
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 (arg1)->SetDirectory((wxString const &)*arg2);
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 Py_INCREF(Py_None); resultobj = Py_None;
11560 {
11561 if (temp2)
11562 delete arg2;
11563 }
11564 return resultobj;
11565 fail:
11566 {
11567 if (temp2)
11568 delete arg2;
11569 }
11570 return NULL;
11571}
11572
11573
11574static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11577 wxString *arg2 = 0 ;
11578 bool temp2 = False ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "name", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11588 {
11589 arg2 = wxString_in_helper(obj1);
11590 if (arg2 == NULL) SWIG_fail;
11591 temp2 = True;
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->SetFilename((wxString const &)*arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 {
11602 if (temp2)
11603 delete arg2;
11604 }
11605 return resultobj;
11606 fail:
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 return NULL;
11612}
11613
11614
11615static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11618 wxString *arg2 = 0 ;
11619 bool temp2 = False ;
11620 PyObject * obj0 = 0 ;
11621 PyObject * obj1 = 0 ;
11622 char *kwnames[] = {
11623 (char *) "self",(char *) "wildCard", NULL
11624 };
11625
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11629 {
11630 arg2 = wxString_in_helper(obj1);
11631 if (arg2 == NULL) SWIG_fail;
11632 temp2 = True;
11633 }
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 (arg1)->SetWildcard((wxString const &)*arg2);
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 Py_INCREF(Py_None); resultobj = Py_None;
11642 {
11643 if (temp2)
11644 delete arg2;
11645 }
11646 return resultobj;
11647 fail:
11648 {
11649 if (temp2)
11650 delete arg2;
11651 }
11652 return NULL;
11653}
11654
11655
11656static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj;
11658 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11659 long arg2 ;
11660 PyObject * obj0 = 0 ;
11661 PyObject * obj1 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self",(char *) "style", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11669 arg2 = (long) SWIG_AsLong(obj1);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 (arg1)->SetStyle(arg2);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 Py_INCREF(Py_None); resultobj = Py_None;
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
11685static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11688 int arg2 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "filterIndex", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 arg2 = (int) SWIG_AsInt(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetFilterIndex(arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 return resultobj;
11709 fail:
11710 return NULL;
11711}
11712
11713
11714static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11717 wxString result;
11718 PyObject * obj0 = 0 ;
11719 char *kwnames[] = {
11720 (char *) "self", NULL
11721 };
11722
11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11726 {
11727 PyThreadState* __tstate = wxPyBeginAllowThreads();
11728 result = ((wxFileDialog const *)arg1)->GetMessage();
11729
11730 wxPyEndAllowThreads(__tstate);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 {
11734#if wxUSE_UNICODE
11735 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11736#else
11737 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11738#endif
11739 }
11740 return resultobj;
11741 fail:
11742 return NULL;
11743}
11744
11745
11746static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11749 wxString result;
11750 PyObject * obj0 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 result = ((wxFileDialog const *)arg1)->GetPath();
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 {
11766#if wxUSE_UNICODE
11767 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11768#else
11769 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11770#endif
11771 }
11772 return resultobj;
11773 fail:
11774 return NULL;
11775}
11776
11777
11778static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11781 wxString result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = ((wxFileDialog const *)arg1)->GetDirectory();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 {
11798#if wxUSE_UNICODE
11799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11800#else
11801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11802#endif
11803 }
11804 return resultobj;
11805 fail:
11806 return NULL;
11807}
11808
11809
11810static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj;
11812 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11813 wxString result;
11814 PyObject * obj0 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 result = ((wxFileDialog const *)arg1)->GetFilename();
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 {
11830#if wxUSE_UNICODE
11831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11832#else
11833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11834#endif
11835 }
11836 return resultobj;
11837 fail:
11838 return NULL;
11839}
11840
11841
11842static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11843 PyObject *resultobj;
11844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11845 wxString result;
11846 PyObject * obj0 = 0 ;
11847 char *kwnames[] = {
11848 (char *) "self", NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11854 {
11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
11856 result = ((wxFileDialog const *)arg1)->GetWildcard();
11857
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 {
11862#if wxUSE_UNICODE
11863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11864#else
11865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11866#endif
11867 }
11868 return resultobj;
11869 fail:
11870 return NULL;
11871}
11872
11873
11874static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11875 PyObject *resultobj;
11876 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11877 long result;
11878 PyObject * obj0 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = SWIG_FromLong((long)result);
11894 return resultobj;
11895 fail:
11896 return NULL;
11897}
11898
11899
11900static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11903 int result;
11904 PyObject * obj0 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 resultobj = SWIG_FromInt((int)result);
11920 return resultobj;
11921 fail:
11922 return NULL;
11923}
11924
11925
11926static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11927 PyObject *resultobj;
11928 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11929 PyObject *result;
11930 PyObject * obj0 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "self", NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 resultobj = result;
11946 return resultobj;
11947 fail:
11948 return NULL;
11949}
11950
11951
11952static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj;
11954 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11955 PyObject *result;
11956 PyObject * obj0 = 0 ;
11957 char *kwnames[] = {
11958 (char *) "self", NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11964 {
11965 PyThreadState* __tstate = wxPyBeginAllowThreads();
11966 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11967
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 resultobj = result;
11972 return resultobj;
11973 fail:
11974 return NULL;
11975}
11976
11977
11978static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11979 PyObject *obj;
11980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11981 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11982 Py_INCREF(obj);
11983 return Py_BuildValue((char *)"");
11984}
11985static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj;
11987 wxWindow *arg1 = (wxWindow *) 0 ;
11988 wxString *arg2 = 0 ;
11989 wxString *arg3 = 0 ;
11990 int arg4 = (int) 0 ;
11991 wxString *arg5 = (wxString *) 0 ;
11992 long arg6 = (long) wxCHOICEDLG_STYLE ;
11993 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11994 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11995 wxMultiChoiceDialog *result;
11996 bool temp2 = False ;
11997 bool temp3 = False ;
11998 wxPoint temp6 ;
11999 PyObject * obj0 = 0 ;
12000 PyObject * obj1 = 0 ;
12001 PyObject * obj2 = 0 ;
12002 PyObject * obj3 = 0 ;
12003 PyObject * obj4 = 0 ;
12004 PyObject * obj5 = 0 ;
12005 char *kwnames[] = {
12006 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12007 };
12008
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12012 {
12013 arg2 = wxString_in_helper(obj1);
12014 if (arg2 == NULL) SWIG_fail;
12015 temp2 = True;
12016 }
12017 {
12018 arg3 = wxString_in_helper(obj2);
12019 if (arg3 == NULL) SWIG_fail;
12020 temp3 = True;
12021 }
12022 if (obj3) {
12023 {
12024 arg4 = PyList_Size(obj3);
12025 arg5 = wxString_LIST_helper(obj3);
12026 if (arg5 == NULL) SWIG_fail;
12027 }
12028 }
12029 if (obj4) {
12030 arg6 = (long) SWIG_AsLong(obj4);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 if (obj5) {
12034 {
12035 arg7 = &temp6;
12036 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12037 }
12038 }
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12047 {
12048 if (temp2)
12049 delete arg2;
12050 }
12051 {
12052 if (temp3)
12053 delete arg3;
12054 }
12055 {
12056 if (arg5) delete [] arg5;
12057 }
12058 return resultobj;
12059 fail:
12060 {
12061 if (temp2)
12062 delete arg2;
12063 }
12064 {
12065 if (temp3)
12066 delete arg3;
12067 }
12068 {
12069 if (arg5) delete [] arg5;
12070 }
12071 return NULL;
12072}
12073
12074
12075static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12078 wxArrayInt *arg2 = 0 ;
12079 bool temp2 = False ;
12080 PyObject * obj0 = 0 ;
12081 PyObject * obj1 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self",(char *) "selections", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12089 {
12090 if (! PySequence_Check(obj1)) {
12091 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12092 SWIG_fail;
12093 }
12094 arg2 = new wxArrayInt;
12095 temp2 = True;
12096 int i, len=PySequence_Length(obj1);
12097 for (i=0; i<len; i++) {
12098 PyObject* item = PySequence_GetItem(obj1, i);
12099 PyObject* number = PyNumber_Int(item);
12100 arg2->Add(PyInt_AS_LONG(number));
12101 Py_DECREF(item);
12102 Py_DECREF(number);
12103 }
12104 }
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12108
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 Py_INCREF(Py_None); resultobj = Py_None;
12113 {
12114 if (temp2) delete arg2;
12115 }
12116 return resultobj;
12117 fail:
12118 {
12119 if (temp2) delete arg2;
12120 }
12121 return NULL;
12122}
12123
12124
12125static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12128 PyObject *result;
12129 PyObject * obj0 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 resultobj = result;
12145 return resultobj;
12146 fail:
12147 return NULL;
12148}
12149
12150
12151static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12152 PyObject *obj;
12153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12154 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12155 Py_INCREF(obj);
12156 return Py_BuildValue((char *)"");
12157}
12158static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxWindow *arg1 = (wxWindow *) 0 ;
12161 wxString *arg2 = 0 ;
12162 wxString *arg3 = 0 ;
12163 int arg4 ;
12164 wxString *arg5 = (wxString *) 0 ;
12165 long arg6 = (long) wxCHOICEDLG_STYLE ;
12166 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12167 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12168 wxSingleChoiceDialog *result;
12169 bool temp2 = False ;
12170 bool temp3 = False ;
12171 wxPoint temp6 ;
12172 PyObject * obj0 = 0 ;
12173 PyObject * obj1 = 0 ;
12174 PyObject * obj2 = 0 ;
12175 PyObject * obj3 = 0 ;
12176 PyObject * obj4 = 0 ;
12177 PyObject * obj5 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12185 {
12186 arg2 = wxString_in_helper(obj1);
12187 if (arg2 == NULL) SWIG_fail;
12188 temp2 = True;
12189 }
12190 {
12191 arg3 = wxString_in_helper(obj2);
12192 if (arg3 == NULL) SWIG_fail;
12193 temp3 = True;
12194 }
12195 {
12196 arg4 = PyList_Size(obj3);
12197 arg5 = wxString_LIST_helper(obj3);
12198 if (arg5 == NULL) SWIG_fail;
12199 }
12200 if (obj4) {
12201 arg6 = (long) SWIG_AsLong(obj4);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 if (obj5) {
12205 {
12206 arg7 = &temp6;
12207 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12208 }
12209 }
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12218 {
12219 if (temp2)
12220 delete arg2;
12221 }
12222 {
12223 if (temp3)
12224 delete arg3;
12225 }
12226 {
12227 if (arg5) delete [] arg5;
12228 }
12229 return resultobj;
12230 fail:
12231 {
12232 if (temp2)
12233 delete arg2;
12234 }
12235 {
12236 if (temp3)
12237 delete arg3;
12238 }
12239 {
12240 if (arg5) delete [] arg5;
12241 }
12242 return NULL;
12243}
12244
12245
12246static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj;
12248 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12249 int result;
12250 PyObject * obj0 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 result = (int)(arg1)->GetSelection();
12261
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 resultobj = SWIG_FromInt((int)result);
12266 return resultobj;
12267 fail:
12268 return NULL;
12269}
12270
12271
12272static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12275 wxString result;
12276 PyObject * obj0 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 result = (arg1)->GetStringSelection();
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 {
12292#if wxUSE_UNICODE
12293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12294#else
12295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12296#endif
12297 }
12298 return resultobj;
12299 fail:
12300 return NULL;
12301}
12302
12303
12304static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12305 PyObject *resultobj;
12306 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12307 int arg2 ;
12308 PyObject * obj0 = 0 ;
12309 PyObject * obj1 = 0 ;
12310 char *kwnames[] = {
12311 (char *) "self",(char *) "sel", NULL
12312 };
12313
12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12317 arg2 = (int) SWIG_AsInt(obj1);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 (arg1)->SetSelection(arg2);
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 Py_INCREF(Py_None); resultobj = Py_None;
12327 return resultobj;
12328 fail:
12329 return NULL;
12330}
12331
12332
12333static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12334 PyObject *obj;
12335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12336 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12337 Py_INCREF(obj);
12338 return Py_BuildValue((char *)"");
12339}
12340static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxWindow *arg1 = (wxWindow *) 0 ;
12343 wxString *arg2 = 0 ;
12344 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12345 wxString *arg3 = (wxString *) &arg3_defvalue ;
12346 wxString const &arg4_defvalue = wxPyEmptyString ;
12347 wxString *arg4 = (wxString *) &arg4_defvalue ;
12348 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12349 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12350 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12351 wxTextEntryDialog *result;
12352 bool temp2 = False ;
12353 bool temp3 = False ;
12354 bool temp4 = False ;
12355 wxPoint temp6 ;
12356 PyObject * obj0 = 0 ;
12357 PyObject * obj1 = 0 ;
12358 PyObject * obj2 = 0 ;
12359 PyObject * obj3 = 0 ;
12360 PyObject * obj4 = 0 ;
12361 PyObject * obj5 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12369 {
12370 arg2 = wxString_in_helper(obj1);
12371 if (arg2 == NULL) SWIG_fail;
12372 temp2 = True;
12373 }
12374 if (obj2) {
12375 {
12376 arg3 = wxString_in_helper(obj2);
12377 if (arg3 == NULL) SWIG_fail;
12378 temp3 = True;
12379 }
12380 }
12381 if (obj3) {
12382 {
12383 arg4 = wxString_in_helper(obj3);
12384 if (arg4 == NULL) SWIG_fail;
12385 temp4 = True;
12386 }
12387 }
12388 if (obj4) {
12389 arg5 = (long) SWIG_AsLong(obj4);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 if (obj5) {
12393 {
12394 arg6 = &temp6;
12395 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12396 }
12397 }
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12406 {
12407 if (temp2)
12408 delete arg2;
12409 }
12410 {
12411 if (temp3)
12412 delete arg3;
12413 }
12414 {
12415 if (temp4)
12416 delete arg4;
12417 }
12418 return resultobj;
12419 fail:
12420 {
12421 if (temp2)
12422 delete arg2;
12423 }
12424 {
12425 if (temp3)
12426 delete arg3;
12427 }
12428 {
12429 if (temp4)
12430 delete arg4;
12431 }
12432 return NULL;
12433}
12434
12435
12436static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12439 wxString result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (arg1)->GetValue();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 {
12456#if wxUSE_UNICODE
12457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12458#else
12459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12460#endif
12461 }
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
12468static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12471 wxString *arg2 = 0 ;
12472 bool temp2 = False ;
12473 PyObject * obj0 = 0 ;
12474 PyObject * obj1 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self",(char *) "value", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12482 {
12483 arg2 = wxString_in_helper(obj1);
12484 if (arg2 == NULL) SWIG_fail;
12485 temp2 = True;
12486 }
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 (arg1)->SetValue((wxString const &)*arg2);
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 Py_INCREF(Py_None); resultobj = Py_None;
12495 {
12496 if (temp2)
12497 delete arg2;
12498 }
12499 return resultobj;
12500 fail:
12501 {
12502 if (temp2)
12503 delete arg2;
12504 }
12505 return NULL;
12506}
12507
12508
12509static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12510 PyObject *obj;
12511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12512 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12513 Py_INCREF(obj);
12514 return Py_BuildValue((char *)"");
12515}
12516static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxFontData *result;
12519 char *kwnames[] = {
12520 NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 result = (wxFontData *)new wxFontData();
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
12538static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj;
12540 wxFontData *arg1 = (wxFontData *) 0 ;
12541 PyObject * obj0 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 delete arg1;
12552
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 Py_INCREF(Py_None); resultobj = Py_None;
12557 return resultobj;
12558 fail:
12559 return NULL;
12560}
12561
12562
12563static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12564 PyObject *resultobj;
12565 wxFontData *arg1 = (wxFontData *) 0 ;
12566 bool arg2 ;
12567 PyObject * obj0 = 0 ;
12568 PyObject * obj1 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "self",(char *) "enable", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12576 arg2 = (bool) SWIG_AsBool(obj1);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 (arg1)->EnableEffects(arg2);
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 Py_INCREF(Py_None); resultobj = Py_None;
12586 return resultobj;
12587 fail:
12588 return NULL;
12589}
12590
12591
12592static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxFontData *arg1 = (wxFontData *) 0 ;
12595 bool result;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (bool)(arg1)->GetAllowSymbols();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 {
12612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12613 }
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
12620static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxFontData *arg1 = (wxFontData *) 0 ;
12623 wxColour result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",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)->GetColour();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 {
12640 wxColour * resultptr;
12641 resultptr = new wxColour((wxColour &) result);
12642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12643 }
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
12650static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFontData *arg1 = (wxFontData *) 0 ;
12653 wxFont result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",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 = (arg1)->GetChosenFont();
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 {
12670 wxFont * resultptr;
12671 resultptr = new wxFont((wxFont &) result);
12672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12673 }
12674 return resultobj;
12675 fail:
12676 return NULL;
12677}
12678
12679
12680static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxFontData *arg1 = (wxFontData *) 0 ;
12683 bool result;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 result = (bool)(arg1)->GetEnableEffects();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 {
12700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12701 }
12702 return resultobj;
12703 fail:
12704 return NULL;
12705}
12706
12707
12708static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxFontData *arg1 = (wxFontData *) 0 ;
12711 wxFont result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",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 = (arg1)->GetInitialFont();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 {
12728 wxFont * resultptr;
12729 resultptr = new wxFont((wxFont &) result);
12730 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12731 }
12732 return resultobj;
12733 fail:
12734 return NULL;
12735}
12736
12737
12738static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxFontData *arg1 = (wxFontData *) 0 ;
12741 bool result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 result = (bool)(arg1)->GetShowHelp();
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 {
12758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12759 }
12760 return resultobj;
12761 fail:
12762 return NULL;
12763}
12764
12765
12766static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12767 PyObject *resultobj;
12768 wxFontData *arg1 = (wxFontData *) 0 ;
12769 bool arg2 ;
12770 PyObject * obj0 = 0 ;
12771 PyObject * obj1 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self",(char *) "allowSymbols", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12779 arg2 = (bool) SWIG_AsBool(obj1);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 (arg1)->SetAllowSymbols(arg2);
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 Py_INCREF(Py_None); resultobj = Py_None;
12789 return resultobj;
12790 fail:
12791 return NULL;
12792}
12793
12794
12795static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxFontData *arg1 = (wxFontData *) 0 ;
12798 wxFont *arg2 = 0 ;
12799 PyObject * obj0 = 0 ;
12800 PyObject * obj1 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self",(char *) "font", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12809 SWIG_POINTER_EXCEPTION | 0)) == -1)
12810 SWIG_fail;
12811 if (arg2 == NULL) {
12812 PyErr_SetString(PyExc_TypeError,"null reference");
12813 SWIG_fail;
12814 }
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 (arg1)->SetChosenFont((wxFont const &)*arg2);
12818
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 Py_INCREF(Py_None); resultobj = Py_None;
12823 return resultobj;
12824 fail:
12825 return NULL;
12826}
12827
12828
12829static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12830 PyObject *resultobj;
12831 wxFontData *arg1 = (wxFontData *) 0 ;
12832 wxColour *arg2 = 0 ;
12833 wxColour temp2 ;
12834 PyObject * obj0 = 0 ;
12835 PyObject * obj1 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self",(char *) "colour", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12843 {
12844 arg2 = &temp2;
12845 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12846 }
12847 {
12848 PyThreadState* __tstate = wxPyBeginAllowThreads();
12849 (arg1)->SetColour((wxColour const &)*arg2);
12850
12851 wxPyEndAllowThreads(__tstate);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 }
12854 Py_INCREF(Py_None); resultobj = Py_None;
12855 return resultobj;
12856 fail:
12857 return NULL;
12858}
12859
12860
12861static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj;
12863 wxFontData *arg1 = (wxFontData *) 0 ;
12864 wxFont *arg2 = 0 ;
12865 PyObject * obj0 = 0 ;
12866 PyObject * obj1 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "self",(char *) "font", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12875 SWIG_POINTER_EXCEPTION | 0)) == -1)
12876 SWIG_fail;
12877 if (arg2 == NULL) {
12878 PyErr_SetString(PyExc_TypeError,"null reference");
12879 SWIG_fail;
12880 }
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 (arg1)->SetInitialFont((wxFont const &)*arg2);
12884
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 Py_INCREF(Py_None); resultobj = Py_None;
12889 return resultobj;
12890 fail:
12891 return NULL;
12892}
12893
12894
12895static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12896 PyObject *resultobj;
12897 wxFontData *arg1 = (wxFontData *) 0 ;
12898 int arg2 ;
12899 int arg3 ;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 PyObject * obj2 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "self",(char *) "min",(char *) "max", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12910 arg2 = (int) SWIG_AsInt(obj1);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 arg3 = (int) SWIG_AsInt(obj2);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 (arg1)->SetRange(arg2,arg3);
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 Py_INCREF(Py_None); resultobj = Py_None;
12922 return resultobj;
12923 fail:
12924 return NULL;
12925}
12926
12927
12928static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxFontData *arg1 = (wxFontData *) 0 ;
12931 bool arg2 ;
12932 PyObject * obj0 = 0 ;
12933 PyObject * obj1 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self",(char *) "showHelp", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12941 arg2 = (bool) SWIG_AsBool(obj1);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 (arg1)->SetShowHelp(arg2);
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 Py_INCREF(Py_None); resultobj = Py_None;
12951 return resultobj;
12952 fail:
12953 return NULL;
12954}
12955
12956
12957static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12958 PyObject *obj;
12959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12960 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12961 Py_INCREF(obj);
12962 return Py_BuildValue((char *)"");
12963}
12964static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxWindow *arg1 = (wxWindow *) 0 ;
12967 wxFontData *arg2 = 0 ;
12968 wxFontDialog *result;
12969 PyObject * obj0 = 0 ;
12970 PyObject * obj1 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "parent",(char *) "data", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12979 SWIG_POINTER_EXCEPTION | 0)) == -1)
12980 SWIG_fail;
12981 if (arg2 == NULL) {
12982 PyErr_SetString(PyExc_TypeError,"null reference");
12983 SWIG_fail;
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13002 wxFontData *result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 {
13014 wxFontData &_result_ref = (arg1)->GetFontData();
13015 result = (wxFontData *) &_result_ref;
13016 }
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13022 return resultobj;
13023 fail:
13024 return NULL;
13025}
13026
13027
13028static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13029 PyObject *obj;
13030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13031 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13032 Py_INCREF(obj);
13033 return Py_BuildValue((char *)"");
13034}
13035static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj;
13037 wxWindow *arg1 = (wxWindow *) 0 ;
13038 wxString *arg2 = 0 ;
13039 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13040 wxString *arg3 = (wxString *) &arg3_defvalue ;
13041 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13042 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13043 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13044 wxMessageDialog *result;
13045 bool temp2 = False ;
13046 bool temp3 = False ;
13047 wxPoint temp5 ;
13048 PyObject * obj0 = 0 ;
13049 PyObject * obj1 = 0 ;
13050 PyObject * obj2 = 0 ;
13051 PyObject * obj3 = 0 ;
13052 PyObject * obj4 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13060 {
13061 arg2 = wxString_in_helper(obj1);
13062 if (arg2 == NULL) SWIG_fail;
13063 temp2 = True;
13064 }
13065 if (obj2) {
13066 {
13067 arg3 = wxString_in_helper(obj2);
13068 if (arg3 == NULL) SWIG_fail;
13069 temp3 = True;
13070 }
13071 }
13072 if (obj3) {
13073 arg4 = (long) SWIG_AsLong(obj3);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 if (obj4) {
13077 {
13078 arg5 = &temp5;
13079 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13080 }
13081 }
13082 {
13083 PyThreadState* __tstate = wxPyBeginAllowThreads();
13084 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13085
13086 wxPyEndAllowThreads(__tstate);
13087 if (PyErr_Occurred()) SWIG_fail;
13088 }
13089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13090 {
13091 if (temp2)
13092 delete arg2;
13093 }
13094 {
13095 if (temp3)
13096 delete arg3;
13097 }
13098 return resultobj;
13099 fail:
13100 {
13101 if (temp2)
13102 delete arg2;
13103 }
13104 {
13105 if (temp3)
13106 delete arg3;
13107 }
13108 return NULL;
13109}
13110
13111
13112static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13113 PyObject *obj;
13114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13115 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13116 Py_INCREF(obj);
13117 return Py_BuildValue((char *)"");
13118}
13119static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxString *arg1 = 0 ;
13122 wxString *arg2 = 0 ;
13123 int arg3 = (int) 100 ;
13124 wxWindow *arg4 = (wxWindow *) NULL ;
13125 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13126 wxProgressDialog *result;
13127 bool temp1 = False ;
13128 bool temp2 = False ;
13129 PyObject * obj0 = 0 ;
13130 PyObject * obj1 = 0 ;
13131 PyObject * obj2 = 0 ;
13132 PyObject * obj3 = 0 ;
13133 PyObject * obj4 = 0 ;
13134 char *kwnames[] = {
13135 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13136 };
13137
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13139 {
13140 arg1 = wxString_in_helper(obj0);
13141 if (arg1 == NULL) SWIG_fail;
13142 temp1 = True;
13143 }
13144 {
13145 arg2 = wxString_in_helper(obj1);
13146 if (arg2 == NULL) SWIG_fail;
13147 temp2 = True;
13148 }
13149 if (obj2) {
13150 arg3 = (int) SWIG_AsInt(obj2);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 if (obj3) {
13154 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13156 }
13157 if (obj4) {
13158 arg5 = (int) SWIG_AsInt(obj4);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13169 {
13170 if (temp1)
13171 delete arg1;
13172 }
13173 {
13174 if (temp2)
13175 delete arg2;
13176 }
13177 return resultobj;
13178 fail:
13179 {
13180 if (temp1)
13181 delete arg1;
13182 }
13183 {
13184 if (temp2)
13185 delete arg2;
13186 }
13187 return NULL;
13188}
13189
13190
13191static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13194 int arg2 ;
13195 wxString const &arg3_defvalue = wxPyEmptyString ;
13196 wxString *arg3 = (wxString *) &arg3_defvalue ;
13197 bool result;
13198 bool temp3 = False ;
13199 PyObject * obj0 = 0 ;
13200 PyObject * obj1 = 0 ;
13201 PyObject * obj2 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 arg2 = (int) SWIG_AsInt(obj1);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 if (obj2) {
13212 {
13213 arg3 = wxString_in_helper(obj2);
13214 if (arg3 == NULL) SWIG_fail;
13215 temp3 = True;
13216 }
13217 }
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13221
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 {
13226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13227 }
13228 {
13229 if (temp3)
13230 delete arg3;
13231 }
13232 return resultobj;
13233 fail:
13234 {
13235 if (temp3)
13236 delete arg3;
13237 }
13238 return NULL;
13239}
13240
13241
13242static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13245 PyObject * obj0 = 0 ;
13246 char *kwnames[] = {
13247 (char *) "self", NULL
13248 };
13249
13250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 (arg1)->Resume();
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 Py_INCREF(Py_None); resultobj = Py_None;
13261 return resultobj;
13262 fail:
13263 return NULL;
13264}
13265
13266
13267static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13268 PyObject *obj;
13269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13270 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13271 Py_INCREF(obj);
13272 return Py_BuildValue((char *)"");
13273}
13274static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13277 int arg2 = (int) 0 ;
13278 wxFindDialogEvent *result;
13279 PyObject * obj0 = 0 ;
13280 PyObject * obj1 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "commandType",(char *) "id", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13286 if (obj0) {
13287 arg1 = (wxEventType) SWIG_AsInt(obj0);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 if (obj1) {
13291 arg2 = (int) SWIG_AsInt(obj1);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13302 return resultobj;
13303 fail:
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13311 int result;
13312 PyObject * obj0 = 0 ;
13313 char *kwnames[] = {
13314 (char *) "self", NULL
13315 };
13316
13317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (int)(arg1)->GetFlags();
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = SWIG_FromInt((int)result);
13328 return resultobj;
13329 fail:
13330 return NULL;
13331}
13332
13333
13334static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13335 PyObject *resultobj;
13336 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13337 wxString *result;
13338 PyObject * obj0 = 0 ;
13339 char *kwnames[] = {
13340 (char *) "self", NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 {
13349 wxString const &_result_ref = (arg1)->GetFindString();
13350 result = (wxString *) &_result_ref;
13351 }
13352
13353 wxPyEndAllowThreads(__tstate);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 {
13357#if wxUSE_UNICODE
13358 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13359#else
13360 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13361#endif
13362 }
13363 return resultobj;
13364 fail:
13365 return NULL;
13366}
13367
13368
13369static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13370 PyObject *resultobj;
13371 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13372 wxString *result;
13373 PyObject * obj0 = 0 ;
13374 char *kwnames[] = {
13375 (char *) "self", NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 {
13384 wxString const &_result_ref = (arg1)->GetReplaceString();
13385 result = (wxString *) &_result_ref;
13386 }
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 {
13392#if wxUSE_UNICODE
13393 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13394#else
13395 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13396#endif
13397 }
13398 return resultobj;
13399 fail:
13400 return NULL;
13401}
13402
13403
13404static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13405 PyObject *resultobj;
13406 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13407 wxFindReplaceDialog *result;
13408 PyObject * obj0 = 0 ;
13409 char *kwnames[] = {
13410 (char *) "self", NULL
13411 };
13412
13413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13424 return resultobj;
13425 fail:
13426 return NULL;
13427}
13428
13429
13430static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj;
13432 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13433 int arg2 ;
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "flags", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13443 arg2 = (int) SWIG_AsInt(obj1);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 (arg1)->SetFlags(arg2);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 Py_INCREF(Py_None); resultobj = Py_None;
13453 return resultobj;
13454 fail:
13455 return NULL;
13456}
13457
13458
13459static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13462 wxString *arg2 = 0 ;
13463 bool temp2 = False ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "str", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 {
13474 arg2 = wxString_in_helper(obj1);
13475 if (arg2 == NULL) SWIG_fail;
13476 temp2 = True;
13477 }
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 (arg1)->SetFindString((wxString const &)*arg2);
13481
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 Py_INCREF(Py_None); resultobj = Py_None;
13486 {
13487 if (temp2)
13488 delete arg2;
13489 }
13490 return resultobj;
13491 fail:
13492 {
13493 if (temp2)
13494 delete arg2;
13495 }
13496 return NULL;
13497}
13498
13499
13500static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13503 wxString *arg2 = 0 ;
13504 bool temp2 = False ;
13505 PyObject * obj0 = 0 ;
13506 PyObject * obj1 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self",(char *) "str", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13514 {
13515 arg2 = wxString_in_helper(obj1);
13516 if (arg2 == NULL) SWIG_fail;
13517 temp2 = True;
13518 }
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 (arg1)->SetReplaceString((wxString const &)*arg2);
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 Py_INCREF(Py_None); resultobj = Py_None;
13527 {
13528 if (temp2)
13529 delete arg2;
13530 }
13531 return resultobj;
13532 fail:
13533 {
13534 if (temp2)
13535 delete arg2;
13536 }
13537 return NULL;
13538}
13539
13540
13541static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13542 PyObject *obj;
13543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13544 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13545 Py_INCREF(obj);
13546 return Py_BuildValue((char *)"");
13547}
13548static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj;
13550 int arg1 = (int) 0 ;
13551 wxFindReplaceData *result;
13552 PyObject * obj0 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "flags", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13558 if (obj0) {
13559 arg1 = (int) SWIG_AsInt(obj0);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 PyThreadState* __tstate = wxPyBeginAllowThreads();
13564 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13565
13566 wxPyEndAllowThreads(__tstate);
13567 if (PyErr_Occurred()) SWIG_fail;
13568 }
13569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13570 return resultobj;
13571 fail:
13572 return NULL;
13573}
13574
13575
13576static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13577 PyObject *resultobj;
13578 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13579 PyObject * obj0 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 delete arg1;
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598}
13599
13600
13601static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13604 wxString *result;
13605 PyObject * obj0 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "self", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 {
13616 wxString const &_result_ref = (arg1)->GetFindString();
13617 result = (wxString *) &_result_ref;
13618 }
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 {
13624#if wxUSE_UNICODE
13625 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13626#else
13627 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13628#endif
13629 }
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
13636static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13637 PyObject *resultobj;
13638 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13639 wxString *result;
13640 PyObject * obj0 = 0 ;
13641 char *kwnames[] = {
13642 (char *) "self", NULL
13643 };
13644
13645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 {
13651 wxString const &_result_ref = (arg1)->GetReplaceString();
13652 result = (wxString *) &_result_ref;
13653 }
13654
13655 wxPyEndAllowThreads(__tstate);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 {
13659#if wxUSE_UNICODE
13660 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13661#else
13662 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13663#endif
13664 }
13665 return resultobj;
13666 fail:
13667 return NULL;
13668}
13669
13670
13671static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13672 PyObject *resultobj;
13673 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13674 int result;
13675 PyObject * obj0 = 0 ;
13676 char *kwnames[] = {
13677 (char *) "self", NULL
13678 };
13679
13680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13683 {
13684 PyThreadState* __tstate = wxPyBeginAllowThreads();
13685 result = (int)(arg1)->GetFlags();
13686
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_FromInt((int)result);
13691 return resultobj;
13692 fail:
13693 return NULL;
13694}
13695
13696
13697static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13700 int arg2 ;
13701 PyObject * obj0 = 0 ;
13702 PyObject * obj1 = 0 ;
13703 char *kwnames[] = {
13704 (char *) "self",(char *) "flags", NULL
13705 };
13706
13707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13710 arg2 = (int) SWIG_AsInt(obj1);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 (arg1)->SetFlags(arg2);
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 Py_INCREF(Py_None); resultobj = Py_None;
13720 return resultobj;
13721 fail:
13722 return NULL;
13723}
13724
13725
13726static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13729 wxString *arg2 = 0 ;
13730 bool temp2 = False ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self",(char *) "str", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13740 {
13741 arg2 = wxString_in_helper(obj1);
13742 if (arg2 == NULL) SWIG_fail;
13743 temp2 = True;
13744 }
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 (arg1)->SetFindString((wxString const &)*arg2);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 Py_INCREF(Py_None); resultobj = Py_None;
13753 {
13754 if (temp2)
13755 delete arg2;
13756 }
13757 return resultobj;
13758 fail:
13759 {
13760 if (temp2)
13761 delete arg2;
13762 }
13763 return NULL;
13764}
13765
13766
13767static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13770 wxString *arg2 = 0 ;
13771 bool temp2 = False ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self",(char *) "str", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13781 {
13782 arg2 = wxString_in_helper(obj1);
13783 if (arg2 == NULL) SWIG_fail;
13784 temp2 = True;
13785 }
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 (arg1)->SetReplaceString((wxString const &)*arg2);
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 Py_INCREF(Py_None); resultobj = Py_None;
13794 {
13795 if (temp2)
13796 delete arg2;
13797 }
13798 return resultobj;
13799 fail:
13800 {
13801 if (temp2)
13802 delete arg2;
13803 }
13804 return NULL;
13805}
13806
13807
13808static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13809 PyObject *obj;
13810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13811 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13812 Py_INCREF(obj);
13813 return Py_BuildValue((char *)"");
13814}
13815static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxWindow *arg1 = (wxWindow *) 0 ;
13818 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13819 wxString *arg3 = 0 ;
13820 int arg4 = (int) 0 ;
13821 wxFindReplaceDialog *result;
13822 bool temp3 = False ;
13823 PyObject * obj0 = 0 ;
13824 PyObject * obj1 = 0 ;
13825 PyObject * obj2 = 0 ;
13826 PyObject * obj3 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13836 {
13837 arg3 = wxString_in_helper(obj2);
13838 if (arg3 == NULL) SWIG_fail;
13839 temp3 = True;
13840 }
13841 if (obj3) {
13842 arg4 = (int) SWIG_AsInt(obj3);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13853 {
13854 if (temp3)
13855 delete arg3;
13856 }
13857 return resultobj;
13858 fail:
13859 {
13860 if (temp3)
13861 delete arg3;
13862 }
13863 return NULL;
13864}
13865
13866
13867static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj;
13869 wxFindReplaceDialog *result;
13870 char *kwnames[] = {
13871 NULL
13872 };
13873
13874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13883 return resultobj;
13884 fail:
13885 return NULL;
13886}
13887
13888
13889static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13892 wxWindow *arg2 = (wxWindow *) 0 ;
13893 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13894 wxString *arg4 = 0 ;
13895 int arg5 = (int) 0 ;
13896 bool result;
13897 bool temp4 = False ;
13898 PyObject * obj0 = 0 ;
13899 PyObject * obj1 = 0 ;
13900 PyObject * obj2 = 0 ;
13901 PyObject * obj3 = 0 ;
13902 PyObject * obj4 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13912 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13914 {
13915 arg4 = wxString_in_helper(obj3);
13916 if (arg4 == NULL) SWIG_fail;
13917 temp4 = True;
13918 }
13919 if (obj4) {
13920 arg5 = (int) SWIG_AsInt(obj4);
13921 if (PyErr_Occurred()) SWIG_fail;
13922 }
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 {
13931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13932 }
13933 {
13934 if (temp4)
13935 delete arg4;
13936 }
13937 return resultobj;
13938 fail:
13939 {
13940 if (temp4)
13941 delete arg4;
13942 }
13943 return NULL;
13944}
13945
13946
13947static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13950 wxFindReplaceData *result;
13951 PyObject * obj0 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = (wxFindReplaceData *)(arg1)->GetData();
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13967 return resultobj;
13968 fail:
13969 return NULL;
13970}
13971
13972
13973static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13976 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13977 PyObject * obj0 = 0 ;
13978 PyObject * obj1 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self",(char *) "data", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 (arg1)->SetData(arg2);
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 Py_INCREF(Py_None); resultobj = Py_None;
13996 return resultobj;
13997 fail:
13998 return NULL;
13999}
14000
14001
14002static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14003 PyObject *obj;
14004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14005 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14006 Py_INCREF(obj);
14007 return Py_BuildValue((char *)"");
14008}
14009static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxWindow *arg1 = (wxWindow *) 0 ;
14012 int arg2 ;
14013 wxString *arg3 = 0 ;
14014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14016 wxSize const &arg5_defvalue = wxDefaultSize ;
14017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14018 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14019 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14020 wxString *arg7 = (wxString *) &arg7_defvalue ;
14021 wxMDIParentFrame *result;
14022 bool temp3 = False ;
14023 wxPoint temp4 ;
14024 wxSize temp5 ;
14025 bool temp7 = False ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 PyObject * obj3 = 0 ;
14030 PyObject * obj4 = 0 ;
14031 PyObject * obj5 = 0 ;
14032 PyObject * obj6 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14040 arg2 = (int const) SWIG_AsInt(obj1);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 {
14043 arg3 = wxString_in_helper(obj2);
14044 if (arg3 == NULL) SWIG_fail;
14045 temp3 = True;
14046 }
14047 if (obj3) {
14048 {
14049 arg4 = &temp4;
14050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14051 }
14052 }
14053 if (obj4) {
14054 {
14055 arg5 = &temp5;
14056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14057 }
14058 }
14059 if (obj5) {
14060 arg6 = (long) SWIG_AsLong(obj5);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 if (obj6) {
14064 {
14065 arg7 = wxString_in_helper(obj6);
14066 if (arg7 == NULL) SWIG_fail;
14067 temp7 = True;
14068 }
14069 }
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14073
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14078 {
14079 if (temp3)
14080 delete arg3;
14081 }
14082 {
14083 if (temp7)
14084 delete arg7;
14085 }
14086 return resultobj;
14087 fail:
14088 {
14089 if (temp3)
14090 delete arg3;
14091 }
14092 {
14093 if (temp7)
14094 delete arg7;
14095 }
14096 return NULL;
14097}
14098
14099
14100static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxMDIParentFrame *result;
14103 char *kwnames[] = {
14104 NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
14122static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14125 wxWindow *arg2 = (wxWindow *) 0 ;
14126 int arg3 ;
14127 wxString *arg4 = 0 ;
14128 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14129 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14130 wxSize const &arg6_defvalue = wxDefaultSize ;
14131 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14132 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14133 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14134 wxString *arg8 = (wxString *) &arg8_defvalue ;
14135 bool result;
14136 bool temp4 = False ;
14137 wxPoint temp5 ;
14138 wxSize temp6 ;
14139 bool temp8 = False ;
14140 PyObject * obj0 = 0 ;
14141 PyObject * obj1 = 0 ;
14142 PyObject * obj2 = 0 ;
14143 PyObject * obj3 = 0 ;
14144 PyObject * obj4 = 0 ;
14145 PyObject * obj5 = 0 ;
14146 PyObject * obj6 = 0 ;
14147 PyObject * obj7 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14157 arg3 = (int const) SWIG_AsInt(obj2);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 {
14160 arg4 = wxString_in_helper(obj3);
14161 if (arg4 == NULL) SWIG_fail;
14162 temp4 = True;
14163 }
14164 if (obj4) {
14165 {
14166 arg5 = &temp5;
14167 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14168 }
14169 }
14170 if (obj5) {
14171 {
14172 arg6 = &temp6;
14173 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14174 }
14175 }
14176 if (obj6) {
14177 arg7 = (long) SWIG_AsLong(obj6);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 if (obj7) {
14181 {
14182 arg8 = wxString_in_helper(obj7);
14183 if (arg8 == NULL) SWIG_fail;
14184 temp8 = True;
14185 }
14186 }
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 {
14195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14196 }
14197 {
14198 if (temp4)
14199 delete arg4;
14200 }
14201 {
14202 if (temp8)
14203 delete arg8;
14204 }
14205 return resultobj;
14206 fail:
14207 {
14208 if (temp4)
14209 delete arg4;
14210 }
14211 {
14212 if (temp8)
14213 delete arg8;
14214 }
14215 return NULL;
14216}
14217
14218
14219static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14222 PyObject * obj0 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 (arg1)->ActivateNext();
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 return resultobj;
14239 fail:
14240 return NULL;
14241}
14242
14243
14244static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14245 PyObject *resultobj;
14246 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14247 PyObject * obj0 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->ActivatePrevious();
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 return resultobj;
14264 fail:
14265 return NULL;
14266}
14267
14268
14269static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14270 PyObject *resultobj;
14271 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14272 PyObject * obj0 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 (arg1)->ArrangeIcons();
14283
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 Py_INCREF(Py_None); resultobj = Py_None;
14288 return resultobj;
14289 fail:
14290 return NULL;
14291}
14292
14293
14294static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj;
14296 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14297 PyObject * obj0 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->Cascade();
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 return resultobj;
14314 fail:
14315 return NULL;
14316}
14317
14318
14319static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj;
14321 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14322 wxMDIChildFrame *result;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14334
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 {
14339 resultobj = wxPyMake_wxObject(result);
14340 }
14341 return resultobj;
14342 fail:
14343 return NULL;
14344}
14345
14346
14347static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14350 wxMDIClientWindow *result;
14351 PyObject * obj0 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14362
14363 wxPyEndAllowThreads(__tstate);
14364 if (PyErr_Occurred()) SWIG_fail;
14365 }
14366 {
14367 resultobj = wxPyMake_wxObject(result);
14368 }
14369 return resultobj;
14370 fail:
14371 return NULL;
14372}
14373
14374
14375static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14378 wxWindow *result;
14379 PyObject * obj0 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 result = (wxWindow *)(arg1)->GetToolBar();
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 {
14395 resultobj = wxPyMake_wxObject(result);
14396 }
14397 return resultobj;
14398 fail:
14399 return NULL;
14400}
14401
14402
14403static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14406 PyObject * obj0 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "self", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14414 {
14415 PyThreadState* __tstate = wxPyBeginAllowThreads();
14416 (arg1)->Tile();
14417
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 Py_INCREF(Py_None); resultobj = Py_None;
14422 return resultobj;
14423 fail:
14424 return NULL;
14425}
14426
14427
14428static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14429 PyObject *obj;
14430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14431 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14432 Py_INCREF(obj);
14433 return Py_BuildValue((char *)"");
14434}
14435static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14436 PyObject *resultobj;
14437 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14438 int arg2 ;
14439 wxString *arg3 = 0 ;
14440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14442 wxSize const &arg5_defvalue = wxDefaultSize ;
14443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14444 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14445 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14446 wxString *arg7 = (wxString *) &arg7_defvalue ;
14447 wxMDIChildFrame *result;
14448 bool temp3 = False ;
14449 wxPoint temp4 ;
14450 wxSize temp5 ;
14451 bool temp7 = False ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 PyObject * obj2 = 0 ;
14455 PyObject * obj3 = 0 ;
14456 PyObject * obj4 = 0 ;
14457 PyObject * obj5 = 0 ;
14458 PyObject * obj6 = 0 ;
14459 char *kwnames[] = {
14460 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14461 };
14462
14463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14466 arg2 = (int const) SWIG_AsInt(obj1);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 {
14469 arg3 = wxString_in_helper(obj2);
14470 if (arg3 == NULL) SWIG_fail;
14471 temp3 = True;
14472 }
14473 if (obj3) {
14474 {
14475 arg4 = &temp4;
14476 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14477 }
14478 }
14479 if (obj4) {
14480 {
14481 arg5 = &temp5;
14482 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14483 }
14484 }
14485 if (obj5) {
14486 arg6 = (long) SWIG_AsLong(obj5);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 if (obj6) {
14490 {
14491 arg7 = wxString_in_helper(obj6);
14492 if (arg7 == NULL) SWIG_fail;
14493 temp7 = True;
14494 }
14495 }
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 {
14504 resultobj = wxPyMake_wxObject(result);
14505 }
14506 {
14507 if (temp3)
14508 delete arg3;
14509 }
14510 {
14511 if (temp7)
14512 delete arg7;
14513 }
14514 return resultobj;
14515 fail:
14516 {
14517 if (temp3)
14518 delete arg3;
14519 }
14520 {
14521 if (temp7)
14522 delete arg7;
14523 }
14524 return NULL;
14525}
14526
14527
14528static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxMDIChildFrame *result;
14531 char *kwnames[] = {
14532 NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 {
14544 resultobj = wxPyMake_wxObject(result);
14545 }
14546 return resultobj;
14547 fail:
14548 return NULL;
14549}
14550
14551
14552static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14555 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14556 int arg3 ;
14557 wxString *arg4 = 0 ;
14558 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14559 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14560 wxSize const &arg6_defvalue = wxDefaultSize ;
14561 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14562 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14563 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14564 wxString *arg8 = (wxString *) &arg8_defvalue ;
14565 bool result;
14566 bool temp4 = False ;
14567 wxPoint temp5 ;
14568 wxSize temp6 ;
14569 bool temp8 = False ;
14570 PyObject * obj0 = 0 ;
14571 PyObject * obj1 = 0 ;
14572 PyObject * obj2 = 0 ;
14573 PyObject * obj3 = 0 ;
14574 PyObject * obj4 = 0 ;
14575 PyObject * obj5 = 0 ;
14576 PyObject * obj6 = 0 ;
14577 PyObject * obj7 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14587 arg3 = (int const) SWIG_AsInt(obj2);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 {
14590 arg4 = wxString_in_helper(obj3);
14591 if (arg4 == NULL) SWIG_fail;
14592 temp4 = True;
14593 }
14594 if (obj4) {
14595 {
14596 arg5 = &temp5;
14597 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14598 }
14599 }
14600 if (obj5) {
14601 {
14602 arg6 = &temp6;
14603 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14604 }
14605 }
14606 if (obj6) {
14607 arg7 = (long) SWIG_AsLong(obj6);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 if (obj7) {
14611 {
14612 arg8 = wxString_in_helper(obj7);
14613 if (arg8 == NULL) SWIG_fail;
14614 temp8 = True;
14615 }
14616 }
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 {
14625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14626 }
14627 {
14628 if (temp4)
14629 delete arg4;
14630 }
14631 {
14632 if (temp8)
14633 delete arg8;
14634 }
14635 return resultobj;
14636 fail:
14637 {
14638 if (temp4)
14639 delete arg4;
14640 }
14641 {
14642 if (temp8)
14643 delete arg8;
14644 }
14645 return NULL;
14646}
14647
14648
14649static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14650 PyObject *resultobj;
14651 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14652 PyObject * obj0 = 0 ;
14653 char *kwnames[] = {
14654 (char *) "self", NULL
14655 };
14656
14657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 (arg1)->Activate();
14663
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 Py_INCREF(Py_None); resultobj = Py_None;
14668 return resultobj;
14669 fail:
14670 return NULL;
14671}
14672
14673
14674static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14675 PyObject *resultobj;
14676 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14677 bool arg2 ;
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self",(char *) "maximize", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14687 arg2 = (bool) SWIG_AsBool(obj1);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 (arg1)->Maximize(arg2);
14692
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 Py_INCREF(Py_None); resultobj = Py_None;
14697 return resultobj;
14698 fail:
14699 return NULL;
14700}
14701
14702
14703static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14706 PyObject * obj0 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 (arg1)->Restore();
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 Py_INCREF(Py_None); resultobj = Py_None;
14722 return resultobj;
14723 fail:
14724 return NULL;
14725}
14726
14727
14728static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14729 PyObject *obj;
14730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14731 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14732 Py_INCREF(obj);
14733 return Py_BuildValue((char *)"");
14734}
14735static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14736 PyObject *resultobj;
14737 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14738 long arg2 = (long) 0 ;
14739 wxMDIClientWindow *result;
14740 PyObject * obj0 = 0 ;
14741 PyObject * obj1 = 0 ;
14742 char *kwnames[] = {
14743 (char *) "parent",(char *) "style", NULL
14744 };
14745
14746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14749 if (obj1) {
14750 arg2 = (long) SWIG_AsLong(obj1);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14756
14757 wxPyEndAllowThreads(__tstate);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
14760 {
14761 resultobj = wxPyMake_wxObject(result);
14762 }
14763 return resultobj;
14764 fail:
14765 return NULL;
14766}
14767
14768
14769static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj;
14771 wxMDIClientWindow *result;
14772 char *kwnames[] = {
14773 NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 {
14785 resultobj = wxPyMake_wxObject(result);
14786 }
14787 return resultobj;
14788 fail:
14789 return NULL;
14790}
14791
14792
14793static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14796 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14797 long arg3 = (long) 0 ;
14798 bool result;
14799 PyObject * obj0 = 0 ;
14800 PyObject * obj1 = 0 ;
14801 PyObject * obj2 = 0 ;
14802 char *kwnames[] = {
14803 (char *) "self",(char *) "parent",(char *) "style", NULL
14804 };
14805
14806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14811 if (obj2) {
14812 arg3 = (long) SWIG_AsLong(obj2);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 result = (bool)(arg1)->Create(arg2,arg3);
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 {
14823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14824 }
14825 return resultobj;
14826 fail:
14827 return NULL;
14828}
14829
14830
14831static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14832 PyObject *obj;
14833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14834 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14835 Py_INCREF(obj);
14836 return Py_BuildValue((char *)"");
14837}
14838static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxWindow *arg1 = (wxWindow *) 0 ;
14841 int arg2 ;
14842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14844 wxSize const &arg4_defvalue = wxDefaultSize ;
14845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14846 long arg5 = (long) 0 ;
14847 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14848 wxString *arg6 = (wxString *) &arg6_defvalue ;
14849 wxPyWindow *result;
14850 wxPoint temp3 ;
14851 wxSize temp4 ;
14852 bool temp6 = False ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 PyObject * obj2 = 0 ;
14856 PyObject * obj3 = 0 ;
14857 PyObject * obj4 = 0 ;
14858 PyObject * obj5 = 0 ;
14859 char *kwnames[] = {
14860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14861 };
14862
14863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14866 arg2 = (int const) SWIG_AsInt(obj1);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 if (obj2) {
14869 {
14870 arg3 = &temp3;
14871 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14872 }
14873 }
14874 if (obj3) {
14875 {
14876 arg4 = &temp4;
14877 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14878 }
14879 }
14880 if (obj4) {
14881 arg5 = (long) SWIG_AsLong(obj4);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 if (obj5) {
14885 {
14886 arg6 = wxString_in_helper(obj5);
14887 if (arg6 == NULL) SWIG_fail;
14888 temp6 = True;
14889 }
14890 }
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14899 {
14900 if (temp6)
14901 delete arg6;
14902 }
14903 return resultobj;
14904 fail:
14905 {
14906 if (temp6)
14907 delete arg6;
14908 }
14909 return NULL;
14910}
14911
14912
14913static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxPyWindow *result;
14916 char *kwnames[] = {
14917 NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 result = (wxPyWindow *)new wxPyWindow();
14924
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14929 return resultobj;
14930 fail:
14931 return NULL;
14932}
14933
14934
14935static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj;
14937 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14938 PyObject *arg2 = (PyObject *) 0 ;
14939 PyObject *arg3 = (PyObject *) 0 ;
14940 PyObject * obj0 = 0 ;
14941 PyObject * obj1 = 0 ;
14942 PyObject * obj2 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "self",(char *) "self",(char *) "_class", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14950 arg2 = obj1;
14951 arg3 = obj2;
14952 {
14953 PyThreadState* __tstate = wxPyBeginAllowThreads();
14954 (arg1)->_setCallbackInfo(arg2,arg3);
14955
14956 wxPyEndAllowThreads(__tstate);
14957 if (PyErr_Occurred()) SWIG_fail;
14958 }
14959 Py_INCREF(Py_None); resultobj = Py_None;
14960 return resultobj;
14961 fail:
14962 return NULL;
14963}
14964
14965
14966static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14969 int arg2 ;
14970 int arg3 ;
14971 int arg4 ;
14972 int arg5 ;
14973 PyObject * obj0 = 0 ;
14974 PyObject * obj1 = 0 ;
14975 PyObject * obj2 = 0 ;
14976 PyObject * obj3 = 0 ;
14977 PyObject * obj4 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14985 arg2 = (int) SWIG_AsInt(obj1);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 arg3 = (int) SWIG_AsInt(obj2);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 arg4 = (int) SWIG_AsInt(obj3);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 arg5 = (int) SWIG_AsInt(obj4);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 Py_INCREF(Py_None); resultobj = Py_None;
15001 return resultobj;
15002 fail:
15003 return NULL;
15004}
15005
15006
15007static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15008 PyObject *resultobj;
15009 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15010 int arg2 ;
15011 int arg3 ;
15012 int arg4 ;
15013 int arg5 ;
15014 int arg6 = (int) wxSIZE_AUTO ;
15015 PyObject * obj0 = 0 ;
15016 PyObject * obj1 = 0 ;
15017 PyObject * obj2 = 0 ;
15018 PyObject * obj3 = 0 ;
15019 PyObject * obj4 = 0 ;
15020 PyObject * obj5 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15028 arg2 = (int) SWIG_AsInt(obj1);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 arg3 = (int) SWIG_AsInt(obj2);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 arg4 = (int) SWIG_AsInt(obj3);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 arg5 = (int) SWIG_AsInt(obj4);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 if (obj5) {
15037 arg6 = (int) SWIG_AsInt(obj5);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 Py_INCREF(Py_None); resultobj = Py_None;
15048 return resultobj;
15049 fail:
15050 return NULL;
15051}
15052
15053
15054static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15057 int arg2 ;
15058 int arg3 ;
15059 PyObject * obj0 = 0 ;
15060 PyObject * obj1 = 0 ;
15061 PyObject * obj2 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self",(char *) "width",(char *) "height", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15069 arg2 = (int) SWIG_AsInt(obj1);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 arg3 = (int) SWIG_AsInt(obj2);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 (arg1)->base_DoSetClientSize(arg2,arg3);
15076
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15080 Py_INCREF(Py_None); resultobj = Py_None;
15081 return resultobj;
15082 fail:
15083 return NULL;
15084}
15085
15086
15087static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj;
15089 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15090 int arg2 ;
15091 int arg3 ;
15092 PyObject * obj0 = 0 ;
15093 PyObject * obj1 = 0 ;
15094 PyObject * obj2 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self",(char *) "x",(char *) "y", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15102 arg2 = (int) SWIG_AsInt(obj1);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 arg3 = (int) SWIG_AsInt(obj2);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 Py_INCREF(Py_None); resultobj = Py_None;
15114 return resultobj;
15115 fail:
15116 return NULL;
15117}
15118
15119
15120static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15123 int *arg2 = (int *) 0 ;
15124 int *arg3 = (int *) 0 ;
15125 int temp2 ;
15126 int temp3 ;
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 arg2 = &temp2;
15133 arg3 = &temp3;
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 Py_INCREF(Py_None); resultobj = Py_None;
15145 {
15146 PyObject *o = PyInt_FromLong((long) (*arg2));
15147 resultobj = t_output_helper(resultobj,o);
15148 }
15149 {
15150 PyObject *o = PyInt_FromLong((long) (*arg3));
15151 resultobj = t_output_helper(resultobj,o);
15152 }
15153 return resultobj;
15154 fail:
15155 return NULL;
15156}
15157
15158
15159static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15162 int *arg2 = (int *) 0 ;
15163 int *arg3 = (int *) 0 ;
15164 int temp2 ;
15165 int temp3 ;
15166 PyObject * obj0 = 0 ;
15167 char *kwnames[] = {
15168 (char *) "self", NULL
15169 };
15170
15171 arg2 = &temp2;
15172 arg3 = &temp3;
15173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 Py_INCREF(Py_None); resultobj = Py_None;
15184 {
15185 PyObject *o = PyInt_FromLong((long) (*arg2));
15186 resultobj = t_output_helper(resultobj,o);
15187 }
15188 {
15189 PyObject *o = PyInt_FromLong((long) (*arg3));
15190 resultobj = t_output_helper(resultobj,o);
15191 }
15192 return resultobj;
15193 fail:
15194 return NULL;
15195}
15196
15197
15198static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj;
15200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15201 int *arg2 = (int *) 0 ;
15202 int *arg3 = (int *) 0 ;
15203 int temp2 ;
15204 int temp3 ;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self", NULL
15208 };
15209
15210 arg2 = &temp2;
15211 arg3 = &temp3;
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 Py_INCREF(Py_None); resultobj = Py_None;
15223 {
15224 PyObject *o = PyInt_FromLong((long) (*arg2));
15225 resultobj = t_output_helper(resultobj,o);
15226 }
15227 {
15228 PyObject *o = PyInt_FromLong((long) (*arg3));
15229 resultobj = t_output_helper(resultobj,o);
15230 }
15231 return resultobj;
15232 fail:
15233 return NULL;
15234}
15235
15236
15237static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(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_DoGetVirtualSize",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_DoGetVirtualSize();
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_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15270 wxSize result;
15271 PyObject * obj0 = 0 ;
15272 char *kwnames[] = {
15273 (char *) "self", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 {
15287 wxSize * resultptr;
15288 resultptr = new wxSize((wxSize &) result);
15289 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15290 }
15291 return resultobj;
15292 fail:
15293 return NULL;
15294}
15295
15296
15297static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj;
15299 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15300 PyObject * obj0 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 (arg1)->base_InitDialog();
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 Py_INCREF(Py_None); resultobj = Py_None;
15316 return resultobj;
15317 fail:
15318 return NULL;
15319}
15320
15321
15322static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15325 bool result;
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (bool)(arg1)->base_TransferDataToWindow();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347}
15348
15349
15350static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15353 bool result;
15354 PyObject * obj0 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 result = (bool)(arg1)->base_TransferDataFromWindow();
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 {
15370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15371 }
15372 return resultobj;
15373 fail:
15374 return NULL;
15375}
15376
15377
15378static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15381 bool result;
15382 PyObject * obj0 = 0 ;
15383 char *kwnames[] = {
15384 (char *) "self", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 result = (bool)(arg1)->base_Validate();
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 {
15398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15399 }
15400 return resultobj;
15401 fail:
15402 return NULL;
15403}
15404
15405
15406static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15409 bool result;
15410 PyObject * obj0 = 0 ;
15411 char *kwnames[] = {
15412 (char *) "self", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 {
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 }
15428 return resultobj;
15429 fail:
15430 return NULL;
15431}
15432
15433
15434static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15437 bool result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 {
15454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15455 }
15456 return resultobj;
15457 fail:
15458 return NULL;
15459}
15460
15461
15462static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15465 wxSize result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 {
15482 wxSize * resultptr;
15483 resultptr = new wxSize((wxSize &) result);
15484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15485 }
15486 return resultobj;
15487 fail:
15488 return NULL;
15489}
15490
15491
15492static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15495 wxWindow *arg2 = (wxWindow *) 0 ;
15496 PyObject * obj0 = 0 ;
15497 PyObject * obj1 = 0 ;
15498 char *kwnames[] = {
15499 (char *) "self",(char *) "child", NULL
15500 };
15501
15502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->base_AddChild(arg2);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518}
15519
15520
15521static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15524 wxWindow *arg2 = (wxWindow *) 0 ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "child", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 (arg1)->base_RemoveChild(arg2);
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 Py_INCREF(Py_None); resultobj = Py_None;
15544 return resultobj;
15545 fail:
15546 return NULL;
15547}
15548
15549
15550static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15553 bool result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (bool)(arg1)->base_ShouldInheritColours();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 {
15570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15571 }
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
15578static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15581 wxColour *arg2 = 0 ;
15582 wxColour temp2 ;
15583 PyObject * obj0 = 0 ;
15584 PyObject * obj1 = 0 ;
15585 char *kwnames[] = {
15586 (char *) "self",(char *) "c", NULL
15587 };
15588
15589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15592 {
15593 arg2 = &temp2;
15594 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15595 }
15596 {
15597 PyThreadState* __tstate = wxPyBeginAllowThreads();
15598 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15599
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 Py_INCREF(Py_None); resultobj = Py_None;
15604 return resultobj;
15605 fail:
15606 return NULL;
15607}
15608
15609
15610static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15611 PyObject *obj;
15612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15613 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15614 Py_INCREF(obj);
15615 return Py_BuildValue((char *)"");
15616}
15617static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj;
15619 wxWindow *arg1 = (wxWindow *) 0 ;
15620 int arg2 ;
15621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15623 wxSize const &arg4_defvalue = wxDefaultSize ;
15624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15625 long arg5 = (long) 0 ;
15626 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15627 wxString *arg6 = (wxString *) &arg6_defvalue ;
15628 wxPyPanel *result;
15629 wxPoint temp3 ;
15630 wxSize temp4 ;
15631 bool temp6 = False ;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 PyObject * obj2 = 0 ;
15635 PyObject * obj3 = 0 ;
15636 PyObject * obj4 = 0 ;
15637 PyObject * obj5 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15645 arg2 = (int const) SWIG_AsInt(obj1);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 if (obj2) {
15648 {
15649 arg3 = &temp3;
15650 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15651 }
15652 }
15653 if (obj3) {
15654 {
15655 arg4 = &temp4;
15656 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15657 }
15658 }
15659 if (obj4) {
15660 arg5 = (long) SWIG_AsLong(obj4);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 if (obj5) {
15664 {
15665 arg6 = wxString_in_helper(obj5);
15666 if (arg6 == NULL) SWIG_fail;
15667 temp6 = True;
15668 }
15669 }
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15678 {
15679 if (temp6)
15680 delete arg6;
15681 }
15682 return resultobj;
15683 fail:
15684 {
15685 if (temp6)
15686 delete arg6;
15687 }
15688 return NULL;
15689}
15690
15691
15692static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxPyPanel *result;
15695 char *kwnames[] = {
15696 NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15700 {
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 result = (wxPyPanel *)new wxPyPanel();
15703
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15708 return resultobj;
15709 fail:
15710 return NULL;
15711}
15712
15713
15714static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15715 PyObject *resultobj;
15716 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15717 PyObject *arg2 = (PyObject *) 0 ;
15718 PyObject *arg3 = (PyObject *) 0 ;
15719 PyObject * obj0 = 0 ;
15720 PyObject * obj1 = 0 ;
15721 PyObject * obj2 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self",(char *) "self",(char *) "_class", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15729 arg2 = obj1;
15730 arg3 = obj2;
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 (arg1)->_setCallbackInfo(arg2,arg3);
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 Py_INCREF(Py_None); resultobj = Py_None;
15739 return resultobj;
15740 fail:
15741 return NULL;
15742}
15743
15744
15745static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15748 int arg2 ;
15749 int arg3 ;
15750 int arg4 ;
15751 int arg5 ;
15752 PyObject * obj0 = 0 ;
15753 PyObject * obj1 = 0 ;
15754 PyObject * obj2 = 0 ;
15755 PyObject * obj3 = 0 ;
15756 PyObject * obj4 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15764 arg2 = (int) SWIG_AsInt(obj1);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 arg3 = (int) SWIG_AsInt(obj2);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 arg4 = (int) SWIG_AsInt(obj3);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 arg5 = (int) SWIG_AsInt(obj4);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 Py_INCREF(Py_None); resultobj = Py_None;
15780 return resultobj;
15781 fail:
15782 return NULL;
15783}
15784
15785
15786static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15789 int arg2 ;
15790 int arg3 ;
15791 int arg4 ;
15792 int arg5 ;
15793 int arg6 = (int) wxSIZE_AUTO ;
15794 PyObject * obj0 = 0 ;
15795 PyObject * obj1 = 0 ;
15796 PyObject * obj2 = 0 ;
15797 PyObject * obj3 = 0 ;
15798 PyObject * obj4 = 0 ;
15799 PyObject * obj5 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 arg2 = (int) SWIG_AsInt(obj1);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 arg3 = (int) SWIG_AsInt(obj2);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 arg4 = (int) SWIG_AsInt(obj3);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 arg5 = (int) SWIG_AsInt(obj4);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 if (obj5) {
15816 arg6 = (int) SWIG_AsInt(obj5);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15822
15823 wxPyEndAllowThreads(__tstate);
15824 if (PyErr_Occurred()) SWIG_fail;
15825 }
15826 Py_INCREF(Py_None); resultobj = Py_None;
15827 return resultobj;
15828 fail:
15829 return NULL;
15830}
15831
15832
15833static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15836 int arg2 ;
15837 int arg3 ;
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 PyObject * obj2 = 0 ;
15841 char *kwnames[] = {
15842 (char *) "self",(char *) "width",(char *) "height", NULL
15843 };
15844
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15848 arg2 = (int) SWIG_AsInt(obj1);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 arg3 = (int) SWIG_AsInt(obj2);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 (arg1)->base_DoSetClientSize(arg2,arg3);
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 Py_INCREF(Py_None); resultobj = Py_None;
15860 return resultobj;
15861 fail:
15862 return NULL;
15863}
15864
15865
15866static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15869 int arg2 ;
15870 int arg3 ;
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 PyObject * obj2 = 0 ;
15874 char *kwnames[] = {
15875 (char *) "self",(char *) "x",(char *) "y", NULL
15876 };
15877
15878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15881 arg2 = (int) SWIG_AsInt(obj1);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 arg3 = (int) SWIG_AsInt(obj2);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 Py_INCREF(Py_None); resultobj = Py_None;
15893 return resultobj;
15894 fail:
15895 return NULL;
15896}
15897
15898
15899static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15902 int *arg2 = (int *) 0 ;
15903 int *arg3 = (int *) 0 ;
15904 int temp2 ;
15905 int temp3 ;
15906 PyObject * obj0 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self", NULL
15909 };
15910
15911 arg2 = &temp2;
15912 arg3 = &temp3;
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 Py_INCREF(Py_None); resultobj = Py_None;
15924 {
15925 PyObject *o = PyInt_FromLong((long) (*arg2));
15926 resultobj = t_output_helper(resultobj,o);
15927 }
15928 {
15929 PyObject *o = PyInt_FromLong((long) (*arg3));
15930 resultobj = t_output_helper(resultobj,o);
15931 }
15932 return resultobj;
15933 fail:
15934 return NULL;
15935}
15936
15937
15938static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15941 int *arg2 = (int *) 0 ;
15942 int *arg3 = (int *) 0 ;
15943 int temp2 ;
15944 int temp3 ;
15945 PyObject * obj0 = 0 ;
15946 char *kwnames[] = {
15947 (char *) "self", NULL
15948 };
15949
15950 arg2 = &temp2;
15951 arg3 = &temp3;
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15958
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 Py_INCREF(Py_None); resultobj = Py_None;
15963 {
15964 PyObject *o = PyInt_FromLong((long) (*arg2));
15965 resultobj = t_output_helper(resultobj,o);
15966 }
15967 {
15968 PyObject *o = PyInt_FromLong((long) (*arg3));
15969 resultobj = t_output_helper(resultobj,o);
15970 }
15971 return resultobj;
15972 fail:
15973 return NULL;
15974}
15975
15976
15977static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15980 int *arg2 = (int *) 0 ;
15981 int *arg3 = (int *) 0 ;
15982 int temp2 ;
15983 int temp3 ;
15984 PyObject * obj0 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self", NULL
15987 };
15988
15989 arg2 = &temp2;
15990 arg3 = &temp3;
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 Py_INCREF(Py_None); resultobj = Py_None;
16002 {
16003 PyObject *o = PyInt_FromLong((long) (*arg2));
16004 resultobj = t_output_helper(resultobj,o);
16005 }
16006 {
16007 PyObject *o = PyInt_FromLong((long) (*arg3));
16008 resultobj = t_output_helper(resultobj,o);
16009 }
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
16016static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(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_DoGetVirtualSize",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_DoGetVirtualSize();
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_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16049 wxSize result;
16050 PyObject * obj0 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16058 {
16059 PyThreadState* __tstate = wxPyBeginAllowThreads();
16060 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16061
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 {
16066 wxSize * resultptr;
16067 resultptr = new wxSize((wxSize &) result);
16068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16069 }
16070 return resultobj;
16071 fail:
16072 return NULL;
16073}
16074
16075
16076static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16079 PyObject * obj0 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 (arg1)->base_InitDialog();
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 Py_INCREF(Py_None); resultobj = Py_None;
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
16101static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj;
16103 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16104 bool result;
16105 PyObject * obj0 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 result = (bool)(arg1)->base_TransferDataToWindow();
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 {
16121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16122 }
16123 return resultobj;
16124 fail:
16125 return NULL;
16126}
16127
16128
16129static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16130 PyObject *resultobj;
16131 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16132 bool result;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self", NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 result = (bool)(arg1)->base_TransferDataFromWindow();
16144
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 {
16149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16150 }
16151 return resultobj;
16152 fail:
16153 return NULL;
16154}
16155
16156
16157static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16158 PyObject *resultobj;
16159 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16160 bool result;
16161 PyObject * obj0 = 0 ;
16162 char *kwnames[] = {
16163 (char *) "self", NULL
16164 };
16165
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 result = (bool)(arg1)->base_Validate();
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 {
16177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16178 }
16179 return resultobj;
16180 fail:
16181 return NULL;
16182}
16183
16184
16185static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16188 bool result;
16189 PyObject * obj0 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 {
16205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16206 }
16207 return resultobj;
16208 fail:
16209 return NULL;
16210}
16211
16212
16213static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16216 bool result;
16217 PyObject * obj0 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 {
16233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16234 }
16235 return resultobj;
16236 fail:
16237 return NULL;
16238}
16239
16240
16241static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16244 wxSize result;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 {
16261 wxSize * resultptr;
16262 resultptr = new wxSize((wxSize &) result);
16263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16264 }
16265 return resultobj;
16266 fail:
16267 return NULL;
16268}
16269
16270
16271static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16274 wxWindow *arg2 = (wxWindow *) 0 ;
16275 PyObject * obj0 = 0 ;
16276 PyObject * obj1 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "child", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 (arg1)->base_AddChild(arg2);
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 Py_INCREF(Py_None); resultobj = Py_None;
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
16300static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16303 wxWindow *arg2 = (wxWindow *) 0 ;
16304 PyObject * obj0 = 0 ;
16305 PyObject * obj1 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self",(char *) "child", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 (arg1)->base_RemoveChild(arg2);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
16329static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16332 bool result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = (bool)(arg1)->base_ShouldInheritColours();
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16350 }
16351 return resultobj;
16352 fail:
16353 return NULL;
16354}
16355
16356
16357static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16360 wxColour *arg2 = 0 ;
16361 wxColour temp2 ;
16362 PyObject * obj0 = 0 ;
16363 PyObject * obj1 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self",(char *) "c", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16371 {
16372 arg2 = &temp2;
16373 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16374 }
16375 {
16376 PyThreadState* __tstate = wxPyBeginAllowThreads();
16377 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16378
16379 wxPyEndAllowThreads(__tstate);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 Py_INCREF(Py_None); resultobj = Py_None;
16383 return resultobj;
16384 fail:
16385 return NULL;
16386}
16387
16388
16389static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16390 PyObject *obj;
16391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16392 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16393 Py_INCREF(obj);
16394 return Py_BuildValue((char *)"");
16395}
16396static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16397 PyObject *resultobj;
16398 wxWindow *arg1 = (wxWindow *) 0 ;
16399 int arg2 ;
16400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16402 wxSize const &arg4_defvalue = wxDefaultSize ;
16403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16404 long arg5 = (long) 0 ;
16405 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16406 wxString *arg6 = (wxString *) &arg6_defvalue ;
16407 wxPyScrolledWindow *result;
16408 wxPoint temp3 ;
16409 wxSize temp4 ;
16410 bool temp6 = False ;
16411 PyObject * obj0 = 0 ;
16412 PyObject * obj1 = 0 ;
16413 PyObject * obj2 = 0 ;
16414 PyObject * obj3 = 0 ;
16415 PyObject * obj4 = 0 ;
16416 PyObject * obj5 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16424 arg2 = (int const) SWIG_AsInt(obj1);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 if (obj2) {
16427 {
16428 arg3 = &temp3;
16429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16430 }
16431 }
16432 if (obj3) {
16433 {
16434 arg4 = &temp4;
16435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16436 }
16437 }
16438 if (obj4) {
16439 arg5 = (long) SWIG_AsLong(obj4);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 if (obj5) {
16443 {
16444 arg6 = wxString_in_helper(obj5);
16445 if (arg6 == NULL) SWIG_fail;
16446 temp6 = True;
16447 }
16448 }
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16457 {
16458 if (temp6)
16459 delete arg6;
16460 }
16461 return resultobj;
16462 fail:
16463 {
16464 if (temp6)
16465 delete arg6;
16466 }
16467 return NULL;
16468}
16469
16470
16471static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxPyScrolledWindow *result;
16474 char *kwnames[] = {
16475 NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16487 return resultobj;
16488 fail:
16489 return NULL;
16490}
16491
16492
16493static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16496 PyObject *arg2 = (PyObject *) 0 ;
16497 PyObject *arg3 = (PyObject *) 0 ;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 PyObject * obj2 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self",(char *) "self",(char *) "_class", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 arg2 = obj1;
16509 arg3 = obj2;
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 (arg1)->_setCallbackInfo(arg2,arg3);
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 Py_INCREF(Py_None); resultobj = Py_None;
16518 return resultobj;
16519 fail:
16520 return NULL;
16521}
16522
16523
16524static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16527 int arg2 ;
16528 int arg3 ;
16529 int arg4 ;
16530 int arg5 ;
16531 PyObject * obj0 = 0 ;
16532 PyObject * obj1 = 0 ;
16533 PyObject * obj2 = 0 ;
16534 PyObject * obj3 = 0 ;
16535 PyObject * obj4 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 arg2 = (int) SWIG_AsInt(obj1);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 arg3 = (int) SWIG_AsInt(obj2);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 arg4 = (int) SWIG_AsInt(obj3);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 arg5 = (int) SWIG_AsInt(obj4);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 Py_INCREF(Py_None); resultobj = Py_None;
16559 return resultobj;
16560 fail:
16561 return NULL;
16562}
16563
16564
16565static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16568 int arg2 ;
16569 int arg3 ;
16570 int arg4 ;
16571 int arg5 ;
16572 int arg6 = (int) wxSIZE_AUTO ;
16573 PyObject * obj0 = 0 ;
16574 PyObject * obj1 = 0 ;
16575 PyObject * obj2 = 0 ;
16576 PyObject * obj3 = 0 ;
16577 PyObject * obj4 = 0 ;
16578 PyObject * obj5 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 arg2 = (int) SWIG_AsInt(obj1);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 arg3 = (int) SWIG_AsInt(obj2);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 arg4 = (int) SWIG_AsInt(obj3);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 arg5 = (int) SWIG_AsInt(obj4);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 if (obj5) {
16595 arg6 = (int) SWIG_AsInt(obj5);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
16612static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16615 int arg2 ;
16616 int arg3 ;
16617 PyObject * obj0 = 0 ;
16618 PyObject * obj1 = 0 ;
16619 PyObject * obj2 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "width",(char *) "height", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16627 arg2 = (int) SWIG_AsInt(obj1);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 arg3 = (int) SWIG_AsInt(obj2);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
16633 (arg1)->base_DoSetClientSize(arg2,arg3);
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 Py_INCREF(Py_None); resultobj = Py_None;
16639 return resultobj;
16640 fail:
16641 return NULL;
16642}
16643
16644
16645static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16648 int arg2 ;
16649 int arg3 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 PyObject * obj2 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self",(char *) "x",(char *) "y", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16660 arg2 = (int) SWIG_AsInt(obj1);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 arg3 = (int) SWIG_AsInt(obj2);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675}
16676
16677
16678static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16681 int *arg2 = (int *) 0 ;
16682 int *arg3 = (int *) 0 ;
16683 int temp2 ;
16684 int temp3 ;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self", NULL
16688 };
16689
16690 arg2 = &temp2;
16691 arg3 = &temp3;
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 {
16704 PyObject *o = PyInt_FromLong((long) (*arg2));
16705 resultobj = t_output_helper(resultobj,o);
16706 }
16707 {
16708 PyObject *o = PyInt_FromLong((long) (*arg3));
16709 resultobj = t_output_helper(resultobj,o);
16710 }
16711 return resultobj;
16712 fail:
16713 return NULL;
16714}
16715
16716
16717static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16718 PyObject *resultobj;
16719 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16720 int *arg2 = (int *) 0 ;
16721 int *arg3 = (int *) 0 ;
16722 int temp2 ;
16723 int temp3 ;
16724 PyObject * obj0 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self", NULL
16727 };
16728
16729 arg2 = &temp2;
16730 arg3 = &temp3;
16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16734 {
16735 PyThreadState* __tstate = wxPyBeginAllowThreads();
16736 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16737
16738 wxPyEndAllowThreads(__tstate);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 Py_INCREF(Py_None); resultobj = Py_None;
16742 {
16743 PyObject *o = PyInt_FromLong((long) (*arg2));
16744 resultobj = t_output_helper(resultobj,o);
16745 }
16746 {
16747 PyObject *o = PyInt_FromLong((long) (*arg3));
16748 resultobj = t_output_helper(resultobj,o);
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753}
16754
16755
16756static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16759 int *arg2 = (int *) 0 ;
16760 int *arg3 = (int *) 0 ;
16761 int temp2 ;
16762 int temp3 ;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 arg2 = &temp2;
16769 arg3 = &temp3;
16770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 Py_INCREF(Py_None); resultobj = Py_None;
16781 {
16782 PyObject *o = PyInt_FromLong((long) (*arg2));
16783 resultobj = t_output_helper(resultobj,o);
16784 }
16785 {
16786 PyObject *o = PyInt_FromLong((long) (*arg3));
16787 resultobj = t_output_helper(resultobj,o);
16788 }
16789 return resultobj;
16790 fail:
16791 return NULL;
16792}
16793
16794
16795static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(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_DoGetVirtualSize",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_DoGetVirtualSize();
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_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16828 wxSize result;
16829 PyObject * obj0 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 {
16845 wxSize * resultptr;
16846 resultptr = new wxSize((wxSize &) result);
16847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16848 }
16849 return resultobj;
16850 fail:
16851 return NULL;
16852}
16853
16854
16855static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj;
16857 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16858 PyObject * obj0 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 (arg1)->base_InitDialog();
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 Py_INCREF(Py_None); resultobj = Py_None;
16874 return resultobj;
16875 fail:
16876 return NULL;
16877}
16878
16879
16880static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj;
16882 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16883 bool result;
16884 PyObject * obj0 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "self", NULL
16887 };
16888
16889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 result = (bool)(arg1)->base_TransferDataToWindow();
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 {
16900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905}
16906
16907
16908static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16911 bool result;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (bool)(arg1)->base_TransferDataFromWindow();
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16929 }
16930 return resultobj;
16931 fail:
16932 return NULL;
16933}
16934
16935
16936static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj;
16938 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16939 bool result;
16940 PyObject * obj0 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
16946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 result = (bool)(arg1)->base_Validate();
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
16955 {
16956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16957 }
16958 return resultobj;
16959 fail:
16960 return NULL;
16961}
16962
16963
16964static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16967 bool result;
16968 PyObject * obj0 = 0 ;
16969 char *kwnames[] = {
16970 (char *) "self", NULL
16971 };
16972
16973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 {
16984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16985 }
16986 return resultobj;
16987 fail:
16988 return NULL;
16989}
16990
16991
16992static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16995 bool result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 {
17012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17013 }
17014 return resultobj;
17015 fail:
17016 return NULL;
17017}
17018
17019
17020static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17023 wxSize result;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17035
17036 wxPyEndAllowThreads(__tstate);
17037 if (PyErr_Occurred()) SWIG_fail;
17038 }
17039 {
17040 wxSize * resultptr;
17041 resultptr = new wxSize((wxSize &) result);
17042 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17043 }
17044 return resultobj;
17045 fail:
17046 return NULL;
17047}
17048
17049
17050static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17053 wxWindow *arg2 = (wxWindow *) 0 ;
17054 PyObject * obj0 = 0 ;
17055 PyObject * obj1 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self",(char *) "child", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17065 {
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 (arg1)->base_AddChild(arg2);
17068
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 Py_INCREF(Py_None); resultobj = Py_None;
17073 return resultobj;
17074 fail:
17075 return NULL;
17076}
17077
17078
17079static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17080 PyObject *resultobj;
17081 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17082 wxWindow *arg2 = (wxWindow *) 0 ;
17083 PyObject * obj0 = 0 ;
17084 PyObject * obj1 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "self",(char *) "child", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 (arg1)->base_RemoveChild(arg2);
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 Py_INCREF(Py_None); resultobj = Py_None;
17102 return resultobj;
17103 fail:
17104 return NULL;
17105}
17106
17107
17108static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17111 bool result;
17112 PyObject * obj0 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "self", NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 result = (bool)(arg1)->base_ShouldInheritColours();
17123
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 {
17128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17129 }
17130 return resultobj;
17131 fail:
17132 return NULL;
17133}
17134
17135
17136static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17137 PyObject *resultobj;
17138 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17139 wxColour *arg2 = 0 ;
17140 wxColour temp2 ;
17141 PyObject * obj0 = 0 ;
17142 PyObject * obj1 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self",(char *) "c", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17150 {
17151 arg2 = &temp2;
17152 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17153 }
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 Py_INCREF(Py_None); resultobj = Py_None;
17162 return resultobj;
17163 fail:
17164 return NULL;
17165}
17166
17167
17168static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17169 PyObject *obj;
17170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17172 Py_INCREF(obj);
17173 return Py_BuildValue((char *)"");
17174}
17175static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17176 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17177 return 1;
17178}
17179
17180
17181static PyObject *_wrap_PrintoutTitleStr_get() {
17182 PyObject *pyobj;
17183
17184 {
17185#if wxUSE_UNICODE
17186 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17187#else
17188 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17189#endif
17190 }
17191 return pyobj;
17192}
17193
17194
17195static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17196 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17197 return 1;
17198}
17199
17200
17201static PyObject *_wrap_PreviewCanvasNameStr_get() {
17202 PyObject *pyobj;
17203
17204 {
17205#if wxUSE_UNICODE
17206 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17207#else
17208 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17209#endif
17210 }
17211 return pyobj;
17212}
17213
17214
17215static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxPrintData *result;
17218 char *kwnames[] = {
17219 NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17223 {
17224 PyThreadState* __tstate = wxPyBeginAllowThreads();
17225 result = (wxPrintData *)new wxPrintData();
17226
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17231 return resultobj;
17232 fail:
17233 return NULL;
17234}
17235
17236
17237static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj;
17239 wxPrintData *arg1 = (wxPrintData *) 0 ;
17240 PyObject * obj0 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17248 {
17249 PyThreadState* __tstate = wxPyBeginAllowThreads();
17250 delete arg1;
17251
17252 wxPyEndAllowThreads(__tstate);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 }
17255 Py_INCREF(Py_None); resultobj = Py_None;
17256 return resultobj;
17257 fail:
17258 return NULL;
17259}
17260
17261
17262static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17263 PyObject *resultobj;
17264 wxPrintData *arg1 = (wxPrintData *) 0 ;
17265 int result;
17266 PyObject * obj0 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "self", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 result = (int)(arg1)->GetNoCopies();
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 resultobj = SWIG_FromInt((int)result);
17282 return resultobj;
17283 fail:
17284 return NULL;
17285}
17286
17287
17288static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxPrintData *arg1 = (wxPrintData *) 0 ;
17291 bool result;
17292 PyObject * obj0 = 0 ;
17293 char *kwnames[] = {
17294 (char *) "self", NULL
17295 };
17296
17297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (bool)(arg1)->GetCollate();
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17309 }
17310 return resultobj;
17311 fail:
17312 return NULL;
17313}
17314
17315
17316static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxPrintData *arg1 = (wxPrintData *) 0 ;
17319 int result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 result = (int)(arg1)->GetOrientation();
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 resultobj = SWIG_FromInt((int)result);
17336 return resultobj;
17337 fail:
17338 return NULL;
17339}
17340
17341
17342static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj;
17344 wxPrintData *arg1 = (wxPrintData *) 0 ;
17345 bool result;
17346 PyObject * obj0 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 result = (bool)(arg1)->Ok();
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 {
17362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17363 }
17364 return resultobj;
17365 fail:
17366 return NULL;
17367}
17368
17369
17370static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17371 PyObject *resultobj;
17372 wxPrintData *arg1 = (wxPrintData *) 0 ;
17373 wxString *result;
17374 PyObject * obj0 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 {
17385 wxString const &_result_ref = (arg1)->GetPrinterName();
17386 result = (wxString *) &_result_ref;
17387 }
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 {
17393#if wxUSE_UNICODE
17394 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17395#else
17396 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17397#endif
17398 }
17399 return resultobj;
17400 fail:
17401 return NULL;
17402}
17403
17404
17405static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxPrintData *arg1 = (wxPrintData *) 0 ;
17408 bool result;
17409 PyObject * obj0 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "self", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = (bool)(arg1)->GetColour();
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 {
17425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17426 }
17427 return resultobj;
17428 fail:
17429 return NULL;
17430}
17431
17432
17433static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17434 PyObject *resultobj;
17435 wxPrintData *arg1 = (wxPrintData *) 0 ;
17436 int result;
17437 PyObject * obj0 = 0 ;
17438 char *kwnames[] = {
17439 (char *) "self", NULL
17440 };
17441
17442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17445 {
17446 PyThreadState* __tstate = wxPyBeginAllowThreads();
17447 result = (int)(arg1)->GetDuplex();
17448
17449 wxPyEndAllowThreads(__tstate);
17450 if (PyErr_Occurred()) SWIG_fail;
17451 }
17452 resultobj = SWIG_FromInt((int)result);
17453 return resultobj;
17454 fail:
17455 return NULL;
17456}
17457
17458
17459static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17460 PyObject *resultobj;
17461 wxPrintData *arg1 = (wxPrintData *) 0 ;
17462 int result;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 result = (int)(arg1)->GetPaperId();
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 resultobj = SWIG_FromInt((int)result);
17479 return resultobj;
17480 fail:
17481 return NULL;
17482}
17483
17484
17485static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxPrintData *arg1 = (wxPrintData *) 0 ;
17488 wxSize *result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 {
17500 wxSize const &_result_ref = (arg1)->GetPaperSize();
17501 result = (wxSize *) &_result_ref;
17502 }
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511}
17512
17513
17514static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxPrintData *arg1 = (wxPrintData *) 0 ;
17517 int result;
17518 PyObject * obj0 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 result = (int)(arg1)->GetQuality();
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 resultobj = SWIG_FromInt((int)result);
17534 return resultobj;
17535 fail:
17536 return NULL;
17537}
17538
17539
17540static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj;
17542 wxPrintData *arg1 = (wxPrintData *) 0 ;
17543 int arg2 ;
17544 PyObject * obj0 = 0 ;
17545 PyObject * obj1 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self",(char *) "v", NULL
17548 };
17549
17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17553 arg2 = (int) SWIG_AsInt(obj1);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 (arg1)->SetNoCopies(arg2);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 Py_INCREF(Py_None); resultobj = Py_None;
17563 return resultobj;
17564 fail:
17565 return NULL;
17566}
17567
17568
17569static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxPrintData *arg1 = (wxPrintData *) 0 ;
17572 bool arg2 ;
17573 PyObject * obj0 = 0 ;
17574 PyObject * obj1 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "self",(char *) "flag", NULL
17577 };
17578
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17582 arg2 = (bool) SWIG_AsBool(obj1);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 (arg1)->SetCollate(arg2);
17587
17588 wxPyEndAllowThreads(__tstate);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 Py_INCREF(Py_None); resultobj = Py_None;
17592 return resultobj;
17593 fail:
17594 return NULL;
17595}
17596
17597
17598static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17599 PyObject *resultobj;
17600 wxPrintData *arg1 = (wxPrintData *) 0 ;
17601 int arg2 ;
17602 PyObject * obj0 = 0 ;
17603 PyObject * obj1 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "self",(char *) "orient", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17611 arg2 = (int) SWIG_AsInt(obj1);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 (arg1)->SetOrientation(arg2);
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 Py_INCREF(Py_None); resultobj = Py_None;
17621 return resultobj;
17622 fail:
17623 return NULL;
17624}
17625
17626
17627static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxPrintData *arg1 = (wxPrintData *) 0 ;
17630 wxString *arg2 = 0 ;
17631 bool temp2 = False ;
17632 PyObject * obj0 = 0 ;
17633 PyObject * obj1 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "self",(char *) "name", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17641 {
17642 arg2 = wxString_in_helper(obj1);
17643 if (arg2 == NULL) SWIG_fail;
17644 temp2 = True;
17645 }
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 (arg1)->SetPrinterName((wxString const &)*arg2);
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 Py_INCREF(Py_None); resultobj = Py_None;
17654 {
17655 if (temp2)
17656 delete arg2;
17657 }
17658 return resultobj;
17659 fail:
17660 {
17661 if (temp2)
17662 delete arg2;
17663 }
17664 return NULL;
17665}
17666
17667
17668static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxPrintData *arg1 = (wxPrintData *) 0 ;
17671 bool arg2 ;
17672 PyObject * obj0 = 0 ;
17673 PyObject * obj1 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self",(char *) "colour", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 arg2 = (bool) SWIG_AsBool(obj1);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 (arg1)->SetColour(arg2);
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 Py_INCREF(Py_None); resultobj = Py_None;
17691 return resultobj;
17692 fail:
17693 return NULL;
17694}
17695
17696
17697static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxPrintData *arg1 = (wxPrintData *) 0 ;
17700 int arg2 ;
17701 PyObject * obj0 = 0 ;
17702 PyObject * obj1 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "self",(char *) "duplex", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17710 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 (arg1)->SetDuplex((wxDuplexMode )arg2);
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 Py_INCREF(Py_None); resultobj = Py_None;
17720 return resultobj;
17721 fail:
17722 return NULL;
17723}
17724
17725
17726static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxPrintData *arg1 = (wxPrintData *) 0 ;
17729 int arg2 ;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self",(char *) "sizeId", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17739 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 (arg1)->SetPaperId((wxPaperSize )arg2);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 Py_INCREF(Py_None); resultobj = Py_None;
17749 return resultobj;
17750 fail:
17751 return NULL;
17752}
17753
17754
17755static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxPrintData *arg1 = (wxPrintData *) 0 ;
17758 wxSize *arg2 = 0 ;
17759 wxSize temp2 ;
17760 PyObject * obj0 = 0 ;
17761 PyObject * obj1 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "sz", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17769 {
17770 arg2 = &temp2;
17771 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17772 }
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 (arg1)->SetPaperSize((wxSize const &)*arg2);
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 Py_INCREF(Py_None); resultobj = Py_None;
17781 return resultobj;
17782 fail:
17783 return NULL;
17784}
17785
17786
17787static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxPrintData *arg1 = (wxPrintData *) 0 ;
17790 int arg2 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self",(char *) "quality", NULL
17795 };
17796
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17800 arg2 = (int) SWIG_AsInt(obj1);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 (arg1)->SetQuality(arg2);
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 Py_INCREF(Py_None); resultobj = Py_None;
17810 return resultobj;
17811 fail:
17812 return NULL;
17813}
17814
17815
17816static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxPrintData *arg1 = (wxPrintData *) 0 ;
17819 wxString *result;
17820 PyObject * obj0 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 {
17831 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17832 result = (wxString *) &_result_ref;
17833 }
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 {
17839#if wxUSE_UNICODE
17840 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17841#else
17842 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17843#endif
17844 }
17845 return resultobj;
17846 fail:
17847 return NULL;
17848}
17849
17850
17851static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj;
17853 wxPrintData *arg1 = (wxPrintData *) 0 ;
17854 wxString *result;
17855 PyObject * obj0 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "self", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 {
17866 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17867 result = (wxString *) &_result_ref;
17868 }
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 {
17874#if wxUSE_UNICODE
17875 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17876#else
17877 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17878#endif
17879 }
17880 return resultobj;
17881 fail:
17882 return NULL;
17883}
17884
17885
17886static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17887 PyObject *resultobj;
17888 wxPrintData *arg1 = (wxPrintData *) 0 ;
17889 wxString *result;
17890 PyObject * obj0 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 {
17901 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17902 result = (wxString *) &_result_ref;
17903 }
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 {
17909#if wxUSE_UNICODE
17910 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17911#else
17912 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17913#endif
17914 }
17915 return resultobj;
17916 fail:
17917 return NULL;
17918}
17919
17920
17921static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxPrintData *arg1 = (wxPrintData *) 0 ;
17924 wxString *result;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 {
17936 wxString const &_result_ref = (arg1)->GetFilename();
17937 result = (wxString *) &_result_ref;
17938 }
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 {
17944#if wxUSE_UNICODE
17945 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17946#else
17947 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17948#endif
17949 }
17950 return resultobj;
17951 fail:
17952 return NULL;
17953}
17954
17955
17956static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj;
17958 wxPrintData *arg1 = (wxPrintData *) 0 ;
17959 wxString *result;
17960 PyObject * obj0 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 {
17971 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17972 result = (wxString *) &_result_ref;
17973 }
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 {
17979#if wxUSE_UNICODE
17980 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17981#else
17982 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17983#endif
17984 }
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
17991static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxPrintData *arg1 = (wxPrintData *) 0 ;
17994 double result;
17995 PyObject * obj0 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (double)(arg1)->GetPrinterScaleX();
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = SWIG_FromDouble((double)result);
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
18017static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxPrintData *arg1 = (wxPrintData *) 0 ;
18020 double result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (double)(arg1)->GetPrinterScaleY();
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 resultobj = SWIG_FromDouble((double)result);
18037 return resultobj;
18038 fail:
18039 return NULL;
18040}
18041
18042
18043static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj;
18045 wxPrintData *arg1 = (wxPrintData *) 0 ;
18046 long result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 result = (long)(arg1)->GetPrinterTranslateX();
18058
18059 wxPyEndAllowThreads(__tstate);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 }
18062 resultobj = SWIG_FromLong((long)result);
18063 return resultobj;
18064 fail:
18065 return NULL;
18066}
18067
18068
18069static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18070 PyObject *resultobj;
18071 wxPrintData *arg1 = (wxPrintData *) 0 ;
18072 long result;
18073 PyObject * obj0 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = (long)(arg1)->GetPrinterTranslateY();
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 resultobj = SWIG_FromLong((long)result);
18089 return resultobj;
18090 fail:
18091 return NULL;
18092}
18093
18094
18095static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18096 PyObject *resultobj;
18097 wxPrintData *arg1 = (wxPrintData *) 0 ;
18098 int result;
18099 PyObject * obj0 = 0 ;
18100 char *kwnames[] = {
18101 (char *) "self", NULL
18102 };
18103
18104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (int)(arg1)->GetPrintMode();
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 resultobj = SWIG_FromInt((int)result);
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
18121static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxPrintData *arg1 = (wxPrintData *) 0 ;
18124 wxString *arg2 = 0 ;
18125 bool temp2 = False ;
18126 PyObject * obj0 = 0 ;
18127 PyObject * obj1 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "command", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18135 {
18136 arg2 = wxString_in_helper(obj1);
18137 if (arg2 == NULL) SWIG_fail;
18138 temp2 = True;
18139 }
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18143
18144 wxPyEndAllowThreads(__tstate);
18145 if (PyErr_Occurred()) SWIG_fail;
18146 }
18147 Py_INCREF(Py_None); resultobj = Py_None;
18148 {
18149 if (temp2)
18150 delete arg2;
18151 }
18152 return resultobj;
18153 fail:
18154 {
18155 if (temp2)
18156 delete arg2;
18157 }
18158 return NULL;
18159}
18160
18161
18162static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxPrintData *arg1 = (wxPrintData *) 0 ;
18165 wxString *arg2 = 0 ;
18166 bool temp2 = False ;
18167 PyObject * obj0 = 0 ;
18168 PyObject * obj1 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self",(char *) "options", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18176 {
18177 arg2 = wxString_in_helper(obj1);
18178 if (arg2 == NULL) SWIG_fail;
18179 temp2 = True;
18180 }
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 Py_INCREF(Py_None); resultobj = Py_None;
18189 {
18190 if (temp2)
18191 delete arg2;
18192 }
18193 return resultobj;
18194 fail:
18195 {
18196 if (temp2)
18197 delete arg2;
18198 }
18199 return NULL;
18200}
18201
18202
18203static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18204 PyObject *resultobj;
18205 wxPrintData *arg1 = (wxPrintData *) 0 ;
18206 wxString *arg2 = 0 ;
18207 bool temp2 = False ;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "self",(char *) "command", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18217 {
18218 arg2 = wxString_in_helper(obj1);
18219 if (arg2 == NULL) SWIG_fail;
18220 temp2 = True;
18221 }
18222 {
18223 PyThreadState* __tstate = wxPyBeginAllowThreads();
18224 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18225
18226 wxPyEndAllowThreads(__tstate);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
18229 Py_INCREF(Py_None); resultobj = Py_None;
18230 {
18231 if (temp2)
18232 delete arg2;
18233 }
18234 return resultobj;
18235 fail:
18236 {
18237 if (temp2)
18238 delete arg2;
18239 }
18240 return NULL;
18241}
18242
18243
18244static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPrintData *arg1 = (wxPrintData *) 0 ;
18247 wxString *arg2 = 0 ;
18248 bool temp2 = False ;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "filename", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18258 {
18259 arg2 = wxString_in_helper(obj1);
18260 if (arg2 == NULL) SWIG_fail;
18261 temp2 = True;
18262 }
18263 {
18264 PyThreadState* __tstate = wxPyBeginAllowThreads();
18265 (arg1)->SetFilename((wxString const &)*arg2);
18266
18267 wxPyEndAllowThreads(__tstate);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
18270 Py_INCREF(Py_None); resultobj = Py_None;
18271 {
18272 if (temp2)
18273 delete arg2;
18274 }
18275 return resultobj;
18276 fail:
18277 {
18278 if (temp2)
18279 delete arg2;
18280 }
18281 return NULL;
18282}
18283
18284
18285static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxPrintData *arg1 = (wxPrintData *) 0 ;
18288 wxString *arg2 = 0 ;
18289 bool temp2 = False ;
18290 PyObject * obj0 = 0 ;
18291 PyObject * obj1 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self",(char *) "path", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18299 {
18300 arg2 = wxString_in_helper(obj1);
18301 if (arg2 == NULL) SWIG_fail;
18302 temp2 = True;
18303 }
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 Py_INCREF(Py_None); resultobj = Py_None;
18312 {
18313 if (temp2)
18314 delete arg2;
18315 }
18316 return resultobj;
18317 fail:
18318 {
18319 if (temp2)
18320 delete arg2;
18321 }
18322 return NULL;
18323}
18324
18325
18326static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPrintData *arg1 = (wxPrintData *) 0 ;
18329 double arg2 ;
18330 PyObject * obj0 = 0 ;
18331 PyObject * obj1 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self",(char *) "x", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18339 arg2 = (double) SWIG_AsDouble(obj1);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 (arg1)->SetPrinterScaleX(arg2);
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 Py_INCREF(Py_None); resultobj = Py_None;
18349 return resultobj;
18350 fail:
18351 return NULL;
18352}
18353
18354
18355static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18356 PyObject *resultobj;
18357 wxPrintData *arg1 = (wxPrintData *) 0 ;
18358 double arg2 ;
18359 PyObject * obj0 = 0 ;
18360 PyObject * obj1 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self",(char *) "y", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18368 arg2 = (double) SWIG_AsDouble(obj1);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 (arg1)->SetPrinterScaleY(arg2);
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 Py_INCREF(Py_None); resultobj = Py_None;
18378 return resultobj;
18379 fail:
18380 return NULL;
18381}
18382
18383
18384static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxPrintData *arg1 = (wxPrintData *) 0 ;
18387 double arg2 ;
18388 double arg3 ;
18389 PyObject * obj0 = 0 ;
18390 PyObject * obj1 = 0 ;
18391 PyObject * obj2 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self",(char *) "x",(char *) "y", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18399 arg2 = (double) SWIG_AsDouble(obj1);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 arg3 = (double) SWIG_AsDouble(obj2);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 (arg1)->SetPrinterScaling(arg2,arg3);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 Py_INCREF(Py_None); resultobj = Py_None;
18411 return resultobj;
18412 fail:
18413 return NULL;
18414}
18415
18416
18417static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18418 PyObject *resultobj;
18419 wxPrintData *arg1 = (wxPrintData *) 0 ;
18420 long arg2 ;
18421 PyObject * obj0 = 0 ;
18422 PyObject * obj1 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self",(char *) "x", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18430 arg2 = (long) SWIG_AsLong(obj1);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 (arg1)->SetPrinterTranslateX(arg2);
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 Py_INCREF(Py_None); resultobj = Py_None;
18440 return resultobj;
18441 fail:
18442 return NULL;
18443}
18444
18445
18446static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj;
18448 wxPrintData *arg1 = (wxPrintData *) 0 ;
18449 long arg2 ;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj1 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self",(char *) "y", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18459 arg2 = (long) SWIG_AsLong(obj1);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 (arg1)->SetPrinterTranslateY(arg2);
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 Py_INCREF(Py_None); resultobj = Py_None;
18469 return resultobj;
18470 fail:
18471 return NULL;
18472}
18473
18474
18475static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxPrintData *arg1 = (wxPrintData *) 0 ;
18478 long arg2 ;
18479 long arg3 ;
18480 PyObject * obj0 = 0 ;
18481 PyObject * obj1 = 0 ;
18482 PyObject * obj2 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self",(char *) "x",(char *) "y", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18490 arg2 = (long) SWIG_AsLong(obj1);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 arg3 = (long) SWIG_AsLong(obj2);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 (arg1)->SetPrinterTranslation(arg2,arg3);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 Py_INCREF(Py_None); resultobj = Py_None;
18502 return resultobj;
18503 fail:
18504 return NULL;
18505}
18506
18507
18508static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxPrintData *arg1 = (wxPrintData *) 0 ;
18511 int arg2 ;
18512 PyObject * obj0 = 0 ;
18513 PyObject * obj1 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self",(char *) "printMode", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18521 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 (arg1)->SetPrintMode((wxPrintMode )arg2);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 Py_INCREF(Py_None); resultobj = Py_None;
18531 return resultobj;
18532 fail:
18533 return NULL;
18534}
18535
18536
18537static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxPrintData *arg1 = (wxPrintData *) 0 ;
18540 wxOutputStream *result;
18541 PyObject * obj0 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 result = (wxOutputStream *)(arg1)->GetOutputStream();
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18557 return resultobj;
18558 fail:
18559 return NULL;
18560}
18561
18562
18563static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18564 PyObject *resultobj;
18565 wxPrintData *arg1 = (wxPrintData *) 0 ;
18566 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18567 PyObject * obj0 = 0 ;
18568 PyObject * obj1 = 0 ;
18569 char *kwnames[] = {
18570 (char *) "self",(char *) "outputstream", NULL
18571 };
18572
18573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 (arg1)->SetOutputStream(arg2);
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 Py_INCREF(Py_None); resultobj = Py_None;
18586 return resultobj;
18587 fail:
18588 return NULL;
18589}
18590
18591
18592static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18593 PyObject *obj;
18594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18595 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18596 Py_INCREF(obj);
18597 return Py_BuildValue((char *)"");
18598}
18599static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18600 PyObject *resultobj;
18601 wxPageSetupDialogData *result;
18602 char *kwnames[] = {
18603 NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18615 return resultobj;
18616 fail:
18617 return NULL;
18618}
18619
18620
18621static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18622 PyObject *resultobj;
18623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18624 PyObject * obj0 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 delete arg1;
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 Py_INCREF(Py_None); resultobj = Py_None;
18640 return resultobj;
18641 fail:
18642 return NULL;
18643}
18644
18645
18646static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18649 bool arg2 ;
18650 PyObject * obj0 = 0 ;
18651 PyObject * obj1 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self",(char *) "flag", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18659 arg2 = (bool) SWIG_AsBool(obj1);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 (arg1)->EnableHelp(arg2);
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 Py_INCREF(Py_None); resultobj = Py_None;
18669 return resultobj;
18670 fail:
18671 return NULL;
18672}
18673
18674
18675static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18678 bool arg2 ;
18679 PyObject * obj0 = 0 ;
18680 PyObject * obj1 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "flag", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18688 arg2 = (bool) SWIG_AsBool(obj1);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 {
18691 PyThreadState* __tstate = wxPyBeginAllowThreads();
18692 (arg1)->EnableMargins(arg2);
18693
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
18697 Py_INCREF(Py_None); resultobj = Py_None;
18698 return resultobj;
18699 fail:
18700 return NULL;
18701}
18702
18703
18704static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18705 PyObject *resultobj;
18706 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18707 bool arg2 ;
18708 PyObject * obj0 = 0 ;
18709 PyObject * obj1 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "flag", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 arg2 = (bool) SWIG_AsBool(obj1);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->EnableOrientation(arg2);
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 Py_INCREF(Py_None); resultobj = Py_None;
18727 return resultobj;
18728 fail:
18729 return NULL;
18730}
18731
18732
18733static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18736 bool arg2 ;
18737 PyObject * obj0 = 0 ;
18738 PyObject * obj1 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "flag", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18746 arg2 = (bool) SWIG_AsBool(obj1);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 (arg1)->EnablePaper(arg2);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 Py_INCREF(Py_None); resultobj = Py_None;
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
18762static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18765 bool arg2 ;
18766 PyObject * obj0 = 0 ;
18767 PyObject * obj1 = 0 ;
18768 char *kwnames[] = {
18769 (char *) "self",(char *) "flag", NULL
18770 };
18771
18772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18775 arg2 = (bool) SWIG_AsBool(obj1);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 (arg1)->EnablePrinter(arg2);
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 Py_INCREF(Py_None); resultobj = Py_None;
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
18791static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18794 bool result;
18795 PyObject * obj0 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 result = (bool)(arg1)->GetDefaultMinMargins();
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 {
18811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18812 }
18813 return resultobj;
18814 fail:
18815 return NULL;
18816}
18817
18818
18819static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18822 bool result;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (bool)(arg1)->GetEnableMargins();
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 {
18839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18840 }
18841 return resultobj;
18842 fail:
18843 return NULL;
18844}
18845
18846
18847static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18850 bool result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (bool)(arg1)->GetEnableOrientation();
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 {
18867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18868 }
18869 return resultobj;
18870 fail:
18871 return NULL;
18872}
18873
18874
18875static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj;
18877 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18878 bool result;
18879 PyObject * obj0 = 0 ;
18880 char *kwnames[] = {
18881 (char *) "self", NULL
18882 };
18883
18884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18887 {
18888 PyThreadState* __tstate = wxPyBeginAllowThreads();
18889 result = (bool)(arg1)->GetEnablePaper();
18890
18891 wxPyEndAllowThreads(__tstate);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 }
18894 {
18895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18896 }
18897 return resultobj;
18898 fail:
18899 return NULL;
18900}
18901
18902
18903static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18906 bool result;
18907 PyObject * obj0 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (bool)(arg1)->GetEnablePrinter();
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 {
18923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18924 }
18925 return resultobj;
18926 fail:
18927 return NULL;
18928}
18929
18930
18931static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18934 bool result;
18935 PyObject * obj0 = 0 ;
18936 char *kwnames[] = {
18937 (char *) "self", NULL
18938 };
18939
18940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18943 {
18944 PyThreadState* __tstate = wxPyBeginAllowThreads();
18945 result = (bool)(arg1)->GetEnableHelp();
18946
18947 wxPyEndAllowThreads(__tstate);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 }
18950 {
18951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18952 }
18953 return resultobj;
18954 fail:
18955 return NULL;
18956}
18957
18958
18959static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18960 PyObject *resultobj;
18961 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18962 bool result;
18963 PyObject * obj0 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 result = (bool)(arg1)->GetDefaultInfo();
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 {
18979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18980 }
18981 return resultobj;
18982 fail:
18983 return NULL;
18984}
18985
18986
18987static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(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_GetMarginTopLeft",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)->GetMarginTopLeft();
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_GetMarginBottomRight(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_GetMarginBottomRight",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)->GetMarginBottomRight();
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_GetMinMarginTopLeft(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_GetMinMarginTopLeft",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)->GetMinMarginTopLeft();
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_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19080 wxPoint result;
19081 PyObject * obj0 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",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 = (arg1)->GetMinMarginBottomRight();
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 {
19097 wxPoint * resultptr;
19098 resultptr = new wxPoint((wxPoint &) result);
19099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19100 }
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
19107static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19110 int result;
19111 PyObject * obj0 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 result = (int)(arg1)->GetPaperId();
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 resultobj = SWIG_FromInt((int)result);
19127 return resultobj;
19128 fail:
19129 return NULL;
19130}
19131
19132
19133static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19136 wxSize result;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",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 result = (arg1)->GetPaperSize();
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 {
19153 wxSize * resultptr;
19154 resultptr = new wxSize((wxSize &) result);
19155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19156 }
19157 return resultobj;
19158 fail:
19159 return NULL;
19160}
19161
19162
19163static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19166 wxPrintData *result;
19167 PyObject * obj0 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 {
19178 wxPrintData &_result_ref = (arg1)->GetPrintData();
19179 result = (wxPrintData *) &_result_ref;
19180 }
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19186 return resultobj;
19187 fail:
19188 return NULL;
19189}
19190
19191
19192static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19195 bool result;
19196 PyObject * obj0 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = (bool)(arg1)->Ok();
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 {
19212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19213 }
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
19220static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19223 bool arg2 ;
19224 PyObject * obj0 = 0 ;
19225 PyObject * obj1 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self",(char *) "flag", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19233 arg2 = (bool) SWIG_AsBool(obj1);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->SetDefaultInfo(arg2);
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 Py_INCREF(Py_None); resultobj = Py_None;
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
19249static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19252 bool arg2 ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self",(char *) "flag", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19262 arg2 = (bool) SWIG_AsBool(obj1);
19263 if (PyErr_Occurred()) SWIG_fail;
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 (arg1)->SetDefaultMinMargins(arg2);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 Py_INCREF(Py_None); resultobj = Py_None;
19272 return resultobj;
19273 fail:
19274 return NULL;
19275}
19276
19277
19278static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19281 wxPoint *arg2 = 0 ;
19282 wxPoint temp2 ;
19283 PyObject * obj0 = 0 ;
19284 PyObject * obj1 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self",(char *) "pt", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19292 {
19293 arg2 = &temp2;
19294 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19295 }
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19299
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
19303 Py_INCREF(Py_None); resultobj = Py_None;
19304 return resultobj;
19305 fail:
19306 return NULL;
19307}
19308
19309
19310static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19311 PyObject *resultobj;
19312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19313 wxPoint *arg2 = 0 ;
19314 wxPoint temp2 ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "pt", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 {
19325 arg2 = &temp2;
19326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19327 }
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 Py_INCREF(Py_None); resultobj = Py_None;
19336 return resultobj;
19337 fail:
19338 return NULL;
19339}
19340
19341
19342static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19345 wxPoint *arg2 = 0 ;
19346 wxPoint temp2 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "pt", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19356 {
19357 arg2 = &temp2;
19358 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19359 }
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19363
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 Py_INCREF(Py_None); resultobj = Py_None;
19368 return resultobj;
19369 fail:
19370 return NULL;
19371}
19372
19373
19374static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj;
19376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19377 wxPoint *arg2 = 0 ;
19378 wxPoint temp2 ;
19379 PyObject * obj0 = 0 ;
19380 PyObject * obj1 = 0 ;
19381 char *kwnames[] = {
19382 (char *) "self",(char *) "pt", NULL
19383 };
19384
19385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19388 {
19389 arg2 = &temp2;
19390 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19391 }
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 Py_INCREF(Py_None); resultobj = Py_None;
19400 return resultobj;
19401 fail:
19402 return NULL;
19403}
19404
19405
19406static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19409 int arg2 ;
19410 PyObject * obj0 = 0 ;
19411 PyObject * obj1 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self",(char *) "id", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19419 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 (arg1)->SetPaperId((wxPaperSize )arg2);
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 Py_INCREF(Py_None); resultobj = Py_None;
19429 return resultobj;
19430 fail:
19431 return NULL;
19432}
19433
19434
19435static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19438 wxSize *arg2 = 0 ;
19439 wxSize temp2 ;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self",(char *) "size", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19449 {
19450 arg2 = &temp2;
19451 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 (arg1)->SetPaperSize((wxSize const &)*arg2);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 Py_INCREF(Py_None); resultobj = Py_None;
19461 return resultobj;
19462 fail:
19463 return NULL;
19464}
19465
19466
19467static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19470 wxPrintData *arg2 = 0 ;
19471 PyObject * obj0 = 0 ;
19472 PyObject * obj1 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self",(char *) "printData", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19481 SWIG_POINTER_EXCEPTION | 0)) == -1)
19482 SWIG_fail;
19483 if (arg2 == NULL) {
19484 PyErr_SetString(PyExc_TypeError,"null reference");
19485 SWIG_fail;
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498}
19499
19500
19501static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19502 PyObject *obj;
19503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19504 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19505 Py_INCREF(obj);
19506 return Py_BuildValue((char *)"");
19507}
19508static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj;
19510 wxWindow *arg1 = (wxWindow *) 0 ;
19511 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19512 wxPageSetupDialog *result;
19513 PyObject * obj0 = 0 ;
19514 PyObject * obj1 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "parent",(char *) "data", NULL
19517 };
19518
19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19522 if (obj1) {
19523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 }
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19534 return resultobj;
19535 fail:
19536 return NULL;
19537}
19538
19539
19540static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19541 PyObject *resultobj;
19542 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19543 wxPageSetupDialogData *result;
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 {
19555 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19556 result = (wxPageSetupDialogData *) &_result_ref;
19557 }
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19563 return resultobj;
19564 fail:
19565 return NULL;
19566}
19567
19568
19569static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19572 int result;
19573 PyObject * obj0 = 0 ;
19574 char *kwnames[] = {
19575 (char *) "self", NULL
19576 };
19577
19578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 result = (int)(arg1)->ShowModal();
19584
19585 wxPyEndAllowThreads(__tstate);
19586 if (PyErr_Occurred()) SWIG_fail;
19587 }
19588 resultobj = SWIG_FromInt((int)result);
19589 return resultobj;
19590 fail:
19591 return NULL;
19592}
19593
19594
19595static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19596 PyObject *obj;
19597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19598 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19599 Py_INCREF(obj);
19600 return Py_BuildValue((char *)"");
19601}
19602static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19603 PyObject *resultobj;
19604 wxPrintDialogData *result;
19605
19606 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19607 {
19608 PyThreadState* __tstate = wxPyBeginAllowThreads();
19609 result = (wxPrintDialogData *)new wxPrintDialogData();
19610
19611 wxPyEndAllowThreads(__tstate);
19612 if (PyErr_Occurred()) SWIG_fail;
19613 }
19614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19615 return resultobj;
19616 fail:
19617 return NULL;
19618}
19619
19620
19621static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19622 PyObject *resultobj;
19623 wxPrintData *arg1 = 0 ;
19624 wxPrintDialogData *result;
19625 PyObject * obj0 = 0 ;
19626
19627 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19629 SWIG_POINTER_EXCEPTION | 0)) == -1)
19630 SWIG_fail;
19631 if (arg1 == NULL) {
19632 PyErr_SetString(PyExc_TypeError,"null reference");
19633 SWIG_fail;
19634 }
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19643 return resultobj;
19644 fail:
19645 return NULL;
19646}
19647
19648
19649static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19650 int argc;
19651 PyObject *argv[2];
19652 int ii;
19653
19654 argc = PyObject_Length(args);
19655 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19656 argv[ii] = PyTuple_GetItem(args,ii);
19657 }
19658 if (argc == 0) {
19659 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19660 }
19661 if (argc == 1) {
19662 int _v;
19663 {
19664 void *ptr;
19665 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19666 _v = 0;
19667 PyErr_Clear();
19668 } else {
19669 _v = 1;
19670 }
19671 }
19672 if (_v) {
19673 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19674 }
19675 }
19676
19677 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19678 return NULL;
19679}
19680
19681
19682static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19685 PyObject * obj0 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 delete arg1;
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
19707static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19710 int result;
19711 PyObject * obj0 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19722
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 resultobj = SWIG_FromInt((int)result);
19727 return resultobj;
19728 fail:
19729 return NULL;
19730}
19731
19732
19733static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj;
19735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19736 int result;
19737 PyObject * obj0 = 0 ;
19738 char *kwnames[] = {
19739 (char *) "self", NULL
19740 };
19741
19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 resultobj = SWIG_FromInt((int)result);
19753 return resultobj;
19754 fail:
19755 return NULL;
19756}
19757
19758
19759static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19762 int result;
19763 PyObject * obj0 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 resultobj = SWIG_FromInt((int)result);
19779 return resultobj;
19780 fail:
19781 return NULL;
19782}
19783
19784
19785static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19786 PyObject *resultobj;
19787 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19788 int result;
19789 PyObject * obj0 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 resultobj = SWIG_FromInt((int)result);
19805 return resultobj;
19806 fail:
19807 return NULL;
19808}
19809
19810
19811static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19812 PyObject *resultobj;
19813 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19814 int result;
19815 PyObject * obj0 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
19821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 resultobj = SWIG_FromInt((int)result);
19831 return resultobj;
19832 fail:
19833 return NULL;
19834}
19835
19836
19837static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19840 bool result;
19841 PyObject * obj0 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 {
19857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19858 }
19859 return resultobj;
19860 fail:
19861 return NULL;
19862}
19863
19864
19865static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj;
19867 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19868 bool result;
19869 PyObject * obj0 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
19879 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 {
19885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19886 }
19887 return resultobj;
19888 fail:
19889 return NULL;
19890}
19891
19892
19893static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj;
19895 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19896 bool result;
19897 PyObject * obj0 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 {
19913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19914 }
19915 return resultobj;
19916 fail:
19917 return NULL;
19918}
19919
19920
19921static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19924 bool result;
19925 PyObject * obj0 = 0 ;
19926 char *kwnames[] = {
19927 (char *) "self", NULL
19928 };
19929
19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 {
19941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19942 }
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
19949static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19952 bool result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 {
19969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19970 }
19971 return resultobj;
19972 fail:
19973 return NULL;
19974}
19975
19976
19977static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19980 int arg2 ;
19981 PyObject * obj0 = 0 ;
19982 PyObject * obj1 = 0 ;
19983 char *kwnames[] = {
19984 (char *) "self",(char *) "v", NULL
19985 };
19986
19987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19990 arg2 = (int) SWIG_AsInt(obj1);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 {
19993 PyThreadState* __tstate = wxPyBeginAllowThreads();
19994 (arg1)->SetFromPage(arg2);
19995
19996 wxPyEndAllowThreads(__tstate);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 Py_INCREF(Py_None); resultobj = Py_None;
20000 return resultobj;
20001 fail:
20002 return NULL;
20003}
20004
20005
20006static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj;
20008 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20009 int arg2 ;
20010 PyObject * obj0 = 0 ;
20011 PyObject * obj1 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self",(char *) "v", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20019 arg2 = (int) SWIG_AsInt(obj1);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 (arg1)->SetToPage(arg2);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 Py_INCREF(Py_None); resultobj = Py_None;
20029 return resultobj;
20030 fail:
20031 return NULL;
20032}
20033
20034
20035static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20038 int arg2 ;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self",(char *) "v", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20048 arg2 = (int) SWIG_AsInt(obj1);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->SetMinPage(arg2);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 Py_INCREF(Py_None); resultobj = Py_None;
20058 return resultobj;
20059 fail:
20060 return NULL;
20061}
20062
20063
20064static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20067 int arg2 ;
20068 PyObject * obj0 = 0 ;
20069 PyObject * obj1 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self",(char *) "v", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20077 arg2 = (int) SWIG_AsInt(obj1);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 (arg1)->SetMaxPage(arg2);
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 Py_INCREF(Py_None); resultobj = Py_None;
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
20093static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj;
20095 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20096 int arg2 ;
20097 PyObject * obj0 = 0 ;
20098 PyObject * obj1 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self",(char *) "v", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20106 arg2 = (int) SWIG_AsInt(obj1);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 (arg1)->SetNoCopies(arg2);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 Py_INCREF(Py_None); resultobj = Py_None;
20116 return resultobj;
20117 fail:
20118 return NULL;
20119}
20120
20121
20122static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20125 bool arg2 ;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "flag", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20135 arg2 = (bool) SWIG_AsBool(obj1);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 (arg1)->SetAllPages(arg2);
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 Py_INCREF(Py_None); resultobj = Py_None;
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
20151static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20154 bool arg2 ;
20155 PyObject * obj0 = 0 ;
20156 PyObject * obj1 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self",(char *) "flag", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20164 arg2 = (bool) SWIG_AsBool(obj1);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 (arg1)->SetSelection(arg2);
20169
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
20173 Py_INCREF(Py_None); resultobj = Py_None;
20174 return resultobj;
20175 fail:
20176 return NULL;
20177}
20178
20179
20180static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20181 PyObject *resultobj;
20182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20183 bool arg2 ;
20184 PyObject * obj0 = 0 ;
20185 PyObject * obj1 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self",(char *) "flag", NULL
20188 };
20189
20190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20193 arg2 = (bool) SWIG_AsBool(obj1);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 {
20196 PyThreadState* __tstate = wxPyBeginAllowThreads();
20197 (arg1)->SetCollate(arg2);
20198
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 Py_INCREF(Py_None); resultobj = Py_None;
20203 return resultobj;
20204 fail:
20205 return NULL;
20206}
20207
20208
20209static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20212 bool arg2 ;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self",(char *) "flag", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20222 arg2 = (bool) SWIG_AsBool(obj1);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 (arg1)->SetPrintToFile(arg2);
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 Py_INCREF(Py_None); resultobj = Py_None;
20232 return resultobj;
20233 fail:
20234 return NULL;
20235}
20236
20237
20238static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20241 bool arg2 ;
20242 PyObject * obj0 = 0 ;
20243 PyObject * obj1 = 0 ;
20244 char *kwnames[] = {
20245 (char *) "self",(char *) "flag", NULL
20246 };
20247
20248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20251 arg2 = (bool) SWIG_AsBool(obj1);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 (arg1)->SetSetupDialog(arg2);
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 Py_INCREF(Py_None); resultobj = Py_None;
20261 return resultobj;
20262 fail:
20263 return NULL;
20264}
20265
20266
20267static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj;
20269 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20270 bool arg2 ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self",(char *) "flag", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20280 arg2 = (bool) SWIG_AsBool(obj1);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 (arg1)->EnablePrintToFile(arg2);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 Py_INCREF(Py_None); resultobj = Py_None;
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
20296static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20299 bool arg2 ;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self",(char *) "flag", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20309 arg2 = (bool) SWIG_AsBool(obj1);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 (arg1)->EnableSelection(arg2);
20314
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 Py_INCREF(Py_None); resultobj = Py_None;
20319 return resultobj;
20320 fail:
20321 return NULL;
20322}
20323
20324
20325static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20328 bool arg2 ;
20329 PyObject * obj0 = 0 ;
20330 PyObject * obj1 = 0 ;
20331 char *kwnames[] = {
20332 (char *) "self",(char *) "flag", NULL
20333 };
20334
20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20338 arg2 = (bool) SWIG_AsBool(obj1);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 (arg1)->EnablePageNumbers(arg2);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 Py_INCREF(Py_None); resultobj = Py_None;
20348 return resultobj;
20349 fail:
20350 return NULL;
20351}
20352
20353
20354static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20357 bool arg2 ;
20358 PyObject * obj0 = 0 ;
20359 PyObject * obj1 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self",(char *) "flag", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20367 arg2 = (bool) SWIG_AsBool(obj1);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 (arg1)->EnableHelp(arg2);
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 Py_INCREF(Py_None); resultobj = Py_None;
20377 return resultobj;
20378 fail:
20379 return NULL;
20380}
20381
20382
20383static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20386 bool result;
20387 PyObject * obj0 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 {
20403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20404 }
20405 return resultobj;
20406 fail:
20407 return NULL;
20408}
20409
20410
20411static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20414 bool result;
20415 PyObject * obj0 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 {
20431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20432 }
20433 return resultobj;
20434 fail:
20435 return NULL;
20436}
20437
20438
20439static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20442 bool result;
20443 PyObject * obj0 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20460 }
20461 return resultobj;
20462 fail:
20463 return NULL;
20464}
20465
20466
20467static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20470 bool result;
20471 PyObject * obj0 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 {
20487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20488 }
20489 return resultobj;
20490 fail:
20491 return NULL;
20492}
20493
20494
20495static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20498 bool result;
20499 PyObject * obj0 = 0 ;
20500 char *kwnames[] = {
20501 (char *) "self", NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 {
20515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20516 }
20517 return resultobj;
20518 fail:
20519 return NULL;
20520}
20521
20522
20523static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20526 wxPrintData *result;
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 {
20538 wxPrintData &_result_ref = (arg1)->GetPrintData();
20539 result = (wxPrintData *) &_result_ref;
20540 }
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20546 return resultobj;
20547 fail:
20548 return NULL;
20549}
20550
20551
20552static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20555 wxPrintData *arg2 = 0 ;
20556 PyObject * obj0 = 0 ;
20557 PyObject * obj1 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "printData", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20566 SWIG_POINTER_EXCEPTION | 0)) == -1)
20567 SWIG_fail;
20568 if (arg2 == NULL) {
20569 PyErr_SetString(PyExc_TypeError,"null reference");
20570 SWIG_fail;
20571 }
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20575
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 Py_INCREF(Py_None); resultobj = Py_None;
20580 return resultobj;
20581 fail:
20582 return NULL;
20583}
20584
20585
20586static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20587 PyObject *obj;
20588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20589 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20590 Py_INCREF(obj);
20591 return Py_BuildValue((char *)"");
20592}
20593static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20594 PyObject *resultobj;
20595 wxWindow *arg1 = (wxWindow *) 0 ;
20596 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20597 wxPrintDialog *result;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "parent",(char *) "data", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20607 if (obj1) {
20608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20610 }
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20619 return resultobj;
20620 fail:
20621 return NULL;
20622}
20623
20624
20625static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj;
20627 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20628 wxPrintDialogData *result;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 {
20640 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20641 result = (wxPrintDialogData *) &_result_ref;
20642 }
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20648 return resultobj;
20649 fail:
20650 return NULL;
20651}
20652
20653
20654static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20657 wxDC *result;
20658 PyObject * obj0 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 {
20667 PyThreadState* __tstate = wxPyBeginAllowThreads();
20668 result = (wxDC *)(arg1)->GetPrintDC();
20669
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 {
20674 resultobj = wxPyMake_wxObject(result);
20675 }
20676 return resultobj;
20677 fail:
20678 return NULL;
20679}
20680
20681
20682static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20685 int result;
20686 PyObject * obj0 = 0 ;
20687 char *kwnames[] = {
20688 (char *) "self", NULL
20689 };
20690
20691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20694 {
20695 PyThreadState* __tstate = wxPyBeginAllowThreads();
20696 result = (int)(arg1)->ShowModal();
20697
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 resultobj = SWIG_FromInt((int)result);
20702 return resultobj;
20703 fail:
20704 return NULL;
20705}
20706
20707
20708static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20709 PyObject *obj;
20710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20711 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20712 Py_INCREF(obj);
20713 return Py_BuildValue((char *)"");
20714}
20715static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20718 wxPrinter *result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "data", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20725 if (obj0) {
20726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20728 }
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = (wxPrinter *)new wxPrinter(arg1);
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20737 return resultobj;
20738 fail:
20739 return NULL;
20740}
20741
20742
20743static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPrinter *arg1 = (wxPrinter *) 0 ;
20746 PyObject * obj0 = 0 ;
20747 char *kwnames[] = {
20748 (char *) "self", NULL
20749 };
20750
20751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20754 {
20755 PyThreadState* __tstate = wxPyBeginAllowThreads();
20756 delete arg1;
20757
20758 wxPyEndAllowThreads(__tstate);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 }
20761 Py_INCREF(Py_None); resultobj = Py_None;
20762 return resultobj;
20763 fail:
20764 return NULL;
20765}
20766
20767
20768static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxPrinter *arg1 = (wxPrinter *) 0 ;
20771 wxWindow *arg2 = (wxWindow *) 0 ;
20772 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20773 PyObject * obj0 = 0 ;
20774 PyObject * obj1 = 0 ;
20775 PyObject * obj2 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self",(char *) "parent",(char *) "printout", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20785 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 (arg1)->CreateAbortWindow(arg2,arg3);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 Py_INCREF(Py_None); resultobj = Py_None;
20795 return resultobj;
20796 fail:
20797 return NULL;
20798}
20799
20800
20801static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxPrinter *arg1 = (wxPrinter *) 0 ;
20804 wxPrintDialogData *result;
20805 PyObject * obj0 = 0 ;
20806 char *kwnames[] = {
20807 (char *) "self", NULL
20808 };
20809
20810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 {
20816 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20817 result = (wxPrintDialogData *) &_result_ref;
20818 }
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20824 return resultobj;
20825 fail:
20826 return NULL;
20827}
20828
20829
20830static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPrinter *arg1 = (wxPrinter *) 0 ;
20833 wxWindow *arg2 = (wxWindow *) 0 ;
20834 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20835 int arg4 = (int) True ;
20836 bool result;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 PyObject * obj2 = 0 ;
20840 PyObject * obj3 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20850 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20852 if (obj3) {
20853 arg4 = (int) SWIG_AsInt(obj3);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 {
20864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20865 }
20866 return resultobj;
20867 fail:
20868 return NULL;
20869}
20870
20871
20872static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxPrinter *arg1 = (wxPrinter *) 0 ;
20875 wxWindow *arg2 = (wxWindow *) 0 ;
20876 wxDC *result;
20877 PyObject * obj0 = 0 ;
20878 PyObject * obj1 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self",(char *) "parent", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 result = (wxDC *)(arg1)->PrintDialog(arg2);
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 {
20896 resultobj = wxPyMake_wxObject(result);
20897 }
20898 return resultobj;
20899 fail:
20900 return NULL;
20901}
20902
20903
20904static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxPrinter *arg1 = (wxPrinter *) 0 ;
20907 wxWindow *arg2 = (wxWindow *) 0 ;
20908 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20909 wxString *arg4 = 0 ;
20910 bool temp4 = False ;
20911 PyObject * obj0 = 0 ;
20912 PyObject * obj1 = 0 ;
20913 PyObject * obj2 = 0 ;
20914 PyObject * obj3 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20924 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20926 {
20927 arg4 = wxString_in_helper(obj3);
20928 if (arg4 == NULL) SWIG_fail;
20929 temp4 = True;
20930 }
20931 {
20932 PyThreadState* __tstate = wxPyBeginAllowThreads();
20933 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20934
20935 wxPyEndAllowThreads(__tstate);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 Py_INCREF(Py_None); resultobj = Py_None;
20939 {
20940 if (temp4)
20941 delete arg4;
20942 }
20943 return resultobj;
20944 fail:
20945 {
20946 if (temp4)
20947 delete arg4;
20948 }
20949 return NULL;
20950}
20951
20952
20953static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxPrinter *arg1 = (wxPrinter *) 0 ;
20956 wxWindow *arg2 = (wxWindow *) 0 ;
20957 bool result;
20958 PyObject * obj0 = 0 ;
20959 PyObject * obj1 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self",(char *) "parent", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = (bool)(arg1)->Setup(arg2);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20978 }
20979 return resultobj;
20980 fail:
20981 return NULL;
20982}
20983
20984
20985static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
20986 PyObject *resultobj;
20987 wxPrinter *arg1 = (wxPrinter *) 0 ;
20988 bool result;
20989 PyObject * obj0 = 0 ;
20990 char *kwnames[] = {
20991 (char *) "self", NULL
20992 };
20993
20994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 result = (bool)(arg1)->GetAbort();
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 {
21005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21006 }
21007 return resultobj;
21008 fail:
21009 return NULL;
21010}
21011
21012
21013static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj;
21015 int result;
21016 char *kwnames[] = {
21017 NULL
21018 };
21019
21020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 result = (int)wxPrinter::GetLastError();
21024
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 resultobj = SWIG_FromInt((int)result);
21029 return resultobj;
21030 fail:
21031 return NULL;
21032}
21033
21034
21035static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21036 PyObject *obj;
21037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21038 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21039 Py_INCREF(obj);
21040 return Py_BuildValue((char *)"");
21041}
21042static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21045 wxString *arg1 = (wxString *) &arg1_defvalue ;
21046 wxPyPrintout *result;
21047 bool temp1 = False ;
21048 PyObject * obj0 = 0 ;
21049 char *kwnames[] = {
21050 (char *) "title", NULL
21051 };
21052
21053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21054 if (obj0) {
21055 {
21056 arg1 = wxString_in_helper(obj0);
21057 if (arg1 == NULL) SWIG_fail;
21058 temp1 = True;
21059 }
21060 }
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 {
21069 resultobj = wxPyMake_wxObject(result);
21070 }
21071 {
21072 if (temp1)
21073 delete arg1;
21074 }
21075 return resultobj;
21076 fail:
21077 {
21078 if (temp1)
21079 delete arg1;
21080 }
21081 return NULL;
21082}
21083
21084
21085static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21086 PyObject *resultobj;
21087 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21088 PyObject *arg2 = (PyObject *) 0 ;
21089 PyObject *arg3 = (PyObject *) 0 ;
21090 PyObject * obj0 = 0 ;
21091 PyObject * obj1 = 0 ;
21092 PyObject * obj2 = 0 ;
21093 char *kwnames[] = {
21094 (char *) "self",(char *) "self",(char *) "_class", NULL
21095 };
21096
21097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21100 arg2 = obj1;
21101 arg3 = obj2;
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 (arg1)->_setCallbackInfo(arg2,arg3);
21105
21106 wxPyEndAllowThreads(__tstate);
21107 if (PyErr_Occurred()) SWIG_fail;
21108 }
21109 Py_INCREF(Py_None); resultobj = Py_None;
21110 return resultobj;
21111 fail:
21112 return NULL;
21113}
21114
21115
21116static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21119 wxString result;
21120 PyObject * obj0 = 0 ;
21121 char *kwnames[] = {
21122 (char *) "self", NULL
21123 };
21124
21125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21128 {
21129 PyThreadState* __tstate = wxPyBeginAllowThreads();
21130 result = ((wxPyPrintout const *)arg1)->GetTitle();
21131
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 {
21136#if wxUSE_UNICODE
21137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21138#else
21139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21140#endif
21141 }
21142 return resultobj;
21143 fail:
21144 return NULL;
21145}
21146
21147
21148static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21151 wxDC *result;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (wxDC *)(arg1)->GetDC();
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 {
21168 resultobj = wxPyMake_wxObject(result);
21169 }
21170 return resultobj;
21171 fail:
21172 return NULL;
21173}
21174
21175
21176static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21179 wxDC *arg2 = (wxDC *) 0 ;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "dc", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 (arg1)->SetDC(arg2);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 Py_INCREF(Py_None); resultobj = Py_None;
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
21205static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21208 int arg2 ;
21209 int arg3 ;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 PyObject * obj2 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "w",(char *) "h", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 arg2 = (int) SWIG_AsInt(obj1);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 arg3 = (int) SWIG_AsInt(obj2);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 (arg1)->SetPageSizePixels(arg2,arg3);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 Py_INCREF(Py_None); resultobj = Py_None;
21232 return resultobj;
21233 fail:
21234 return NULL;
21235}
21236
21237
21238static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21241 int *arg2 = (int *) 0 ;
21242 int *arg3 = (int *) 0 ;
21243 int temp2 ;
21244 int temp3 ;
21245 PyObject * obj0 = 0 ;
21246 char *kwnames[] = {
21247 (char *) "self", NULL
21248 };
21249
21250 arg2 = &temp2;
21251 arg3 = &temp3;
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 (arg1)->GetPageSizePixels(arg2,arg3);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 {
21264 PyObject *o = PyInt_FromLong((long) (*arg2));
21265 resultobj = t_output_helper(resultobj,o);
21266 }
21267 {
21268 PyObject *o = PyInt_FromLong((long) (*arg3));
21269 resultobj = t_output_helper(resultobj,o);
21270 }
21271 return resultobj;
21272 fail:
21273 return NULL;
21274}
21275
21276
21277static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21280 int arg2 ;
21281 int arg3 ;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 PyObject * obj2 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "w",(char *) "h", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21292 arg2 = (int) SWIG_AsInt(obj1);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 arg3 = (int) SWIG_AsInt(obj2);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->SetPageSizeMM(arg2,arg3);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 Py_INCREF(Py_None); resultobj = Py_None;
21304 return resultobj;
21305 fail:
21306 return NULL;
21307}
21308
21309
21310static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21313 int *arg2 = (int *) 0 ;
21314 int *arg3 = (int *) 0 ;
21315 int temp2 ;
21316 int temp3 ;
21317 PyObject * obj0 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self", NULL
21320 };
21321
21322 arg2 = &temp2;
21323 arg3 = &temp3;
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 (arg1)->GetPageSizeMM(arg2,arg3);
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 Py_INCREF(Py_None); resultobj = Py_None;
21335 {
21336 PyObject *o = PyInt_FromLong((long) (*arg2));
21337 resultobj = t_output_helper(resultobj,o);
21338 }
21339 {
21340 PyObject *o = PyInt_FromLong((long) (*arg3));
21341 resultobj = t_output_helper(resultobj,o);
21342 }
21343 return resultobj;
21344 fail:
21345 return NULL;
21346}
21347
21348
21349static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21350 PyObject *resultobj;
21351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21352 int arg2 ;
21353 int arg3 ;
21354 PyObject * obj0 = 0 ;
21355 PyObject * obj1 = 0 ;
21356 PyObject * obj2 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "self",(char *) "x",(char *) "y", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21364 arg2 = (int) SWIG_AsInt(obj1);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 arg3 = (int) SWIG_AsInt(obj2);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 (arg1)->SetPPIScreen(arg2,arg3);
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 Py_INCREF(Py_None); resultobj = Py_None;
21376 return resultobj;
21377 fail:
21378 return NULL;
21379}
21380
21381
21382static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21385 int *arg2 = (int *) 0 ;
21386 int *arg3 = (int *) 0 ;
21387 int temp2 ;
21388 int temp3 ;
21389 PyObject * obj0 = 0 ;
21390 char *kwnames[] = {
21391 (char *) "self", NULL
21392 };
21393
21394 arg2 = &temp2;
21395 arg3 = &temp3;
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 (arg1)->GetPPIScreen(arg2,arg3);
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 Py_INCREF(Py_None); resultobj = Py_None;
21407 {
21408 PyObject *o = PyInt_FromLong((long) (*arg2));
21409 resultobj = t_output_helper(resultobj,o);
21410 }
21411 {
21412 PyObject *o = PyInt_FromLong((long) (*arg3));
21413 resultobj = t_output_helper(resultobj,o);
21414 }
21415 return resultobj;
21416 fail:
21417 return NULL;
21418}
21419
21420
21421static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21422 PyObject *resultobj;
21423 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21424 int arg2 ;
21425 int arg3 ;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 PyObject * obj2 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "x",(char *) "y", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21436 arg2 = (int) SWIG_AsInt(obj1);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 arg3 = (int) SWIG_AsInt(obj2);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 (arg1)->SetPPIPrinter(arg2,arg3);
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 Py_INCREF(Py_None); resultobj = Py_None;
21448 return resultobj;
21449 fail:
21450 return NULL;
21451}
21452
21453
21454static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21455 PyObject *resultobj;
21456 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21457 int *arg2 = (int *) 0 ;
21458 int *arg3 = (int *) 0 ;
21459 int temp2 ;
21460 int temp3 ;
21461 PyObject * obj0 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self", NULL
21464 };
21465
21466 arg2 = &temp2;
21467 arg3 = &temp3;
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 (arg1)->GetPPIPrinter(arg2,arg3);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 Py_INCREF(Py_None); resultobj = Py_None;
21479 {
21480 PyObject *o = PyInt_FromLong((long) (*arg2));
21481 resultobj = t_output_helper(resultobj,o);
21482 }
21483 {
21484 PyObject *o = PyInt_FromLong((long) (*arg3));
21485 resultobj = t_output_helper(resultobj,o);
21486 }
21487 return resultobj;
21488 fail:
21489 return NULL;
21490}
21491
21492
21493static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21496 bool result;
21497 PyObject * obj0 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 result = (bool)(arg1)->IsPreview();
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 {
21513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21514 }
21515 return resultobj;
21516 fail:
21517 return NULL;
21518}
21519
21520
21521static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21522 PyObject *resultobj;
21523 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21524 bool arg2 ;
21525 PyObject * obj0 = 0 ;
21526 PyObject * obj1 = 0 ;
21527 char *kwnames[] = {
21528 (char *) "self",(char *) "p", NULL
21529 };
21530
21531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21534 arg2 = (bool) SWIG_AsBool(obj1);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 (arg1)->SetIsPreview(arg2);
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 Py_INCREF(Py_None); resultobj = Py_None;
21544 return resultobj;
21545 fail:
21546 return NULL;
21547}
21548
21549
21550static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21553 int arg2 ;
21554 int arg3 ;
21555 bool result;
21556 PyObject * obj0 = 0 ;
21557 PyObject * obj1 = 0 ;
21558 PyObject * obj2 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21566 arg2 = (int) SWIG_AsInt(obj1);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 arg3 = (int) SWIG_AsInt(obj2);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 {
21578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21579 }
21580 return resultobj;
21581 fail:
21582 return NULL;
21583}
21584
21585
21586static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21587 PyObject *resultobj;
21588 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21589 PyObject * obj0 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->base_OnEndDocument();
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 Py_INCREF(Py_None); resultobj = Py_None;
21605 return resultobj;
21606 fail:
21607 return NULL;
21608}
21609
21610
21611static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 (arg1)->base_OnBeginPrinting();
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 Py_INCREF(Py_None); resultobj = Py_None;
21630 return resultobj;
21631 fail:
21632 return NULL;
21633}
21634
21635
21636static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21637 PyObject *resultobj;
21638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21639 PyObject * obj0 = 0 ;
21640 char *kwnames[] = {
21641 (char *) "self", NULL
21642 };
21643
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 (arg1)->base_OnEndPrinting();
21650
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
21654 Py_INCREF(Py_None); resultobj = Py_None;
21655 return resultobj;
21656 fail:
21657 return NULL;
21658}
21659
21660
21661static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21662 PyObject *resultobj;
21663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21664 PyObject * obj0 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 (arg1)->base_OnPreparePrinting();
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
21686static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj;
21688 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21689 int arg2 ;
21690 bool result;
21691 PyObject * obj0 = 0 ;
21692 PyObject * obj1 = 0 ;
21693 char *kwnames[] = {
21694 (char *) "self",(char *) "page", NULL
21695 };
21696
21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21700 arg2 = (int) SWIG_AsInt(obj1);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = (bool)(arg1)->base_HasPage(arg2);
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 {
21710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21711 }
21712 return resultobj;
21713 fail:
21714 return NULL;
21715}
21716
21717
21718static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21719 PyObject *resultobj;
21720 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21721 int *arg2 = (int *) 0 ;
21722 int *arg3 = (int *) 0 ;
21723 int *arg4 = (int *) 0 ;
21724 int *arg5 = (int *) 0 ;
21725 int temp2 ;
21726 int temp3 ;
21727 int temp4 ;
21728 int temp5 ;
21729 PyObject * obj0 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self", NULL
21732 };
21733
21734 arg2 = &temp2;
21735 arg3 = &temp3;
21736 arg4 = &temp4;
21737 arg5 = &temp5;
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21741 {
21742 PyThreadState* __tstate = wxPyBeginAllowThreads();
21743 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21744
21745 wxPyEndAllowThreads(__tstate);
21746 if (PyErr_Occurred()) SWIG_fail;
21747 }
21748 Py_INCREF(Py_None); resultobj = Py_None;
21749 {
21750 PyObject *o = PyInt_FromLong((long) (*arg2));
21751 resultobj = t_output_helper(resultobj,o);
21752 }
21753 {
21754 PyObject *o = PyInt_FromLong((long) (*arg3));
21755 resultobj = t_output_helper(resultobj,o);
21756 }
21757 {
21758 PyObject *o = PyInt_FromLong((long) (*arg4));
21759 resultobj = t_output_helper(resultobj,o);
21760 }
21761 {
21762 PyObject *o = PyInt_FromLong((long) (*arg5));
21763 resultobj = t_output_helper(resultobj,o);
21764 }
21765 return resultobj;
21766 fail:
21767 return NULL;
21768}
21769
21770
21771static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21772 PyObject *obj;
21773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21774 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21775 Py_INCREF(obj);
21776 return Py_BuildValue((char *)"");
21777}
21778static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj;
21780 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21781 wxWindow *arg2 = (wxWindow *) 0 ;
21782 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21783 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21784 wxSize const &arg4_defvalue = wxDefaultSize ;
21785 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21786 long arg5 = (long) 0 ;
21787 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21788 wxString *arg6 = (wxString *) &arg6_defvalue ;
21789 wxPreviewCanvas *result;
21790 wxPoint temp3 ;
21791 wxSize temp4 ;
21792 bool temp6 = False ;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 PyObject * obj2 = 0 ;
21796 PyObject * obj3 = 0 ;
21797 PyObject * obj4 = 0 ;
21798 PyObject * obj5 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21808 if (obj2) {
21809 {
21810 arg3 = &temp3;
21811 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21812 }
21813 }
21814 if (obj3) {
21815 {
21816 arg4 = &temp4;
21817 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21818 }
21819 }
21820 if (obj4) {
21821 arg5 = (long) SWIG_AsLong(obj4);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 if (obj5) {
21825 {
21826 arg6 = wxString_in_helper(obj5);
21827 if (arg6 == NULL) SWIG_fail;
21828 temp6 = True;
21829 }
21830 }
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21839 {
21840 if (temp6)
21841 delete arg6;
21842 }
21843 return resultobj;
21844 fail:
21845 {
21846 if (temp6)
21847 delete arg6;
21848 }
21849 return NULL;
21850}
21851
21852
21853static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
21854 PyObject *obj;
21855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21856 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21857 Py_INCREF(obj);
21858 return Py_BuildValue((char *)"");
21859}
21860static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21861 PyObject *resultobj;
21862 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21863 wxFrame *arg2 = (wxFrame *) 0 ;
21864 wxString *arg3 = 0 ;
21865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21867 wxSize const &arg5_defvalue = wxDefaultSize ;
21868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21869 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21870 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21871 wxString *arg7 = (wxString *) &arg7_defvalue ;
21872 wxPreviewFrame *result;
21873 bool temp3 = False ;
21874 wxPoint temp4 ;
21875 wxSize temp5 ;
21876 bool temp7 = False ;
21877 PyObject * obj0 = 0 ;
21878 PyObject * obj1 = 0 ;
21879 PyObject * obj2 = 0 ;
21880 PyObject * obj3 = 0 ;
21881 PyObject * obj4 = 0 ;
21882 PyObject * obj5 = 0 ;
21883 PyObject * obj6 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21893 {
21894 arg3 = wxString_in_helper(obj2);
21895 if (arg3 == NULL) SWIG_fail;
21896 temp3 = True;
21897 }
21898 if (obj3) {
21899 {
21900 arg4 = &temp4;
21901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21902 }
21903 }
21904 if (obj4) {
21905 {
21906 arg5 = &temp5;
21907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21908 }
21909 }
21910 if (obj5) {
21911 arg6 = (long) SWIG_AsLong(obj5);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 if (obj6) {
21915 {
21916 arg7 = wxString_in_helper(obj6);
21917 if (arg7 == NULL) SWIG_fail;
21918 temp7 = True;
21919 }
21920 }
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21929 {
21930 if (temp3)
21931 delete arg3;
21932 }
21933 {
21934 if (temp7)
21935 delete arg7;
21936 }
21937 return resultobj;
21938 fail:
21939 {
21940 if (temp3)
21941 delete arg3;
21942 }
21943 {
21944 if (temp7)
21945 delete arg7;
21946 }
21947 return NULL;
21948}
21949
21950
21951static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj;
21953 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21954 PyObject * obj0 = 0 ;
21955 char *kwnames[] = {
21956 (char *) "self", NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 (arg1)->Initialize();
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 Py_INCREF(Py_None); resultobj = Py_None;
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
21976static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj;
21978 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21979 PyObject * obj0 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 (arg1)->CreateControlBar();
21990
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 Py_INCREF(Py_None); resultobj = Py_None;
21995 return resultobj;
21996 fail:
21997 return NULL;
21998}
21999
22000
22001static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22004 PyObject * obj0 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 (arg1)->CreateCanvas();
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 Py_INCREF(Py_None); resultobj = Py_None;
22020 return resultobj;
22021 fail:
22022 return NULL;
22023}
22024
22025
22026static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22029 wxPreviewControlBar *result;
22030 PyObject * obj0 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
22052static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22053 PyObject *obj;
22054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22055 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22056 Py_INCREF(obj);
22057 return Py_BuildValue((char *)"");
22058}
22059static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj;
22061 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22062 long arg2 ;
22063 wxWindow *arg3 = (wxWindow *) 0 ;
22064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22066 wxSize const &arg5_defvalue = wxDefaultSize ;
22067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22068 long arg6 = (long) wxTAB_TRAVERSAL ;
22069 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22070 wxString *arg7 = (wxString *) &arg7_defvalue ;
22071 wxPreviewControlBar *result;
22072 wxPoint temp4 ;
22073 wxSize temp5 ;
22074 bool temp7 = False ;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 PyObject * obj2 = 0 ;
22078 PyObject * obj3 = 0 ;
22079 PyObject * obj4 = 0 ;
22080 PyObject * obj5 = 0 ;
22081 PyObject * obj6 = 0 ;
22082 char *kwnames[] = {
22083 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22084 };
22085
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22089 arg2 = (long) SWIG_AsLong(obj1);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22093 if (obj3) {
22094 {
22095 arg4 = &temp4;
22096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22097 }
22098 }
22099 if (obj4) {
22100 {
22101 arg5 = &temp5;
22102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22103 }
22104 }
22105 if (obj5) {
22106 arg6 = (long) SWIG_AsLong(obj5);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 if (obj6) {
22110 {
22111 arg7 = wxString_in_helper(obj6);
22112 if (arg7 == NULL) SWIG_fail;
22113 temp7 = True;
22114 }
22115 }
22116 {
22117 PyThreadState* __tstate = wxPyBeginAllowThreads();
22118 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22119
22120 wxPyEndAllowThreads(__tstate);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22124 {
22125 if (temp7)
22126 delete arg7;
22127 }
22128 return resultobj;
22129 fail:
22130 {
22131 if (temp7)
22132 delete arg7;
22133 }
22134 return NULL;
22135}
22136
22137
22138static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22141 int result;
22142 PyObject * obj0 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 result = (int)(arg1)->GetZoomControl();
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 resultobj = SWIG_FromInt((int)result);
22158 return resultobj;
22159 fail:
22160 return NULL;
22161}
22162
22163
22164static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22167 int arg2 ;
22168 PyObject * obj0 = 0 ;
22169 PyObject * obj1 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "self",(char *) "zoom", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22177 arg2 = (int) SWIG_AsInt(obj1);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->SetZoomControl(arg2);
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 Py_INCREF(Py_None); resultobj = Py_None;
22187 return resultobj;
22188 fail:
22189 return NULL;
22190}
22191
22192
22193static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22196 wxPrintPreview *result;
22197 PyObject * obj0 = 0 ;
22198 char *kwnames[] = {
22199 (char *) "self", NULL
22200 };
22201
22202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22205 {
22206 PyThreadState* __tstate = wxPyBeginAllowThreads();
22207 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22208
22209 wxPyEndAllowThreads(__tstate);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 }
22212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22213 return resultobj;
22214 fail:
22215 return NULL;
22216}
22217
22218
22219static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22222 PyObject * obj0 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 (arg1)->OnNext();
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 Py_INCREF(Py_None); resultobj = Py_None;
22238 return resultobj;
22239 fail:
22240 return NULL;
22241}
22242
22243
22244static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22247 PyObject * obj0 = 0 ;
22248 char *kwnames[] = {
22249 (char *) "self", NULL
22250 };
22251
22252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 (arg1)->OnPrevious();
22258
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 Py_INCREF(Py_None); resultobj = Py_None;
22263 return resultobj;
22264 fail:
22265 return NULL;
22266}
22267
22268
22269static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22270 PyObject *resultobj;
22271 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22272 PyObject * obj0 = 0 ;
22273 char *kwnames[] = {
22274 (char *) "self", NULL
22275 };
22276
22277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 (arg1)->OnFirst();
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 Py_INCREF(Py_None); resultobj = Py_None;
22288 return resultobj;
22289 fail:
22290 return NULL;
22291}
22292
22293
22294static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22297 PyObject * obj0 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 (arg1)->OnLast();
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 Py_INCREF(Py_None); resultobj = Py_None;
22313 return resultobj;
22314 fail:
22315 return NULL;
22316}
22317
22318
22319static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22322 PyObject * obj0 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 (arg1)->OnGoto();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 Py_INCREF(Py_None); resultobj = Py_None;
22338 return resultobj;
22339 fail:
22340 return NULL;
22341}
22342
22343
22344static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22345 PyObject *obj;
22346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22347 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22348 Py_INCREF(obj);
22349 return Py_BuildValue((char *)"");
22350}
22351static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22352 PyObject *resultobj;
22353 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22354 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22355 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22356 wxPrintPreview *result;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 PyObject * obj2 = 0 ;
22360
22361 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 if (obj2) {
22367 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 }
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22378 return resultobj;
22379 fail:
22380 return NULL;
22381}
22382
22383
22384static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22385 PyObject *resultobj;
22386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22387 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22388 wxPrintData *arg3 = (wxPrintData *) 0 ;
22389 wxPrintPreview *result;
22390 PyObject * obj0 = 0 ;
22391 PyObject * obj1 = 0 ;
22392 PyObject * obj2 = 0 ;
22393
22394 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22399 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22404
22405 wxPyEndAllowThreads(__tstate);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 }
22408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22409 return resultobj;
22410 fail:
22411 return NULL;
22412}
22413
22414
22415static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22416 int argc;
22417 PyObject *argv[4];
22418 int ii;
22419
22420 argc = PyObject_Length(args);
22421 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22422 argv[ii] = PyTuple_GetItem(args,ii);
22423 }
22424 if ((argc >= 2) && (argc <= 3)) {
22425 int _v;
22426 {
22427 void *ptr;
22428 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22429 _v = 0;
22430 PyErr_Clear();
22431 } else {
22432 _v = 1;
22433 }
22434 }
22435 if (_v) {
22436 {
22437 void *ptr;
22438 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22439 _v = 0;
22440 PyErr_Clear();
22441 } else {
22442 _v = 1;
22443 }
22444 }
22445 if (_v) {
22446 if (argc <= 2) {
22447 return _wrap_new_PrintPreview__SWIG_0(self,args);
22448 }
22449 {
22450 void *ptr;
22451 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22452 _v = 0;
22453 PyErr_Clear();
22454 } else {
22455 _v = 1;
22456 }
22457 }
22458 if (_v) {
22459 return _wrap_new_PrintPreview__SWIG_0(self,args);
22460 }
22461 }
22462 }
22463 }
22464 if (argc == 3) {
22465 int _v;
22466 {
22467 void *ptr;
22468 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22469 _v = 0;
22470 PyErr_Clear();
22471 } else {
22472 _v = 1;
22473 }
22474 }
22475 if (_v) {
22476 {
22477 void *ptr;
22478 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22479 _v = 0;
22480 PyErr_Clear();
22481 } else {
22482 _v = 1;
22483 }
22484 }
22485 if (_v) {
22486 {
22487 void *ptr;
22488 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22489 _v = 0;
22490 PyErr_Clear();
22491 } else {
22492 _v = 1;
22493 }
22494 }
22495 if (_v) {
22496 return _wrap_new_PrintPreview__SWIG_1(self,args);
22497 }
22498 }
22499 }
22500 }
22501
22502 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22503 return NULL;
22504}
22505
22506
22507static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj;
22509 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22510 int arg2 ;
22511 bool result;
22512 PyObject * obj0 = 0 ;
22513 PyObject * obj1 = 0 ;
22514 char *kwnames[] = {
22515 (char *) "self",(char *) "pageNum", NULL
22516 };
22517
22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22521 arg2 = (int) SWIG_AsInt(obj1);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 result = (bool)(arg1)->SetCurrentPage(arg2);
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 {
22531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22532 }
22533 return resultobj;
22534 fail:
22535 return NULL;
22536}
22537
22538
22539static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22542 int result;
22543 PyObject * obj0 = 0 ;
22544 char *kwnames[] = {
22545 (char *) "self", NULL
22546 };
22547
22548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (int)(arg1)->GetCurrentPage();
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = SWIG_FromInt((int)result);
22559 return resultobj;
22560 fail:
22561 return NULL;
22562}
22563
22564
22565static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22568 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self",(char *) "printout", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 (arg1)->SetPrintout(arg2);
22583
22584 wxPyEndAllowThreads(__tstate);
22585 if (PyErr_Occurred()) SWIG_fail;
22586 }
22587 Py_INCREF(Py_None); resultobj = Py_None;
22588 return resultobj;
22589 fail:
22590 return NULL;
22591}
22592
22593
22594static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22597 wxPyPrintout *result;
22598 PyObject * obj0 = 0 ;
22599 char *kwnames[] = {
22600 (char *) "self", NULL
22601 };
22602
22603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = (wxPyPrintout *)(arg1)->GetPrintout();
22609
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 {
22614 resultobj = wxPyMake_wxObject(result);
22615 }
22616 return resultobj;
22617 fail:
22618 return NULL;
22619}
22620
22621
22622static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22623 PyObject *resultobj;
22624 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22625 wxPyPrintout *result;
22626 PyObject * obj0 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22634 {
22635 PyThreadState* __tstate = wxPyBeginAllowThreads();
22636 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22637
22638 wxPyEndAllowThreads(__tstate);
22639 if (PyErr_Occurred()) SWIG_fail;
22640 }
22641 {
22642 resultobj = wxPyMake_wxObject(result);
22643 }
22644 return resultobj;
22645 fail:
22646 return NULL;
22647}
22648
22649
22650static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22653 wxFrame *arg2 = (wxFrame *) 0 ;
22654 PyObject * obj0 = 0 ;
22655 PyObject * obj1 = 0 ;
22656 char *kwnames[] = {
22657 (char *) "self",(char *) "frame", NULL
22658 };
22659
22660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 (arg1)->SetFrame(arg2);
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 Py_INCREF(Py_None); resultobj = Py_None;
22673 return resultobj;
22674 fail:
22675 return NULL;
22676}
22677
22678
22679static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22680 PyObject *resultobj;
22681 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22682 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22683 PyObject * obj0 = 0 ;
22684 PyObject * obj1 = 0 ;
22685 char *kwnames[] = {
22686 (char *) "self",(char *) "canvas", NULL
22687 };
22688
22689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 (arg1)->SetCanvas(arg2);
22697
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 Py_INCREF(Py_None); resultobj = Py_None;
22702 return resultobj;
22703 fail:
22704 return NULL;
22705}
22706
22707
22708static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj;
22710 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22711 wxFrame *result;
22712 PyObject * obj0 = 0 ;
22713 char *kwnames[] = {
22714 (char *) "self", NULL
22715 };
22716
22717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 result = (wxFrame *)(arg1)->GetFrame();
22723
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 {
22728 resultobj = wxPyMake_wxObject(result);
22729 }
22730 return resultobj;
22731 fail:
22732 return NULL;
22733}
22734
22735
22736static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22739 wxPreviewCanvas *result;
22740 PyObject * obj0 = 0 ;
22741 char *kwnames[] = {
22742 (char *) "self", NULL
22743 };
22744
22745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
22762static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22765 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22766 wxDC *arg3 = 0 ;
22767 bool result;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 PyObject * obj2 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22780 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22781 SWIG_POINTER_EXCEPTION | 0)) == -1)
22782 SWIG_fail;
22783 if (arg3 == NULL) {
22784 PyErr_SetString(PyExc_TypeError,"null reference");
22785 SWIG_fail;
22786 }
22787 {
22788 PyThreadState* __tstate = wxPyBeginAllowThreads();
22789 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22790
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 {
22795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22796 }
22797 return resultobj;
22798 fail:
22799 return NULL;
22800}
22801
22802
22803static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22804 PyObject *resultobj;
22805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22806 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22807 wxDC *arg3 = 0 ;
22808 bool result;
22809 PyObject * obj0 = 0 ;
22810 PyObject * obj1 = 0 ;
22811 PyObject * obj2 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22821 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1)
22823 SWIG_fail;
22824 if (arg3 == NULL) {
22825 PyErr_SetString(PyExc_TypeError,"null reference");
22826 SWIG_fail;
22827 }
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 {
22836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22837 }
22838 return resultobj;
22839 fail:
22840 return NULL;
22841}
22842
22843
22844static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj;
22846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22847 int arg2 ;
22848 bool result;
22849 PyObject * obj0 = 0 ;
22850 PyObject * obj1 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "self",(char *) "pageNum", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22858 arg2 = (int) SWIG_AsInt(obj1);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 result = (bool)(arg1)->RenderPage(arg2);
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 {
22868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22869 }
22870 return resultobj;
22871 fail:
22872 return NULL;
22873}
22874
22875
22876static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj;
22878 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22879 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22880 PyObject * obj0 = 0 ;
22881 PyObject * obj1 = 0 ;
22882 char *kwnames[] = {
22883 (char *) "self",(char *) "canvas", NULL
22884 };
22885
22886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 (arg1)->AdjustScrollbars(arg2);
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 Py_INCREF(Py_None); resultobj = Py_None;
22899 return resultobj;
22900 fail:
22901 return NULL;
22902}
22903
22904
22905static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22908 wxPrintDialogData *result;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 {
22920 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22921 result = (wxPrintDialogData *) &_result_ref;
22922 }
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22928 return resultobj;
22929 fail:
22930 return NULL;
22931}
22932
22933
22934static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj;
22936 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22937 int arg2 ;
22938 PyObject * obj0 = 0 ;
22939 PyObject * obj1 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self",(char *) "percent", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22947 arg2 = (int) SWIG_AsInt(obj1);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 {
22950 PyThreadState* __tstate = wxPyBeginAllowThreads();
22951 (arg1)->SetZoom(arg2);
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 Py_INCREF(Py_None); resultobj = Py_None;
22957 return resultobj;
22958 fail:
22959 return NULL;
22960}
22961
22962
22963static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22964 PyObject *resultobj;
22965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22966 int result;
22967 PyObject * obj0 = 0 ;
22968 char *kwnames[] = {
22969 (char *) "self", NULL
22970 };
22971
22972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (int)(arg1)->GetZoom();
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 resultobj = SWIG_FromInt((int)result);
22983 return resultobj;
22984 fail:
22985 return NULL;
22986}
22987
22988
22989static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22990 PyObject *resultobj;
22991 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22992 int result;
22993 PyObject * obj0 = 0 ;
22994 char *kwnames[] = {
22995 (char *) "self", NULL
22996 };
22997
22998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
22999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23001 {
23002 PyThreadState* __tstate = wxPyBeginAllowThreads();
23003 result = (int)(arg1)->GetMaxPage();
23004
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 resultobj = SWIG_FromInt((int)result);
23009 return resultobj;
23010 fail:
23011 return NULL;
23012}
23013
23014
23015static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23016 PyObject *resultobj;
23017 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23018 int result;
23019 PyObject * obj0 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 result = (int)(arg1)->GetMinPage();
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 resultobj = SWIG_FromInt((int)result);
23035 return resultobj;
23036 fail:
23037 return NULL;
23038}
23039
23040
23041static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj;
23043 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23044 bool result;
23045 PyObject * obj0 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 result = (bool)(arg1)->Ok();
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 {
23061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23062 }
23063 return resultobj;
23064 fail:
23065 return NULL;
23066}
23067
23068
23069static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23072 bool arg2 ;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 char *kwnames[] = {
23076 (char *) "self",(char *) "ok", NULL
23077 };
23078
23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",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 (arg1)->SetOk(arg2);
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 Py_INCREF(Py_None); resultobj = Py_None;
23092 return resultobj;
23093 fail:
23094 return NULL;
23095}
23096
23097
23098static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23101 bool arg2 ;
23102 bool result;
23103 PyObject * obj0 = 0 ;
23104 PyObject * obj1 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self",(char *) "interactive", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23112 arg2 = (bool) SWIG_AsBool(obj1);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = (bool)(arg1)->Print(arg2);
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 {
23122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23123 }
23124 return resultobj;
23125 fail:
23126 return NULL;
23127}
23128
23129
23130static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj;
23132 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23133 PyObject * obj0 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->DetermineScaling();
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152}
23153
23154
23155static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23156 PyObject *obj;
23157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23158 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23159 Py_INCREF(obj);
23160 return Py_BuildValue((char *)"");
23161}
23162static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23163 PyObject *resultobj;
23164 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23165 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23166 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23167 wxPyPrintPreview *result;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 PyObject * obj2 = 0 ;
23171
23172 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23177 if (obj2) {
23178 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23180 }
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23189 return resultobj;
23190 fail:
23191 return NULL;
23192}
23193
23194
23195static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23196 PyObject *resultobj;
23197 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23198 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23199 wxPrintData *arg3 = (wxPrintData *) 0 ;
23200 wxPyPrintPreview *result;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 PyObject * obj2 = 0 ;
23204
23205 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23210 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23220 return resultobj;
23221 fail:
23222 return NULL;
23223}
23224
23225
23226static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23227 int argc;
23228 PyObject *argv[4];
23229 int ii;
23230
23231 argc = PyObject_Length(args);
23232 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23233 argv[ii] = PyTuple_GetItem(args,ii);
23234 }
23235 if ((argc >= 2) && (argc <= 3)) {
23236 int _v;
23237 {
23238 void *ptr;
23239 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23240 _v = 0;
23241 PyErr_Clear();
23242 } else {
23243 _v = 1;
23244 }
23245 }
23246 if (_v) {
23247 {
23248 void *ptr;
23249 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23250 _v = 0;
23251 PyErr_Clear();
23252 } else {
23253 _v = 1;
23254 }
23255 }
23256 if (_v) {
23257 if (argc <= 2) {
23258 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23259 }
23260 {
23261 void *ptr;
23262 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23263 _v = 0;
23264 PyErr_Clear();
23265 } else {
23266 _v = 1;
23267 }
23268 }
23269 if (_v) {
23270 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23271 }
23272 }
23273 }
23274 }
23275 if (argc == 3) {
23276 int _v;
23277 {
23278 void *ptr;
23279 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23280 _v = 0;
23281 PyErr_Clear();
23282 } else {
23283 _v = 1;
23284 }
23285 }
23286 if (_v) {
23287 {
23288 void *ptr;
23289 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23290 _v = 0;
23291 PyErr_Clear();
23292 } else {
23293 _v = 1;
23294 }
23295 }
23296 if (_v) {
23297 {
23298 void *ptr;
23299 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23300 _v = 0;
23301 PyErr_Clear();
23302 } else {
23303 _v = 1;
23304 }
23305 }
23306 if (_v) {
23307 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23308 }
23309 }
23310 }
23311 }
23312
23313 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23314 return NULL;
23315}
23316
23317
23318static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23319 PyObject *resultobj;
23320 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23321 PyObject *arg2 = (PyObject *) 0 ;
23322 PyObject *arg3 = (PyObject *) 0 ;
23323 PyObject * obj0 = 0 ;
23324 PyObject * obj1 = 0 ;
23325 PyObject * obj2 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self",(char *) "self",(char *) "_class", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23333 arg2 = obj1;
23334 arg3 = obj2;
23335 {
23336 PyThreadState* __tstate = wxPyBeginAllowThreads();
23337 (arg1)->_setCallbackInfo(arg2,arg3);
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 Py_INCREF(Py_None); resultobj = Py_None;
23343 return resultobj;
23344 fail:
23345 return NULL;
23346}
23347
23348
23349static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23350 PyObject *resultobj;
23351 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23352 int arg2 ;
23353 bool result;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self",(char *) "pageNum", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 arg2 = (int) SWIG_AsInt(obj1);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 {
23373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23374 }
23375 return resultobj;
23376 fail:
23377 return NULL;
23378}
23379
23380
23381static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23384 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23385 wxDC *arg3 = 0 ;
23386 bool result;
23387 PyObject * obj0 = 0 ;
23388 PyObject * obj1 = 0 ;
23389 PyObject * obj2 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23399 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23400 SWIG_POINTER_EXCEPTION | 0)) == -1)
23401 SWIG_fail;
23402 if (arg3 == NULL) {
23403 PyErr_SetString(PyExc_TypeError,"null reference");
23404 SWIG_fail;
23405 }
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 {
23414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23415 }
23416 return resultobj;
23417 fail:
23418 return NULL;
23419}
23420
23421
23422static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23423 PyObject *resultobj;
23424 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23425 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23426 wxDC *arg3 = 0 ;
23427 bool result;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 PyObject * obj2 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23440 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23441 SWIG_POINTER_EXCEPTION | 0)) == -1)
23442 SWIG_fail;
23443 if (arg3 == NULL) {
23444 PyErr_SetString(PyExc_TypeError,"null reference");
23445 SWIG_fail;
23446 }
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 {
23455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23456 }
23457 return resultobj;
23458 fail:
23459 return NULL;
23460}
23461
23462
23463static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23466 int arg2 ;
23467 bool result;
23468 PyObject * obj0 = 0 ;
23469 PyObject * obj1 = 0 ;
23470 char *kwnames[] = {
23471 (char *) "self",(char *) "pageNum", NULL
23472 };
23473
23474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23477 arg2 = (int) SWIG_AsInt(obj1);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (bool)(arg1)->base_RenderPage(arg2);
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 {
23487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23488 }
23489 return resultobj;
23490 fail:
23491 return NULL;
23492}
23493
23494
23495static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23496 PyObject *resultobj;
23497 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23498 int arg2 ;
23499 PyObject * obj0 = 0 ;
23500 PyObject * obj1 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self",(char *) "percent", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",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 = (int) SWIG_AsInt(obj1);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 (arg1)->base_SetZoom(arg2);
23513
23514 wxPyEndAllowThreads(__tstate);
23515 if (PyErr_Occurred()) SWIG_fail;
23516 }
23517 Py_INCREF(Py_None); resultobj = Py_None;
23518 return resultobj;
23519 fail:
23520 return NULL;
23521}
23522
23523
23524static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23525 PyObject *resultobj;
23526 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23527 bool arg2 ;
23528 bool result;
23529 PyObject * obj0 = 0 ;
23530 PyObject * obj1 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "self",(char *) "interactive", NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23538 arg2 = (bool) SWIG_AsBool(obj1);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (bool)(arg1)->base_Print(arg2);
23543
23544 wxPyEndAllowThreads(__tstate);
23545 if (PyErr_Occurred()) SWIG_fail;
23546 }
23547 {
23548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23549 }
23550 return resultobj;
23551 fail:
23552 return NULL;
23553}
23554
23555
23556static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23557 PyObject *resultobj;
23558 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23559 PyObject * obj0 = 0 ;
23560 char *kwnames[] = {
23561 (char *) "self", NULL
23562 };
23563
23564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 (arg1)->base_DetermineScaling();
23570
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 Py_INCREF(Py_None); resultobj = Py_None;
23575 return resultobj;
23576 fail:
23577 return NULL;
23578}
23579
23580
23581static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23582 PyObject *obj;
23583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23584 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23585 Py_INCREF(obj);
23586 return Py_BuildValue((char *)"");
23587}
23588static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23591 wxFrame *arg2 = (wxFrame *) 0 ;
23592 wxString *arg3 = 0 ;
23593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23595 wxSize const &arg5_defvalue = wxDefaultSize ;
23596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23597 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23598 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23599 wxString *arg7 = (wxString *) &arg7_defvalue ;
23600 wxPyPreviewFrame *result;
23601 bool temp3 = False ;
23602 wxPoint temp4 ;
23603 wxSize temp5 ;
23604 bool temp7 = False ;
23605 PyObject * obj0 = 0 ;
23606 PyObject * obj1 = 0 ;
23607 PyObject * obj2 = 0 ;
23608 PyObject * obj3 = 0 ;
23609 PyObject * obj4 = 0 ;
23610 PyObject * obj5 = 0 ;
23611 PyObject * obj6 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23621 {
23622 arg3 = wxString_in_helper(obj2);
23623 if (arg3 == NULL) SWIG_fail;
23624 temp3 = True;
23625 }
23626 if (obj3) {
23627 {
23628 arg4 = &temp4;
23629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23630 }
23631 }
23632 if (obj4) {
23633 {
23634 arg5 = &temp5;
23635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23636 }
23637 }
23638 if (obj5) {
23639 arg6 = (long) SWIG_AsLong(obj5);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 if (obj6) {
23643 {
23644 arg7 = wxString_in_helper(obj6);
23645 if (arg7 == NULL) SWIG_fail;
23646 temp7 = True;
23647 }
23648 }
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23657 {
23658 if (temp3)
23659 delete arg3;
23660 }
23661 {
23662 if (temp7)
23663 delete arg7;
23664 }
23665 return resultobj;
23666 fail:
23667 {
23668 if (temp3)
23669 delete arg3;
23670 }
23671 {
23672 if (temp7)
23673 delete arg7;
23674 }
23675 return NULL;
23676}
23677
23678
23679static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj;
23681 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23682 PyObject *arg2 = (PyObject *) 0 ;
23683 PyObject *arg3 = (PyObject *) 0 ;
23684 PyObject * obj0 = 0 ;
23685 PyObject * obj1 = 0 ;
23686 PyObject * obj2 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "self",(char *) "_class", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23694 arg2 = obj1;
23695 arg3 = obj2;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 (arg1)->_setCallbackInfo(arg2,arg3);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 Py_INCREF(Py_None); resultobj = Py_None;
23704 return resultobj;
23705 fail:
23706 return NULL;
23707}
23708
23709
23710static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj;
23712 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23713 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23714 PyObject * obj0 = 0 ;
23715 PyObject * obj1 = 0 ;
23716 char *kwnames[] = {
23717 (char *) "self",(char *) "canvas", NULL
23718 };
23719
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 (arg1)->SetPreviewCanvas(arg2);
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 Py_INCREF(Py_None); resultobj = Py_None;
23733 return resultobj;
23734 fail:
23735 return NULL;
23736}
23737
23738
23739static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23742 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23743 PyObject * obj0 = 0 ;
23744 PyObject * obj1 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "bar", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 (arg1)->SetControlBar(arg2);
23757
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 Py_INCREF(Py_None); resultobj = Py_None;
23762 return resultobj;
23763 fail:
23764 return NULL;
23765}
23766
23767
23768static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23771 PyObject * obj0 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "self", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 (arg1)->base_Initialize();
23782
23783 wxPyEndAllowThreads(__tstate);
23784 if (PyErr_Occurred()) SWIG_fail;
23785 }
23786 Py_INCREF(Py_None); resultobj = Py_None;
23787 return resultobj;
23788 fail:
23789 return NULL;
23790}
23791
23792
23793static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23794 PyObject *resultobj;
23795 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23796 PyObject * obj0 = 0 ;
23797 char *kwnames[] = {
23798 (char *) "self", NULL
23799 };
23800
23801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->base_CreateCanvas();
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 return resultobj;
23813 fail:
23814 return NULL;
23815}
23816
23817
23818static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23819 PyObject *resultobj;
23820 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23821 PyObject * obj0 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
23827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 (arg1)->base_CreateControlBar();
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 Py_INCREF(Py_None); resultobj = Py_None;
23837 return resultobj;
23838 fail:
23839 return NULL;
23840}
23841
23842
23843static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
23844 PyObject *obj;
23845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23846 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23847 Py_INCREF(obj);
23848 return Py_BuildValue((char *)"");
23849}
23850static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23853 long arg2 ;
23854 wxWindow *arg3 = (wxWindow *) 0 ;
23855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23857 wxSize const &arg5_defvalue = wxDefaultSize ;
23858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23859 long arg6 = (long) 0 ;
23860 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23861 wxString *arg7 = (wxString *) &arg7_defvalue ;
23862 wxPyPreviewControlBar *result;
23863 wxPoint temp4 ;
23864 wxSize temp5 ;
23865 bool temp7 = False ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 PyObject * obj2 = 0 ;
23869 PyObject * obj3 = 0 ;
23870 PyObject * obj4 = 0 ;
23871 PyObject * obj5 = 0 ;
23872 PyObject * obj6 = 0 ;
23873 char *kwnames[] = {
23874 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23875 };
23876
23877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23880 arg2 = (long) SWIG_AsLong(obj1);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23884 if (obj3) {
23885 {
23886 arg4 = &temp4;
23887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23888 }
23889 }
23890 if (obj4) {
23891 {
23892 arg5 = &temp5;
23893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23894 }
23895 }
23896 if (obj5) {
23897 arg6 = (long) SWIG_AsLong(obj5);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
23900 if (obj6) {
23901 {
23902 arg7 = wxString_in_helper(obj6);
23903 if (arg7 == NULL) SWIG_fail;
23904 temp7 = True;
23905 }
23906 }
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23915 {
23916 if (temp7)
23917 delete arg7;
23918 }
23919 return resultobj;
23920 fail:
23921 {
23922 if (temp7)
23923 delete arg7;
23924 }
23925 return NULL;
23926}
23927
23928
23929static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj;
23931 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23932 PyObject *arg2 = (PyObject *) 0 ;
23933 PyObject *arg3 = (PyObject *) 0 ;
23934 PyObject * obj0 = 0 ;
23935 PyObject * obj1 = 0 ;
23936 PyObject * obj2 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "self",(char *) "_class", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23944 arg2 = obj1;
23945 arg3 = obj2;
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 (arg1)->_setCallbackInfo(arg2,arg3);
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 Py_INCREF(Py_None); resultobj = Py_None;
23954 return resultobj;
23955 fail:
23956 return NULL;
23957}
23958
23959
23960static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj;
23962 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23963 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "preview", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23975 {
23976 PyThreadState* __tstate = wxPyBeginAllowThreads();
23977 (arg1)->SetPrintPreview(arg2);
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 Py_INCREF(Py_None); resultobj = Py_None;
23983 return resultobj;
23984 fail:
23985 return NULL;
23986}
23987
23988
23989static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
23990 PyObject *resultobj;
23991 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23992 PyObject * obj0 = 0 ;
23993 char *kwnames[] = {
23994 (char *) "self", NULL
23995 };
23996
23997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
23998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 (arg1)->base_CreateButtons();
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 Py_INCREF(Py_None); resultobj = Py_None;
24008 return resultobj;
24009 fail:
24010 return NULL;
24011}
24012
24013
24014static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj;
24016 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24017 int arg2 ;
24018 PyObject * obj0 = 0 ;
24019 PyObject * obj1 = 0 ;
24020 char *kwnames[] = {
24021 (char *) "self",(char *) "zoom", NULL
24022 };
24023
24024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24027 arg2 = (int) SWIG_AsInt(obj1);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 (arg1)->base_SetZoomControl(arg2);
24032
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 Py_INCREF(Py_None); resultobj = Py_None;
24037 return resultobj;
24038 fail:
24039 return NULL;
24040}
24041
24042
24043static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24044 PyObject *obj;
24045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24046 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24047 Py_INCREF(obj);
24048 return Py_BuildValue((char *)"");
24049}
24050static PyMethodDef SwigMethods[] = {
24051 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24052 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24053 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24054 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24055 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24056 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24057 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24058 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24059 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24060 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24061 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24062 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24063 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24064 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24065 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24066 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24067 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24068 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24069 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24070 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24071 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24072 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24073 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24074 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24075 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24076 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24077 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24078 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24079 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24080 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24081 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24082 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24083 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24084 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24085 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24086 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24087 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24088 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24089 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24090 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24091 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24092 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24093 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24094 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24095 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24096 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24097 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24098 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24099 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24100 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24101 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24102 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24103 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24104 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24105 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24106 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24107 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24108 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24109 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24110 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24111 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24112 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24113 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24114 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24115 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24116 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24117 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24118 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24119 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24120 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24121 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24122 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24123 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24124 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24125 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24126 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24127 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24128 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24129 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24130 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24131 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24132 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24133 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24134 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24135 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24136 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24137 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24138 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24139 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24140 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24141 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24142 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24143 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24144 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24145 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24146 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24147 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24148 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24149 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24150 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24151 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24152 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24153 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24154 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24155 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24156 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24157 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24158 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24159 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24160 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24161 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24162 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24163 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24164 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24165 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24166 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24167 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24168 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24169 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24170 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24171 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24172 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24173 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24174 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24175 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24176 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24177 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24178 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24179 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24180 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24181 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24182 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24183 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24184 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24185 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24186 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24187 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24188 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24189 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24190 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24191 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24192 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24193 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24194 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24195 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24196 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24197 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24198 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24199 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24200 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24201 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24202 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24203 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24204 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24205 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24206 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24207 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24208 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24209 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24210 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24211 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24212 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24213 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24214 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24215 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24216 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24217 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24218 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24219 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24220 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24221 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24222 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24223 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24224 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24225 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24226 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24227 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24228 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24229 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24230 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24231 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24232 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24233 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24234 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24235 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24236 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24237 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24238 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24239 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24240 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24241 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24242 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24243 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24244 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24245 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24246 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24247 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24248 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24249 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24250 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24251 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24252 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24253 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24254 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24255 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24256 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24257 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24258 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24259 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24260 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24261 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24262 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24263 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24264 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24265 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24266 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24267 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24268 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24269 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24270 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24271 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24272 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24273 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24274 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24276 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24278 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24283 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24299 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24309 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
d6c14a4c 24315 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
24316 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24317 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24321 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24323 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24332 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24335 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24342 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24360 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24364 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24369 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24373 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24389 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24392 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24394 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24398 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24407 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24416 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24422 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24434 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24441 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24445 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24469 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24493 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24517 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24563 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24595 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24599 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24600 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24633 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24638 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24649 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24672 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24674 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24680 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24690 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24691 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24714 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24715 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24724 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24732 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24738 { NULL, NULL }
24739};
24740
24741
24742/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24743
24744static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24745 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24746}
24747static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24748 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24749}
24750static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24751 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24752}
24753static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24754 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24755}
24756static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24757 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24758}
24759static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24760 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24761}
24762static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24763 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24764}
24765static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24766 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24767}
24768static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24769 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24770}
24771static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24772 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24773}
24774static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24775 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24776}
24777static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24778 return (void *)((wxEvent *) ((wxPyEvent *) x));
24779}
24780static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24781 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24782}
24783static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24784 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24785}
24786static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24787 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24788}
24789static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24790 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24791}
24792static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24793 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24794}
24795static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24796 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24797}
24798static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24799 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24800}
24801static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24802 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24803}
24804static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24805 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24806}
24807static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24808 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24809}
24810static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
24811 return (void *)((wxEvent *) ((wxPaintEvent *) x));
24812}
24813static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
24814 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
24815}
24816static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
24817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
24818}
24819static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
24820 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
24821}
24822static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
24823 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
24824}
24825static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
24826 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24827}
24828static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
24829 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
24830}
24831static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
24832 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
24833}
24834static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
24835 return (void *)((wxEvent *) ((wxFocusEvent *) x));
24836}
24837static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
24838 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
24839}
24840static void *_p_wxSashEventTo_p_wxEvent(void *x) {
24841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
24842}
24843static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
24844 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24845}
24846static void *_p_wxShowEventTo_p_wxEvent(void *x) {
24847 return (void *)((wxEvent *) ((wxShowEvent *) x));
24848}
24849static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
24850 return (void *)((wxEvent *) ((wxCommandEvent *) x));
24851}
24852static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
24853 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
24854}
24855static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
24856 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24857}
24858static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
24859 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
24860}
24861static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24862 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24863}
24864static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24865 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24866}
24867static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24868 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24869}
24870static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24871 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24872}
24873static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24875}
24876static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24878}
24879static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24880 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24881}
24882static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24883 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24884}
24885static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24886 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24887}
24888static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24889 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24890}
24891static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24892 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24893}
24894static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24895 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24896}
24897static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24898 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24899}
24900static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24902}
24903static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24905}
24906static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24907 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24908}
24909static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24910 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24911}
24912static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24913 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24914}
24915static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24916 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24917}
24918static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24919 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24920}
24921static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24922 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24923}
24924static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24925 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24926}
24927static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24928 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24929}
24930static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24931 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24932}
24933static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24934 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24935}
24936static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24937 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24938}
24939static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24940 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24941}
24942static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24943 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24944}
24945static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24946 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24947}
24948static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24949 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24950}
24951static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24953}
24954static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24955 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24956}
24957static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
24958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
24959}
24960static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24961 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24962}
24963static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24965}
24966static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24967 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24968}
24969static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24970 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24971}
24972static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24973 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24974}
24975static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24976 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24977}
24978static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24979 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24980}
24981static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24982 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24983}
24984static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24986}
24987static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24989}
24990static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24991 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24992}
24993static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24994 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24995}
24996static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
24997 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
24998}
24999static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25001}
25002static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25004}
25005static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25007}
25008static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25010}
25011static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25013}
25014static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25016}
25017static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25018 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25019}
25020static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25021 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25022}
25023static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25024 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25025}
25026static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25027 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25028}
25029static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25030 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25031}
25032static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25033 return (void *)((wxFrame *) ((wxTipWindow *) x));
25034}
25035static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25036 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25037}
25038static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25039 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25040}
25041static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25042 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25043}
25044static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25045 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25046}
25047static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25048 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25049}
25050static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25051 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25052}
25053static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25054 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25055}
25056static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25058}
25059static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25061}
25062static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25063 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25064}
25065static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25066 return (void *)((wxObject *) ((wxSizerItem *) x));
25067}
25068static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25070}
25071static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25072 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25073}
25074static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25075 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25076}
25077static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25078 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25079}
25080static void *_p_wxSizerTo_p_wxObject(void *x) {
25081 return (void *)((wxObject *) ((wxSizer *) x));
25082}
25083static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25084 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25085}
25086static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25088}
25089static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25091}
25092static void *_p_wxEventTo_p_wxObject(void *x) {
25093 return (void *)((wxObject *) ((wxEvent *) x));
25094}
25095static void *_p_wxFontDataTo_p_wxObject(void *x) {
25096 return (void *)((wxObject *) ((wxFontData *) x));
25097}
25098static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25099 return (void *)((wxObject *) ((wxPrintData *) x));
25100}
25101static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25102 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25103}
25104static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25105 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25106}
25107static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25108 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25109}
25110static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25111 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25112}
25113static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25114 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25115}
25116static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25118}
25119static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25120 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25121}
25122static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25123 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25124}
25125static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25126 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25127}
25128static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25129 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25130}
25131static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25132 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25133}
25134static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25135 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25136}
25137static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25139}
25140static void *_p_wxControlTo_p_wxObject(void *x) {
25141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25142}
25143static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25144 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25145}
25146static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25147 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25148}
25149static void *_p_wxFSFileTo_p_wxObject(void *x) {
25150 return (void *)((wxObject *) ((wxFSFile *) x));
25151}
25152static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25153 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25154}
25155static void *_p_wxPySizerTo_p_wxObject(void *x) {
25156 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25157}
25158static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25160}
25161static void *_p_wxColourDataTo_p_wxObject(void *x) {
25162 return (void *)((wxObject *) ((wxColourData *) x));
25163}
25164static void *_p_wxPyEventTo_p_wxObject(void *x) {
25165 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25166}
25167static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25168 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25169}
25170static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25172}
25173static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25175}
25176static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25178}
25179static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25181}
25182static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25184}
25185static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25187}
25188static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25190}
25191static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25193}
25194static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25196}
25197static void *_p_wxShowEventTo_p_wxObject(void *x) {
25198 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25199}
25200static void *_p_wxPrinterTo_p_wxObject(void *x) {
25201 return (void *)((wxObject *) ((wxPrinter *) x));
25202}
25203static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25204 return (void *)((wxObject *) ((wxMenuItem *) x));
25205}
25206static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25207 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25208}
25209static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25210 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25211}
25212static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25213 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25214}
25215static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25216 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25217}
25218static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25219 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25220}
25221static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25222 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25223}
25224static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25225 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25226}
25227static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25228 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25229}
25230static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25231 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25232}
25233static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25234 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25235}
25236static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25237 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25238}
25239static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25240 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25241}
25242static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25243 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25244}
25245static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25246 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25247}
25248static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25249 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25250}
25251static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25252 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25253}
25254static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25255 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25256}
25257static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25258 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25259}
25260static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25261 return (void *)((wxObject *) ((wxImageHandler *) x));
25262}
25263static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25264 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25265}
25266static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25267 return (void *)((wxObject *) ((wxEvtHandler *) x));
25268}
25269static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25270 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25271}
25272static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25274}
25275static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25277}
25278static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25279 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25280}
25281static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25283}
25284static void *_p_wxImageTo_p_wxObject(void *x) {
25285 return (void *)((wxObject *) ((wxImage *) x));
25286}
25287static void *_p_wxFrameTo_p_wxObject(void *x) {
25288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25289}
25290static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25291 return (void *)((wxObject *) ((wxPyPrintout *) x));
25292}
25293static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25294 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25295}
25296static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25297 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25298}
25299static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25301}
25302static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25304}
25305static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25306 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25307}
25308static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25309 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25310}
25311static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25312 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25313}
25314static void *_p_wxWindowTo_p_wxObject(void *x) {
25315 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25316}
25317static void *_p_wxMenuTo_p_wxObject(void *x) {
25318 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25319}
25320static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25322}
25323static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25325}
25326static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25328}
25329static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25331}
25332static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25334}
25335static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25337}
25338static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25340}
25341static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25343}
25344static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25346}
25347static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25349}
25350static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25352}
25353static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25355}
25356static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25358}
25359static void *_p_wxSashEventTo_p_wxObject(void *x) {
25360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25361}
25362static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25363 return (void *)((wxObject *) ((wxPrintPreview *) x));
25364}
25365static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25366 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25367}
25368static void *_p_wxPanelTo_p_wxObject(void *x) {
25369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25370}
25371static void *_p_wxDialogTo_p_wxObject(void *x) {
25372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25373}
25374static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25376}
25377static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25379}
25380static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25382}
25383static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25385}
25386static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25388}
25389static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25390 return (void *)((wxObject *) ((wxFileSystem *) x));
25391}
25392static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25394}
25395static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25396 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25397}
25398static void *_p_wxPyAppTo_p_wxObject(void *x) {
25399 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25400}
25401static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25402 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25403}
25404static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25405 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25406}
25407static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25408 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25409}
25410static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25412}
25413static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25414 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25415}
25416static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25418}
25419static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25421}
25422static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25423 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25424}
25425static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25426 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25427}
25428static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25430}
25431static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25433}
25434static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25436}
25437static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25439}
25440static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25442}
25443static void *_p_wxValidatorTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25445}
25446static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25447 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25448}
25449static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25450 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25451}
25452static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25453 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25454}
25455static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25456 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25457}
25458static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25459 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25460}
25461static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25462 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25463}
25464static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25465 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25466}
25467static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25468 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25469}
25470static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25471 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25472}
25473static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25474 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25475}
25476static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25477 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25478}
25479static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25480 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25481}
25482static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25483 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25484}
25485static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
25486 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
25487}
25488static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25489 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25490}
25491static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25492 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25493}
25494static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25495 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25496}
25497static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25498 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25499}
25500static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25501 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25502}
25503static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25504 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25505}
25506static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25507 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25508}
25509static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25510 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25511}
25512static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25513 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25514}
25515static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25516 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25517}
25518static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25519 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25520}
25521static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25523}
25524static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25525 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25526}
25527static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25528 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25529}
25530static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25531 return (void *)((wxWindow *) ((wxMenuBar *) x));
25532}
25533static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25534 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25535}
25536static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25537 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25538}
25539static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25540 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25541}
25542static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25543 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25544}
25545static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25546 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25547}
25548static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25549 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25550}
25551static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25552 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25553}
25554static void *_p_wxPanelTo_p_wxWindow(void *x) {
25555 return (void *)((wxWindow *) ((wxPanel *) x));
25556}
25557static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25558 return (void *)((wxWindow *) ((wxStatusBar *) x));
25559}
25560static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25561 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25562}
25563static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25564 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25565}
25566static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25567 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25568}
25569static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25570 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25571}
25572static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25573 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25574}
25575static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25576 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25577}
25578static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25579 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25580}
25581static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25582 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25583}
25584static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25585 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25586}
25587static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25588 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25589}
25590static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25591 return (void *)((wxWindow *) ((wxSashWindow *) x));
25592}
25593static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25594 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25595}
25596static void *_p_wxControlTo_p_wxWindow(void *x) {
25597 return (void *)((wxWindow *) ((wxControl *) x));
25598}
25599static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25600 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25601}
25602static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25603 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25604}
25605static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25606 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25607}
25608static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25609 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25610}
25611static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25612 return (void *)((wxWindow *) ((wxPyWindow *) x));
25613}
25614static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25615 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25616}
25617static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25618 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25619}
25620static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25621 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25622}
25623static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25624 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25625}
25626static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25627 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25628}
25629static void *_p_wxFrameTo_p_wxWindow(void *x) {
25630 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25631}
25632static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25634}
25635static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25637}
25638static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25639 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25640}
25641static void *_p_wxDialogTo_p_wxWindow(void *x) {
25642 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25643}
25644static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25645 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25646}
25647static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25648 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25649}
25650static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25651 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25652}
25653static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25654 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25655}
25656static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25657 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25658}
25659static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25660 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25661}
25662static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25663 return (void *)((wxDialog *) ((wxColourDialog *) x));
25664}
25665static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25666 return (void *)((wxDialog *) ((wxDirDialog *) x));
25667}
25668static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25669 return (void *)((wxDialog *) ((wxFontDialog *) x));
25670}
25671static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25672 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25673}
25674static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25675 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25676}
25677static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25678 return (void *)((wxDialog *) ((wxFileDialog *) x));
25679}
25680static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25681 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25682}
25683static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25684 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25685}
25686static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25687 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25688}
25689static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25690 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25691}
25692static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25693 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25694}
25695static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25696 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25697}
25698static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25699 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25700}
25701static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25702 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25703}
25704static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25705 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25706}
25707static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25708 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25709}
25710static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25711 return (void *)((wxPanel *) ((wxPyPanel *) x));
25712}
25713static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25714 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25715}
25716static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25717 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25718}
25719static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25720 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25721}
25722static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25723 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25724}
25725static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25726 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25727}
25728static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25729 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25730}
25731static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25732 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25733}
25734static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25735 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25736}
25737static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25738 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25739}
25740static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25741 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25742}
25743static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25744 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25745}
25746static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25747 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25748}
25749static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25750 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25751}
25752static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25753 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25754}
25755static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25756 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25757}
25758static 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}};
25759static 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}};
25760static 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}};
25761static 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}};
25762static 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}};
25763static 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}};
25764static 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}};
25765static 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}};
25766static 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}};
25767static 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}};
25768static 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}};
25769static 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}};
25770static 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}};
25771static 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}};
25772static 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}};
25773static 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}};
25774static 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}};
25775static 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}};
25776static 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}};
25777static 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}};
25778static 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}};
25779static 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}};
25780static 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}};
25781static 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}};
25782static 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}};
25783static 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}};
25784static 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}};
25785static 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}};
25786static 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}};
25787static 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}};
25788static 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}};
25789static 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}};
25790static 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}};
25791static 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}};
25792static 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}};
25793static 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}};
25794static 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}};
25795static 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}};
25796static 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}};
25797static 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}};
25798static 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}};
25799static 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}};
25800static 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}};
25801static 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}};
25802static 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}};
25803static 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}};
25804static 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}};
25805static 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}};
25806static 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}};
25807static 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}};
25808static 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}};
25809static 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}};
25810static 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}};
25811static 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}};
25812static 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}};
25813static 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}};
25814static 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}};
25815static 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}};
25816static 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}};
25817static 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}};
25818static 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}};
25819static 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}};
25820static 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}};
25821static 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}};
25822static 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}};
25823static 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}};
25824static 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}};
25825static 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}};
25826static 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}};
25827static 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}};
25828static 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}};
25829static 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}};
25830static 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}};
25831static 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}};
25832static 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}};
25833static 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}};
25834static 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}};
d6c14a4c 25835static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
25836static 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}};
25837static 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}};
25838static 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}};
25839static 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}};
25840static 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}};
25841static 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}};
25842static 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}};
25843static 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}};
25844
25845static swig_type_info *swig_types_initial[] = {
25846_swigt__p_wxQueryLayoutInfoEvent,
25847_swigt__p_wxPreviewFrame,
25848_swigt__p_wxPyPreviewFrame,
25849_swigt__p_wxPyPanel,
25850_swigt__p_wxMenu,
25851_swigt__p_wxPrintData,
25852_swigt__p_wxFontData,
25853_swigt__p_wxEvent,
25854_swigt__p_wxTaskBarIcon,
25855_swigt__p_wxIconBundle,
25856_swigt__p_wxLayoutAlgorithm,
25857_swigt__p_wxFindDialogEvent,
25858_swigt__p_wxPreviewCanvas,
25859_swigt__p_wxFont,
25860_swigt__p_wxSplitterEvent,
25861_swigt__p_wxRegion,
25862_swigt__p_wxFindReplaceData,
25863_swigt__p_int,
25864_swigt__p_wxSize,
25865_swigt__p_wxDC,
25866_swigt__p_wxIcon,
25867_swigt__p_wxMDIChildFrame,
25868_swigt__p_wxColourData,
25869_swigt__p_wxNotifyEvent,
25870_swigt__p_wxPyWindow,
25871_swigt__p_wxSplashScreen,
25872_swigt__p_wxFindReplaceDialog,
25873_swigt__p_wxProgressDialog,
25874_swigt__p_wxMessageDialog,
25875_swigt__p_wxTextEntryDialog,
25876_swigt__p_wxSingleChoiceDialog,
25877_swigt__p_wxMultiChoiceDialog,
25878_swigt__p_wxFileDialog,
25879_swigt__p_wxPrinter,
25880_swigt__p_wxArrayInt,
25881_swigt__p_wxEvtHandler,
25882_swigt__p_wxCalculateLayoutEvent,
25883_swigt__p_wxPyHtmlListBox,
25884_swigt__p_wxPyVListBox,
25885_swigt__p_wxRect,
25886_swigt__p_char,
25887_swigt__p_wxMiniFrame,
25888_swigt__p_wxFrame,
25889_swigt__p_wxPyPrintout,
25890_swigt__p_wxTaskBarIconEvent,
25891_swigt__p_wxScrollWinEvent,
25892_swigt__p_wxStatusBar,
25893_swigt__p_wxMDIParentFrame,
25894_swigt__p_wxPoint,
25895_swigt__p_wxObject,
25896_swigt__p_wxOutputStream,
25897_swigt__p_unsigned_long,
25898_swigt__p_wxPyScrolledWindow,
25899_swigt__p_wxMDIClientWindow,
25900_swigt__p_wxTipWindow,
25901_swigt__p_wxPyPopupTransientWindow,
25902_swigt__p_wxSashLayoutWindow,
25903_swigt__p_wxSplitterWindow,
25904_swigt__p_wxPyVScrolledWindow,
25905_swigt__p_wxPopupWindow,
25906_swigt__p_wxSashWindow,
25907_swigt__p_wxTopLevelWindow,
25908_swigt__p_wxWindow,
25909_swigt__p_wxScrolledWindow,
25910_swigt__p_wxSplashScreenWindow,
25911_swigt__p_wxMenuBar,
25912_swigt__p_wxPrintPreview,
25913_swigt__p_wxSashEvent,
25914_swigt__p_wxString,
25915_swigt__p_wxPyPrintPreview,
25916_swigt__p_wxFontDialog,
25917_swigt__p_wxDirDialog,
25918_swigt__p_wxColourDialog,
25919_swigt__p_wxDialog,
25920_swigt__p_wxPanel,
25921_swigt__p_wxPageSetupDialog,
25922_swigt__p_wxPrintDialog,
d6c14a4c 25923_swigt__p_wxFileSystem,
d55e5bfc
RD
25924_swigt__p_wxBitmap,
25925_swigt__p_wxCommandEvent,
25926_swigt__p_wxPreviewControlBar,
25927_swigt__p_wxPyPreviewControlBar,
25928_swigt__p_wxColour,
25929_swigt__p_wxToolBar,
25930_swigt__p_wxPageSetupDialogData,
25931_swigt__p_wxPrintDialogData,
259320
25933};
25934
25935
25936/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25937
25938static swig_const_info swig_const_table[] = {
25939{0}};
25940
25941#ifdef __cplusplus
25942}
25943#endif
25944
25945#ifdef __cplusplus
25946extern "C"
25947#endif
25948SWIGEXPORT(void) SWIG_init(void) {
25949 static PyObject *SWIG_globals = 0;
25950 static int typeinit = 0;
25951 PyObject *m, *d;
25952 int i;
25953 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25954 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25955 d = PyModule_GetDict(m);
25956
25957 if (!typeinit) {
25958 for (i = 0; swig_types_initial[i]; i++) {
25959 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25960 }
25961 typeinit = 1;
25962 }
25963 SWIG_InstallConstants(d,swig_const_table);
25964
25965 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25966 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25967 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25968 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25969 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25970 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
25971 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
25972 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
25973 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
25974 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
25975 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
25976 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
25977 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
25978 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
25979 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
25980 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
25981 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
25982 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
25983 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
25984 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
25985 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
25986 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
25987 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
25988 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
25989 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
25990 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
25991 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
25992 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
25993 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
25994 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
25995 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25996 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25997 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25998 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25999 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26000 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26001 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26002 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26003 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26004 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26005 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26006 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26007 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26008 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26009 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26010 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26011 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26012 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26013 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26014 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26015 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26016 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26017 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26018 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26019 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26020 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26021 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26022 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26023 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26024 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26025 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26026 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26027 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26028 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26029 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26030 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26031 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26032 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26033 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26034 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26035 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26036 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26037 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26038 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26039 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26040 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26041 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26042 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26043 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26044 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26045 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26046 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26047 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26048 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26049 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26050 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26051 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26052 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26053 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26054 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26055 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26056 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26057 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26058
26059 // Map renamed classes back to their common name for OOR
26060 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26061 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26062 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26063
26064 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26065 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26066 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26067 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26068 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26069 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26070 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26071 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26072 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26073 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26074 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26075 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26076 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26077 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26078 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26079 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26080 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26081 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26082 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26083 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26084 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26085 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26086 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26087 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26088 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26089 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26090 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26091 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26092 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26093 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26094 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26095 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26096 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26097 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26098 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26099 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26100 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26101 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26102 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26103 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26104 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26105 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26106 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26107 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26108 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26109 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26110 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26111 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26112 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26113 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26114 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26115 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26116 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26117 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26118 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26119 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26120 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26121 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26122 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26123 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26124
26125 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26126
26127}
26128