]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
style sheet for the api docs
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
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
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
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
cc6dd355
RD
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
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
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 {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
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 *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
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
d14a1e28
RD
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
d14a1e28
RD
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)
a41e16b6 173
d14a1e28
RD
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)
d14a1e28
RD
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
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
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[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
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]
1e0c8722
RD
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]
994141e6
RD
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]
db914595
RD
259#define SWIGTYPE_p_wxOutputStream swig_types[50]
260#define SWIGTYPE_p_unsigned_long swig_types[51]
1cb4a8aa
RD
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_wxSashLayoutWindow swig_types[55]
265#define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268#define SWIGTYPE_p_wxPopupWindow swig_types[59]
269#define SWIGTYPE_p_wxSashWindow swig_types[60]
270#define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271#define SWIGTYPE_p_wxWindow swig_types[62]
272#define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273#define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274#define SWIGTYPE_p_wxMenuBar swig_types[65]
275#define SWIGTYPE_p_wxPrintPreview swig_types[66]
276#define SWIGTYPE_p_wxSashEvent swig_types[67]
277#define SWIGTYPE_p_wxString swig_types[68]
278#define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279#define SWIGTYPE_p_wxFontDialog swig_types[70]
280#define SWIGTYPE_p_wxDirDialog swig_types[71]
281#define SWIGTYPE_p_wxColourDialog swig_types[72]
282#define SWIGTYPE_p_wxDialog swig_types[73]
283#define SWIGTYPE_p_wxPanel swig_types[74]
284#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285#define SWIGTYPE_p_wxPrintDialog swig_types[76]
286#define SWIGTYPE_p_wxBitmap swig_types[77]
287#define SWIGTYPE_p_wxCommandEvent swig_types[78]
288#define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290#define SWIGTYPE_p_wxColour swig_types[81]
291#define SWIGTYPE_p_wxToolBar swig_types[82]
292#define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293#define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294static swig_type_info *swig_types[86];
d14a1e28
RD
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
54f9ee45 300 @(target):= _windows_.so
d14a1e28 301 ------------------------------------------------*/
54f9ee45 302#define SWIG_init init_windows_
d14a1e28 303
54f9ee45 304#define SWIG_name "_windows_"
d14a1e28 305
15afbcd0 306/* Auxiliar swig macros */
994141e6 307
994141e6 308#ifdef __cplusplus
15afbcd0 309#define SWIGSTATICINLINE(a) static inline a
994141e6 310#define SWIGSTATIC(a) static a
15afbcd0
RD
311#define swig_new_array(type, size) (new type[(size)])
312#define swig_delete_array(cptr) delete[] cptr
313#define swig_const_cast(type,a) const_cast<type>(a)
314#define swig_static_cast(type,a) static_cast<type>(a)
315#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 316
994141e6 317#ifdef HAVE_NUMERIC_CAST
15afbcd0 318#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 319#else
15afbcd0 320#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
321#endif
322
15afbcd0
RD
323#else /* C case */
324
325#define SWIGSTATICINLINE(a) static a
326#define SWIGSTATIC(a) static a
327#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328#define swig_delete_array(cptr) free((char*)cptr)
329#define swig_const_cast(type,a) (type)(a)
330#define swig_static_cast(type,a) (type)(a)
331#define swig_reinterpret_cast(type,a) (type)(a)
332#define swig_numeric_cast(type,a) (type)(a)
333
334#endif /* __cplusplus */
994141e6
RD
335
336
15afbcd0
RD
337#define SWIG_FromSignedChar PyInt_FromLong
338#define SWIG_FromUnsignedChar PyInt_FromLong
339#define SWIG_FromShort PyInt_FromLong
340#define SWIG_FromUnsignedShort PyInt_FromLong
341#define SWIG_FromInt PyInt_FromLong
342#define SWIG_FromLong PyInt_FromLong
343#define SWIG_FromFloat PyFloat_FromDouble
344#define SWIG_FromDouble PyFloat_FromDouble
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
347
348
d14a1e28
RD
349#include "wx/wxPython/wxPython.h"
350#include "wx/wxPython/pyclasses.h"
351
d14a1e28 352
b2dc1044
RD
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
355
356
357
15afbcd0
RD
358#include <limits.h>
359
360
361SWIGSTATICINLINE(long)
362SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364{
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
994141e6
RD
382}
383
384
15afbcd0
RD
385SWIGSTATICINLINE(long)
386SWIG_AsLong(PyObject * obj)
994141e6 387{
69223c70
RD
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
994141e6
RD
397}
398
399
15afbcd0
RD
400#if INT_MAX != LONG_MAX
401SWIGSTATICINLINE(int)
402SWIG_AsInt(PyObject *obj)
403{
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407}
408#else
409#define SWIG_AsInt SWIG_AsLong
410#endif
411
412
413SWIGSTATICINLINE(int)
414SWIG_CheckInt(PyObject* obj)
415{
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423}
424
425
426SWIGSTATICINLINE(int)
427SWIG_CheckLong(PyObject* obj)
428{
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436}
437
438
439SWIGSTATICINLINE(bool)
440SWIG_AsBool(PyObject *obj)
994141e6
RD
441{
442 return PyObject_IsTrue(obj) ? true : false;
443}
444
445
15afbcd0
RD
446SWIGSTATICINLINE(int)
447SWIG_CheckBool(PyObject* obj)
448{
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456}
457
458
d14a1e28
RD
459static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483}
484
994141e6 485
15afbcd0
RD
486SWIGSTATICINLINE(double)
487SWIG_AsDouble(PyObject *obj)
994141e6 488{
69223c70
RD
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
15afbcd0
RD
498}
499
500
501SWIGSTATICINLINE(int)
502SWIG_CheckDouble(PyObject* obj)
503{
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
994141e6
RD
511}
512
b2dc1044
RD
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
517
518
7722248d
RD
519wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
33b885b9
RD
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
d14a1e28
RD
527
528#include <wx/popupwin.h>
529
530
531class wxPyPopupTransientWindow : public wxPopupTransientWindow
532{
533public:
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
536 : wxPopupTransientWindow(parent, style) {}
537
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
539 DEC_PYCALLBACK__(OnDismiss);
540 DEC_PYCALLBACK_BOOL_(CanDismiss);
541 PYPRIVATE;
542};
543
544
545IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
546IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
547IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
548
549
550#include <wx/tipwin.h>
551
fd3f2efe
RD
552wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
553 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
554 }
555
556#include <wx/tipwin.h>
557
558
559#include <wx/vscroll.h>
560
561
562class wxPyVScrolledWindow : public wxVScrolledWindow
563{
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
565public:
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
567
568 wxPyVScrolledWindow(wxWindow *parent,
569 wxWindowID id = wxID_ANY,
570 const wxPoint& pos = wxDefaultPosition,
571 const wxSize& size = wxDefaultSize,
572 long style = 0,
573 const wxString& name = wxPyPanelNameStr)
574 : wxVScrolledWindow(parent, id, pos, size, style, name)
575 {}
576
577 // Overridable virtuals
578
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
582
583
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
587 // once
588 //
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
594 //
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
596 // usual
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
598
599
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
604 // its own logic
605 //
606 // this function should return the best guess for the total height it may
607 // make
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
609
610
611 // Also expose some other interesting protected methods
612
613
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
e811c8ce 616 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
618
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
623
624
625 PYPRIVATE;
626};
627
628IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
629
630IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
631IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
632IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
633
634
15afbcd0
RD
635SWIGSTATICINLINE(unsigned long)
636SWIG_AsUnsignedLong(PyObject * obj)
637{
638 if (PyLong_Check(obj)) {
639 return PyLong_AsUnsignedLong(obj);
640 } else {
69223c70 641 long i = SWIG_AsLong(obj);
15afbcd0 642 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 643 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
644 }
645 return i;
646 }
647}
648
649
650SWIGSTATICINLINE(int)
651SWIG_CheckUnsignedLong(PyObject* obj)
652{
653 SWIG_AsUnsignedLong(obj);
654 if (PyErr_Occurred()) {
655 PyErr_Clear();
656 return 0;
657 } else {
658 return 1;
659 }
660}
661
662
663SWIGSTATICINLINE(PyObject* )
664SWIG_FromUnsignedLong(unsigned long value)
994141e6 665{
15afbcd0
RD
666 return (value > LONG_MAX) ?
667 PyLong_FromUnsignedLong(value)
668 : PyInt_FromLong(swig_numeric_cast(long,value));
994141e6
RD
669}
670
671
d14a1e28 672#include <wx/vlbox.h>
d14a1e28 673
b2dc1044 674 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
675
676class wxPyVListBox : public wxVListBox
677{
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
679public:
680 wxPyVListBox() : wxVListBox() {}
681
682 wxPyVListBox(wxWindow *parent,
683 wxWindowID id = wxID_ANY,
684 const wxPoint& pos = wxDefaultPosition,
685 const wxSize& size = wxDefaultSize,
686 long style = 0,
687 const wxString& name = wxPyVListBoxNameStr)
688 : wxVListBox(parent, id, pos, size, style, name)
689 {}
690
691 // Overridable virtuals
692
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
697
698
699 // the derived class must implement this method to return the height of the
700 // specified item
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
703
704
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
708 //
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
712
713
714 // this method is used to draw the items background and, maybe, a border
715 // around it
716 //
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
720 // current
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
723
724
725 PYPRIVATE;
726};
727
728IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
729
730IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
731IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
732IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
733IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
734
735
736
737#include <wx/htmllbox.h>
738
739
740class wxPyHtmlListBox : public wxHtmlListBox
741{
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
743public:
744 wxPyHtmlListBox() : wxHtmlListBox() {}
745
746 wxPyHtmlListBox(wxWindow *parent,
747 wxWindowID id = wxID_ANY,
748 const wxPoint& pos = wxDefaultPosition,
749 const wxSize& size = wxDefaultSize,
750 long style = 0,
751 const wxString& name = wxPyVListBoxNameStr)
752 : wxHtmlListBox(parent, id, pos, size, style, name)
753 {}
754
755 // Overridable virtuals
756
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
760
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
763
764// TODO:
765// // this method allows to customize the selection appearance: it may be used
766// // to specify the colour of the text which normally has the given colour
767// // colFg when it is inside the selection
768// //
769// // by default, the original colour is not used at all and all text has the
770// // same (default for this system) colour inside selection
771// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
772
773// // this is the same as GetSelectedTextColour() but allows to customize the
774// // background colour -- this is even more rarely used as you can change it
775// // globally using SetSelectionBackground()
776// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
777
778
779 PYPRIVATE;
780};
781
782
783IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
784
785IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
786IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
787
788
789
790
791
792#ifdef __WXMAC__
793// implement dummy classes and such for wxMac
794
795class wxTaskBarIcon : public wxEvtHandler
796{
797public:
39f61e25 798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
799};
800
801
802class wxTaskBarIconEvent : public wxEvent
803{
804public:
805 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 806 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
807 virtual wxEvent* Clone() const { return NULL; }
808};
809
810enum {
811 wxEVT_TASKBAR_MOVE = 0,
812 wxEVT_TASKBAR_LEFT_DOWN = 0,
813 wxEVT_TASKBAR_LEFT_UP = 0,
814 wxEVT_TASKBAR_RIGHT_DOWN = 0,
815 wxEVT_TASKBAR_RIGHT_UP = 0,
816 wxEVT_TASKBAR_LEFT_DCLICK = 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
818};
819#endif
820
74a57fcd
RD
821void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
822
823 self->RemoveIcon();
824
825 }
b2dc1044
RD
826 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
827 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
828 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
829 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
830 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
831 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
832PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetFilenames(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
838 wxArrayString arr;
839 self->GetPaths(arr);
840 return wxArrayString2PyList_helper(arr);
841 }
842PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
843 return wxArrayInt2PyList_helper(self->GetSelections());
844 }
845wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
846 return new wxSingleChoiceDialog(parent, message, caption,
847 choices, choices_array, NULL, style, pos);
848 }
849
850#include <wx/mdi.h>
851
852 // C++ version of Python aware wxWindow
853class wxPyWindow : public wxWindow
854{
855 DECLARE_DYNAMIC_CLASS(wxPyWindow)
856public:
857 wxPyWindow() : wxWindow() {}
858 wxPyWindow(wxWindow* parent, const wxWindowID id,
859 const wxPoint& pos = wxDefaultPosition,
860 const wxSize& size = wxDefaultSize,
861 long style = 0,
862 const wxString& name = wxPyPanelNameStr)
863 : wxWindow(parent, id, pos, size, style, name) {}
864
865
866 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
867 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
868 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
869 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
870
871 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
872 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
874
875 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
876 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
877
878 DEC_PYCALLBACK__(InitDialog);
879 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
880 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
881 DEC_PYCALLBACK_BOOL_(Validate);
882
883 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
884 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
885 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
886
887 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
888 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
889
4276dc52 890 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1cb4a8aa 891 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
4276dc52 892
d14a1e28
RD
893 PYPRIVATE;
894};
895
896IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
897
898IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
899IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
900IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
901IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
902
903IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
904IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
905IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
906
907IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
908IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
909
910IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
911IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
912IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
913IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
914
915IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
916IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
917IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
918
919IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
920IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
921
4276dc52 922IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
1cb4a8aa
RD
923IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
924
d14a1e28
RD
925
926 // C++ version of Python aware wxPanel
927class wxPyPanel : public wxPanel
928{
929 DECLARE_DYNAMIC_CLASS(wxPyPanel)
930public:
931 wxPyPanel() : wxPanel() {}
932 wxPyPanel(wxWindow* parent, const wxWindowID id,
933 const wxPoint& pos = wxDefaultPosition,
934 const wxSize& size = wxDefaultSize,
935 long style = 0,
936 const wxString& name = wxPyPanelNameStr)
937 : wxPanel(parent, id, pos, size, style, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
4276dc52 964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1cb4a8aa 965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
4276dc52 966
d14a1e28
RD
967 PYPRIVATE;
968};
969
970IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
971
972IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
973IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
974IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
975IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
976
977IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
978IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
979IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
980
981IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
982IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
983
984IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
985IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
986IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
987IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
988
989IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
990IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
991IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
992
993IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
994IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
995
4276dc52 996IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
1cb4a8aa
RD
997IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
998
999 // C++ version of Python aware wxScrolledWindow
1000class wxPyScrolledWindow : public wxScrolledWindow
1001{
1002 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1003public:
1004 wxPyScrolledWindow() : wxScrolledWindow() {}
1005 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1006 const wxPoint& pos = wxDefaultPosition,
1007 const wxSize& size = wxDefaultSize,
1008 long style = 0,
1009 const wxString& name = wxPyPanelNameStr)
1010 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1011
1012
1013 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1014 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1015 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1016 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1017
1018 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1019 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1021
1022 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1023 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1024
1025 DEC_PYCALLBACK__(InitDialog);
1026 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1027 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1028 DEC_PYCALLBACK_BOOL_(Validate);
1029
1030 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1031 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1032 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1033
1034 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1035 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1036
1037 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1038 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1039
1040 PYPRIVATE;
1041};
1042
1043IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1044
1045IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1046IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1047IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1048IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1049
1050IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1051IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1052IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1053
1054IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1055IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1056
1057IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1058IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1059IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1060IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1061
1062IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1063IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1064IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1065
1066IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1067IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1068
1069IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1070IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
d14a1e28
RD
1071
1072
1073#include "wx/wxPython/printfw.h"
1074
d14a1e28 1075
33b885b9
RD
1076 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1077 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
1078
1079
1080
1081// Since this one would be tough and ugly to do with the Macros...
1082void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
e811c8ce 1083 bool hadErr = False;
d14a1e28
RD
1084 bool found;
1085
4f89f6a3 1086 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1087 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1088 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1089 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1090 PyObject* val;
1091
1092 val = PyTuple_GetItem(result, 0);
1093 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
e811c8ce 1094 else hadErr = True;
d14a1e28
RD
1095
1096 val = PyTuple_GetItem(result, 1);
1097 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
e811c8ce 1098 else hadErr = True;
d14a1e28
RD
1099
1100 val = PyTuple_GetItem(result, 2);
1101 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
e811c8ce 1102 else hadErr = True;
d14a1e28
RD
1103
1104 val = PyTuple_GetItem(result, 3);
1105 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
e811c8ce 1106 else hadErr = True;
d14a1e28
RD
1107 }
1108 else
e811c8ce 1109 hadErr = True;
d14a1e28
RD
1110
1111 if (hadErr) {
1112 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1113 PyErr_Print();
1114 }
1115 Py_DECREF(result);
1116 }
4f89f6a3 1117 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1118 if (! found)
1119 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1120}
1121
1122void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1123 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1124}
1125
1126
1127IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1128IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1129IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1130IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1131IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1132IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1133IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1134
1135
1136
1137
1138
1139#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1140 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1141 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1142
1143
1144#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1145 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
e811c8ce 1146 bool rval=False; \
d14a1e28 1147 bool found; \
4f89f6a3 1148 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1149 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1150 PyObject* win = wxPyMake_wxObject(a); \
1151 PyObject* dc = wxPyMake_wxObject(&b); \
1152 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1153 Py_DECREF(win); \
1154 Py_DECREF(dc); \
1155 } \
4f89f6a3 1156 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1157 if (! found) \
1158 rval = PCLASS::CBNAME(a, b); \
1159 return rval; \
1160 } \
1161 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 return PCLASS::CBNAME(a, b); \
1163 }
1164
1165
1166
1167
1168class wxPyPrintPreview : public wxPrintPreview
1169{
1170 DECLARE_CLASS(wxPyPrintPreview)
1171public:
4276dc52
RD
1172 wxPyPrintPreview(wxPyPrintout* printout,
1173 wxPyPrintout* printoutForPrinting,
1174 wxPrintDialogData* data=NULL)
1175 : wxPrintPreview(printout, printoutForPrinting, data)
1176 {}
d14a1e28
RD
1177 wxPyPrintPreview(wxPyPrintout* printout,
1178 wxPyPrintout* printoutForPrinting,
1179 wxPrintData* data=NULL)
1180 : wxPrintPreview(printout, printoutForPrinting, data)
1181 {}
1182
1183 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1184 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1185 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1186 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1187 DEC_PYCALLBACK_VOID_INT(SetZoom);
1188 DEC_PYCALLBACK_BOOL_BOOL(Print);
1189 DEC_PYCALLBACK_VOID_(DetermineScaling);
1190
1191 PYPRIVATE;
1192};
1193
1194// Stupid renamed classes... Fix this in 2.5...
1195#if defined(__WXMSW__)
1196IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1197#elif defined(__WXMAC__)
1198IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1199#else
1200IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1201#endif
1202
1203IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1204IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1205IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1206IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1207IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1208IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1209IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1210
1211
1212class wxPyPreviewFrame : public wxPreviewFrame
1213{
1214 DECLARE_CLASS(wxPyPreviewFrame);
1215public:
1216 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1217 const wxString& title,
1218 const wxPoint& pos = wxDefaultPosition,
1219 const wxSize& size = wxDefaultSize,
1220 long style = wxDEFAULT_FRAME_STYLE,
1221 const wxString& name = wxPyFrameNameStr)
1222 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1223 {}
1224
1225 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1226 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1227
1228 DEC_PYCALLBACK_VOID_(Initialize);
1229 DEC_PYCALLBACK_VOID_(CreateCanvas);
1230 DEC_PYCALLBACK_VOID_(CreateControlBar);
1231
1232 PYPRIVATE;
1233};
1234
1235IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1236
1237IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1238IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1239IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1240
1241
1242class wxPyPreviewControlBar : public wxPreviewControlBar
1243{
1244 DECLARE_CLASS(wxPyPreviewControlBar);
1245public:
1246 wxPyPreviewControlBar(wxPrintPreview *preview,
1247 long buttons,
1248 wxWindow *parent,
1249 const wxPoint& pos = wxDefaultPosition,
1250 const wxSize& size = wxDefaultSize,
1251 long style = 0,
1252 const wxString& name = wxPyPanelNameStr)
1253 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1254 {}
1255
1256 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1257
1258 DEC_PYCALLBACK_VOID_(CreateButtons);
1259 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1260
1261 PYPRIVATE;
1262};
1263
1264IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1265IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1266IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1267
1268#ifdef __cplusplus
1269extern "C" {
1270#endif
1271static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1274 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1275 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1276 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1277 wxSize const &arg4_defvalue = wxDefaultSize ;
1278 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1279 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1280 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1281 wxString *arg6 = (wxString *) &arg6_defvalue ;
1282 wxPanel *result;
1283 wxPoint temp3 ;
1284 wxSize temp4 ;
e811c8ce 1285 bool temp6 = False ;
d14a1e28 1286 PyObject * obj0 = 0 ;
994141e6 1287 PyObject * obj1 = 0 ;
d14a1e28
RD
1288 PyObject * obj2 = 0 ;
1289 PyObject * obj3 = 0 ;
994141e6 1290 PyObject * obj4 = 0 ;
d14a1e28
RD
1291 PyObject * obj5 = 0 ;
1292 char *kwnames[] = {
1293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1294 };
1295
994141e6 1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1299 if (obj1) {
15afbcd0
RD
1300 arg2 = (int const) SWIG_AsInt(obj1);
1301 if (PyErr_Occurred()) SWIG_fail;
994141e6 1302 }
d14a1e28
RD
1303 if (obj2) {
1304 {
1305 arg3 = &temp3;
1306 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1307 }
1308 }
1309 if (obj3) {
1310 {
1311 arg4 = &temp4;
1312 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1313 }
1314 }
994141e6 1315 if (obj4) {
15afbcd0
RD
1316 arg5 = (long) SWIG_AsLong(obj4);
1317 if (PyErr_Occurred()) SWIG_fail;
994141e6 1318 }
d14a1e28
RD
1319 if (obj5) {
1320 {
1321 arg6 = wxString_in_helper(obj5);
1322 if (arg6 == NULL) SWIG_fail;
e811c8ce 1323 temp6 = True;
d14a1e28
RD
1324 }
1325 }
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
15afbcd0 1333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
1334 {
1335 if (temp6)
1336 delete arg6;
1337 }
1338 return resultobj;
1339 fail:
1340 {
1341 if (temp6)
1342 delete arg6;
1343 }
1344 return NULL;
1345}
1346
1347
1348static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 wxPanel *result;
1351 char *kwnames[] = {
1352 NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = (wxPanel *)new wxPanel();
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
15afbcd0 1363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
1364 return resultobj;
1365 fail:
1366 return NULL;
1367}
1368
1369
1370static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject *resultobj;
1372 wxPanel *arg1 = (wxPanel *) 0 ;
1373 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 1374 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1377 wxSize const &arg5_defvalue = wxDefaultSize ;
1378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1379 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1380 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1381 wxString *arg7 = (wxString *) &arg7_defvalue ;
1382 bool result;
1383 wxPoint temp4 ;
1384 wxSize temp5 ;
e811c8ce 1385 bool temp7 = False ;
d14a1e28
RD
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
994141e6 1388 PyObject * obj2 = 0 ;
d14a1e28
RD
1389 PyObject * obj3 = 0 ;
1390 PyObject * obj4 = 0 ;
994141e6 1391 PyObject * obj5 = 0 ;
d14a1e28
RD
1392 PyObject * obj6 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1395 };
1396
cfe5e918 1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cfe5e918
RD
1402 if (obj2) {
1403 arg3 = (int const) SWIG_AsInt(obj2);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
d14a1e28
RD
1406 if (obj3) {
1407 {
1408 arg4 = &temp4;
1409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1410 }
1411 }
1412 if (obj4) {
1413 {
1414 arg5 = &temp5;
1415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1416 }
1417 }
994141e6 1418 if (obj5) {
15afbcd0
RD
1419 arg6 = (long) SWIG_AsLong(obj5);
1420 if (PyErr_Occurred()) SWIG_fail;
994141e6 1421 }
d14a1e28
RD
1422 if (obj6) {
1423 {
1424 arg7 = wxString_in_helper(obj6);
1425 if (arg7 == NULL) SWIG_fail;
e811c8ce 1426 temp7 = True;
d14a1e28
RD
1427 }
1428 }
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
4f89f6a3
RD
1436 {
1437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1438 }
d14a1e28
RD
1439 {
1440 if (temp7)
1441 delete arg7;
1442 }
1443 return resultobj;
1444 fail:
1445 {
1446 if (temp7)
1447 delete arg7;
1448 }
1449 return NULL;
1450}
1451
1452
1453static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxPanel *arg1 = (wxPanel *) 0 ;
1456 PyObject * obj0 = 0 ;
1457 char *kwnames[] = {
1458 (char *) "self", NULL
1459 };
1460
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
1462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->InitDialog();
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475}
1476
1477
1478static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1479 PyObject *obj;
1480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1481 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1482 Py_INCREF(obj);
1483 return Py_BuildValue((char *)"");
1484}
1485static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1488 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1489 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1490 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1491 wxSize const &arg4_defvalue = wxDefaultSize ;
1492 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1493 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1494 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1495 wxString *arg6 = (wxString *) &arg6_defvalue ;
1496 wxScrolledWindow *result;
1497 wxPoint temp3 ;
1498 wxSize temp4 ;
e811c8ce 1499 bool temp6 = False ;
d14a1e28 1500 PyObject * obj0 = 0 ;
994141e6 1501 PyObject * obj1 = 0 ;
d14a1e28
RD
1502 PyObject * obj2 = 0 ;
1503 PyObject * obj3 = 0 ;
994141e6 1504 PyObject * obj4 = 0 ;
d14a1e28
RD
1505 PyObject * obj5 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1508 };
1509
994141e6 1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1513 if (obj1) {
15afbcd0
RD
1514 arg2 = (int const) SWIG_AsInt(obj1);
1515 if (PyErr_Occurred()) SWIG_fail;
994141e6 1516 }
d14a1e28
RD
1517 if (obj2) {
1518 {
1519 arg3 = &temp3;
1520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1521 }
1522 }
1523 if (obj3) {
1524 {
1525 arg4 = &temp4;
1526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1527 }
1528 }
994141e6 1529 if (obj4) {
15afbcd0
RD
1530 arg5 = (long) SWIG_AsLong(obj4);
1531 if (PyErr_Occurred()) SWIG_fail;
994141e6 1532 }
d14a1e28
RD
1533 if (obj5) {
1534 {
1535 arg6 = wxString_in_helper(obj5);
1536 if (arg6 == NULL) SWIG_fail;
e811c8ce 1537 temp6 = True;
d14a1e28
RD
1538 }
1539 }
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
15afbcd0 1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1548 {
1549 if (temp6)
1550 delete arg6;
1551 }
1552 return resultobj;
1553 fail:
1554 {
1555 if (temp6)
1556 delete arg6;
1557 }
1558 return NULL;
1559}
1560
1561
1562static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxScrolledWindow *result;
1565 char *kwnames[] = {
1566 NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 result = (wxScrolledWindow *)new wxScrolledWindow();
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
15afbcd0 1577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1578 return resultobj;
1579 fail:
1580 return NULL;
1581}
1582
1583
1584static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1587 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1588 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1591 wxSize const &arg5_defvalue = wxDefaultSize ;
1592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1593 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1594 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1595 wxString *arg7 = (wxString *) &arg7_defvalue ;
1596 bool result;
1597 wxPoint temp4 ;
1598 wxSize temp5 ;
e811c8ce 1599 bool temp7 = False ;
d14a1e28
RD
1600 PyObject * obj0 = 0 ;
1601 PyObject * obj1 = 0 ;
994141e6 1602 PyObject * obj2 = 0 ;
d14a1e28
RD
1603 PyObject * obj3 = 0 ;
1604 PyObject * obj4 = 0 ;
994141e6 1605 PyObject * obj5 = 0 ;
d14a1e28
RD
1606 PyObject * obj6 = 0 ;
1607 char *kwnames[] = {
1608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1609 };
1610
994141e6 1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1616 if (obj2) {
15afbcd0
RD
1617 arg3 = (int const) SWIG_AsInt(obj2);
1618 if (PyErr_Occurred()) SWIG_fail;
994141e6 1619 }
d14a1e28
RD
1620 if (obj3) {
1621 {
1622 arg4 = &temp4;
1623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1624 }
1625 }
1626 if (obj4) {
1627 {
1628 arg5 = &temp5;
1629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1630 }
1631 }
994141e6 1632 if (obj5) {
15afbcd0
RD
1633 arg6 = (long) SWIG_AsLong(obj5);
1634 if (PyErr_Occurred()) SWIG_fail;
994141e6 1635 }
d14a1e28
RD
1636 if (obj6) {
1637 {
1638 arg7 = wxString_in_helper(obj6);
1639 if (arg7 == NULL) SWIG_fail;
e811c8ce 1640 temp7 = True;
d14a1e28
RD
1641 }
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
4f89f6a3
RD
1650 {
1651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1652 }
d14a1e28
RD
1653 {
1654 if (temp7)
1655 delete arg7;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp7)
1661 delete arg7;
1662 }
1663 return NULL;
1664}
1665
1666
1667static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1670 int arg2 ;
1671 int arg3 ;
1672 int arg4 ;
1673 int arg5 ;
1674 int arg6 = (int) 0 ;
1675 int arg7 = (int) 0 ;
e811c8ce 1676 bool arg8 = (bool) False ;
d14a1e28 1677 PyObject * obj0 = 0 ;
994141e6
RD
1678 PyObject * obj1 = 0 ;
1679 PyObject * obj2 = 0 ;
1680 PyObject * obj3 = 0 ;
1681 PyObject * obj4 = 0 ;
1682 PyObject * obj5 = 0 ;
1683 PyObject * obj6 = 0 ;
d14a1e28
RD
1684 PyObject * obj7 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1687 };
1688
994141e6 1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1692 arg2 = (int) SWIG_AsInt(obj1);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 arg3 = (int) SWIG_AsInt(obj2);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 arg4 = (int) SWIG_AsInt(obj3);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 arg5 = (int) SWIG_AsInt(obj4);
1699 if (PyErr_Occurred()) SWIG_fail;
994141e6 1700 if (obj5) {
15afbcd0
RD
1701 arg6 = (int) SWIG_AsInt(obj5);
1702 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1703 }
1704 if (obj6) {
15afbcd0
RD
1705 arg7 = (int) SWIG_AsInt(obj6);
1706 if (PyErr_Occurred()) SWIG_fail;
994141e6 1707 }
d14a1e28 1708 if (obj7) {
15afbcd0
RD
1709 arg8 = (bool) SWIG_AsBool(obj7);
1710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1711 }
1712 {
1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
1714 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1715
1716 wxPyEndAllowThreads(__tstate);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 }
1719 Py_INCREF(Py_None); resultobj = Py_None;
1720 return resultobj;
1721 fail:
1722 return NULL;
1723}
1724
1725
1726static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject *resultobj;
1728 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1729 int arg2 ;
1730 int arg3 ;
1731 PyObject * obj0 = 0 ;
994141e6
RD
1732 PyObject * obj1 = 0 ;
1733 PyObject * obj2 = 0 ;
d14a1e28
RD
1734 char *kwnames[] = {
1735 (char *) "self",(char *) "x",(char *) "y", NULL
1736 };
1737
994141e6 1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1741 arg2 = (int) SWIG_AsInt(obj1);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 arg3 = (int) SWIG_AsInt(obj2);
1744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1745 {
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 (arg1)->Scroll(arg2,arg3);
1748
1749 wxPyEndAllowThreads(__tstate);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
1752 Py_INCREF(Py_None); resultobj = Py_None;
1753 return resultobj;
1754 fail:
1755 return NULL;
1756}
1757
1758
1759static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject *resultobj;
1761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1762 int arg2 ;
1763 int result;
1764 PyObject * obj0 = 0 ;
994141e6 1765 PyObject * obj1 = 0 ;
d14a1e28
RD
1766 char *kwnames[] = {
1767 (char *) "self",(char *) "orient", NULL
1768 };
1769
994141e6 1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1773 arg2 = (int) SWIG_AsInt(obj1);
1774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
15afbcd0 1782 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1783 return resultobj;
1784 fail:
1785 return NULL;
1786}
1787
1788
1789static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1792 int arg2 ;
1793 int arg3 ;
1794 PyObject * obj0 = 0 ;
994141e6
RD
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
d14a1e28
RD
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1799 };
1800
994141e6 1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 arg2 = (int) SWIG_AsInt(obj1);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 arg3 = (int) SWIG_AsInt(obj2);
1807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 (arg1)->SetScrollPageSize(arg2,arg3);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 Py_INCREF(Py_None); resultobj = Py_None;
1816 return resultobj;
1817 fail:
1818 return NULL;
1819}
1820
1821
1822static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 int arg2 ;
1826 int arg3 ;
1827 PyObject * obj0 = 0 ;
994141e6
RD
1828 PyObject * obj1 = 0 ;
1829 PyObject * obj2 = 0 ;
d14a1e28
RD
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1832 };
1833
994141e6 1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 arg2 = (int) SWIG_AsInt(obj1);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 arg3 = (int) SWIG_AsInt(obj2);
1840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 (arg1)->SetScrollRate(arg2,arg3);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852}
1853
1854
1855static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int *arg2 = (int *) 0 ;
1859 int *arg3 = (int *) 0 ;
1860 int temp2 ;
1861 int temp3 ;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 arg2 = &temp2;
1868 arg3 = &temp3;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
15afbcd0
RD
1870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 Py_INCREF(Py_None); resultobj = Py_None;
1880 {
1881 PyObject *o = PyInt_FromLong((long) (*arg2));
1882 resultobj = t_output_helper(resultobj,o);
1883 }
1884 {
1885 PyObject *o = PyInt_FromLong((long) (*arg3));
1886 resultobj = t_output_helper(resultobj,o);
1887 }
1888 return resultobj;
1889 fail:
1890 return NULL;
1891}
1892
1893
1894static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1897 bool arg2 ;
1898 bool arg3 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901 PyObject * obj2 = 0 ;
1902 char *kwnames[] = {
1903 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1904 };
1905
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1909 arg2 = (bool) SWIG_AsBool(obj1);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 arg3 = (bool) SWIG_AsBool(obj2);
1912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->EnableScrolling(arg2,arg3);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924}
1925
1926
1927static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 int *arg2 = (int *) 0 ;
1931 int *arg3 = (int *) 0 ;
1932 int temp2 ;
1933 int temp3 ;
1934 PyObject * obj0 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self", NULL
1937 };
1938
1939 arg2 = &temp2;
1940 arg3 = &temp3;
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 {
1953 PyObject *o = PyInt_FromLong((long) (*arg2));
1954 resultobj = t_output_helper(resultobj,o);
1955 }
1956 {
1957 PyObject *o = PyInt_FromLong((long) (*arg3));
1958 resultobj = t_output_helper(resultobj,o);
1959 }
1960 return resultobj;
1961 fail:
1962 return NULL;
1963}
1964
1965
1966static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1969 double arg2 ;
1970 double arg3 ;
1971 PyObject * obj0 = 0 ;
994141e6
RD
1972 PyObject * obj1 = 0 ;
1973 PyObject * obj2 = 0 ;
d14a1e28
RD
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "xs",(char *) "ys", NULL
1976 };
1977
994141e6 1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (double) SWIG_AsDouble(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 arg3 = (double) SWIG_AsDouble(obj2);
1984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 (arg1)->SetScale(arg2,arg3);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996}
1997
1998
1999static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 double result;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
2009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
15afbcd0 2018 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2019 return resultobj;
2020 fail:
2021 return NULL;
2022}
2023
2024
2025static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2028 double result;
2029 PyObject * obj0 = 0 ;
2030 char *kwnames[] = {
2031 (char *) "self", NULL
2032 };
2033
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
2035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
15afbcd0 2044 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2045 return resultobj;
2046 fail:
2047 return NULL;
2048}
2049
2050
2051static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2052 PyObject *resultobj;
2053 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2054 wxPoint *arg2 = 0 ;
2055 wxPoint result;
2056 wxPoint temp2 ;
d14a1e28 2057 PyObject * obj0 = 0 ;
322913ce 2058 PyObject * obj1 = 0 ;
d14a1e28 2059
322913ce 2060 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2063 {
2064 arg2 = &temp2;
2065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2066 }
d14a1e28
RD
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2069 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
d14a1e28 2074 {
322913ce
RD
2075 wxPoint * resultptr;
2076 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082}
2083
2084
2085static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2088 int arg2 ;
2089 int arg3 ;
2090 int *arg4 = (int *) 0 ;
2091 int *arg5 = (int *) 0 ;
2092 int temp4 ;
2093 int temp5 ;
d14a1e28 2094 PyObject * obj0 = 0 ;
994141e6
RD
2095 PyObject * obj1 = 0 ;
2096 PyObject * obj2 = 0 ;
d14a1e28 2097
322913ce
RD
2098 arg4 = &temp4;
2099 arg5 = &temp5;
994141e6 2100 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2103 arg2 = (int) SWIG_AsInt(obj1);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 arg3 = (int) SWIG_AsInt(obj2);
2106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2109 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
322913ce 2114 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 2115 {
322913ce
RD
2116 PyObject *o = PyInt_FromLong((long) (*arg4));
2117 resultobj = t_output_helper(resultobj,o);
2118 }
2119 {
2120 PyObject *o = PyInt_FromLong((long) (*arg5));
2121 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
2122 }
2123 return resultobj;
2124 fail:
2125 return NULL;
2126}
2127
2128
2129static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2130 int argc;
2131 PyObject *argv[4];
2132 int ii;
2133
2134 argc = PyObject_Length(args);
2135 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2136 argv[ii] = PyTuple_GetItem(args,ii);
2137 }
2138 if (argc == 2) {
2139 int _v;
2140 {
2141 void *ptr;
15afbcd0 2142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2143 _v = 0;
2144 PyErr_Clear();
2145 } else {
2146 _v = 1;
2147 }
2148 }
2149 if (_v) {
2150 {
2151 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2152 }
2153 if (_v) {
322913ce 2154 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2155 }
2156 }
2157 }
2158 if (argc == 3) {
2159 int _v;
2160 {
2161 void *ptr;
15afbcd0 2162 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2163 _v = 0;
2164 PyErr_Clear();
2165 } else {
2166 _v = 1;
2167 }
2168 }
2169 if (_v) {
15afbcd0 2170 _v = SWIG_CheckInt(argv[1]);
d14a1e28 2171 if (_v) {
15afbcd0 2172 _v = SWIG_CheckInt(argv[2]);
d14a1e28 2173 if (_v) {
322913ce 2174 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2175 }
2176 }
2177 }
2178 }
2179
2180 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2181 return NULL;
2182}
2183
2184
2185static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2188 wxPoint *arg2 = 0 ;
2189 wxPoint result;
2190 wxPoint temp2 ;
d14a1e28 2191 PyObject * obj0 = 0 ;
322913ce 2192 PyObject * obj1 = 0 ;
d14a1e28 2193
322913ce 2194 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2197 {
2198 arg2 = &temp2;
2199 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2200 }
d14a1e28
RD
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2203 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
d14a1e28 2208 {
322913ce
RD
2209 wxPoint * resultptr;
2210 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2212 }
2213 return resultobj;
2214 fail:
2215 return NULL;
2216}
2217
2218
2219static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2220 PyObject *resultobj;
2221 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2222 int arg2 ;
2223 int arg3 ;
2224 int *arg4 = (int *) 0 ;
2225 int *arg5 = (int *) 0 ;
2226 int temp4 ;
2227 int temp5 ;
d14a1e28 2228 PyObject * obj0 = 0 ;
994141e6
RD
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
d14a1e28 2231
322913ce
RD
2232 arg4 = &temp4;
2233 arg5 = &temp5;
994141e6 2234 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 arg3 = (int) SWIG_AsInt(obj2);
2240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2243 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
322913ce 2248 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 2249 {
322913ce
RD
2250 PyObject *o = PyInt_FromLong((long) (*arg4));
2251 resultobj = t_output_helper(resultobj,o);
2252 }
2253 {
2254 PyObject *o = PyInt_FromLong((long) (*arg5));
2255 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
2256 }
2257 return resultobj;
2258 fail:
2259 return NULL;
2260}
2261
2262
2263static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2264 int argc;
2265 PyObject *argv[4];
2266 int ii;
2267
2268 argc = PyObject_Length(args);
2269 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2270 argv[ii] = PyTuple_GetItem(args,ii);
2271 }
2272 if (argc == 2) {
2273 int _v;
2274 {
2275 void *ptr;
15afbcd0 2276 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2277 _v = 0;
2278 PyErr_Clear();
2279 } else {
2280 _v = 1;
2281 }
2282 }
2283 if (_v) {
2284 {
2285 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2286 }
2287 if (_v) {
322913ce 2288 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2289 }
2290 }
2291 }
2292 if (argc == 3) {
2293 int _v;
2294 {
2295 void *ptr;
15afbcd0 2296 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2297 _v = 0;
2298 PyErr_Clear();
2299 } else {
2300 _v = 1;
2301 }
2302 }
2303 if (_v) {
15afbcd0 2304 _v = SWIG_CheckInt(argv[1]);
d14a1e28 2305 if (_v) {
15afbcd0 2306 _v = SWIG_CheckInt(argv[2]);
d14a1e28 2307 if (_v) {
322913ce 2308 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2309 }
2310 }
2311 }
2312 }
2313
2314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2315 return NULL;
2316}
2317
2318
2319static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
15afbcd0
RD
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->AdjustScrollbars();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341}
2342
2343
2344static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2347 wxScrollWinEvent *arg2 = 0 ;
2348 int result;
2349 PyObject * obj0 = 0 ;
2350 PyObject * obj1 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "event", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1)
2360 SWIG_fail;
d14a1e28 2361 if (arg2 == NULL) {
15afbcd0
RD
2362 PyErr_SetString(PyExc_TypeError,"null reference");
2363 SWIG_fail;
d14a1e28
RD
2364 }
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (int)(arg1)->CalcScrollInc(*arg2);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
15afbcd0 2372 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2373 return resultobj;
2374 fail:
2375 return NULL;
2376}
2377
2378
2379static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2382 wxWindow *arg2 = (wxWindow *) 0 ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "target", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetTargetWindow(arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 return resultobj;
2403 fail:
2404 return NULL;
2405}
2406
2407
2408static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2411 wxWindow *result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 resultobj = wxPyMake_wxObject(result);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433}
2434
2435
2436static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2437 PyObject *obj;
2438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2439 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2440 Py_INCREF(obj);
2441 return Py_BuildValue((char *)"");
2442}
b2dc1044
RD
2443static int _wrap_FrameNameStr_set(PyObject *_val) {
2444 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2445 return 1;
2446}
2447
2448
2449static PyObject *_wrap_FrameNameStr_get() {
2450 PyObject *pyobj;
2451
2452 {
2453#if wxUSE_UNICODE
2454 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2455#else
2456 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2457#endif
2458 }
2459 return pyobj;
2460}
2461
2462
2463static int _wrap_DialogNameStr_set(PyObject *_val) {
2464 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2465 return 1;
2466}
2467
2468
2469static PyObject *_wrap_DialogNameStr_get() {
2470 PyObject *pyobj;
2471
2472 {
2473#if wxUSE_UNICODE
2474 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2475#else
2476 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2477#endif
2478 }
2479 return pyobj;
2480}
2481
2482
2483static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2484 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2485 return 1;
2486}
2487
2488
2489static PyObject *_wrap_StatusLineNameStr_get() {
2490 PyObject *pyobj;
2491
2492 {
2493#if wxUSE_UNICODE
2494 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2495#else
2496 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2497#endif
2498 }
2499 return pyobj;
2500}
2501
2502
2503static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2504 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2505 return 1;
2506}
2507
2508
2509static PyObject *_wrap_ToolBarNameStr_get() {
2510 PyObject *pyobj;
2511
2512 {
2513#if wxUSE_UNICODE
2514 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2515#else
2516 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2517#endif
2518 }
2519 return pyobj;
2520}
2521
2522
d14a1e28
RD
2523static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
e811c8ce 2526 bool arg2 = (bool) True ;
d14a1e28
RD
2527 PyObject * obj0 = 0 ;
2528 PyObject * obj1 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self",(char *) "maximize", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2536 if (obj1) {
15afbcd0
RD
2537 arg2 = (bool) SWIG_AsBool(obj1);
2538 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->Maximize(arg2);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551}
2552
2553
2554static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2557 PyObject * obj0 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
2563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 (arg1)->Restore();
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 Py_INCREF(Py_None); resultobj = Py_None;
2573 return resultobj;
2574 fail:
2575 return NULL;
2576}
2577
2578
2579static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
e811c8ce 2582 bool arg2 = (bool) True ;
d14a1e28
RD
2583 PyObject * obj0 = 0 ;
2584 PyObject * obj1 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "self",(char *) "iconize", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2592 if (obj1) {
15afbcd0
RD
2593 arg2 = (bool) SWIG_AsBool(obj1);
2594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2595 }
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 (arg1)->Iconize(arg2);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 Py_INCREF(Py_None); resultobj = Py_None;
2604 return resultobj;
2605 fail:
2606 return NULL;
2607}
2608
2609
2610static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2613 bool result;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
4f89f6a3
RD
2629 {
2630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2631 }
d14a1e28
RD
2632 return resultobj;
2633 fail:
2634 return NULL;
2635}
2636
2637
2638static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2641 bool result;
2642 PyObject * obj0 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
4f89f6a3
RD
2657 {
2658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2659 }
d14a1e28
RD
2660 return resultobj;
2661 fail:
2662 return NULL;
2663}
2664
2665
2666static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2669 wxIcon result;
2670 PyObject * obj0 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 {
2686 wxIcon * resultptr;
2687 resultptr = new wxIcon((wxIcon &) result);
15afbcd0 2688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
2689 }
2690 return resultobj;
2691 fail:
2692 return NULL;
2693}
2694
2695
2696static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj;
2698 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2699 wxIcon *arg2 = 0 ;
2700 PyObject * obj0 = 0 ;
2701 PyObject * obj1 = 0 ;
2702 char *kwnames[] = {
2703 (char *) "self",(char *) "icon", NULL
2704 };
2705
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1)
2711 SWIG_fail;
d14a1e28 2712 if (arg2 == NULL) {
15afbcd0
RD
2713 PyErr_SetString(PyExc_TypeError,"null reference");
2714 SWIG_fail;
d14a1e28
RD
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 (arg1)->SetIcon((wxIcon const &)*arg2);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 Py_INCREF(Py_None); resultobj = Py_None;
2724 return resultobj;
2725 fail:
2726 return NULL;
2727}
2728
2729
2730static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2733 wxIconBundle *arg2 = 0 ;
2734 PyObject * obj0 = 0 ;
2735 PyObject * obj1 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "icons", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2744 SWIG_POINTER_EXCEPTION | 0)) == -1)
2745 SWIG_fail;
d14a1e28 2746 if (arg2 == NULL) {
15afbcd0
RD
2747 PyErr_SetString(PyExc_TypeError,"null reference");
2748 SWIG_fail;
d14a1e28
RD
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 return resultobj;
2759 fail:
2760 return NULL;
2761}
2762
2763
2764static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2765 PyObject *resultobj;
2766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2767 bool arg2 ;
2768 long arg3 = (long) wxFULLSCREEN_ALL ;
2769 bool result;
2770 PyObject * obj0 = 0 ;
2771 PyObject * obj1 = 0 ;
994141e6 2772 PyObject * obj2 = 0 ;
d14a1e28
RD
2773 char *kwnames[] = {
2774 (char *) "self",(char *) "show",(char *) "style", NULL
2775 };
2776
994141e6 2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2780 arg2 = (bool) SWIG_AsBool(obj1);
2781 if (PyErr_Occurred()) SWIG_fail;
994141e6 2782 if (obj2) {
15afbcd0
RD
2783 arg3 = (long) SWIG_AsLong(obj2);
2784 if (PyErr_Occurred()) SWIG_fail;
994141e6 2785 }
d14a1e28
RD
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
4f89f6a3
RD
2793 {
2794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2795 }
d14a1e28
RD
2796 return resultobj;
2797 fail:
2798 return NULL;
2799}
2800
2801
2802static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2803 PyObject *resultobj;
2804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2805 bool result;
2806 PyObject * obj0 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "self", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
2812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2814 {
2815 PyThreadState* __tstate = wxPyBeginAllowThreads();
2816 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2817
2818 wxPyEndAllowThreads(__tstate);
2819 if (PyErr_Occurred()) SWIG_fail;
2820 }
4f89f6a3
RD
2821 {
2822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2823 }
d14a1e28
RD
2824 return resultobj;
2825 fail:
2826 return NULL;
2827}
2828
2829
2830static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject *resultobj;
2832 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2833 wxString *arg2 = 0 ;
e811c8ce 2834 bool temp2 = False ;
d14a1e28
RD
2835 PyObject * obj0 = 0 ;
2836 PyObject * obj1 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self",(char *) "title", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2844 {
2845 arg2 = wxString_in_helper(obj1);
2846 if (arg2 == NULL) SWIG_fail;
e811c8ce 2847 temp2 = True;
d14a1e28
RD
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->SetTitle((wxString const &)*arg2);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 {
2858 if (temp2)
2859 delete arg2;
2860 }
2861 return resultobj;
2862 fail:
2863 {
2864 if (temp2)
2865 delete arg2;
2866 }
2867 return NULL;
2868}
2869
2870
2871static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2874 wxString result;
2875 PyObject * obj0 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 {
2891#if wxUSE_UNICODE
2892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2893#else
2894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2895#endif
2896 }
2897 return resultobj;
2898 fail:
2899 return NULL;
2900}
2901
2902
2903static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj;
2905 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2906 wxRegion *arg2 = 0 ;
2907 bool result;
2908 PyObject * obj0 = 0 ;
2909 PyObject * obj1 = 0 ;
2910 char *kwnames[] = {
2911 (char *) "self",(char *) "region", NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2918 SWIG_POINTER_EXCEPTION | 0)) == -1)
2919 SWIG_fail;
d14a1e28 2920 if (arg2 == NULL) {
15afbcd0
RD
2921 PyErr_SetString(PyExc_TypeError,"null reference");
2922 SWIG_fail;
d14a1e28
RD
2923 }
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
4f89f6a3
RD
2931 {
2932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2933 }
d14a1e28
RD
2934 return resultobj;
2935 fail:
2936 return NULL;
2937}
2938
2939
2940static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2941 PyObject *obj;
2942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2943 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2944 Py_INCREF(obj);
2945 return Py_BuildValue((char *)"");
2946}
2947static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2950 int arg2 ;
d14a1e28
RD
2951 wxString *arg3 = 0 ;
2952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2954 wxSize const &arg5_defvalue = wxDefaultSize ;
2955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2956 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2957 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2958 wxString *arg7 = (wxString *) &arg7_defvalue ;
2959 wxFrame *result;
e811c8ce 2960 bool temp3 = False ;
d14a1e28
RD
2961 wxPoint temp4 ;
2962 wxSize temp5 ;
e811c8ce 2963 bool temp7 = False ;
d14a1e28 2964 PyObject * obj0 = 0 ;
994141e6 2965 PyObject * obj1 = 0 ;
d14a1e28
RD
2966 PyObject * obj2 = 0 ;
2967 PyObject * obj3 = 0 ;
2968 PyObject * obj4 = 0 ;
994141e6 2969 PyObject * obj5 = 0 ;
d14a1e28
RD
2970 PyObject * obj6 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2973 };
2974
994141e6 2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
2976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2978 arg2 = (int const) SWIG_AsInt(obj1);
2979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2980 {
2981 arg3 = wxString_in_helper(obj2);
2982 if (arg3 == NULL) SWIG_fail;
e811c8ce 2983 temp3 = True;
d14a1e28
RD
2984 }
2985 if (obj3) {
2986 {
2987 arg4 = &temp4;
2988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2989 }
2990 }
2991 if (obj4) {
2992 {
2993 arg5 = &temp5;
2994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2995 }
2996 }
994141e6 2997 if (obj5) {
15afbcd0
RD
2998 arg6 = (long) SWIG_AsLong(obj5);
2999 if (PyErr_Occurred()) SWIG_fail;
994141e6 3000 }
d14a1e28
RD
3001 if (obj6) {
3002 {
3003 arg7 = wxString_in_helper(obj6);
3004 if (arg7 == NULL) SWIG_fail;
e811c8ce 3005 temp7 = True;
d14a1e28
RD
3006 }
3007 }
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 {
3016 resultobj = wxPyMake_wxObject(result);
3017 }
3018 {
3019 if (temp3)
3020 delete arg3;
3021 }
3022 {
3023 if (temp7)
3024 delete arg7;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp3)
3030 delete arg3;
3031 }
3032 {
3033 if (temp7)
3034 delete arg7;
3035 }
3036 return NULL;
3037}
3038
3039
3040static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3041 PyObject *resultobj;
3042 wxFrame *result;
3043 char *kwnames[] = {
3044 NULL
3045 };
3046
3047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 result = (wxFrame *)new wxFrame();
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 {
3056 resultobj = wxPyMake_wxObject(result);
3057 }
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxFrame *arg1 = (wxFrame *) 0 ;
3067 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3068 int arg3 ;
d14a1e28
RD
3069 wxString *arg4 = 0 ;
3070 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3071 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3072 wxSize const &arg6_defvalue = wxDefaultSize ;
3073 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3074 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3075 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3076 wxString *arg8 = (wxString *) &arg8_defvalue ;
3077 bool result;
e811c8ce 3078 bool temp4 = False ;
d14a1e28
RD
3079 wxPoint temp5 ;
3080 wxSize temp6 ;
e811c8ce 3081 bool temp8 = False ;
d14a1e28
RD
3082 PyObject * obj0 = 0 ;
3083 PyObject * obj1 = 0 ;
994141e6 3084 PyObject * obj2 = 0 ;
d14a1e28
RD
3085 PyObject * obj3 = 0 ;
3086 PyObject * obj4 = 0 ;
3087 PyObject * obj5 = 0 ;
994141e6 3088 PyObject * obj6 = 0 ;
d14a1e28
RD
3089 PyObject * obj7 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3092 };
3093
994141e6 3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3099 arg3 = (int const) SWIG_AsInt(obj2);
3100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3101 {
3102 arg4 = wxString_in_helper(obj3);
3103 if (arg4 == NULL) SWIG_fail;
e811c8ce 3104 temp4 = True;
d14a1e28
RD
3105 }
3106 if (obj4) {
3107 {
3108 arg5 = &temp5;
3109 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3110 }
3111 }
3112 if (obj5) {
3113 {
3114 arg6 = &temp6;
3115 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3116 }
3117 }
994141e6 3118 if (obj6) {
15afbcd0
RD
3119 arg7 = (long) SWIG_AsLong(obj6);
3120 if (PyErr_Occurred()) SWIG_fail;
994141e6 3121 }
d14a1e28
RD
3122 if (obj7) {
3123 {
3124 arg8 = wxString_in_helper(obj7);
3125 if (arg8 == NULL) SWIG_fail;
e811c8ce 3126 temp8 = True;
d14a1e28
RD
3127 }
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
4f89f6a3
RD
3136 {
3137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3138 }
d14a1e28
RD
3139 {
3140 if (temp4)
3141 delete arg4;
3142 }
3143 {
3144 if (temp8)
3145 delete arg8;
3146 }
3147 return resultobj;
3148 fail:
3149 {
3150 if (temp4)
3151 delete arg4;
3152 }
3153 {
3154 if (temp8)
3155 delete arg8;
3156 }
3157 return NULL;
3158}
3159
3160
3161static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxFrame *arg1 = (wxFrame *) 0 ;
3164 wxPoint result;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
3171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 wxPoint * resultptr;
3182 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3184 }
3185 return resultobj;
3186 fail:
3187 return NULL;
3188}
3189
3190
3191static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxFrame *arg1 = (wxFrame *) 0 ;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
3200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 (arg1)->SendSizeEvent();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 Py_INCREF(Py_None); resultobj = Py_None;
3210 return resultobj;
3211 fail:
3212 return NULL;
3213}
3214
3215
3216static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxFrame *arg1 = (wxFrame *) 0 ;
3219 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3220 PyObject * obj0 = 0 ;
3221 PyObject * obj1 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self",(char *) "menubar", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 (arg1)->SetMenuBar(arg2);
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 Py_INCREF(Py_None); resultobj = Py_None;
3239 return resultobj;
3240 fail:
3241 return NULL;
3242}
3243
3244
3245static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxFrame *arg1 = (wxFrame *) 0 ;
3248 wxMenuBar *result;
3249 PyObject * obj0 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 {
3265 resultobj = wxPyMake_wxObject(result);
3266 }
3267 return resultobj;
3268 fail:
3269 return NULL;
3270}
3271
3272
3273static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 int arg2 ;
3277 bool result;
3278 PyObject * obj0 = 0 ;
994141e6 3279 PyObject * obj1 = 0 ;
d14a1e28
RD
3280 char *kwnames[] = {
3281 (char *) "self",(char *) "winid", NULL
3282 };
3283
994141e6 3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3287 arg2 = (int) SWIG_AsInt(obj1);
3288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 result = (bool)(arg1)->ProcessCommand(arg2);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
4f89f6a3
RD
3296 {
3297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3298 }
d14a1e28
RD
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
3305static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxFrame *arg1 = (wxFrame *) 0 ;
3308 int arg2 = (int) 1 ;
4276dc52 3309 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
e811c8ce 3310 int arg4 = (int) 0 ;
d14a1e28
RD
3311 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3312 wxString *arg5 = (wxString *) &arg5_defvalue ;
3313 wxStatusBar *result;
e811c8ce 3314 bool temp5 = False ;
d14a1e28 3315 PyObject * obj0 = 0 ;
994141e6
RD
3316 PyObject * obj1 = 0 ;
3317 PyObject * obj2 = 0 ;
3318 PyObject * obj3 = 0 ;
d14a1e28
RD
3319 PyObject * obj4 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3322 };
3323
994141e6 3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3327 if (obj1) {
15afbcd0
RD
3328 arg2 = (int) SWIG_AsInt(obj1);
3329 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3330 }
3331 if (obj2) {
15afbcd0
RD
3332 arg3 = (long) SWIG_AsLong(obj2);
3333 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3334 }
3335 if (obj3) {
15afbcd0
RD
3336 arg4 = (int) SWIG_AsInt(obj3);
3337 if (PyErr_Occurred()) SWIG_fail;
994141e6 3338 }
d14a1e28
RD
3339 if (obj4) {
3340 {
3341 arg5 = wxString_in_helper(obj4);
3342 if (arg5 == NULL) SWIG_fail;
e811c8ce 3343 temp5 = True;
d14a1e28
RD
3344 }
3345 }
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = wxPyMake_wxObject(result);
3355 }
3356 {
3357 if (temp5)
3358 delete arg5;
3359 }
3360 return resultobj;
3361 fail:
3362 {
3363 if (temp5)
3364 delete arg5;
3365 }
3366 return NULL;
3367}
3368
3369
3370static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxFrame *arg1 = (wxFrame *) 0 ;
3373 wxStatusBar *result;
3374 PyObject * obj0 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 {
3390 resultobj = wxPyMake_wxObject(result);
3391 }
3392 return resultobj;
3393 fail:
3394 return NULL;
3395}
3396
3397
3398static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxFrame *arg1 = (wxFrame *) 0 ;
3401 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 char *kwnames[] = {
3405 (char *) "self",(char *) "statBar", NULL
3406 };
3407
3408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 (arg1)->SetStatusBar(arg2);
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 Py_INCREF(Py_None); resultobj = Py_None;
3421 return resultobj;
3422 fail:
3423 return NULL;
3424}
3425
3426
3427static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3428 PyObject *resultobj;
3429 wxFrame *arg1 = (wxFrame *) 0 ;
3430 wxString *arg2 = 0 ;
3431 int arg3 = (int) 0 ;
e811c8ce 3432 bool temp2 = False ;
d14a1e28
RD
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
994141e6 3435 PyObject * obj2 = 0 ;
d14a1e28
RD
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "text",(char *) "number", NULL
3438 };
3439
994141e6 3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3443 {
3444 arg2 = wxString_in_helper(obj1);
3445 if (arg2 == NULL) SWIG_fail;
e811c8ce 3446 temp2 = True;
d14a1e28 3447 }
994141e6 3448 if (obj2) {
15afbcd0
RD
3449 arg3 = (int) SWIG_AsInt(obj2);
3450 if (PyErr_Occurred()) SWIG_fail;
994141e6 3451 }
d14a1e28
RD
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 Py_INCREF(Py_None); resultobj = Py_None;
3460 {
3461 if (temp2)
3462 delete arg2;
3463 }
3464 return resultobj;
3465 fail:
3466 {
3467 if (temp2)
3468 delete arg2;
3469 }
3470 return NULL;
3471}
3472
3473
3474static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj;
3476 wxFrame *arg1 = (wxFrame *) 0 ;
3477 int arg2 ;
3478 int *arg3 = (int *) 0 ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "widths", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3488 {
3489 arg2 = PyList_Size(obj1);
3490 arg3 = int_LIST_helper(obj1);
3491 if (arg3 == NULL) SWIG_fail;
3492 }
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 Py_INCREF(Py_None); resultobj = Py_None;
3501 {
3502 if (arg3) delete [] arg3;
3503 }
3504 return resultobj;
3505 fail:
3506 {
3507 if (arg3) delete [] arg3;
3508 }
3509 return NULL;
3510}
3511
3512
3513static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxFrame *arg1 = (wxFrame *) 0 ;
3516 wxString *arg2 = 0 ;
3517 int arg3 = (int) 0 ;
e811c8ce 3518 bool temp2 = False ;
d14a1e28
RD
3519 PyObject * obj0 = 0 ;
3520 PyObject * obj1 = 0 ;
994141e6 3521 PyObject * obj2 = 0 ;
d14a1e28
RD
3522 char *kwnames[] = {
3523 (char *) "self",(char *) "text",(char *) "number", NULL
3524 };
3525
994141e6 3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3529 {
3530 arg2 = wxString_in_helper(obj1);
3531 if (arg2 == NULL) SWIG_fail;
e811c8ce 3532 temp2 = True;
d14a1e28 3533 }
994141e6 3534 if (obj2) {
15afbcd0
RD
3535 arg3 = (int) SWIG_AsInt(obj2);
3536 if (PyErr_Occurred()) SWIG_fail;
994141e6 3537 }
d14a1e28
RD
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3541
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 Py_INCREF(Py_None); resultobj = Py_None;
3546 {
3547 if (temp2)
3548 delete arg2;
3549 }
3550 return resultobj;
3551 fail:
3552 {
3553 if (temp2)
3554 delete arg2;
3555 }
3556 return NULL;
3557}
3558
3559
3560static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxFrame *arg1 = (wxFrame *) 0 ;
3563 int arg2 = (int) 0 ;
3564 PyObject * obj0 = 0 ;
994141e6 3565 PyObject * obj1 = 0 ;
d14a1e28
RD
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "number", NULL
3568 };
3569
994141e6 3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3573 if (obj1) {
15afbcd0
RD
3574 arg2 = (int) SWIG_AsInt(obj1);
3575 if (PyErr_Occurred()) SWIG_fail;
994141e6 3576 }
d14a1e28
RD
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->PopStatusText(arg2);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588}
3589
3590
3591static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxFrame *arg1 = (wxFrame *) 0 ;
3594 int arg2 ;
3595 PyObject * obj0 = 0 ;
994141e6 3596 PyObject * obj1 = 0 ;
d14a1e28
RD
3597 char *kwnames[] = {
3598 (char *) "self",(char *) "n", NULL
3599 };
3600
994141e6 3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 arg2 = (int) SWIG_AsInt(obj1);
3605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 (arg1)->SetStatusBarPane(arg2);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 Py_INCREF(Py_None); resultobj = Py_None;
3614 return resultobj;
3615 fail:
3616 return NULL;
3617}
3618
3619
3620static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxFrame *arg1 = (wxFrame *) 0 ;
3623 int result;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
15afbcd0
RD
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
15afbcd0 3639 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3640 return resultobj;
3641 fail:
3642 return NULL;
3643}
3644
3645
3646static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxFrame *arg1 = (wxFrame *) 0 ;
3649 long arg2 = (long) -1 ;
e811c8ce 3650 int arg3 = (int) -1 ;
d14a1e28
RD
3651 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3652 wxString *arg4 = (wxString *) &arg4_defvalue ;
3653 wxToolBar *result;
e811c8ce 3654 bool temp4 = False ;
d14a1e28 3655 PyObject * obj0 = 0 ;
994141e6
RD
3656 PyObject * obj1 = 0 ;
3657 PyObject * obj2 = 0 ;
d14a1e28
RD
3658 PyObject * obj3 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3661 };
3662
994141e6 3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3666 if (obj1) {
15afbcd0
RD
3667 arg2 = (long) SWIG_AsLong(obj1);
3668 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3669 }
3670 if (obj2) {
15afbcd0
RD
3671 arg3 = (int) SWIG_AsInt(obj2);
3672 if (PyErr_Occurred()) SWIG_fail;
994141e6 3673 }
d14a1e28
RD
3674 if (obj3) {
3675 {
3676 arg4 = wxString_in_helper(obj3);
3677 if (arg4 == NULL) SWIG_fail;
e811c8ce 3678 temp4 = True;
d14a1e28
RD
3679 }
3680 }
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 {
3689 resultobj = wxPyMake_wxObject(result);
3690 }
3691 {
3692 if (temp4)
3693 delete arg4;
3694 }
3695 return resultobj;
3696 fail:
3697 {
3698 if (temp4)
3699 delete arg4;
3700 }
3701 return NULL;
3702}
3703
3704
3705static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxFrame *arg1 = (wxFrame *) 0 ;
3708 wxToolBar *result;
3709 PyObject * obj0 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 resultobj = wxPyMake_wxObject(result);
3726 }
3727 return resultobj;
3728 fail:
3729 return NULL;
3730}
3731
3732
3733static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxFrame *arg1 = (wxFrame *) 0 ;
3736 wxToolBar *arg2 = (wxToolBar *) 0 ;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj1 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self",(char *) "toolbar", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->SetToolBar(arg2);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759}
3760
3761
3762static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxFrame *arg1 = (wxFrame *) 0 ;
3765 wxString *arg2 = 0 ;
3766 bool arg3 ;
e811c8ce 3767 bool temp2 = False ;
d14a1e28
RD
3768 PyObject * obj0 = 0 ;
3769 PyObject * obj1 = 0 ;
3770 PyObject * obj2 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self",(char *) "text",(char *) "show", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3778 {
3779 arg2 = wxString_in_helper(obj1);
3780 if (arg2 == NULL) SWIG_fail;
e811c8ce 3781 temp2 = True;
d14a1e28 3782 }
15afbcd0
RD
3783 arg3 = (bool) SWIG_AsBool(obj2);
3784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 Py_INCREF(Py_None); resultobj = Py_None;
3793 {
3794 if (temp2)
3795 delete arg2;
3796 }
3797 return resultobj;
3798 fail:
3799 {
3800 if (temp2)
3801 delete arg2;
3802 }
3803 return NULL;
3804}
3805
3806
3807static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxFrame *arg1 = (wxFrame *) 0 ;
3810 wxMenu *arg2 = (wxMenu *) NULL ;
3811 PyObject * obj0 = 0 ;
3812 PyObject * obj1 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "self",(char *) "menu", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3820 if (obj1) {
15afbcd0
RD
3821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 (arg1)->DoMenuUpdates(arg2);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 Py_INCREF(Py_None); resultobj = Py_None;
3832 return resultobj;
3833 fail:
3834 return NULL;
3835}
3836
3837
3838static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3839 PyObject *obj;
3840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3841 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3842 Py_INCREF(obj);
3843 return Py_BuildValue((char *)"");
3844}
3845static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3848 int arg2 ;
d14a1e28
RD
3849 wxString *arg3 = 0 ;
3850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3852 wxSize const &arg5_defvalue = wxDefaultSize ;
3853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3854 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3855 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3856 wxString *arg7 = (wxString *) &arg7_defvalue ;
3857 wxDialog *result;
e811c8ce 3858 bool temp3 = False ;
d14a1e28
RD
3859 wxPoint temp4 ;
3860 wxSize temp5 ;
e811c8ce 3861 bool temp7 = False ;
d14a1e28 3862 PyObject * obj0 = 0 ;
994141e6 3863 PyObject * obj1 = 0 ;
d14a1e28
RD
3864 PyObject * obj2 = 0 ;
3865 PyObject * obj3 = 0 ;
3866 PyObject * obj4 = 0 ;
994141e6 3867 PyObject * obj5 = 0 ;
d14a1e28
RD
3868 PyObject * obj6 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3871 };
3872
994141e6 3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
3874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3876 arg2 = (int const) SWIG_AsInt(obj1);
3877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3878 {
3879 arg3 = wxString_in_helper(obj2);
3880 if (arg3 == NULL) SWIG_fail;
e811c8ce 3881 temp3 = True;
d14a1e28
RD
3882 }
3883 if (obj3) {
3884 {
3885 arg4 = &temp4;
3886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3887 }
3888 }
3889 if (obj4) {
3890 {
3891 arg5 = &temp5;
3892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3893 }
3894 }
994141e6 3895 if (obj5) {
15afbcd0
RD
3896 arg6 = (long) SWIG_AsLong(obj5);
3897 if (PyErr_Occurred()) SWIG_fail;
994141e6 3898 }
d14a1e28
RD
3899 if (obj6) {
3900 {
3901 arg7 = wxString_in_helper(obj6);
3902 if (arg7 == NULL) SWIG_fail;
e811c8ce 3903 temp7 = True;
d14a1e28
RD
3904 }
3905 }
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
15afbcd0 3913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
3914 {
3915 if (temp3)
3916 delete arg3;
3917 }
3918 {
3919 if (temp7)
3920 delete arg7;
3921 }
3922 return resultobj;
3923 fail:
3924 {
3925 if (temp3)
3926 delete arg3;
3927 }
3928 {
3929 if (temp7)
3930 delete arg7;
3931 }
3932 return NULL;
3933}
3934
3935
3936static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3937 PyObject *resultobj;
3938 wxDialog *result;
3939 char *kwnames[] = {
3940 NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (wxDialog *)new wxDialog();
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
15afbcd0 3951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
3952 return resultobj;
3953 fail:
3954 return NULL;
3955}
3956
3957
3958static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxDialog *arg1 = (wxDialog *) 0 ;
3961 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3962 int arg3 ;
d14a1e28
RD
3963 wxString *arg4 = 0 ;
3964 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3965 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3966 wxSize const &arg6_defvalue = wxDefaultSize ;
3967 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3968 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3969 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3970 wxString *arg8 = (wxString *) &arg8_defvalue ;
3971 bool result;
e811c8ce 3972 bool temp4 = False ;
d14a1e28
RD
3973 wxPoint temp5 ;
3974 wxSize temp6 ;
e811c8ce 3975 bool temp8 = False ;
d14a1e28
RD
3976 PyObject * obj0 = 0 ;
3977 PyObject * obj1 = 0 ;
994141e6 3978 PyObject * obj2 = 0 ;
d14a1e28
RD
3979 PyObject * obj3 = 0 ;
3980 PyObject * obj4 = 0 ;
3981 PyObject * obj5 = 0 ;
994141e6 3982 PyObject * obj6 = 0 ;
d14a1e28
RD
3983 PyObject * obj7 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3986 };
3987
994141e6 3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3993 arg3 = (int const) SWIG_AsInt(obj2);
3994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3995 {
3996 arg4 = wxString_in_helper(obj3);
3997 if (arg4 == NULL) SWIG_fail;
e811c8ce 3998 temp4 = True;
d14a1e28
RD
3999 }
4000 if (obj4) {
4001 {
4002 arg5 = &temp5;
4003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4004 }
4005 }
4006 if (obj5) {
4007 {
4008 arg6 = &temp6;
4009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4010 }
4011 }
994141e6 4012 if (obj6) {
15afbcd0
RD
4013 arg7 = (long) SWIG_AsLong(obj6);
4014 if (PyErr_Occurred()) SWIG_fail;
994141e6 4015 }
d14a1e28
RD
4016 if (obj7) {
4017 {
4018 arg8 = wxString_in_helper(obj7);
4019 if (arg8 == NULL) SWIG_fail;
e811c8ce 4020 temp8 = True;
d14a1e28
RD
4021 }
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4f89f6a3
RD
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
d14a1e28
RD
4033 {
4034 if (temp4)
4035 delete arg4;
4036 }
4037 {
4038 if (temp8)
4039 delete arg8;
4040 }
4041 return resultobj;
4042 fail:
4043 {
4044 if (temp4)
4045 delete arg4;
4046 }
4047 {
4048 if (temp8)
4049 delete arg8;
4050 }
4051 return NULL;
4052}
4053
4054
4055static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxDialog *arg1 = (wxDialog *) 0 ;
4058 int arg2 ;
4059 PyObject * obj0 = 0 ;
994141e6 4060 PyObject * obj1 = 0 ;
d14a1e28
RD
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "returnCode", NULL
4063 };
4064
994141e6 4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 arg2 = (int) SWIG_AsInt(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 (arg1)->SetReturnCode(arg2);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 Py_INCREF(Py_None); resultobj = Py_None;
4078 return resultobj;
4079 fail:
4080 return NULL;
4081}
4082
4083
4084static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 wxDialog *arg1 = (wxDialog *) 0 ;
4087 int result;
4088 PyObject * obj0 = 0 ;
4089 char *kwnames[] = {
4090 (char *) "self", NULL
4091 };
4092
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
15afbcd0 4103 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4104 return resultobj;
4105 fail:
4106 return NULL;
4107}
4108
4109
4110static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4111 PyObject *resultobj;
4112 wxDialog *arg1 = (wxDialog *) 0 ;
4113 wxString *arg2 = 0 ;
4114 wxSizer *result;
e811c8ce 4115 bool temp2 = False ;
d14a1e28
RD
4116 PyObject * obj0 = 0 ;
4117 PyObject * obj1 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "message", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4125 {
4126 arg2 = wxString_in_helper(obj1);
4127 if (arg2 == NULL) SWIG_fail;
e811c8ce 4128 temp2 = True;
d14a1e28
RD
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 {
4138 resultobj = wxPyMake_wxSizer(result);
4139 }
4140 {
4141 if (temp2)
4142 delete arg2;
4143 }
4144 return resultobj;
4145 fail:
4146 {
4147 if (temp2)
4148 delete arg2;
4149 }
4150 return NULL;
4151}
4152
4153
4154static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxDialog *arg1 = (wxDialog *) 0 ;
4157 long arg2 ;
4158 wxSizer *result;
4159 PyObject * obj0 = 0 ;
994141e6 4160 PyObject * obj1 = 0 ;
d14a1e28
RD
4161 char *kwnames[] = {
4162 (char *) "self",(char *) "flags", NULL
4163 };
4164
994141e6 4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 arg2 = (long) SWIG_AsLong(obj1);
4169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 {
4178 resultobj = wxPyMake_wxSizer(result);
4179 }
4180 return resultobj;
4181 fail:
4182 return NULL;
4183}
4184
4185
d14a1e28
RD
4186static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxDialog *arg1 = (wxDialog *) 0 ;
4189 bool result;
4190 PyObject * obj0 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (bool)((wxDialog const *)arg1)->IsModal();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4f89f6a3
RD
4205 {
4206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4207 }
d14a1e28
RD
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxDialog *arg1 = (wxDialog *) 0 ;
4217 int result;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (int)(arg1)->ShowModal();
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
15afbcd0 4233 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4234 return resultobj;
4235 fail:
4236 return NULL;
4237}
4238
4239
4240static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxDialog *arg1 = (wxDialog *) 0 ;
4243 int arg2 ;
4244 PyObject * obj0 = 0 ;
994141e6 4245 PyObject * obj1 = 0 ;
d14a1e28
RD
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "retCode", NULL
4248 };
4249
994141e6 4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 arg2 = (int) SWIG_AsInt(obj1);
4254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->EndModal(arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
d14a1e28
RD
4269static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4270 PyObject *obj;
4271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4272 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4273 Py_INCREF(obj);
4274 return Py_BuildValue((char *)"");
4275}
4276static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4279 int arg2 ;
d14a1e28
RD
4280 wxString *arg3 = 0 ;
4281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4283 wxSize const &arg5_defvalue = wxDefaultSize ;
4284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4285 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4286 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4287 wxString *arg7 = (wxString *) &arg7_defvalue ;
4288 wxMiniFrame *result;
e811c8ce 4289 bool temp3 = False ;
d14a1e28
RD
4290 wxPoint temp4 ;
4291 wxSize temp5 ;
e811c8ce 4292 bool temp7 = False ;
d14a1e28 4293 PyObject * obj0 = 0 ;
994141e6 4294 PyObject * obj1 = 0 ;
d14a1e28
RD
4295 PyObject * obj2 = 0 ;
4296 PyObject * obj3 = 0 ;
4297 PyObject * obj4 = 0 ;
994141e6 4298 PyObject * obj5 = 0 ;
d14a1e28
RD
4299 PyObject * obj6 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4302 };
4303
994141e6 4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4307 arg2 = (int const) SWIG_AsInt(obj1);
4308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4309 {
4310 arg3 = wxString_in_helper(obj2);
4311 if (arg3 == NULL) SWIG_fail;
e811c8ce 4312 temp3 = True;
d14a1e28
RD
4313 }
4314 if (obj3) {
4315 {
4316 arg4 = &temp4;
4317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4318 }
4319 }
4320 if (obj4) {
4321 {
4322 arg5 = &temp5;
4323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4324 }
4325 }
994141e6 4326 if (obj5) {
15afbcd0
RD
4327 arg6 = (long) SWIG_AsLong(obj5);
4328 if (PyErr_Occurred()) SWIG_fail;
994141e6 4329 }
d14a1e28
RD
4330 if (obj6) {
4331 {
4332 arg7 = wxString_in_helper(obj6);
4333 if (arg7 == NULL) SWIG_fail;
e811c8ce 4334 temp7 = True;
d14a1e28
RD
4335 }
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
15afbcd0 4344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4345 {
4346 if (temp3)
4347 delete arg3;
4348 }
4349 {
4350 if (temp7)
4351 delete arg7;
4352 }
4353 return resultobj;
4354 fail:
4355 {
4356 if (temp3)
4357 delete arg3;
4358 }
4359 {
4360 if (temp7)
4361 delete arg7;
4362 }
4363 return NULL;
4364}
4365
4366
4367static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 wxMiniFrame *result;
4370 char *kwnames[] = {
4371 NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = (wxMiniFrame *)new wxMiniFrame();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
15afbcd0 4382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4383 return resultobj;
4384 fail:
4385 return NULL;
4386}
4387
4388
4389static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4392 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4393 int arg3 ;
d14a1e28
RD
4394 wxString *arg4 = 0 ;
4395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4397 wxSize const &arg6_defvalue = wxDefaultSize ;
4398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4399 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4400 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4401 wxString *arg8 = (wxString *) &arg8_defvalue ;
4402 bool result;
e811c8ce 4403 bool temp4 = False ;
d14a1e28
RD
4404 wxPoint temp5 ;
4405 wxSize temp6 ;
e811c8ce 4406 bool temp8 = False ;
d14a1e28
RD
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
994141e6 4409 PyObject * obj2 = 0 ;
d14a1e28
RD
4410 PyObject * obj3 = 0 ;
4411 PyObject * obj4 = 0 ;
4412 PyObject * obj5 = 0 ;
994141e6 4413 PyObject * obj6 = 0 ;
d14a1e28
RD
4414 PyObject * obj7 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4417 };
4418
994141e6 4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4424 arg3 = (int const) SWIG_AsInt(obj2);
4425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4426 {
4427 arg4 = wxString_in_helper(obj3);
4428 if (arg4 == NULL) SWIG_fail;
e811c8ce 4429 temp4 = True;
d14a1e28
RD
4430 }
4431 if (obj4) {
4432 {
4433 arg5 = &temp5;
4434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4435 }
4436 }
4437 if (obj5) {
4438 {
4439 arg6 = &temp6;
4440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4441 }
4442 }
994141e6 4443 if (obj6) {
15afbcd0
RD
4444 arg7 = (long) SWIG_AsLong(obj6);
4445 if (PyErr_Occurred()) SWIG_fail;
994141e6 4446 }
d14a1e28
RD
4447 if (obj7) {
4448 {
4449 arg8 = wxString_in_helper(obj7);
4450 if (arg8 == NULL) SWIG_fail;
e811c8ce 4451 temp8 = True;
d14a1e28
RD
4452 }
4453 }
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4f89f6a3
RD
4461 {
4462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4463 }
d14a1e28
RD
4464 {
4465 if (temp4)
4466 delete arg4;
4467 }
4468 {
4469 if (temp8)
4470 delete arg8;
4471 }
4472 return resultobj;
4473 fail:
4474 {
4475 if (temp4)
4476 delete arg4;
4477 }
4478 {
4479 if (temp8)
4480 delete arg8;
4481 }
4482 return NULL;
4483}
4484
4485
4486static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4487 PyObject *obj;
4488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4490 Py_INCREF(obj);
4491 return Py_BuildValue((char *)"");
4492}
4493static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxBitmap *arg1 = 0 ;
4496 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4497 int arg3 ;
d14a1e28
RD
4498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4500 wxSize const &arg5_defvalue = wxDefaultSize ;
4501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4502 long arg6 = (long) wxNO_BORDER ;
4503 wxSplashScreenWindow *result;
4504 wxPoint temp4 ;
4505 wxSize temp5 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
994141e6 4508 PyObject * obj2 = 0 ;
d14a1e28
RD
4509 PyObject * obj3 = 0 ;
4510 PyObject * obj4 = 0 ;
994141e6 4511 PyObject * obj5 = 0 ;
d14a1e28
RD
4512 char *kwnames[] = {
4513 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4514 };
4515
994141e6 4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1)
4519 SWIG_fail;
d14a1e28 4520 if (arg1 == NULL) {
15afbcd0
RD
4521 PyErr_SetString(PyExc_TypeError,"null reference");
4522 SWIG_fail;
994141e6 4523 }
15afbcd0
RD
4524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4526 arg3 = (int) SWIG_AsInt(obj2);
4527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4528 if (obj3) {
4529 {
4530 arg4 = &temp4;
4531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4532 }
4533 }
4534 if (obj4) {
4535 {
4536 arg5 = &temp5;
4537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4538 }
4539 }
994141e6 4540 if (obj5) {
15afbcd0
RD
4541 arg6 = (long) SWIG_AsLong(obj5);
4542 if (PyErr_Occurred()) SWIG_fail;
994141e6 4543 }
d14a1e28
RD
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
15afbcd0 4551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
4552 return resultobj;
4553 fail:
4554 return NULL;
4555}
4556
4557
4558static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4561 wxBitmap *arg2 = 0 ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "bitmap", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1)
4573 SWIG_fail;
d14a1e28 4574 if (arg2 == NULL) {
15afbcd0
RD
4575 PyErr_SetString(PyExc_TypeError,"null reference");
4576 SWIG_fail;
d14a1e28
RD
4577 }
4578 {
4579 PyThreadState* __tstate = wxPyBeginAllowThreads();
4580 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4581
4582 wxPyEndAllowThreads(__tstate);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 Py_INCREF(Py_None); resultobj = Py_None;
4586 return resultobj;
4587 fail:
4588 return NULL;
4589}
4590
4591
4592static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4595 wxBitmap *result;
4596 PyObject * obj0 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "self", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 {
4607 wxBitmap &_result_ref = (arg1)->GetBitmap();
4608 result = (wxBitmap *) &_result_ref;
4609 }
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4276dc52
RD
4614 {
4615 wxBitmap* resultptr = new wxBitmap(*result);
4616 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4617 }
d14a1e28
RD
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
4624static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4625 PyObject *obj;
4626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4628 Py_INCREF(obj);
4629 return Py_BuildValue((char *)"");
4630}
4631static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxBitmap *arg1 = 0 ;
4634 long arg2 ;
4635 int arg3 ;
4636 wxWindow *arg4 = (wxWindow *) 0 ;
e811c8ce 4637 int arg5 ;
d14a1e28
RD
4638 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4639 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4640 wxSize const &arg7_defvalue = wxDefaultSize ;
4641 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4642 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4643 wxSplashScreen *result;
4644 wxPoint temp6 ;
4645 wxSize temp7 ;
4646 PyObject * obj0 = 0 ;
994141e6
RD
4647 PyObject * obj1 = 0 ;
4648 PyObject * obj2 = 0 ;
d14a1e28 4649 PyObject * obj3 = 0 ;
994141e6 4650 PyObject * obj4 = 0 ;
d14a1e28
RD
4651 PyObject * obj5 = 0 ;
4652 PyObject * obj6 = 0 ;
994141e6 4653 PyObject * obj7 = 0 ;
d14a1e28
RD
4654 char *kwnames[] = {
4655 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4656 };
4657
994141e6 4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4660 SWIG_POINTER_EXCEPTION | 0)) == -1)
4661 SWIG_fail;
d14a1e28 4662 if (arg1 == NULL) {
15afbcd0
RD
4663 PyErr_SetString(PyExc_TypeError,"null reference");
4664 SWIG_fail;
4665 }
4666 arg2 = (long) SWIG_AsLong(obj1);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 arg3 = (int) SWIG_AsInt(obj2);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4672 arg5 = (int) SWIG_AsInt(obj4);
4673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4674 if (obj5) {
4675 {
4676 arg6 = &temp6;
4677 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4678 }
4679 }
4680 if (obj6) {
4681 {
4682 arg7 = &temp7;
4683 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4684 }
4685 }
994141e6 4686 if (obj7) {
15afbcd0
RD
4687 arg8 = (long) SWIG_AsLong(obj7);
4688 if (PyErr_Occurred()) SWIG_fail;
994141e6 4689 }
d14a1e28
RD
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
15afbcd0 4697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
4698 return resultobj;
4699 fail:
4700 return NULL;
4701}
4702
4703
4704static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj;
4706 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4707 long result;
4708 PyObject * obj0 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "self", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
15afbcd0 4723 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
4724 return resultobj;
4725 fail:
4726 return NULL;
4727}
4728
4729
4730static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4733 wxSplashScreenWindow *result;
4734 PyObject * obj0 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
15afbcd0 4749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
4750 return resultobj;
4751 fail:
4752 return NULL;
4753}
4754
4755
4756static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4759 int result;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
15afbcd0
RD
4766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
15afbcd0 4775 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4776 return resultobj;
4777 fail:
4778 return NULL;
4779}
4780
4781
4782static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4783 PyObject *obj;
4784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4785 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4786 Py_INCREF(obj);
4787 return Py_BuildValue((char *)"");
4788}
4789static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4792 int arg2 = (int) -1 ;
4276dc52 4793 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
d14a1e28
RD
4794 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4795 wxString *arg4 = (wxString *) &arg4_defvalue ;
4796 wxStatusBar *result;
e811c8ce 4797 bool temp4 = False ;
d14a1e28 4798 PyObject * obj0 = 0 ;
994141e6
RD
4799 PyObject * obj1 = 0 ;
4800 PyObject * obj2 = 0 ;
d14a1e28
RD
4801 PyObject * obj3 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4804 };
4805
994141e6 4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4809 if (obj1) {
15afbcd0
RD
4810 arg2 = (int) SWIG_AsInt(obj1);
4811 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4812 }
4813 if (obj2) {
15afbcd0
RD
4814 arg3 = (long) SWIG_AsLong(obj2);
4815 if (PyErr_Occurred()) SWIG_fail;
994141e6 4816 }
d14a1e28
RD
4817 if (obj3) {
4818 {
4819 arg4 = wxString_in_helper(obj3);
4820 if (arg4 == NULL) SWIG_fail;
e811c8ce 4821 temp4 = True;
d14a1e28
RD
4822 }
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 {
4832 resultobj = wxPyMake_wxObject(result);
4833 }
4834 {
4835 if (temp4)
4836 delete arg4;
4837 }
4838 return resultobj;
4839 fail:
4840 {
4841 if (temp4)
4842 delete arg4;
4843 }
4844 return NULL;
4845}
4846
4847
4848static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxStatusBar *result;
4851 char *kwnames[] = {
4852 NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxStatusBar *)new wxStatusBar();
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 {
4864 resultobj = wxPyMake_wxObject(result);
4865 }
4866 return resultobj;
4867 fail:
4868 return NULL;
4869}
4870
4871
4872static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4875 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4876 int arg3 ;
d14a1e28
RD
4877 long arg4 = (long) wxST_SIZEGRIP ;
4878 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4879 wxString *arg5 = (wxString *) &arg5_defvalue ;
4880 bool result;
e811c8ce 4881 bool temp5 = False ;
d14a1e28
RD
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
994141e6
RD
4884 PyObject * obj2 = 0 ;
4885 PyObject * obj3 = 0 ;
d14a1e28
RD
4886 PyObject * obj4 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4889 };
4890
994141e6 4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4896 arg3 = (int) SWIG_AsInt(obj2);
4897 if (PyErr_Occurred()) SWIG_fail;
994141e6 4898 if (obj3) {
15afbcd0
RD
4899 arg4 = (long) SWIG_AsLong(obj3);
4900 if (PyErr_Occurred()) SWIG_fail;
994141e6 4901 }
d14a1e28
RD
4902 if (obj4) {
4903 {
4904 arg5 = wxString_in_helper(obj4);
4905 if (arg5 == NULL) SWIG_fail;
e811c8ce 4906 temp5 = True;
d14a1e28
RD
4907 }
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4f89f6a3
RD
4916 {
4917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4918 }
d14a1e28
RD
4919 {
4920 if (temp5)
4921 delete arg5;
4922 }
4923 return resultobj;
4924 fail:
4925 {
4926 if (temp5)
4927 delete arg5;
4928 }
4929 return NULL;
4930}
4931
4932
4933static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4936 int arg2 = (int) 1 ;
4937 PyObject * obj0 = 0 ;
994141e6 4938 PyObject * obj1 = 0 ;
d14a1e28
RD
4939 char *kwnames[] = {
4940 (char *) "self",(char *) "number", NULL
4941 };
4942
994141e6 4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4946 if (obj1) {
15afbcd0
RD
4947 arg2 = (int) SWIG_AsInt(obj1);
4948 if (PyErr_Occurred()) SWIG_fail;
994141e6 4949 }
d14a1e28
RD
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->SetFieldsCount(arg2);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961}
4962
4963
4964static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4967 int result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
15afbcd0 4983 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4984 return resultobj;
4985 fail:
4986 return NULL;
4987}
4988
4989
4990static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4993 wxString *arg2 = 0 ;
4994 int arg3 = (int) 0 ;
e811c8ce 4995 bool temp2 = False ;
d14a1e28
RD
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
994141e6 4998 PyObject * obj2 = 0 ;
d14a1e28
RD
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "text",(char *) "number", NULL
5001 };
5002
994141e6 5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5006 {
5007 arg2 = wxString_in_helper(obj1);
5008 if (arg2 == NULL) SWIG_fail;
e811c8ce 5009 temp2 = True;
d14a1e28 5010 }
994141e6 5011 if (obj2) {
15afbcd0
RD
5012 arg3 = (int) SWIG_AsInt(obj2);
5013 if (PyErr_Occurred()) SWIG_fail;
994141e6 5014 }
d14a1e28
RD
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 {
5024 if (temp2)
5025 delete arg2;
5026 }
5027 return resultobj;
5028 fail:
5029 {
5030 if (temp2)
5031 delete arg2;
5032 }
5033 return NULL;
5034}
5035
5036
5037static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj;
5039 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5040 int arg2 = (int) 0 ;
5041 wxString result;
5042 PyObject * obj0 = 0 ;
994141e6 5043 PyObject * obj1 = 0 ;
d14a1e28
RD
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "number", NULL
5046 };
5047
994141e6 5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5051 if (obj1) {
15afbcd0
RD
5052 arg2 = (int) SWIG_AsInt(obj1);
5053 if (PyErr_Occurred()) SWIG_fail;
994141e6 5054 }
d14a1e28
RD
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 {
5063#if wxUSE_UNICODE
5064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5065#else
5066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5067#endif
5068 }
5069 return resultobj;
5070 fail:
5071 return NULL;
5072}
5073
5074
5075static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5078 wxString *arg2 = 0 ;
5079 int arg3 = (int) 0 ;
e811c8ce 5080 bool temp2 = False ;
d14a1e28
RD
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
994141e6 5083 PyObject * obj2 = 0 ;
d14a1e28
RD
5084 char *kwnames[] = {
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5086 };
5087
994141e6 5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5091 {
5092 arg2 = wxString_in_helper(obj1);
5093 if (arg2 == NULL) SWIG_fail;
e811c8ce 5094 temp2 = True;
d14a1e28 5095 }
994141e6 5096 if (obj2) {
15afbcd0
RD
5097 arg3 = (int) SWIG_AsInt(obj2);
5098 if (PyErr_Occurred()) SWIG_fail;
994141e6 5099 }
d14a1e28
RD
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return NULL;
5119}
5120
5121
5122static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5125 int arg2 = (int) 0 ;
5126 PyObject * obj0 = 0 ;
994141e6 5127 PyObject * obj1 = 0 ;
d14a1e28
RD
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "number", NULL
5130 };
5131
994141e6 5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5135 if (obj1) {
15afbcd0
RD
5136 arg2 = (int) SWIG_AsInt(obj1);
5137 if (PyErr_Occurred()) SWIG_fail;
994141e6 5138 }
d14a1e28
RD
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->PopStatusText(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
5153static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5156 int arg2 ;
5157 int *arg3 = (int *) 0 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "widths", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5167 {
5168 arg2 = PyList_Size(obj1);
5169 arg3 = int_LIST_helper(obj1);
5170 if (arg3 == NULL) SWIG_fail;
5171 }
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 Py_INCREF(Py_None); resultobj = Py_None;
5180 {
5181 if (arg3) delete [] arg3;
5182 }
5183 return resultobj;
5184 fail:
5185 {
5186 if (arg3) delete [] arg3;
5187 }
5188 return NULL;
5189}
5190
5191
5192static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5195 int arg2 ;
7722248d 5196 wxRect result;
d14a1e28 5197 PyObject * obj0 = 0 ;
994141e6 5198 PyObject * obj1 = 0 ;
d14a1e28 5199 char *kwnames[] = {
7722248d 5200 (char *) "self",(char *) "i", NULL
d14a1e28
RD
5201 };
5202
994141e6 5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 5210 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
7722248d
RD
5215 {
5216 wxRect * resultptr;
5217 resultptr = new wxRect((wxRect &) result);
15afbcd0 5218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 5219 }
d14a1e28
RD
5220 return resultobj;
5221 fail:
5222 return NULL;
5223}
5224
5225
5226static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5229 int arg2 ;
5230 PyObject * obj0 = 0 ;
994141e6 5231 PyObject * obj1 = 0 ;
d14a1e28
RD
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "height", NULL
5234 };
5235
994141e6 5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5239 arg2 = (int) SWIG_AsInt(obj1);
5240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 (arg1)->SetMinHeight(arg2);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 Py_INCREF(Py_None); resultobj = Py_None;
5249 return resultobj;
5250 fail:
5251 return NULL;
5252}
5253
5254
5255static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5258 int result;
5259 PyObject * obj0 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
15afbcd0 5274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5284 int result;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
15afbcd0 5300 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5301 return resultobj;
5302 fail:
5303 return NULL;
5304}
5305
5306
5307static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5308 PyObject *obj;
5309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5311 Py_INCREF(obj);
5312 return Py_BuildValue((char *)"");
5313}
b2dc1044
RD
5314static int _wrap_SplitterNameStr_set(PyObject *_val) {
5315 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5316 return 1;
5317}
5318
5319
5320static PyObject *_wrap_SplitterNameStr_get() {
5321 PyObject *pyobj;
5322
5323 {
5324#if wxUSE_UNICODE
5325 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5326#else
5327 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5328#endif
5329 }
5330 return pyobj;
5331}
5332
5333
d14a1e28
RD
5334static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 5337 int arg2 = (int) -1 ;
d14a1e28
RD
5338 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5339 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5340 wxSize const &arg4_defvalue = wxDefaultSize ;
5341 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5342 long arg5 = (long) wxSP_3D ;
5343 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5344 wxString *arg6 = (wxString *) &arg6_defvalue ;
5345 wxSplitterWindow *result;
5346 wxPoint temp3 ;
5347 wxSize temp4 ;
e811c8ce 5348 bool temp6 = False ;
d14a1e28 5349 PyObject * obj0 = 0 ;
994141e6 5350 PyObject * obj1 = 0 ;
d14a1e28
RD
5351 PyObject * obj2 = 0 ;
5352 PyObject * obj3 = 0 ;
994141e6 5353 PyObject * obj4 = 0 ;
d14a1e28
RD
5354 PyObject * obj5 = 0 ;
5355 char *kwnames[] = {
994141e6 5356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5357 };
5358
74a57fcd 5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
5362 if (obj1) {
5363 arg2 = (int) SWIG_AsInt(obj1);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
d14a1e28
RD
5366 if (obj2) {
5367 {
5368 arg3 = &temp3;
5369 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5370 }
5371 }
5372 if (obj3) {
5373 {
5374 arg4 = &temp4;
5375 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5376 }
5377 }
15afbcd0
RD
5378 if (obj4) {
5379 arg5 = (long) SWIG_AsLong(obj4);
5380 if (PyErr_Occurred()) SWIG_fail;
994141e6 5381 }
d14a1e28
RD
5382 if (obj5) {
5383 {
5384 arg6 = wxString_in_helper(obj5);
5385 if (arg6 == NULL) SWIG_fail;
e811c8ce 5386 temp6 = True;
d14a1e28
RD
5387 }
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
15afbcd0 5396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5397 {
5398 if (temp6)
5399 delete arg6;
5400 }
5401 return resultobj;
5402 fail:
5403 {
5404 if (temp6)
5405 delete arg6;
5406 }
5407 return NULL;
5408}
5409
5410
5411static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxSplitterWindow *result;
5414 char *kwnames[] = {
5415 NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (wxSplitterWindow *)new wxSplitterWindow();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
15afbcd0 5426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5427 return resultobj;
5428 fail:
5429 return NULL;
5430}
5431
5432
5433static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5436 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 5437 int arg3 = (int) -1 ;
d14a1e28
RD
5438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5440 wxSize const &arg5_defvalue = wxDefaultSize ;
5441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5442 long arg6 = (long) wxSP_3D ;
5443 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5444 wxString *arg7 = (wxString *) &arg7_defvalue ;
5445 bool result;
5446 wxPoint temp4 ;
5447 wxSize temp5 ;
e811c8ce 5448 bool temp7 = False ;
d14a1e28
RD
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
994141e6 5451 PyObject * obj2 = 0 ;
d14a1e28
RD
5452 PyObject * obj3 = 0 ;
5453 PyObject * obj4 = 0 ;
994141e6 5454 PyObject * obj5 = 0 ;
d14a1e28
RD
5455 PyObject * obj6 = 0 ;
5456 char *kwnames[] = {
994141e6 5457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5458 };
5459
74a57fcd 5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
5465 if (obj2) {
5466 arg3 = (int) SWIG_AsInt(obj2);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
d14a1e28
RD
5469 if (obj3) {
5470 {
5471 arg4 = &temp4;
5472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5473 }
5474 }
5475 if (obj4) {
5476 {
5477 arg5 = &temp5;
5478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5479 }
5480 }
994141e6 5481 if (obj5) {
15afbcd0
RD
5482 arg6 = (long) SWIG_AsLong(obj5);
5483 if (PyErr_Occurred()) SWIG_fail;
994141e6 5484 }
d14a1e28
RD
5485 if (obj6) {
5486 {
5487 arg7 = wxString_in_helper(obj6);
5488 if (arg7 == NULL) SWIG_fail;
e811c8ce 5489 temp7 = True;
d14a1e28
RD
5490 }
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
4f89f6a3
RD
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
d14a1e28
RD
5502 {
5503 if (temp7)
5504 delete arg7;
5505 }
5506 return resultobj;
5507 fail:
5508 {
5509 if (temp7)
5510 delete arg7;
5511 }
5512 return NULL;
5513}
5514
5515
5516static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5519 wxWindow *result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
15afbcd0
RD
5526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 {
5536 resultobj = wxPyMake_wxObject(result);
5537 }
5538 return resultobj;
5539 fail:
5540 return NULL;
5541}
5542
5543
5544static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5547 wxWindow *result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
15afbcd0
RD
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = wxPyMake_wxObject(result);
5565 }
5566 return resultobj;
5567 fail:
5568 return NULL;
5569}
5570
5571
5572static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5575 int arg2 ;
5576 PyObject * obj0 = 0 ;
994141e6 5577 PyObject * obj1 = 0 ;
d14a1e28
RD
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "mode", NULL
5580 };
5581
994141e6 5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5585 arg2 = (int) SWIG_AsInt(obj1);
5586 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetSplitMode(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598}
5599
5600
5601static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5604 int result;
5605 PyObject * obj0 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
15afbcd0 5620 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5621 return resultobj;
5622 fail:
5623 return NULL;
5624}
5625
5626
5627static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5630 wxWindow *arg2 = (wxWindow *) 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "window", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->Initialize(arg2);
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 Py_INCREF(Py_None); resultobj = Py_None;
5650 return resultobj;
5651 fail:
5652 return NULL;
5653}
5654
5655
5656static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5659 wxWindow *arg2 = (wxWindow *) 0 ;
5660 wxWindow *arg3 = (wxWindow *) 0 ;
5661 int arg4 = (int) 0 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 PyObject * obj2 = 0 ;
994141e6 5666 PyObject * obj3 = 0 ;
d14a1e28
RD
5667 char *kwnames[] = {
5668 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5669 };
5670
994141e6 5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5676 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5678 if (obj3) {
15afbcd0
RD
5679 arg4 = (int) SWIG_AsInt(obj3);
5680 if (PyErr_Occurred()) SWIG_fail;
994141e6 5681 }
d14a1e28
RD
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
4f89f6a3
RD
5689 {
5690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5691 }
d14a1e28
RD
5692 return resultobj;
5693 fail:
5694 return NULL;
5695}
5696
5697
5698static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5701 wxWindow *arg2 = (wxWindow *) 0 ;
5702 wxWindow *arg3 = (wxWindow *) 0 ;
5703 int arg4 = (int) 0 ;
5704 bool result;
5705 PyObject * obj0 = 0 ;
5706 PyObject * obj1 = 0 ;
5707 PyObject * obj2 = 0 ;
994141e6 5708 PyObject * obj3 = 0 ;
d14a1e28
RD
5709 char *kwnames[] = {
5710 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5711 };
5712
994141e6 5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5718 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5720 if (obj3) {
15afbcd0
RD
5721 arg4 = (int) SWIG_AsInt(obj3);
5722 if (PyErr_Occurred()) SWIG_fail;
994141e6 5723 }
d14a1e28
RD
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
4f89f6a3
RD
5731 {
5732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5733 }
d14a1e28
RD
5734 return resultobj;
5735 fail:
5736 return NULL;
5737}
5738
5739
5740static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5743 wxWindow *arg2 = (wxWindow *) NULL ;
5744 bool result;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "toRemove", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 5754 if (obj1) {
15afbcd0
RD
5755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5757 }
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (bool)(arg1)->Unsplit(arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
4f89f6a3
RD
5765 {
5766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5767 }
d14a1e28
RD
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
5774static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5777 wxWindow *arg2 = (wxWindow *) 0 ;
5778 wxWindow *arg3 = (wxWindow *) 0 ;
5779 bool result;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 PyObject * obj2 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5792 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
4f89f6a3
RD
5801 {
5802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5803 }
d14a1e28
RD
5804 return resultobj;
5805 fail:
5806 return NULL;
5807}
5808
5809
d00d1b88
RD
5810static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5811 PyObject *resultobj;
5812 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->UpdateSize();
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
d14a1e28
RD
5835static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj;
5837 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5838 bool result;
5839 PyObject * obj0 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
15afbcd0
RD
5845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
4f89f6a3
RD
5854 {
5855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5856 }
d14a1e28
RD
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
5863static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5866 int arg2 ;
5867 PyObject * obj0 = 0 ;
994141e6 5868 PyObject * obj1 = 0 ;
d14a1e28
RD
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "width", NULL
5871 };
5872
994141e6 5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 arg2 = (int) SWIG_AsInt(obj1);
5877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetSashSize(arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889}
5890
5891
5892static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5895 int arg2 ;
5896 PyObject * obj0 = 0 ;
994141e6 5897 PyObject * obj1 = 0 ;
d14a1e28
RD
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "width", NULL
5900 };
5901
994141e6 5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5905 arg2 = (int) SWIG_AsInt(obj1);
5906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 (arg1)->SetBorderSize(arg2);
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 Py_INCREF(Py_None); resultobj = Py_None;
5915 return resultobj;
5916 fail:
5917 return NULL;
5918}
5919
5920
5921static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 int result;
5925 PyObject * obj0 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "self", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
5931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
15afbcd0 5940 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5941 return resultobj;
5942 fail:
5943 return NULL;
5944}
5945
5946
5947static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5950 int result;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
15afbcd0 5966 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5967 return resultobj;
5968 fail:
5969 return NULL;
5970}
5971
5972
5973static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5976 int arg2 ;
e811c8ce 5977 bool arg3 = (bool) True ;
d14a1e28 5978 PyObject * obj0 = 0 ;
994141e6 5979 PyObject * obj1 = 0 ;
d14a1e28
RD
5980 PyObject * obj2 = 0 ;
5981 char *kwnames[] = {
5982 (char *) "self",(char *) "position",(char *) "redraw", NULL
5983 };
5984
994141e6 5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5988 arg2 = (int) SWIG_AsInt(obj1);
5989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5990 if (obj2) {
15afbcd0
RD
5991 arg3 = (bool) SWIG_AsBool(obj2);
5992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->SetSashPosition(arg2,arg3);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
6008static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6011 int result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
15afbcd0 6027 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6028 return resultobj;
6029 fail:
6030 return NULL;
6031}
6032
6033
6034static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6037 int arg2 ;
6038 PyObject * obj0 = 0 ;
994141e6 6039 PyObject * obj1 = 0 ;
d14a1e28
RD
6040 char *kwnames[] = {
6041 (char *) "self",(char *) "min", NULL
6042 };
6043
994141e6 6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 arg2 = (int) SWIG_AsInt(obj1);
6048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 (arg1)->SetMinimumPaneSize(arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 Py_INCREF(Py_None); resultobj = Py_None;
6057 return resultobj;
6058 fail:
6059 return NULL;
6060}
6061
6062
6063static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6066 int result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
15afbcd0 6082 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6083 return resultobj;
6084 fail:
6085 return NULL;
6086}
6087
6088
6089static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj;
6091 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6092 int arg2 ;
6093 int arg3 ;
6094 int arg4 = (int) 5 ;
6095 bool result;
6096 PyObject * obj0 = 0 ;
994141e6
RD
6097 PyObject * obj1 = 0 ;
6098 PyObject * obj2 = 0 ;
6099 PyObject * obj3 = 0 ;
d14a1e28
RD
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6102 };
6103
994141e6 6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6107 arg2 = (int) SWIG_AsInt(obj1);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 arg3 = (int) SWIG_AsInt(obj2);
6110 if (PyErr_Occurred()) SWIG_fail;
994141e6 6111 if (obj3) {
15afbcd0
RD
6112 arg4 = (int) SWIG_AsInt(obj3);
6113 if (PyErr_Occurred()) SWIG_fail;
994141e6 6114 }
d14a1e28
RD
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
4f89f6a3
RD
6122 {
6123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6124 }
d14a1e28
RD
6125 return resultobj;
6126 fail:
6127 return NULL;
6128}
6129
6130
6131static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj;
6133 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 (arg1)->SizeWindows();
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 Py_INCREF(Py_None); resultobj = Py_None;
6150 return resultobj;
6151 fail:
6152 return NULL;
6153}
6154
6155
6156static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6159 bool arg2 ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self",(char *) "needUpdating", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6169 arg2 = (bool) SWIG_AsBool(obj1);
6170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 (arg1)->SetNeedUpdating(arg2);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 Py_INCREF(Py_None); resultobj = Py_None;
6179 return resultobj;
6180 fail:
6181 return NULL;
6182}
6183
6184
6185static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6188 bool result;
6189 PyObject * obj0 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
15afbcd0
RD
6195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
4f89f6a3
RD
6204 {
6205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6206 }
d14a1e28
RD
6207 return resultobj;
6208 fail:
6209 return NULL;
6210}
6211
6212
6213static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6214 PyObject *obj;
6215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6216 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6217 Py_INCREF(obj);
6218 return Py_BuildValue((char *)"");
6219}
6220static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6223 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6224 wxSplitterEvent *result;
994141e6 6225 PyObject * obj0 = 0 ;
d14a1e28
RD
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "type",(char *) "splitter", NULL
6229 };
6230
994141e6
RD
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6232 if (obj0) {
15afbcd0
RD
6233 arg1 = (wxEventType) SWIG_AsInt(obj0);
6234 if (PyErr_Occurred()) SWIG_fail;
994141e6 6235 }
d14a1e28 6236 if (obj1) {
15afbcd0
RD
6237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6239 }
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
15afbcd0 6247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
6248 return resultobj;
6249 fail:
6250 return NULL;
6251}
6252
6253
6254static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6257 int arg2 ;
6258 PyObject * obj0 = 0 ;
994141e6 6259 PyObject * obj1 = 0 ;
d14a1e28
RD
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "pos", NULL
6262 };
6263
994141e6 6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 arg2 = (int) SWIG_AsInt(obj1);
6268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 (arg1)->SetSashPosition(arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 Py_INCREF(Py_None); resultobj = Py_None;
6277 return resultobj;
6278 fail:
6279 return NULL;
6280}
6281
6282
6283static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6286 int result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
15afbcd0 6302 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6303 return resultobj;
6304 fail:
6305 return NULL;
6306}
6307
6308
6309static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj;
6311 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6312 wxWindow *result;
6313 PyObject * obj0 = 0 ;
6314 char *kwnames[] = {
6315 (char *) "self", NULL
6316 };
6317
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
15afbcd0
RD
6319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 {
6329 resultobj = wxPyMake_wxObject(result);
6330 }
6331 return resultobj;
6332 fail:
6333 return NULL;
6334}
6335
6336
6337static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6340 int result;
6341 PyObject * obj0 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
15afbcd0 6356 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6357 return resultobj;
6358 fail:
6359 return NULL;
6360}
6361
6362
6363static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6366 int result;
6367 PyObject * obj0 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
15afbcd0 6382 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6390 PyObject *obj;
6391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6392 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6393 Py_INCREF(obj);
6394 return Py_BuildValue((char *)"");
6395}
b2dc1044
RD
6396static int _wrap_SashNameStr_set(PyObject *_val) {
6397 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6398 return 1;
6399}
6400
6401
6402static PyObject *_wrap_SashNameStr_get() {
6403 PyObject *pyobj;
6404
6405 {
6406#if wxUSE_UNICODE
6407 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6408#else
6409 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6410#endif
6411 }
6412 return pyobj;
6413}
6414
6415
6416static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6417 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6418 return 1;
6419}
6420
6421
6422static PyObject *_wrap_SashLayoutNameStr_get() {
6423 PyObject *pyobj;
6424
6425 {
6426#if wxUSE_UNICODE
6427 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6428#else
6429 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6430#endif
6431 }
6432 return pyobj;
6433}
6434
6435
d14a1e28
RD
6436static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6439 int arg2 ;
d14a1e28
RD
6440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6442 wxSize const &arg4_defvalue = wxDefaultSize ;
6443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6444 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6445 wxString const &arg6_defvalue = wxPySashNameStr ;
6446 wxString *arg6 = (wxString *) &arg6_defvalue ;
6447 wxSashWindow *result;
6448 wxPoint temp3 ;
6449 wxSize temp4 ;
e811c8ce 6450 bool temp6 = False ;
d14a1e28 6451 PyObject * obj0 = 0 ;
994141e6 6452 PyObject * obj1 = 0 ;
d14a1e28
RD
6453 PyObject * obj2 = 0 ;
6454 PyObject * obj3 = 0 ;
994141e6 6455 PyObject * obj4 = 0 ;
d14a1e28
RD
6456 PyObject * obj5 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6459 };
6460
994141e6 6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
6462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6464 arg2 = (int) SWIG_AsInt(obj1);
6465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6466 if (obj2) {
6467 {
6468 arg3 = &temp3;
6469 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6470 }
6471 }
6472 if (obj3) {
6473 {
6474 arg4 = &temp4;
6475 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6476 }
6477 }
994141e6 6478 if (obj4) {
15afbcd0
RD
6479 arg5 = (long) SWIG_AsLong(obj4);
6480 if (PyErr_Occurred()) SWIG_fail;
994141e6 6481 }
d14a1e28
RD
6482 if (obj5) {
6483 {
6484 arg6 = wxString_in_helper(obj5);
6485 if (arg6 == NULL) SWIG_fail;
e811c8ce 6486 temp6 = True;
d14a1e28
RD
6487 }
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
15afbcd0 6496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
6497 {
6498 if (temp6)
6499 delete arg6;
6500 }
6501 return resultobj;
6502 fail:
6503 {
6504 if (temp6)
6505 delete arg6;
6506 }
6507 return NULL;
6508}
6509
6510
6511static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxSashWindow *result;
6514 char *kwnames[] = {
6515 NULL
6516 };
6517
6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (wxSashWindow *)new wxSashWindow();
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
15afbcd0 6526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
6533static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6536 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6537 int arg3 ;
d14a1e28
RD
6538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6540 wxSize const &arg5_defvalue = wxDefaultSize ;
6541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6542 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6543 wxString const &arg7_defvalue = wxPySashNameStr ;
6544 wxString *arg7 = (wxString *) &arg7_defvalue ;
6545 bool result;
6546 wxPoint temp4 ;
6547 wxSize temp5 ;
e811c8ce 6548 bool temp7 = False ;
d14a1e28
RD
6549 PyObject * obj0 = 0 ;
6550 PyObject * obj1 = 0 ;
994141e6 6551 PyObject * obj2 = 0 ;
d14a1e28
RD
6552 PyObject * obj3 = 0 ;
6553 PyObject * obj4 = 0 ;
994141e6 6554 PyObject * obj5 = 0 ;
d14a1e28
RD
6555 PyObject * obj6 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6558 };
6559
994141e6 6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
6561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6565 arg3 = (int) SWIG_AsInt(obj2);
6566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6567 if (obj3) {
6568 {
6569 arg4 = &temp4;
6570 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6571 }
6572 }
6573 if (obj4) {
6574 {
6575 arg5 = &temp5;
6576 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6577 }
6578 }
994141e6 6579 if (obj5) {
15afbcd0
RD
6580 arg6 = (long) SWIG_AsLong(obj5);
6581 if (PyErr_Occurred()) SWIG_fail;
994141e6 6582 }
d14a1e28
RD
6583 if (obj6) {
6584 {
6585 arg7 = wxString_in_helper(obj6);
6586 if (arg7 == NULL) SWIG_fail;
e811c8ce 6587 temp7 = True;
d14a1e28
RD
6588 }
6589 }
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
4f89f6a3
RD
6597 {
6598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6599 }
d14a1e28
RD
6600 {
6601 if (temp7)
6602 delete arg7;
6603 }
6604 return resultobj;
6605 fail:
6606 {
6607 if (temp7)
6608 delete arg7;
6609 }
6610 return NULL;
6611}
6612
6613
6614static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6617 int arg2 ;
6618 bool arg3 ;
6619 PyObject * obj0 = 0 ;
994141e6 6620 PyObject * obj1 = 0 ;
d14a1e28
RD
6621 PyObject * obj2 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "edge",(char *) "sash", NULL
6624 };
6625
994141e6 6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6629 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 arg3 = (bool) SWIG_AsBool(obj2);
6632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 return resultobj;
6642 fail:
6643 return NULL;
6644}
6645
6646
6647static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6650 int arg2 ;
6651 bool result;
6652 PyObject * obj0 = 0 ;
994141e6 6653 PyObject * obj1 = 0 ;
d14a1e28
RD
6654 char *kwnames[] = {
6655 (char *) "self",(char *) "edge", NULL
6656 };
6657
994141e6 6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6661 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
4f89f6a3
RD
6670 {
6671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6672 }
d14a1e28
RD
6673 return resultobj;
6674 fail:
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6682 int arg2 ;
6683 bool arg3 ;
6684 PyObject * obj0 = 0 ;
994141e6 6685 PyObject * obj1 = 0 ;
d14a1e28
RD
6686 PyObject * obj2 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self",(char *) "edge",(char *) "border", NULL
6689 };
6690
994141e6 6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6694 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 arg3 = (bool) SWIG_AsBool(obj2);
6697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 Py_INCREF(Py_None); resultobj = Py_None;
6706 return resultobj;
6707 fail:
6708 return NULL;
6709}
6710
6711
6712static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj;
6714 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6715 int arg2 ;
6716 bool result;
6717 PyObject * obj0 = 0 ;
994141e6 6718 PyObject * obj1 = 0 ;
d14a1e28
RD
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "edge", NULL
6721 };
6722
994141e6 6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6726 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
4f89f6a3
RD
6735 {
6736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6737 }
d14a1e28
RD
6738 return resultobj;
6739 fail:
6740 return NULL;
6741}
6742
6743
6744static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6747 int arg2 ;
6748 int result;
6749 PyObject * obj0 = 0 ;
994141e6 6750 PyObject * obj1 = 0 ;
d14a1e28
RD
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "edge", NULL
6753 };
6754
994141e6 6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6758 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
15afbcd0 6767 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6768 return resultobj;
6769 fail:
6770 return NULL;
6771}
6772
6773
6774static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6777 int arg2 ;
6778 PyObject * obj0 = 0 ;
994141e6 6779 PyObject * obj1 = 0 ;
d14a1e28
RD
6780 char *kwnames[] = {
6781 (char *) "self",(char *) "width", NULL
6782 };
6783
994141e6 6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6787 arg2 = (int) SWIG_AsInt(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->SetDefaultBorderSize(arg2);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 Py_INCREF(Py_None); resultobj = Py_None;
6797 return resultobj;
6798 fail:
6799 return NULL;
6800}
6801
6802
6803static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6806 int result;
6807 PyObject * obj0 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
15afbcd0 6822 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6823 return resultobj;
6824 fail:
6825 return NULL;
6826}
6827
6828
6829static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6832 int arg2 ;
6833 PyObject * obj0 = 0 ;
994141e6 6834 PyObject * obj1 = 0 ;
d14a1e28
RD
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "width", NULL
6837 };
6838
994141e6 6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 arg2 = (int) SWIG_AsInt(obj1);
6843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 (arg1)->SetExtraBorderSize(arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
6858static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6861 int result;
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "self", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
15afbcd0 6877 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6878 return resultobj;
6879 fail:
6880 return NULL;
6881}
6882
6883
6884static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6887 int arg2 ;
6888 PyObject * obj0 = 0 ;
994141e6 6889 PyObject * obj1 = 0 ;
d14a1e28
RD
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "min", NULL
6892 };
6893
994141e6 6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 arg2 = (int) SWIG_AsInt(obj1);
6898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetMinimumSizeX(arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910}
6911
6912
6913static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6916 int arg2 ;
6917 PyObject * obj0 = 0 ;
994141e6 6918 PyObject * obj1 = 0 ;
d14a1e28
RD
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "min", NULL
6921 };
6922
994141e6 6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6926 arg2 = (int) SWIG_AsInt(obj1);
6927 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->SetMinimumSizeY(arg2);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
6942static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6945 int result;
6946 PyObject * obj0 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
6952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
15afbcd0 6961 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6962 return resultobj;
6963 fail:
6964 return NULL;
6965}
6966
6967
6968static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6971 int result;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
15afbcd0 6987 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
6994static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6997 int arg2 ;
6998 PyObject * obj0 = 0 ;
994141e6 6999 PyObject * obj1 = 0 ;
d14a1e28
RD
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "max", NULL
7002 };
7003
994141e6 7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7007 arg2 = (int) SWIG_AsInt(obj1);
7008 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetMaximumSizeX(arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020}
7021
7022
7023static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7026 int arg2 ;
7027 PyObject * obj0 = 0 ;
994141e6 7028 PyObject * obj1 = 0 ;
d14a1e28
RD
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "max", NULL
7031 };
7032
994141e6 7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7036 arg2 = (int) SWIG_AsInt(obj1);
7037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 (arg1)->SetMaximumSizeY(arg2);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 Py_INCREF(Py_None); resultobj = Py_None;
7046 return resultobj;
7047 fail:
7048 return NULL;
7049}
7050
7051
7052static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7055 int result;
7056 PyObject * obj0 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
15afbcd0 7071 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7072 return resultobj;
7073 fail:
7074 return NULL;
7075}
7076
7077
7078static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7081 int result;
7082 PyObject * obj0 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
15afbcd0 7097 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
7104static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7107 int arg2 ;
7108 int arg3 ;
7109 int arg4 = (int) 2 ;
7110 int result;
7111 PyObject * obj0 = 0 ;
994141e6
RD
7112 PyObject * obj1 = 0 ;
7113 PyObject * obj2 = 0 ;
7114 PyObject * obj3 = 0 ;
d14a1e28
RD
7115 char *kwnames[] = {
7116 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7117 };
7118
994141e6 7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
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 arg3 = (int) SWIG_AsInt(obj2);
7125 if (PyErr_Occurred()) SWIG_fail;
994141e6 7126 if (obj3) {
15afbcd0
RD
7127 arg4 = (int) SWIG_AsInt(obj3);
7128 if (PyErr_Occurred()) SWIG_fail;
994141e6 7129 }
d14a1e28
RD
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
15afbcd0 7137 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7138 return resultobj;
7139 fail:
7140 return NULL;
7141}
7142
7143
7144static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7147 PyObject * obj0 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "self", NULL
7150 };
7151
7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
7153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SizeWindows();
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 Py_INCREF(Py_None); resultobj = Py_None;
7163 return resultobj;
7164 fail:
7165 return NULL;
7166}
7167
7168
7169static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7170 PyObject *obj;
7171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7172 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7173 Py_INCREF(obj);
7174 return Py_BuildValue((char *)"");
7175}
7176static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj;
7178 int arg1 = (int) 0 ;
7179 int arg2 = (int) wxSASH_NONE ;
7180 wxSashEvent *result;
994141e6
RD
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
d14a1e28
RD
7183 char *kwnames[] = {
7184 (char *) "id",(char *) "edge", NULL
7185 };
7186
994141e6
RD
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7188 if (obj0) {
15afbcd0
RD
7189 arg1 = (int) SWIG_AsInt(obj0);
7190 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7191 }
7192 if (obj1) {
15afbcd0
RD
7193 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7194 if (PyErr_Occurred()) SWIG_fail;
994141e6 7195 }
d14a1e28
RD
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
15afbcd0 7203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
7204 return resultobj;
7205 fail:
7206 return NULL;
7207}
7208
7209
7210static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7213 int arg2 ;
7214 PyObject * obj0 = 0 ;
994141e6 7215 PyObject * obj1 = 0 ;
d14a1e28
RD
7216 char *kwnames[] = {
7217 (char *) "self",(char *) "edge", NULL
7218 };
7219
994141e6 7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7223 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 Py_INCREF(Py_None); resultobj = Py_None;
7233 return resultobj;
7234 fail:
7235 return NULL;
7236}
7237
7238
7239static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7242 int result;
7243 PyObject * obj0 = 0 ;
7244 char *kwnames[] = {
7245 (char *) "self", NULL
7246 };
7247
7248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
7249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
15afbcd0 7258 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7259 return resultobj;
7260 fail:
7261 return NULL;
7262}
7263
7264
7265static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7268 wxRect *arg2 = 0 ;
7269 wxRect temp2 ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self",(char *) "rect", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7279 {
7280 arg2 = &temp2;
7281 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->SetDragRect((wxRect const &)*arg2);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294}
7295
7296
7297static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7300 wxRect result;
7301 PyObject * obj0 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
7307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = ((wxSashEvent const *)arg1)->GetDragRect();
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 {
7317 wxRect * resultptr;
7318 resultptr = new wxRect((wxRect &) result);
15afbcd0 7319 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
7320 }
7321 return resultobj;
7322 fail:
7323 return NULL;
7324}
7325
7326
7327static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7330 int arg2 ;
7331 PyObject * obj0 = 0 ;
994141e6 7332 PyObject * obj1 = 0 ;
d14a1e28
RD
7333 char *kwnames[] = {
7334 (char *) "self",(char *) "status", NULL
7335 };
7336
994141e6 7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7340 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 return resultobj;
7351 fail:
7352 return NULL;
7353}
7354
7355
7356static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7359 int result;
7360 PyObject * obj0 = 0 ;
7361 char *kwnames[] = {
7362 (char *) "self", NULL
7363 };
7364
7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
15afbcd0
RD
7366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
15afbcd0 7375 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7376 return resultobj;
7377 fail:
7378 return NULL;
7379}
7380
7381
7382static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7383 PyObject *obj;
7384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7385 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7386 Py_INCREF(obj);
7387 return Py_BuildValue((char *)"");
7388}
7389static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
e811c8ce 7391 int arg1 = (int) 0 ;
d14a1e28 7392 wxQueryLayoutInfoEvent *result;
994141e6 7393 PyObject * obj0 = 0 ;
d14a1e28
RD
7394 char *kwnames[] = {
7395 (char *) "id", NULL
7396 };
7397
994141e6
RD
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7399 if (obj0) {
15afbcd0
RD
7400 arg1 = (int) SWIG_AsInt(obj0);
7401 if (PyErr_Occurred()) SWIG_fail;
994141e6 7402 }
d14a1e28
RD
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
15afbcd0 7410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
7411 return resultobj;
7412 fail:
7413 return NULL;
7414}
7415
7416
7417static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7420 int arg2 ;
7421 PyObject * obj0 = 0 ;
994141e6 7422 PyObject * obj1 = 0 ;
d14a1e28
RD
7423 char *kwnames[] = {
7424 (char *) "self",(char *) "length", NULL
7425 };
7426
994141e6 7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7430 arg2 = (int) SWIG_AsInt(obj1);
7431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 (arg1)->SetRequestedLength(arg2);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 Py_INCREF(Py_None); resultobj = Py_None;
7440 return resultobj;
7441 fail:
7442 return NULL;
7443}
7444
7445
7446static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7449 int result;
7450 PyObject * obj0 = 0 ;
7451 char *kwnames[] = {
7452 (char *) "self", NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
7456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
15afbcd0 7465 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7466 return resultobj;
7467 fail:
7468 return NULL;
7469}
7470
7471
7472static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7475 int arg2 ;
7476 PyObject * obj0 = 0 ;
994141e6 7477 PyObject * obj1 = 0 ;
d14a1e28
RD
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "flags", NULL
7480 };
7481
994141e6 7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7485 arg2 = (int) SWIG_AsInt(obj1);
7486 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetFlags(arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498}
7499
7500
7501static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7504 int result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
15afbcd0 7520 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7521 return resultobj;
7522 fail:
7523 return NULL;
7524}
7525
7526
7527static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7530 wxSize *arg2 = 0 ;
7531 wxSize temp2 ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "size", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7541 {
7542 arg2 = &temp2;
7543 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 (arg1)->SetSize((wxSize const &)*arg2);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 Py_INCREF(Py_None); resultobj = Py_None;
7553 return resultobj;
7554 fail:
7555 return NULL;
7556}
7557
7558
7559static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7562 wxSize result;
7563 PyObject * obj0 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 {
7579 wxSize * resultptr;
7580 resultptr = new wxSize((wxSize &) result);
15afbcd0 7581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
7582 }
7583 return resultobj;
7584 fail:
7585 return NULL;
7586}
7587
7588
7589static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7592 int arg2 ;
7593 PyObject * obj0 = 0 ;
994141e6 7594 PyObject * obj1 = 0 ;
d14a1e28
RD
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "orient", NULL
7597 };
7598
994141e6 7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7602 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615}
7616
7617
7618static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7621 int result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
7628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
15afbcd0 7637 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7638 return resultobj;
7639 fail:
7640 return NULL;
7641}
7642
7643
7644static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7647 int arg2 ;
7648 PyObject * obj0 = 0 ;
994141e6 7649 PyObject * obj1 = 0 ;
d14a1e28
RD
7650 char *kwnames[] = {
7651 (char *) "self",(char *) "align", NULL
7652 };
7653
994141e6 7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7657 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 return resultobj;
7668 fail:
7669 return NULL;
7670}
7671
7672
7673static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7676 int result;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
15afbcd0 7692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7693 return resultobj;
7694 fail:
7695 return NULL;
7696}
7697
7698
7699static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7700 PyObject *obj;
7701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7702 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7703 Py_INCREF(obj);
7704 return Py_BuildValue((char *)"");
7705}
7706static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj;
e811c8ce 7708 int arg1 = (int) 0 ;
d14a1e28 7709 wxCalculateLayoutEvent *result;
994141e6 7710 PyObject * obj0 = 0 ;
d14a1e28
RD
7711 char *kwnames[] = {
7712 (char *) "id", NULL
7713 };
7714
994141e6
RD
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7716 if (obj0) {
15afbcd0
RD
7717 arg1 = (int) SWIG_AsInt(obj0);
7718 if (PyErr_Occurred()) SWIG_fail;
994141e6 7719 }
d14a1e28
RD
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
15afbcd0 7727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
7728 return resultobj;
7729 fail:
7730 return NULL;
7731}
7732
7733
7734static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7737 int arg2 ;
7738 PyObject * obj0 = 0 ;
994141e6 7739 PyObject * obj1 = 0 ;
d14a1e28
RD
7740 char *kwnames[] = {
7741 (char *) "self",(char *) "flags", NULL
7742 };
7743
994141e6 7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7747 arg2 = (int) SWIG_AsInt(obj1);
7748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 (arg1)->SetFlags(arg2);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 Py_INCREF(Py_None); resultobj = Py_None;
7757 return resultobj;
7758 fail:
7759 return NULL;
7760}
7761
7762
7763static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj;
7765 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7766 int result;
7767 PyObject * obj0 = 0 ;
7768 char *kwnames[] = {
7769 (char *) "self", NULL
7770 };
7771
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
15afbcd0 7782 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7783 return resultobj;
7784 fail:
7785 return NULL;
7786}
7787
7788
7789static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7792 wxRect *arg2 = 0 ;
7793 wxRect temp2 ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "self",(char *) "rect", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7803 {
7804 arg2 = &temp2;
7805 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7806 }
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 (arg1)->SetRect((wxRect const &)*arg2);
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 Py_INCREF(Py_None); resultobj = Py_None;
7815 return resultobj;
7816 fail:
7817 return NULL;
7818}
7819
7820
7821static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7824 wxRect result;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 {
7841 wxRect * resultptr;
7842 resultptr = new wxRect((wxRect &) result);
15afbcd0 7843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
7844 }
7845 return resultobj;
7846 fail:
7847 return NULL;
7848}
7849
7850
7851static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7852 PyObject *obj;
7853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7854 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7855 Py_INCREF(obj);
7856 return Py_BuildValue((char *)"");
7857}
7858static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7861 int arg2 ;
d14a1e28
RD
7862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7864 wxSize const &arg4_defvalue = wxDefaultSize ;
7865 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7866 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7867 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7868 wxString *arg6 = (wxString *) &arg6_defvalue ;
7869 wxSashLayoutWindow *result;
7870 wxPoint temp3 ;
7871 wxSize temp4 ;
e811c8ce 7872 bool temp6 = False ;
d14a1e28 7873 PyObject * obj0 = 0 ;
994141e6 7874 PyObject * obj1 = 0 ;
d14a1e28
RD
7875 PyObject * obj2 = 0 ;
7876 PyObject * obj3 = 0 ;
994141e6 7877 PyObject * obj4 = 0 ;
d14a1e28
RD
7878 PyObject * obj5 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7881 };
7882
994141e6 7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
7884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7886 arg2 = (int) SWIG_AsInt(obj1);
7887 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7888 if (obj2) {
7889 {
7890 arg3 = &temp3;
7891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7892 }
7893 }
7894 if (obj3) {
7895 {
7896 arg4 = &temp4;
7897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7898 }
7899 }
994141e6 7900 if (obj4) {
15afbcd0
RD
7901 arg5 = (long) SWIG_AsLong(obj4);
7902 if (PyErr_Occurred()) SWIG_fail;
994141e6 7903 }
d14a1e28
RD
7904 if (obj5) {
7905 {
7906 arg6 = wxString_in_helper(obj5);
7907 if (arg6 == NULL) SWIG_fail;
e811c8ce 7908 temp6 = True;
d14a1e28
RD
7909 }
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
15afbcd0 7918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
7919 {
7920 if (temp6)
7921 delete arg6;
7922 }
7923 return resultobj;
7924 fail:
7925 {
7926 if (temp6)
7927 delete arg6;
7928 }
7929 return NULL;
7930}
7931
7932
7933static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxSashLayoutWindow *result;
7936 char *kwnames[] = {
7937 NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
15afbcd0 7948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
7949 return resultobj;
7950 fail:
7951 return NULL;
7952}
7953
7954
7955static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7958 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 7959 int arg3 ;
d14a1e28
RD
7960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7962 wxSize const &arg5_defvalue = wxDefaultSize ;
7963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7964 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7965 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7966 wxString *arg7 = (wxString *) &arg7_defvalue ;
7967 bool result;
7968 wxPoint temp4 ;
7969 wxSize temp5 ;
e811c8ce 7970 bool temp7 = False ;
d14a1e28
RD
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
994141e6 7973 PyObject * obj2 = 0 ;
d14a1e28
RD
7974 PyObject * obj3 = 0 ;
7975 PyObject * obj4 = 0 ;
994141e6 7976 PyObject * obj5 = 0 ;
d14a1e28
RD
7977 PyObject * obj6 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7980 };
7981
994141e6 7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
7983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7987 arg3 = (int) SWIG_AsInt(obj2);
7988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7989 if (obj3) {
7990 {
7991 arg4 = &temp4;
7992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7993 }
7994 }
7995 if (obj4) {
7996 {
7997 arg5 = &temp5;
7998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7999 }
8000 }
994141e6 8001 if (obj5) {
15afbcd0
RD
8002 arg6 = (long) SWIG_AsLong(obj5);
8003 if (PyErr_Occurred()) SWIG_fail;
994141e6 8004 }
d14a1e28
RD
8005 if (obj6) {
8006 {
8007 arg7 = wxString_in_helper(obj6);
8008 if (arg7 == NULL) SWIG_fail;
e811c8ce 8009 temp7 = True;
d14a1e28
RD
8010 }
8011 }
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
4f89f6a3
RD
8019 {
8020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8021 }
d14a1e28
RD
8022 {
8023 if (temp7)
8024 delete arg7;
8025 }
8026 return resultobj;
8027 fail:
8028 {
8029 if (temp7)
8030 delete arg7;
8031 }
8032 return NULL;
8033}
8034
8035
8036static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8039 int result;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (int)(arg1)->GetAlignment();
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
15afbcd0 8055 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8056 return resultobj;
8057 fail:
8058 return NULL;
8059}
8060
8061
8062static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8065 int result;
8066 PyObject * obj0 = 0 ;
8067 char *kwnames[] = {
8068 (char *) "self", NULL
8069 };
8070
8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
8072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (int)(arg1)->GetOrientation();
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
15afbcd0 8081 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8082 return resultobj;
8083 fail:
8084 return NULL;
8085}
8086
8087
8088static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8091 int arg2 ;
8092 PyObject * obj0 = 0 ;
994141e6 8093 PyObject * obj1 = 0 ;
d14a1e28
RD
8094 char *kwnames[] = {
8095 (char *) "self",(char *) "alignment", NULL
8096 };
8097
994141e6 8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114}
8115
8116
8117static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8120 wxSize *arg2 = 0 ;
8121 wxSize temp2 ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self",(char *) "size", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8131 {
8132 arg2 = &temp2;
8133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
8149static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj;
8151 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8152 int arg2 ;
8153 PyObject * obj0 = 0 ;
994141e6 8154 PyObject * obj1 = 0 ;
d14a1e28
RD
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "orientation", NULL
8157 };
8158
994141e6 8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8162 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 Py_INCREF(Py_None); resultobj = Py_None;
8172 return resultobj;
8173 fail:
8174 return NULL;
8175}
8176
8177
8178static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8179 PyObject *obj;
8180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8181 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8182 Py_INCREF(obj);
8183 return Py_BuildValue((char *)"");
8184}
8185static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxLayoutAlgorithm *result;
8188 char *kwnames[] = {
8189 NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
15afbcd0 8200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
8201 return resultobj;
8202 fail:
8203 return NULL;
8204}
8205
8206
8207static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
15afbcd0
RD
8216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 delete arg1;
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_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8235 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8236 wxRect *arg3 = (wxRect *) NULL ;
8237 bool result;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self",(char *) "frame",(char *) "rect", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8250 if (obj2) {
15afbcd0
RD
8251 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8253 }
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
4f89f6a3
RD
8261 {
8262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8263 }
d14a1e28
RD
8264 return resultobj;
8265 fail:
8266 return NULL;
8267}
8268
8269
8270static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8273 wxFrame *arg2 = (wxFrame *) 0 ;
8274 wxWindow *arg3 = (wxWindow *) NULL ;
8275 bool result;
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 PyObject * obj2 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8288 if (obj2) {
15afbcd0
RD
8289 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8291 }
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
4f89f6a3
RD
8299 {
8300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8301 }
d14a1e28
RD
8302 return resultobj;
8303 fail:
8304 return NULL;
8305}
8306
8307
8308static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8311 wxWindow *arg2 = (wxWindow *) 0 ;
8312 wxWindow *arg3 = (wxWindow *) NULL ;
8313 bool result;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 PyObject * obj2 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8326 if (obj2) {
15afbcd0
RD
8327 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
4f89f6a3
RD
8337 {
8338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8339 }
d14a1e28
RD
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
8346static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8347 PyObject *obj;
8348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8349 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8350 Py_INCREF(obj);
8351 return Py_BuildValue((char *)"");
8352}
8353static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxWindow *arg1 = (wxWindow *) 0 ;
8356 int arg2 = (int) wxBORDER_NONE ;
8357 wxPopupWindow *result;
8358 PyObject * obj0 = 0 ;
994141e6 8359 PyObject * obj1 = 0 ;
d14a1e28
RD
8360 char *kwnames[] = {
8361 (char *) "parent",(char *) "flags", NULL
8362 };
8363
994141e6 8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8367 if (obj1) {
15afbcd0
RD
8368 arg2 = (int) SWIG_AsInt(obj1);
8369 if (PyErr_Occurred()) SWIG_fail;
994141e6 8370 }
d14a1e28
RD
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
15afbcd0 8378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8379 return resultobj;
8380 fail:
8381 return NULL;
8382}
8383
8384
8385static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxPopupWindow *result;
8388 char *kwnames[] = {
8389 NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxPopupWindow *)new wxPopupWindow();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
15afbcd0 8400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
8407static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8410 wxWindow *arg2 = (wxWindow *) 0 ;
8411 int arg3 = (int) wxBORDER_NONE ;
8412 bool result;
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
994141e6 8415 PyObject * obj2 = 0 ;
d14a1e28
RD
8416 char *kwnames[] = {
8417 (char *) "self",(char *) "parent",(char *) "flags", NULL
8418 };
8419
994141e6 8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8425 if (obj2) {
15afbcd0
RD
8426 arg3 = (int) SWIG_AsInt(obj2);
8427 if (PyErr_Occurred()) SWIG_fail;
994141e6 8428 }
d14a1e28
RD
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 result = (bool)(arg1)->Create(arg2,arg3);
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
4f89f6a3
RD
8436 {
8437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8438 }
d14a1e28
RD
8439 return resultobj;
8440 fail:
8441 return NULL;
8442}
8443
8444
8445static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8448 wxPoint *arg2 = 0 ;
8449 wxSize *arg3 = 0 ;
8450 wxPoint temp2 ;
8451 wxSize temp3 ;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj2 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8462 {
8463 arg2 = &temp2;
8464 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8465 }
8466 {
8467 arg3 = &temp3;
8468 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8469 }
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 Py_INCREF(Py_None); resultobj = Py_None;
8478 return resultobj;
8479 fail:
8480 return NULL;
8481}
8482
8483
8484static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8485 PyObject *obj;
8486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8487 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8488 Py_INCREF(obj);
8489 return Py_BuildValue((char *)"");
8490}
8491static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxWindow *arg1 = (wxWindow *) 0 ;
8494 int arg2 = (int) wxBORDER_NONE ;
8495 wxPyPopupTransientWindow *result;
8496 PyObject * obj0 = 0 ;
994141e6 8497 PyObject * obj1 = 0 ;
d14a1e28
RD
8498 char *kwnames[] = {
8499 (char *) "parent",(char *) "style", NULL
8500 };
8501
994141e6 8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8505 if (obj1) {
15afbcd0
RD
8506 arg2 = (int) SWIG_AsInt(obj1);
8507 if (PyErr_Occurred()) SWIG_fail;
994141e6 8508 }
d14a1e28
RD
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
15afbcd0 8516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
8523static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxPyPopupTransientWindow *result;
8526 char *kwnames[] = {
8527 NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
15afbcd0 8538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
8545static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8548 PyObject *arg2 = (PyObject *) 0 ;
8549 PyObject *arg3 = (PyObject *) 0 ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 PyObject * obj2 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "self",(char *) "_class", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8560 arg2 = obj1;
8561 arg3 = obj2;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 (arg1)->_setCallbackInfo(arg2,arg3);
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 Py_INCREF(Py_None); resultobj = Py_None;
8570 return resultobj;
8571 fail:
8572 return NULL;
8573}
8574
8575
8576static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8579 wxWindow *arg2 = (wxWindow *) NULL ;
8580 PyObject * obj0 = 0 ;
8581 PyObject * obj1 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self",(char *) "focus", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8589 if (obj1) {
15afbcd0
RD
8590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8592 }
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 (arg1)->Popup(arg2);
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 Py_INCREF(Py_None); resultobj = Py_None;
8601 return resultobj;
8602 fail:
8603 return NULL;
8604}
8605
8606
8607static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8608 PyObject *resultobj;
8609 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
15afbcd0
RD
8616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 (arg1)->Dismiss();
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 return resultobj;
8627 fail:
8628 return NULL;
8629}
8630
8631
8632static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8633 PyObject *obj;
8634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8635 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8636 Py_INCREF(obj);
8637 return Py_BuildValue((char *)"");
8638}
8639static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 8642 wxString *arg2 = 0 ;
e811c8ce 8643 int arg3 = (int) 100 ;
d14a1e28
RD
8644 wxRect *arg4 = (wxRect *) NULL ;
8645 wxTipWindow *result;
fd3f2efe 8646 bool temp2 = False ;
d14a1e28
RD
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
994141e6 8649 PyObject * obj2 = 0 ;
d14a1e28
RD
8650 PyObject * obj3 = 0 ;
8651 char *kwnames[] = {
8652 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8653 };
8654
994141e6 8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fd3f2efe
RD
8658 {
8659 arg2 = wxString_in_helper(obj1);
8660 if (arg2 == NULL) SWIG_fail;
8661 temp2 = True;
8662 }
994141e6 8663 if (obj2) {
15afbcd0
RD
8664 arg3 = (int) SWIG_AsInt(obj2);
8665 if (PyErr_Occurred()) SWIG_fail;
994141e6 8666 }
d14a1e28 8667 if (obj3) {
15afbcd0
RD
8668 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 8673 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
15afbcd0 8678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
8679 {
8680 if (temp2)
8681 delete arg2;
8682 }
d14a1e28
RD
8683 return resultobj;
8684 fail:
fd3f2efe
RD
8685 {
8686 if (temp2)
8687 delete arg2;
8688 }
d14a1e28
RD
8689 return NULL;
8690}
8691
8692
8693static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8696 wxRect *arg2 = 0 ;
8697 wxRect temp2 ;
8698 PyObject * obj0 = 0 ;
8699 PyObject * obj1 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "rectBound", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8707 {
8708 arg2 = &temp2;
8709 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8710 }
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722}
8723
8724
8725static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
15afbcd0
RD
8734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->Close();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
8750static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8751 PyObject *obj;
8752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8753 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8754 Py_INCREF(obj);
8755 return Py_BuildValue((char *)"");
8756}
8757static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8760 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8763 wxSize const &arg4_defvalue = wxDefaultSize ;
8764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8765 long arg5 = (long) 0 ;
8766 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8767 wxString *arg6 = (wxString *) &arg6_defvalue ;
8768 wxPyVScrolledWindow *result;
8769 wxPoint temp3 ;
8770 wxSize temp4 ;
e811c8ce 8771 bool temp6 = False ;
d14a1e28 8772 PyObject * obj0 = 0 ;
994141e6 8773 PyObject * obj1 = 0 ;
d14a1e28
RD
8774 PyObject * obj2 = 0 ;
8775 PyObject * obj3 = 0 ;
994141e6 8776 PyObject * obj4 = 0 ;
d14a1e28
RD
8777 PyObject * obj5 = 0 ;
8778 char *kwnames[] = {
8779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8780 };
8781
994141e6 8782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8785 if (obj1) {
15afbcd0
RD
8786 arg2 = (int) SWIG_AsInt(obj1);
8787 if (PyErr_Occurred()) SWIG_fail;
994141e6 8788 }
d14a1e28
RD
8789 if (obj2) {
8790 {
8791 arg3 = &temp3;
8792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8793 }
8794 }
8795 if (obj3) {
8796 {
8797 arg4 = &temp4;
8798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8799 }
8800 }
994141e6 8801 if (obj4) {
15afbcd0
RD
8802 arg5 = (long) SWIG_AsLong(obj4);
8803 if (PyErr_Occurred()) SWIG_fail;
994141e6 8804 }
d14a1e28
RD
8805 if (obj5) {
8806 {
8807 arg6 = wxString_in_helper(obj5);
8808 if (arg6 == NULL) SWIG_fail;
e811c8ce 8809 temp6 = True;
d14a1e28
RD
8810 }
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
15afbcd0 8819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
8820 {
8821 if (temp6)
8822 delete arg6;
8823 }
8824 return resultobj;
8825 fail:
8826 {
8827 if (temp6)
8828 delete arg6;
8829 }
8830 return NULL;
8831}
8832
8833
8834static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxPyVScrolledWindow *result;
8837 char *kwnames[] = {
8838 NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
15afbcd0 8849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
8850 return resultobj;
8851 fail:
8852 return NULL;
8853}
8854
8855
8856static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8859 PyObject *arg2 = (PyObject *) 0 ;
8860 PyObject *arg3 = (PyObject *) 0 ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 PyObject * obj2 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "self",(char *) "_class", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8871 arg2 = obj1;
8872 arg3 = obj2;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->_setCallbackInfo(arg2,arg3);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884}
8885
8886
8887static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8890 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8891 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
8892 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8893 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8894 wxSize const &arg5_defvalue = wxDefaultSize ;
8895 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8896 long arg6 = (long) 0 ;
8897 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8898 wxString *arg7 = (wxString *) &arg7_defvalue ;
8899 bool result;
8900 wxPoint temp4 ;
8901 wxSize temp5 ;
e811c8ce 8902 bool temp7 = False ;
d14a1e28
RD
8903 PyObject * obj0 = 0 ;
8904 PyObject * obj1 = 0 ;
994141e6 8905 PyObject * obj2 = 0 ;
d14a1e28
RD
8906 PyObject * obj3 = 0 ;
8907 PyObject * obj4 = 0 ;
994141e6 8908 PyObject * obj5 = 0 ;
d14a1e28
RD
8909 PyObject * obj6 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8912 };
8913
994141e6 8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8919 if (obj2) {
15afbcd0
RD
8920 arg3 = (int) SWIG_AsInt(obj2);
8921 if (PyErr_Occurred()) SWIG_fail;
994141e6 8922 }
d14a1e28
RD
8923 if (obj3) {
8924 {
8925 arg4 = &temp4;
8926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8927 }
8928 }
8929 if (obj4) {
8930 {
8931 arg5 = &temp5;
8932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8933 }
8934 }
994141e6 8935 if (obj5) {
15afbcd0
RD
8936 arg6 = (long) SWIG_AsLong(obj5);
8937 if (PyErr_Occurred()) SWIG_fail;
994141e6 8938 }
d14a1e28
RD
8939 if (obj6) {
8940 {
8941 arg7 = wxString_in_helper(obj6);
8942 if (arg7 == NULL) SWIG_fail;
e811c8ce 8943 temp7 = True;
d14a1e28
RD
8944 }
8945 }
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
4f89f6a3
RD
8953 {
8954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8955 }
d14a1e28
RD
8956 {
8957 if (temp7)
8958 delete arg7;
8959 }
8960 return resultobj;
8961 fail:
8962 {
8963 if (temp7)
8964 delete arg7;
8965 }
8966 return NULL;
8967}
8968
8969
8970static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8973 size_t arg2 ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "count", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8983 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 (arg1)->SetLineCount(arg2);
8988
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 Py_INCREF(Py_None); resultobj = Py_None;
8993 return resultobj;
8994 fail:
8995 return NULL;
8996}
8997
8998
8999static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9000 PyObject *resultobj;
9001 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9002 size_t arg2 ;
9003 bool result;
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self",(char *) "line", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9013 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (bool)(arg1)->ScrollToLine(arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
4f89f6a3
RD
9022 {
9023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9024 }
d14a1e28
RD
9025 return resultobj;
9026 fail:
9027 return NULL;
9028}
9029
9030
9031static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9034 int arg2 ;
9035 bool result;
9036 PyObject * obj0 = 0 ;
994141e6 9037 PyObject * obj1 = 0 ;
d14a1e28
RD
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "lines", NULL
9040 };
9041
994141e6 9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9045 arg2 = (int) SWIG_AsInt(obj1);
9046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (bool)(arg1)->ScrollLines(arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
4f89f6a3
RD
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
d14a1e28
RD
9057 return resultobj;
9058 fail:
9059 return NULL;
9060}
9061
9062
9063static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9066 int arg2 ;
9067 bool result;
9068 PyObject * obj0 = 0 ;
994141e6 9069 PyObject * obj1 = 0 ;
d14a1e28
RD
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "pages", NULL
9072 };
9073
994141e6 9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9077 arg2 = (int) SWIG_AsInt(obj1);
9078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 result = (bool)(arg1)->ScrollPages(arg2);
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
4f89f6a3
RD
9086 {
9087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9088 }
d14a1e28
RD
9089 return resultobj;
9090 fail:
9091 return NULL;
9092}
9093
9094
9095static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9098 size_t arg2 ;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "line", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 (arg1)->RefreshLine(arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121}
9122
9123
9124static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9127 size_t arg2 ;
9128 size_t arg3 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 PyObject * obj2 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "from",(char *) "to", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->RefreshLines(arg2,arg3);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 Py_INCREF(Py_None); resultobj = Py_None;
9151 return resultobj;
9152 fail:
9153 return NULL;
9154}
9155
9156
9157static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
9160 int arg2 ;
9161 int arg3 ;
d14a1e28
RD
9162 int result;
9163 PyObject * obj0 = 0 ;
994141e6
RD
9164 PyObject * obj1 = 0 ;
9165 PyObject * obj2 = 0 ;
d14a1e28
RD
9166 char *kwnames[] = {
9167 (char *) "self",(char *) "x",(char *) "y", NULL
9168 };
9169
994141e6 9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9173 arg2 = (int) SWIG_AsInt(obj1);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 arg3 = (int) SWIG_AsInt(obj2);
9176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
15afbcd0 9184 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9185 return resultobj;
9186 fail:
9187 return NULL;
9188}
9189
9190
9191static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9194 wxPoint *arg2 = 0 ;
9195 int result;
9196 wxPoint temp2 ;
9197 PyObject * obj0 = 0 ;
9198 PyObject * obj1 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self",(char *) "pt", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9206 {
9207 arg2 = &temp2;
9208 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
15afbcd0 9217 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9218 return resultobj;
9219 fail:
9220 return NULL;
9221}
9222
9223
9224static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9225 PyObject *resultobj;
9226 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9227 PyObject * obj0 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 (arg1)->RefreshAll();
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 Py_INCREF(Py_None); resultobj = Py_None;
9243 return resultobj;
9244 fail:
9245 return NULL;
9246}
9247
9248
9249static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9252 size_t result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
15afbcd0 9268 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9269 return resultobj;
9270 fail:
9271 return NULL;
9272}
9273
9274
9275static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9278 size_t result;
9279 PyObject * obj0 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
15afbcd0 9294 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9295 return resultobj;
9296 fail:
9297 return NULL;
9298}
9299
9300
9301static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj;
9303 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9304 size_t result;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
15afbcd0 9320 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9321 return resultobj;
9322 fail:
9323 return NULL;
9324}
9325
9326
9327static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9330 size_t arg2 ;
9331 bool result;
9332 PyObject * obj0 = 0 ;
9333 PyObject * obj1 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self",(char *) "line", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
4f89f6a3
RD
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
d14a1e28
RD
9353 return resultobj;
9354 fail:
9355 return NULL;
9356}
9357
9358
9359static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9360 PyObject *obj;
9361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9362 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9363 Py_INCREF(obj);
9364 return Py_BuildValue((char *)"");
9365}
b2dc1044
RD
9366static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9367 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9368 return 1;
9369}
9370
9371
9372static PyObject *_wrap_VListBoxNameStr_get() {
9373 PyObject *pyobj;
9374
9375 {
9376#if wxUSE_UNICODE
9377 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9378#else
9379 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9380#endif
9381 }
9382 return pyobj;
9383}
9384
9385
d14a1e28
RD
9386static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9389 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9390 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9391 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9392 wxSize const &arg4_defvalue = wxDefaultSize ;
9393 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9394 long arg5 = (long) 0 ;
9395 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9396 wxString *arg6 = (wxString *) &arg6_defvalue ;
9397 wxPyVListBox *result;
9398 wxPoint temp3 ;
9399 wxSize temp4 ;
e811c8ce 9400 bool temp6 = False ;
d14a1e28 9401 PyObject * obj0 = 0 ;
994141e6 9402 PyObject * obj1 = 0 ;
d14a1e28
RD
9403 PyObject * obj2 = 0 ;
9404 PyObject * obj3 = 0 ;
994141e6 9405 PyObject * obj4 = 0 ;
d14a1e28
RD
9406 PyObject * obj5 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9409 };
9410
994141e6 9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9414 if (obj1) {
15afbcd0
RD
9415 arg2 = (int) SWIG_AsInt(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
994141e6 9417 }
d14a1e28
RD
9418 if (obj2) {
9419 {
9420 arg3 = &temp3;
9421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9422 }
9423 }
9424 if (obj3) {
9425 {
9426 arg4 = &temp4;
9427 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9428 }
9429 }
994141e6 9430 if (obj4) {
15afbcd0
RD
9431 arg5 = (long) SWIG_AsLong(obj4);
9432 if (PyErr_Occurred()) SWIG_fail;
994141e6 9433 }
d14a1e28
RD
9434 if (obj5) {
9435 {
9436 arg6 = wxString_in_helper(obj5);
9437 if (arg6 == NULL) SWIG_fail;
e811c8ce 9438 temp6 = True;
d14a1e28
RD
9439 }
9440 }
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
15afbcd0 9448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
9449 {
9450 if (temp6)
9451 delete arg6;
9452 }
9453 return resultobj;
9454 fail:
9455 {
9456 if (temp6)
9457 delete arg6;
9458 }
9459 return NULL;
9460}
9461
9462
9463static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxPyVListBox *result;
9466 char *kwnames[] = {
9467 NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (wxPyVListBox *)new wxPyVListBox();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
15afbcd0 9478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
9479 return resultobj;
9480 fail:
9481 return NULL;
9482}
9483
9484
9485static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9488 PyObject *arg2 = (PyObject *) 0 ;
9489 PyObject *arg3 = (PyObject *) 0 ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 PyObject * obj2 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self",(char *) "self",(char *) "_class", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9500 arg2 = obj1;
9501 arg3 = obj2;
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->_setCallbackInfo(arg2,arg3);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 Py_INCREF(Py_None); resultobj = Py_None;
9510 return resultobj;
9511 fail:
9512 return NULL;
9513}
9514
9515
9516static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9519 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9520 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9523 wxSize const &arg5_defvalue = wxDefaultSize ;
9524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9525 long arg6 = (long) 0 ;
9526 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9527 wxString *arg7 = (wxString *) &arg7_defvalue ;
9528 bool result;
9529 wxPoint temp4 ;
9530 wxSize temp5 ;
e811c8ce 9531 bool temp7 = False ;
d14a1e28
RD
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
994141e6 9534 PyObject * obj2 = 0 ;
d14a1e28
RD
9535 PyObject * obj3 = 0 ;
9536 PyObject * obj4 = 0 ;
994141e6 9537 PyObject * obj5 = 0 ;
d14a1e28
RD
9538 PyObject * obj6 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9541 };
9542
994141e6 9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9548 if (obj2) {
15afbcd0
RD
9549 arg3 = (int) SWIG_AsInt(obj2);
9550 if (PyErr_Occurred()) SWIG_fail;
994141e6 9551 }
d14a1e28
RD
9552 if (obj3) {
9553 {
9554 arg4 = &temp4;
9555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9556 }
9557 }
9558 if (obj4) {
9559 {
9560 arg5 = &temp5;
9561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9562 }
9563 }
994141e6 9564 if (obj5) {
15afbcd0
RD
9565 arg6 = (long) SWIG_AsLong(obj5);
9566 if (PyErr_Occurred()) SWIG_fail;
994141e6 9567 }
d14a1e28
RD
9568 if (obj6) {
9569 {
9570 arg7 = wxString_in_helper(obj6);
9571 if (arg7 == NULL) SWIG_fail;
e811c8ce 9572 temp7 = True;
d14a1e28
RD
9573 }
9574 }
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
4f89f6a3
RD
9582 {
9583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9584 }
d14a1e28
RD
9585 {
9586 if (temp7)
9587 delete arg7;
9588 }
9589 return resultobj;
9590 fail:
9591 {
9592 if (temp7)
9593 delete arg7;
9594 }
9595 return NULL;
9596}
9597
9598
9599static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9602 size_t result;
9603 PyObject * obj0 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
15afbcd0 9618 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9619 return resultobj;
9620 fail:
9621 return NULL;
9622}
9623
9624
9625static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9628 bool result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
9635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
4f89f6a3
RD
9644 {
9645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9646 }
d14a1e28
RD
9647 return resultobj;
9648 fail:
9649 return NULL;
9650}
9651
9652
9653static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9656 int result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
9663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
15afbcd0 9672 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
9679static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9682 size_t arg2 ;
9683 bool result;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "self",(char *) "item", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9693 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
4f89f6a3
RD
9702 {
9703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9704 }
d14a1e28
RD
9705 return resultobj;
9706 fail:
9707 return NULL;
9708}
9709
9710
9711static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9714 size_t arg2 ;
9715 bool result;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self",(char *) "item", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9725 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
4f89f6a3
RD
9734 {
9735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9736 }
d14a1e28
RD
9737 return resultobj;
9738 fail:
9739 return NULL;
9740}
9741
9742
9743static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9746 size_t result;
9747 PyObject * obj0 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9758
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
15afbcd0 9762 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9763 return resultobj;
9764 fail:
9765 return NULL;
9766}
9767
9768
9769static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9770 PyObject *resultobj;
9771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9772 unsigned long *arg2 = 0 ;
9773 int result;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self",(char *) "cookie", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9784 SWIG_POINTER_EXCEPTION | 0)) == -1)
9785 SWIG_fail;
d14a1e28 9786 if (arg2 == NULL) {
15afbcd0
RD
9787 PyErr_SetString(PyExc_TypeError,"null reference");
9788 SWIG_fail;
d14a1e28
RD
9789 }
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
15afbcd0 9797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9798 return resultobj;
9799 fail:
9800 return NULL;
9801}
9802
9803
9804static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9807 unsigned long *arg2 = 0 ;
9808 int result;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "cookie", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9819 SWIG_POINTER_EXCEPTION | 0)) == -1)
9820 SWIG_fail;
d14a1e28 9821 if (arg2 == NULL) {
15afbcd0
RD
9822 PyErr_SetString(PyExc_TypeError,"null reference");
9823 SWIG_fail;
d14a1e28
RD
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
15afbcd0 9832 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9833 return resultobj;
9834 fail:
9835 return NULL;
9836}
9837
9838
9839static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9842 wxPoint result;
9843 PyObject * obj0 = 0 ;
9844 char *kwnames[] = {
9845 (char *) "self", NULL
9846 };
9847
9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
9849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = ((wxPyVListBox const *)arg1)->GetMargins();
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 {
9859 wxPoint * resultptr;
9860 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 9861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
9862 }
9863 return resultobj;
9864 fail:
9865 return NULL;
9866}
9867
9868
9869static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9872 wxColour *result;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 {
9884 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9885 result = (wxColour *) &_result_ref;
9886 }
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
15afbcd0 9891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9892 return resultobj;
9893 fail:
9894 return NULL;
9895}
9896
9897
9898static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9901 size_t arg2 ;
9902 PyObject * obj0 = 0 ;
9903 PyObject * obj1 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "count", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9911 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 (arg1)->SetItemCount(arg2);
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 Py_INCREF(Py_None); resultobj = Py_None;
9921 return resultobj;
9922 fail:
9923 return NULL;
9924}
9925
9926
9927static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9930 PyObject * obj0 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
9936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->Clear();
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 Py_INCREF(Py_None); resultobj = Py_None;
9946 return resultobj;
9947 fail:
9948 return NULL;
9949}
9950
9951
9952static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9955 int arg2 ;
9956 PyObject * obj0 = 0 ;
994141e6 9957 PyObject * obj1 = 0 ;
d14a1e28
RD
9958 char *kwnames[] = {
9959 (char *) "self",(char *) "selection", NULL
9960 };
9961
994141e6 9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9965 arg2 = (int) SWIG_AsInt(obj1);
9966 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->SetSelection(arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978}
9979
9980
9981static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9984 size_t arg2 ;
e811c8ce 9985 bool arg3 = (bool) True ;
d14a1e28
RD
9986 bool result;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 PyObject * obj2 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "item",(char *) "select", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9998 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 9999 if (obj2) {
15afbcd0
RD
10000 arg3 = (bool) SWIG_AsBool(obj2);
10001 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10002 }
d14a1e28
RD
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (bool)(arg1)->Select(arg2,arg3);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
4f89f6a3
RD
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
d14a1e28
RD
10013 return resultobj;
10014 fail:
10015 return NULL;
10016}
10017
10018
10019static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10022 size_t arg2 ;
10023 size_t arg3 ;
10024 bool result;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj1 = 0 ;
10027 PyObject * obj2 = 0 ;
15afbcd0
RD
10028 char *kwnames[] = {
10029 (char *) "self",(char *) "from",(char *) "to", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10035 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (bool)(arg1)->SelectRange(arg2,arg3);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
4f89f6a3
RD
10046 {
10047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10048 }
d14a1e28
RD
10049 return resultobj;
10050 fail:
10051 return NULL;
10052}
10053
10054
10055static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10058 size_t arg2 ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self",(char *) "item", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10068 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 (arg1)->Toggle(arg2);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 return resultobj;
10079 fail:
10080 return NULL;
10081}
10082
10083
10084static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10087 bool result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (bool)(arg1)->SelectAll();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
4f89f6a3
RD
10103 {
10104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10105 }
d14a1e28
RD
10106 return resultobj;
10107 fail:
10108 return NULL;
10109}
10110
10111
10112static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10115 bool result;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (bool)(arg1)->DeselectAll();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
4f89f6a3
RD
10131 {
10132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10133 }
d14a1e28
RD
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
10140static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10143 wxPoint *arg2 = 0 ;
10144 wxPoint temp2 ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj1 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "pt", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10154 {
10155 arg2 = &temp2;
10156 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10157 }
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->SetMargins((wxPoint const &)*arg2);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
10172static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
10175 int arg2 ;
10176 int arg3 ;
d14a1e28 10177 PyObject * obj0 = 0 ;
994141e6
RD
10178 PyObject * obj1 = 0 ;
10179 PyObject * obj2 = 0 ;
d14a1e28
RD
10180 char *kwnames[] = {
10181 (char *) "self",(char *) "x",(char *) "y", NULL
10182 };
10183
994141e6 10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10187 arg2 = (int) SWIG_AsInt(obj1);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 arg3 = (int) SWIG_AsInt(obj2);
10190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 (arg1)->SetMargins(arg2,arg3);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 return resultobj;
10200 fail:
10201 return NULL;
10202}
10203
10204
10205static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10208 wxColour *arg2 = 0 ;
10209 wxColour temp2 ;
10210 PyObject * obj0 = 0 ;
10211 PyObject * obj1 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self",(char *) "col", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10219 {
10220 arg2 = &temp2;
10221 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10222 }
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 Py_INCREF(Py_None); resultobj = Py_None;
10231 return resultobj;
10232 fail:
10233 return NULL;
10234}
10235
10236
10237static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10238 PyObject *obj;
10239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10240 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10241 Py_INCREF(obj);
10242 return Py_BuildValue((char *)"");
10243}
10244static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10247 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10248 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10249 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10250 wxSize const &arg4_defvalue = wxDefaultSize ;
10251 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10252 long arg5 = (long) 0 ;
10253 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10254 wxString *arg6 = (wxString *) &arg6_defvalue ;
10255 wxPyHtmlListBox *result;
10256 wxPoint temp3 ;
10257 wxSize temp4 ;
e811c8ce 10258 bool temp6 = False ;
d14a1e28 10259 PyObject * obj0 = 0 ;
994141e6 10260 PyObject * obj1 = 0 ;
d14a1e28
RD
10261 PyObject * obj2 = 0 ;
10262 PyObject * obj3 = 0 ;
994141e6 10263 PyObject * obj4 = 0 ;
d14a1e28
RD
10264 PyObject * obj5 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10267 };
10268
994141e6 10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10272 if (obj1) {
15afbcd0
RD
10273 arg2 = (int) SWIG_AsInt(obj1);
10274 if (PyErr_Occurred()) SWIG_fail;
994141e6 10275 }
d14a1e28
RD
10276 if (obj2) {
10277 {
10278 arg3 = &temp3;
10279 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10280 }
10281 }
10282 if (obj3) {
10283 {
10284 arg4 = &temp4;
10285 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10286 }
10287 }
994141e6 10288 if (obj4) {
15afbcd0
RD
10289 arg5 = (long) SWIG_AsLong(obj4);
10290 if (PyErr_Occurred()) SWIG_fail;
994141e6 10291 }
d14a1e28
RD
10292 if (obj5) {
10293 {
10294 arg6 = wxString_in_helper(obj5);
10295 if (arg6 == NULL) SWIG_fail;
e811c8ce 10296 temp6 = True;
d14a1e28
RD
10297 }
10298 }
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
15afbcd0 10306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10307 {
10308 if (temp6)
10309 delete arg6;
10310 }
10311 return resultobj;
10312 fail:
10313 {
10314 if (temp6)
10315 delete arg6;
10316 }
10317 return NULL;
10318}
10319
10320
10321static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxPyHtmlListBox *result;
10324 char *kwnames[] = {
10325 NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
15afbcd0 10336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10337 return resultobj;
10338 fail:
10339 return NULL;
10340}
10341
10342
10343static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10346 PyObject *arg2 = (PyObject *) 0 ;
10347 PyObject *arg3 = (PyObject *) 0 ;
10348 PyObject * obj0 = 0 ;
10349 PyObject * obj1 = 0 ;
10350 PyObject * obj2 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "self",(char *) "_class", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10358 arg2 = obj1;
10359 arg3 = obj2;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->_setCallbackInfo(arg2,arg3);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
10374static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10377 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10378 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10381 wxSize const &arg5_defvalue = wxDefaultSize ;
10382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10383 long arg6 = (long) 0 ;
10384 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10385 wxString *arg7 = (wxString *) &arg7_defvalue ;
10386 bool result;
10387 wxPoint temp4 ;
10388 wxSize temp5 ;
e811c8ce 10389 bool temp7 = False ;
d14a1e28
RD
10390 PyObject * obj0 = 0 ;
10391 PyObject * obj1 = 0 ;
994141e6 10392 PyObject * obj2 = 0 ;
d14a1e28
RD
10393 PyObject * obj3 = 0 ;
10394 PyObject * obj4 = 0 ;
994141e6 10395 PyObject * obj5 = 0 ;
d14a1e28
RD
10396 PyObject * obj6 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10399 };
10400
994141e6 10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10406 if (obj2) {
15afbcd0
RD
10407 arg3 = (int) SWIG_AsInt(obj2);
10408 if (PyErr_Occurred()) SWIG_fail;
994141e6 10409 }
d14a1e28
RD
10410 if (obj3) {
10411 {
10412 arg4 = &temp4;
10413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10414 }
10415 }
10416 if (obj4) {
10417 {
10418 arg5 = &temp5;
10419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10420 }
10421 }
994141e6 10422 if (obj5) {
15afbcd0
RD
10423 arg6 = (long) SWIG_AsLong(obj5);
10424 if (PyErr_Occurred()) SWIG_fail;
994141e6 10425 }
d14a1e28
RD
10426 if (obj6) {
10427 {
10428 arg7 = wxString_in_helper(obj6);
10429 if (arg7 == NULL) SWIG_fail;
e811c8ce 10430 temp7 = True;
d14a1e28
RD
10431 }
10432 }
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
4f89f6a3
RD
10440 {
10441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10442 }
d14a1e28
RD
10443 {
10444 if (temp7)
10445 delete arg7;
10446 }
10447 return resultobj;
10448 fail:
10449 {
10450 if (temp7)
10451 delete arg7;
10452 }
10453 return NULL;
10454}
10455
10456
10457static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 (arg1)->RefreshAll();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479}
10480
10481
10482static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10485 size_t arg2 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "count", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->SetItemCount(arg2);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 Py_INCREF(Py_None); resultobj = Py_None;
10505 return resultobj;
10506 fail:
10507 return NULL;
10508}
10509
10510
10511static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10512 PyObject *obj;
10513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10514 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10515 Py_INCREF(obj);
10516 return Py_BuildValue((char *)"");
10517}
10518static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxTaskBarIcon *result;
10521 char *kwnames[] = {
10522 NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
15afbcd0 10533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
d14a1e28
RD
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
10540static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10543 PyObject * obj0 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
10549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 delete arg1;
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
74a57fcd
RD
10565static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10568 PyObject * obj0 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 wxTaskBarIcon_Destroy(arg1);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 Py_INCREF(Py_None); resultobj = Py_None;
10584 return resultobj;
10585 fail:
10586 return NULL;
10587}
10588
10589
d14a1e28
RD
10590static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10593 bool result;
10594 PyObject * obj0 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self", NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
10600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10602 {
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
4f89f6a3
RD
10609 {
10610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10611 }
d14a1e28
RD
10612 return resultobj;
10613 fail:
10614 return NULL;
10615}
10616
10617
10618static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10621 bool result;
10622 PyObject * obj0 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
15afbcd0
RD
10628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
4f89f6a3
RD
10637 {
10638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10639 }
d14a1e28
RD
10640 return resultobj;
10641 fail:
10642 return NULL;
10643}
10644
10645
10646static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10649 wxIcon *arg2 = 0 ;
10650 wxString const &arg3_defvalue = wxPyEmptyString ;
10651 wxString *arg3 = (wxString *) &arg3_defvalue ;
10652 bool result;
e811c8ce 10653 bool temp3 = False ;
d14a1e28
RD
10654 PyObject * obj0 = 0 ;
10655 PyObject * obj1 = 0 ;
10656 PyObject * obj2 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10665 SWIG_POINTER_EXCEPTION | 0)) == -1)
10666 SWIG_fail;
d14a1e28 10667 if (arg2 == NULL) {
15afbcd0
RD
10668 PyErr_SetString(PyExc_TypeError,"null reference");
10669 SWIG_fail;
d14a1e28
RD
10670 }
10671 if (obj2) {
10672 {
10673 arg3 = wxString_in_helper(obj2);
10674 if (arg3 == NULL) SWIG_fail;
e811c8ce 10675 temp3 = True;
d14a1e28
RD
10676 }
10677 }
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
4f89f6a3
RD
10685 {
10686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10687 }
d14a1e28
RD
10688 {
10689 if (temp3)
10690 delete arg3;
10691 }
10692 return resultobj;
10693 fail:
10694 {
10695 if (temp3)
10696 delete arg3;
10697 }
10698 return NULL;
10699}
10700
10701
10702static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10705 bool result;
10706 PyObject * obj0 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "self", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
10712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (bool)(arg1)->RemoveIcon();
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
4f89f6a3
RD
10721 {
10722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10723 }
d14a1e28
RD
10724 return resultobj;
10725 fail:
10726 return NULL;
10727}
10728
10729
10730static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10733 wxMenu *arg2 = (wxMenu *) 0 ;
10734 bool result;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "menu", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (bool)(arg1)->PopupMenu(arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
4f89f6a3
RD
10753 {
10754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10755 }
d14a1e28
RD
10756 return resultobj;
10757 fail:
10758 return NULL;
10759}
10760
10761
10762static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10763 PyObject *obj;
10764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10765 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10766 Py_INCREF(obj);
10767 return Py_BuildValue((char *)"");
10768}
10769static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxEventType arg1 ;
10772 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10773 wxTaskBarIconEvent *result;
994141e6 10774 PyObject * obj0 = 0 ;
d14a1e28
RD
10775 PyObject * obj1 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "evtType",(char *) "tbIcon", NULL
10778 };
10779
994141e6 10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10781 arg1 = (wxEventType) SWIG_AsInt(obj0);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
15afbcd0 10792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
10799static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10800 PyObject *obj;
10801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10802 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10803 Py_INCREF(obj);
10804 return Py_BuildValue((char *)"");
10805}
b2dc1044
RD
10806static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10807 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10808 return 1;
10809}
10810
10811
10812static PyObject *_wrap_FileSelectorPromptStr_get() {
10813 PyObject *pyobj;
10814
10815 {
10816#if wxUSE_UNICODE
10817 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10818#else
10819 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10820#endif
10821 }
10822 return pyobj;
10823}
10824
10825
10826static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10827 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10828 return 1;
10829}
10830
10831
10832static PyObject *_wrap_DirSelectorPromptStr_get() {
10833 PyObject *pyobj;
10834
10835 {
10836#if wxUSE_UNICODE
10837 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10838#else
10839 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10840#endif
10841 }
10842 return pyobj;
10843}
10844
10845
10846static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10847 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10848 return 1;
10849}
10850
10851
10852static PyObject *_wrap_DirDialogNameStr_get() {
10853 PyObject *pyobj;
10854
10855 {
10856#if wxUSE_UNICODE
10857 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10858#else
10859 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10860#endif
10861 }
10862 return pyobj;
10863}
10864
10865
10866static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10867 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10868 return 1;
10869}
10870
10871
10872static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10873 PyObject *pyobj;
10874
10875 {
10876#if wxUSE_UNICODE
10877 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10878#else
10879 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10880#endif
10881 }
10882 return pyobj;
10883}
10884
10885
10886static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10887 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10888 return 1;
10889}
10890
10891
10892static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10893 PyObject *pyobj;
10894
10895 {
10896#if wxUSE_UNICODE
10897 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10898#else
10899 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10900#endif
10901 }
10902 return pyobj;
10903}
10904
10905
10906static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10907 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10908 return 1;
10909}
10910
10911
10912static PyObject *_wrap_MessageBoxCaptionStr_get() {
10913 PyObject *pyobj;
10914
10915 {
10916#if wxUSE_UNICODE
10917 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10918#else
10919 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10920#endif
10921 }
10922 return pyobj;
10923}
10924
10925
d14a1e28
RD
10926static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10927 PyObject *resultobj;
10928 wxColourData *result;
10929 char *kwnames[] = {
10930 NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (wxColourData *)new wxColourData();
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
15afbcd0 10941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
10942 return resultobj;
10943 fail:
10944 return NULL;
10945}
10946
10947
10948static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj;
10950 wxColourData *arg1 = (wxColourData *) 0 ;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 delete arg1;
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
10973static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxColourData *arg1 = (wxColourData *) 0 ;
10976 bool result;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
15afbcd0
RD
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)(arg1)->GetChooseFull();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
4f89f6a3
RD
10992 {
10993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10994 }
d14a1e28
RD
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
11001static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxColourData *arg1 = (wxColourData *) 0 ;
11004 wxColour result;
11005 PyObject * obj0 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 result = (arg1)->GetColour();
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 {
11021 wxColour * resultptr;
11022 resultptr = new wxColour((wxColour &) result);
15afbcd0 11023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11024 }
11025 return resultobj;
11026 fail:
11027 return NULL;
11028}
11029
11030
11031static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj;
11033 wxColourData *arg1 = (wxColourData *) 0 ;
11034 int arg2 ;
11035 wxColour result;
11036 PyObject * obj0 = 0 ;
994141e6 11037 PyObject * obj1 = 0 ;
d14a1e28
RD
11038 char *kwnames[] = {
11039 (char *) "self",(char *) "i", NULL
11040 };
11041
994141e6 11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11045 arg2 = (int) SWIG_AsInt(obj1);
11046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 result = (arg1)->GetCustomColour(arg2);
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 {
11055 wxColour * resultptr;
11056 resultptr = new wxColour((wxColour &) result);
15afbcd0 11057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11058 }
11059 return resultobj;
11060 fail:
11061 return NULL;
11062}
11063
11064
11065static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxColourData *arg1 = (wxColourData *) 0 ;
11068 int arg2 ;
11069 PyObject * obj0 = 0 ;
994141e6 11070 PyObject * obj1 = 0 ;
d14a1e28
RD
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "flag", NULL
11073 };
11074
994141e6 11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11078 arg2 = (int) SWIG_AsInt(obj1);
11079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->SetChooseFull(arg2);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091}
11092
11093
11094static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxColourData *arg1 = (wxColourData *) 0 ;
11097 wxColour *arg2 = 0 ;
11098 wxColour temp2 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self",(char *) "colour", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11108 {
11109 arg2 = &temp2;
11110 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11111 }
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 (arg1)->SetColour((wxColour const &)*arg2);
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 Py_INCREF(Py_None); resultobj = Py_None;
11120 return resultobj;
11121 fail:
11122 return NULL;
11123}
11124
11125
11126static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxColourData *arg1 = (wxColourData *) 0 ;
11129 int arg2 ;
11130 wxColour *arg3 = 0 ;
11131 wxColour temp3 ;
11132 PyObject * obj0 = 0 ;
994141e6 11133 PyObject * obj1 = 0 ;
d14a1e28
RD
11134 PyObject * obj2 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "i",(char *) "colour", NULL
11137 };
11138
994141e6 11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11142 arg2 = (int) SWIG_AsInt(obj1);
11143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11144 {
11145 arg3 = &temp3;
11146 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159}
11160
11161
11162static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11163 PyObject *obj;
11164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11165 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11166 Py_INCREF(obj);
11167 return Py_BuildValue((char *)"");
11168}
11169static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxWindow *arg1 = (wxWindow *) 0 ;
11172 wxColourData *arg2 = (wxColourData *) NULL ;
11173 wxColourDialog *result;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "parent",(char *) "data", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11183 if (obj1) {
15afbcd0
RD
11184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11186 }
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
15afbcd0 11194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
11195 return resultobj;
11196 fail:
11197 return NULL;
11198}
11199
11200
11201static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11204 wxColourData *result;
11205 PyObject * obj0 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 {
11216 wxColourData &_result_ref = (arg1)->GetColourData();
11217 result = (wxColourData *) &_result_ref;
11218 }
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
15afbcd0 11223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
11224 return resultobj;
11225 fail:
11226 return NULL;
11227}
11228
11229
d14a1e28
RD
11230static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11231 PyObject *obj;
11232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11233 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11234 Py_INCREF(obj);
11235 return Py_BuildValue((char *)"");
11236}
11237static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxWindow *arg1 = (wxWindow *) 0 ;
11240 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11241 wxString *arg2 = (wxString *) &arg2_defvalue ;
11242 wxString const &arg3_defvalue = wxPyEmptyString ;
11243 wxString *arg3 = (wxString *) &arg3_defvalue ;
11244 long arg4 = (long) 0 ;
11245 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11246 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11247 wxSize const &arg6_defvalue = wxDefaultSize ;
11248 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11249 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11250 wxString *arg7 = (wxString *) &arg7_defvalue ;
11251 wxDirDialog *result;
e811c8ce
RD
11252 bool temp2 = False ;
11253 bool temp3 = False ;
d14a1e28
RD
11254 wxPoint temp5 ;
11255 wxSize temp6 ;
e811c8ce 11256 bool temp7 = False ;
d14a1e28
RD
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 PyObject * obj2 = 0 ;
994141e6 11260 PyObject * obj3 = 0 ;
d14a1e28
RD
11261 PyObject * obj4 = 0 ;
11262 PyObject * obj5 = 0 ;
11263 PyObject * obj6 = 0 ;
11264 char *kwnames[] = {
11265 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11266 };
11267
994141e6 11268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11271 if (obj1) {
11272 {
11273 arg2 = wxString_in_helper(obj1);
11274 if (arg2 == NULL) SWIG_fail;
e811c8ce 11275 temp2 = True;
d14a1e28
RD
11276 }
11277 }
11278 if (obj2) {
11279 {
11280 arg3 = wxString_in_helper(obj2);
11281 if (arg3 == NULL) SWIG_fail;
e811c8ce 11282 temp3 = True;
d14a1e28
RD
11283 }
11284 }
994141e6 11285 if (obj3) {
15afbcd0
RD
11286 arg4 = (long) SWIG_AsLong(obj3);
11287 if (PyErr_Occurred()) SWIG_fail;
994141e6 11288 }
d14a1e28
RD
11289 if (obj4) {
11290 {
11291 arg5 = &temp5;
11292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11293 }
11294 }
11295 if (obj5) {
11296 {
11297 arg6 = &temp6;
11298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11299 }
11300 }
11301 if (obj6) {
11302 {
11303 arg7 = wxString_in_helper(obj6);
11304 if (arg7 == NULL) SWIG_fail;
e811c8ce 11305 temp7 = True;
d14a1e28
RD
11306 }
11307 }
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
15afbcd0 11315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
11316 {
11317 if (temp2)
11318 delete arg2;
11319 }
11320 {
11321 if (temp3)
11322 delete arg3;
11323 }
11324 {
11325 if (temp7)
11326 delete arg7;
11327 }
11328 return resultobj;
11329 fail:
11330 {
11331 if (temp2)
11332 delete arg2;
11333 }
11334 {
11335 if (temp3)
11336 delete arg3;
11337 }
11338 {
11339 if (temp7)
11340 delete arg7;
11341 }
11342 return NULL;
11343}
11344
11345
11346static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11349 wxString result;
11350 PyObject * obj0 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
11356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = (arg1)->GetPath();
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 {
11366#if wxUSE_UNICODE
11367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11368#else
11369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11370#endif
11371 }
11372 return resultobj;
11373 fail:
11374 return NULL;
11375}
11376
11377
11378static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11381 wxString result;
11382 PyObject * obj0 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (arg1)->GetMessage();
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 {
11398#if wxUSE_UNICODE
11399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11400#else
11401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11402#endif
11403 }
11404 return resultobj;
11405 fail:
11406 return NULL;
11407}
11408
11409
11410static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11413 long result;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
11420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (long)(arg1)->GetStyle();
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
15afbcd0 11429 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
11430 return resultobj;
11431 fail:
11432 return NULL;
11433}
11434
11435
11436static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11439 wxString *arg2 = 0 ;
e811c8ce 11440 bool temp2 = False ;
d14a1e28
RD
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "message", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11450 {
11451 arg2 = wxString_in_helper(obj1);
11452 if (arg2 == NULL) SWIG_fail;
e811c8ce 11453 temp2 = True;
d14a1e28
RD
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 (arg1)->SetMessage((wxString const &)*arg2);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 Py_INCREF(Py_None); resultobj = Py_None;
11463 {
11464 if (temp2)
11465 delete arg2;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 return NULL;
11474}
11475
11476
11477static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11480 wxString *arg2 = 0 ;
e811c8ce 11481 bool temp2 = False ;
d14a1e28
RD
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484 char *kwnames[] = {
11485 (char *) "self",(char *) "path", NULL
11486 };
11487
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11491 {
11492 arg2 = wxString_in_helper(obj1);
11493 if (arg2 == NULL) SWIG_fail;
e811c8ce 11494 temp2 = True;
d14a1e28
RD
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 (arg1)->SetPath((wxString const &)*arg2);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 {
11505 if (temp2)
11506 delete arg2;
11507 }
11508 return resultobj;
11509 fail:
11510 {
11511 if (temp2)
11512 delete arg2;
11513 }
11514 return NULL;
11515}
11516
11517
d14a1e28
RD
11518static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11519 PyObject *obj;
11520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11521 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11522 Py_INCREF(obj);
11523 return Py_BuildValue((char *)"");
11524}
11525static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj;
11527 wxWindow *arg1 = (wxWindow *) 0 ;
11528 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11529 wxString *arg2 = (wxString *) &arg2_defvalue ;
11530 wxString const &arg3_defvalue = wxPyEmptyString ;
11531 wxString *arg3 = (wxString *) &arg3_defvalue ;
11532 wxString const &arg4_defvalue = wxPyEmptyString ;
11533 wxString *arg4 = (wxString *) &arg4_defvalue ;
11534 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11535 wxString *arg5 = (wxString *) &arg5_defvalue ;
11536 long arg6 = (long) 0 ;
11537 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11538 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11539 wxFileDialog *result;
e811c8ce
RD
11540 bool temp2 = False ;
11541 bool temp3 = False ;
11542 bool temp4 = False ;
11543 bool temp5 = False ;
d14a1e28
RD
11544 wxPoint temp7 ;
11545 PyObject * obj0 = 0 ;
11546 PyObject * obj1 = 0 ;
11547 PyObject * obj2 = 0 ;
11548 PyObject * obj3 = 0 ;
11549 PyObject * obj4 = 0 ;
994141e6 11550 PyObject * obj5 = 0 ;
d14a1e28
RD
11551 PyObject * obj6 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11554 };
11555
994141e6 11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11559 if (obj1) {
11560 {
11561 arg2 = wxString_in_helper(obj1);
11562 if (arg2 == NULL) SWIG_fail;
e811c8ce 11563 temp2 = True;
d14a1e28
RD
11564 }
11565 }
11566 if (obj2) {
11567 {
11568 arg3 = wxString_in_helper(obj2);
11569 if (arg3 == NULL) SWIG_fail;
e811c8ce 11570 temp3 = True;
d14a1e28
RD
11571 }
11572 }
11573 if (obj3) {
11574 {
11575 arg4 = wxString_in_helper(obj3);
11576 if (arg4 == NULL) SWIG_fail;
e811c8ce 11577 temp4 = True;
d14a1e28
RD
11578 }
11579 }
11580 if (obj4) {
11581 {
11582 arg5 = wxString_in_helper(obj4);
11583 if (arg5 == NULL) SWIG_fail;
e811c8ce 11584 temp5 = True;
d14a1e28
RD
11585 }
11586 }
994141e6 11587 if (obj5) {
15afbcd0
RD
11588 arg6 = (long) SWIG_AsLong(obj5);
11589 if (PyErr_Occurred()) SWIG_fail;
994141e6 11590 }
d14a1e28
RD
11591 if (obj6) {
11592 {
11593 arg7 = &temp7;
11594 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11595 }
11596 }
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11600
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
15afbcd0 11604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
11605 {
11606 if (temp2)
11607 delete arg2;
11608 }
11609 {
11610 if (temp3)
11611 delete arg3;
11612 }
11613 {
11614 if (temp4)
11615 delete arg4;
11616 }
11617 {
11618 if (temp5)
11619 delete arg5;
11620 }
11621 return resultobj;
11622 fail:
11623 {
11624 if (temp2)
11625 delete arg2;
11626 }
11627 {
11628 if (temp3)
11629 delete arg3;
11630 }
11631 {
11632 if (temp4)
11633 delete arg4;
11634 }
11635 {
11636 if (temp5)
11637 delete arg5;
11638 }
11639 return NULL;
11640}
11641
11642
11643static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj;
11645 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11646 wxString *arg2 = 0 ;
e811c8ce 11647 bool temp2 = False ;
d14a1e28
RD
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "message", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11657 {
11658 arg2 = wxString_in_helper(obj1);
11659 if (arg2 == NULL) SWIG_fail;
e811c8ce 11660 temp2 = True;
d14a1e28
RD
11661 }
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 (arg1)->SetMessage((wxString const &)*arg2);
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 Py_INCREF(Py_None); resultobj = Py_None;
11670 {
11671 if (temp2)
11672 delete arg2;
11673 }
11674 return resultobj;
11675 fail:
11676 {
11677 if (temp2)
11678 delete arg2;
11679 }
11680 return NULL;
11681}
11682
11683
11684static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11687 wxString *arg2 = 0 ;
e811c8ce 11688 bool temp2 = False ;
d14a1e28
RD
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "path", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11698 {
11699 arg2 = wxString_in_helper(obj1);
11700 if (arg2 == NULL) SWIG_fail;
e811c8ce 11701 temp2 = True;
d14a1e28
RD
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 (arg1)->SetPath((wxString const &)*arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 Py_INCREF(Py_None); resultobj = Py_None;
11711 {
11712 if (temp2)
11713 delete arg2;
11714 }
11715 return resultobj;
11716 fail:
11717 {
11718 if (temp2)
11719 delete arg2;
11720 }
11721 return NULL;
11722}
11723
11724
11725static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject *resultobj;
11727 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11728 wxString *arg2 = 0 ;
e811c8ce 11729 bool temp2 = False ;
d14a1e28
RD
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj1 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self",(char *) "dir", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11739 {
11740 arg2 = wxString_in_helper(obj1);
11741 if (arg2 == NULL) SWIG_fail;
e811c8ce 11742 temp2 = True;
d14a1e28
RD
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->SetDirectory((wxString const &)*arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 {
11753 if (temp2)
11754 delete arg2;
11755 }
11756 return resultobj;
11757 fail:
11758 {
11759 if (temp2)
11760 delete arg2;
11761 }
11762 return NULL;
11763}
11764
11765
11766static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11769 wxString *arg2 = 0 ;
e811c8ce 11770 bool temp2 = False ;
d14a1e28
RD
11771 PyObject * obj0 = 0 ;
11772 PyObject * obj1 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self",(char *) "name", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11780 {
11781 arg2 = wxString_in_helper(obj1);
11782 if (arg2 == NULL) SWIG_fail;
e811c8ce 11783 temp2 = True;
d14a1e28
RD
11784 }
11785 {
11786 PyThreadState* __tstate = wxPyBeginAllowThreads();
11787 (arg1)->SetFilename((wxString const &)*arg2);
11788
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 Py_INCREF(Py_None); resultobj = Py_None;
11793 {
11794 if (temp2)
11795 delete arg2;
11796 }
11797 return resultobj;
11798 fail:
11799 {
11800 if (temp2)
11801 delete arg2;
11802 }
11803 return NULL;
11804}
11805
11806
11807static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11810 wxString *arg2 = 0 ;
e811c8ce 11811 bool temp2 = False ;
d14a1e28
RD
11812 PyObject * obj0 = 0 ;
11813 PyObject * obj1 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self",(char *) "wildCard", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11821 {
11822 arg2 = wxString_in_helper(obj1);
11823 if (arg2 == NULL) SWIG_fail;
e811c8ce 11824 temp2 = True;
d14a1e28
RD
11825 }
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 (arg1)->SetWildcard((wxString const &)*arg2);
11829
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 Py_INCREF(Py_None); resultobj = Py_None;
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return resultobj;
11839 fail:
11840 {
11841 if (temp2)
11842 delete arg2;
11843 }
11844 return NULL;
11845}
11846
11847
11848static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11851 long arg2 ;
11852 PyObject * obj0 = 0 ;
994141e6 11853 PyObject * obj1 = 0 ;
d14a1e28
RD
11854 char *kwnames[] = {
11855 (char *) "self",(char *) "style", NULL
11856 };
11857
994141e6 11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11861 arg2 = (long) SWIG_AsLong(obj1);
11862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 (arg1)->SetStyle(arg2);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 Py_INCREF(Py_None); resultobj = Py_None;
11871 return resultobj;
11872 fail:
11873 return NULL;
11874}
11875
11876
11877static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11880 int arg2 ;
11881 PyObject * obj0 = 0 ;
994141e6 11882 PyObject * obj1 = 0 ;
d14a1e28
RD
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "filterIndex", NULL
11885 };
11886
994141e6 11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 arg2 = (int) SWIG_AsInt(obj1);
11891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetFilterIndex(arg2);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903}
11904
11905
11906static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11909 wxString result;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = ((wxFileDialog const *)arg1)->GetMessage();
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 {
11926#if wxUSE_UNICODE
11927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11928#else
11929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11930#endif
11931 }
11932 return resultobj;
11933 fail:
11934 return NULL;
11935}
11936
11937
11938static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11941 wxString result;
11942 PyObject * obj0 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = ((wxFileDialog const *)arg1)->GetPath();
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 {
11958#if wxUSE_UNICODE
11959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11960#else
11961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11962#endif
11963 }
11964 return resultobj;
11965 fail:
11966 return NULL;
11967}
11968
11969
11970static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11973 wxString result;
11974 PyObject * obj0 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
15afbcd0
RD
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = ((wxFileDialog const *)arg1)->GetDirectory();
11985
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 {
11990#if wxUSE_UNICODE
11991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11992#else
11993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11994#endif
11995 }
11996 return resultobj;
11997 fail:
11998 return NULL;
11999}
12000
12001
12002static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject *resultobj;
12004 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12005 wxString result;
12006 PyObject * obj0 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
12012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = ((wxFileDialog const *)arg1)->GetFilename();
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 {
12022#if wxUSE_UNICODE
12023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12024#else
12025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12026#endif
12027 }
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
12034static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj;
12036 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12037 wxString result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
15afbcd0
RD
12044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = ((wxFileDialog const *)arg1)->GetWildcard();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054#if wxUSE_UNICODE
12055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12056#else
12057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12058#endif
12059 }
12060 return resultobj;
12061 fail:
12062 return NULL;
12063}
12064
12065
12066static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12069 long result;
12070 PyObject * obj0 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
15afbcd0 12085 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
12092static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12095 int result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
15afbcd0 12111 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
12118static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12121 PyObject *result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
12128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 resultobj = result;
12138 return resultobj;
12139 fail:
12140 return NULL;
12141}
12142
12143
12144static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12147 PyObject *result;
12148 PyObject * obj0 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
15afbcd0
RD
12154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = result;
12164 return resultobj;
12165 fail:
12166 return NULL;
12167}
12168
12169
12170static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12171 PyObject *obj;
12172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12173 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12174 Py_INCREF(obj);
12175 return Py_BuildValue((char *)"");
12176}
12177static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxWindow *arg1 = (wxWindow *) 0 ;
12180 wxString *arg2 = 0 ;
12181 wxString *arg3 = 0 ;
4d5c3d91 12182 int arg4 = (int) 0 ;
d14a1e28
RD
12183 wxString *arg5 = (wxString *) 0 ;
12184 long arg6 = (long) wxCHOICEDLG_STYLE ;
12185 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12186 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12187 wxMultiChoiceDialog *result;
e811c8ce
RD
12188 bool temp2 = False ;
12189 bool temp3 = False ;
4d5c3d91 12190 wxPoint temp6 ;
d14a1e28
RD
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 PyObject * obj2 = 0 ;
994141e6 12194 PyObject * obj3 = 0 ;
d14a1e28 12195 PyObject * obj4 = 0 ;
994141e6 12196 PyObject * obj5 = 0 ;
d14a1e28 12197 char *kwnames[] = {
4d5c3d91 12198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
12199 };
12200
4d5c3d91 12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12204 {
12205 arg2 = wxString_in_helper(obj1);
12206 if (arg2 == NULL) SWIG_fail;
e811c8ce 12207 temp2 = True;
d14a1e28
RD
12208 }
12209 {
12210 arg3 = wxString_in_helper(obj2);
12211 if (arg3 == NULL) SWIG_fail;
e811c8ce 12212 temp3 = True;
d14a1e28 12213 }
4d5c3d91
RD
12214 if (obj3) {
12215 {
12216 arg4 = PyList_Size(obj3);
12217 arg5 = wxString_LIST_helper(obj3);
12218 if (arg5 == NULL) SWIG_fail;
12219 }
7eae615b 12220 }
4d5c3d91 12221 if (obj4) {
15afbcd0
RD
12222 arg6 = (long) SWIG_AsLong(obj4);
12223 if (PyErr_Occurred()) SWIG_fail;
994141e6 12224 }
4d5c3d91 12225 if (obj5) {
d14a1e28 12226 {
4d5c3d91
RD
12227 arg7 = &temp6;
12228 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
12229 }
12230 }
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
15afbcd0 12238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
12239 {
12240 if (temp2)
12241 delete arg2;
12242 }
12243 {
12244 if (temp3)
12245 delete arg3;
12246 }
7eae615b 12247 {
4d5c3d91 12248 if (arg5) delete [] arg5;
7eae615b 12249 }
d14a1e28
RD
12250 return resultobj;
12251 fail:
12252 {
12253 if (temp2)
12254 delete arg2;
12255 }
12256 {
12257 if (temp3)
12258 delete arg3;
12259 }
7eae615b 12260 {
4d5c3d91 12261 if (arg5) delete [] arg5;
7eae615b 12262 }
d14a1e28
RD
12263 return NULL;
12264}
12265
12266
12267static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12270 wxArrayInt *arg2 = 0 ;
3adfb63b 12271 bool temp2 = False ;
d14a1e28
RD
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "selections", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12281 {
12282 if (! PySequence_Check(obj1)) {
12283 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12284 SWIG_fail;
12285 }
12286 arg2 = new wxArrayInt;
3adfb63b 12287 temp2 = True;
d14a1e28
RD
12288 int i, len=PySequence_Length(obj1);
12289 for (i=0; i<len; i++) {
12290 PyObject* item = PySequence_GetItem(obj1, i);
12291 PyObject* number = PyNumber_Int(item);
12292 arg2->Add(PyInt_AS_LONG(number));
12293 Py_DECREF(item);
12294 Py_DECREF(number);
12295 }
12296 }
12297 {
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 Py_INCREF(Py_None); resultobj = Py_None;
12305 {
3adfb63b 12306 if (temp2) delete arg2;
d14a1e28
RD
12307 }
12308 return resultobj;
12309 fail:
12310 {
3adfb63b 12311 if (temp2) delete arg2;
d14a1e28
RD
12312 }
12313 return NULL;
12314}
12315
12316
12317static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12320 PyObject *result;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
12327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 resultobj = result;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340}
12341
12342
12343static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12344 PyObject *obj;
12345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12346 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12347 Py_INCREF(obj);
12348 return Py_BuildValue((char *)"");
12349}
12350static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxWindow *arg1 = (wxWindow *) 0 ;
12353 wxString *arg2 = 0 ;
12354 wxString *arg3 = 0 ;
12355 int arg4 ;
12356 wxString *arg5 = (wxString *) 0 ;
12357 long arg6 = (long) wxCHOICEDLG_STYLE ;
12358 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12359 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12360 wxSingleChoiceDialog *result;
e811c8ce
RD
12361 bool temp2 = False ;
12362 bool temp3 = False ;
d14a1e28
RD
12363 wxPoint temp6 ;
12364 PyObject * obj0 = 0 ;
12365 PyObject * obj1 = 0 ;
12366 PyObject * obj2 = 0 ;
12367 PyObject * obj3 = 0 ;
994141e6 12368 PyObject * obj4 = 0 ;
d14a1e28
RD
12369 PyObject * obj5 = 0 ;
12370 char *kwnames[] = {
12371 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12372 };
12373
994141e6 12374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12377 {
12378 arg2 = wxString_in_helper(obj1);
12379 if (arg2 == NULL) SWIG_fail;
e811c8ce 12380 temp2 = True;
d14a1e28
RD
12381 }
12382 {
12383 arg3 = wxString_in_helper(obj2);
12384 if (arg3 == NULL) SWIG_fail;
e811c8ce 12385 temp3 = True;
d14a1e28
RD
12386 }
12387 {
12388 arg4 = PyList_Size(obj3);
12389 arg5 = wxString_LIST_helper(obj3);
12390 if (arg5 == NULL) SWIG_fail;
12391 }
994141e6 12392 if (obj4) {
15afbcd0
RD
12393 arg6 = (long) SWIG_AsLong(obj4);
12394 if (PyErr_Occurred()) SWIG_fail;
994141e6 12395 }
d14a1e28
RD
12396 if (obj5) {
12397 {
12398 arg7 = &temp6;
12399 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12400 }
12401 }
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
15afbcd0 12409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
12410 {
12411 if (temp2)
12412 delete arg2;
12413 }
12414 {
12415 if (temp3)
12416 delete arg3;
12417 }
12418 {
12419 if (arg5) delete [] arg5;
12420 }
12421 return resultobj;
12422 fail:
12423 {
12424 if (temp2)
12425 delete arg2;
12426 }
12427 {
12428 if (temp3)
12429 delete arg3;
12430 }
12431 {
12432 if (arg5) delete [] arg5;
12433 }
12434 return NULL;
12435}
12436
12437
12438static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12441 int result;
12442 PyObject * obj0 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (int)(arg1)->GetSelection();
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
15afbcd0 12457 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12458 return resultobj;
12459 fail:
12460 return NULL;
12461}
12462
12463
12464static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12467 wxString result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (arg1)->GetStringSelection();
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 {
12484#if wxUSE_UNICODE
12485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12486#else
12487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12488#endif
12489 }
12490 return resultobj;
12491 fail:
12492 return NULL;
12493}
12494
12495
12496static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12499 int arg2 ;
12500 PyObject * obj0 = 0 ;
994141e6 12501 PyObject * obj1 = 0 ;
d14a1e28
RD
12502 char *kwnames[] = {
12503 (char *) "self",(char *) "sel", NULL
12504 };
12505
994141e6 12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12509 arg2 = (int) SWIG_AsInt(obj1);
12510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 (arg1)->SetSelection(arg2);
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 Py_INCREF(Py_None); resultobj = Py_None;
12519 return resultobj;
12520 fail:
12521 return NULL;
12522}
12523
12524
d14a1e28
RD
12525static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12526 PyObject *obj;
12527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12528 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12529 Py_INCREF(obj);
12530 return Py_BuildValue((char *)"");
12531}
12532static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxWindow *arg1 = (wxWindow *) 0 ;
12535 wxString *arg2 = 0 ;
12536 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12537 wxString *arg3 = (wxString *) &arg3_defvalue ;
12538 wxString const &arg4_defvalue = wxPyEmptyString ;
12539 wxString *arg4 = (wxString *) &arg4_defvalue ;
12540 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12541 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12542 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12543 wxTextEntryDialog *result;
e811c8ce
RD
12544 bool temp2 = False ;
12545 bool temp3 = False ;
12546 bool temp4 = False ;
d14a1e28
RD
12547 wxPoint temp6 ;
12548 PyObject * obj0 = 0 ;
12549 PyObject * obj1 = 0 ;
12550 PyObject * obj2 = 0 ;
12551 PyObject * obj3 = 0 ;
994141e6 12552 PyObject * obj4 = 0 ;
d14a1e28
RD
12553 PyObject * obj5 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12556 };
12557
994141e6 12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12561 {
12562 arg2 = wxString_in_helper(obj1);
12563 if (arg2 == NULL) SWIG_fail;
e811c8ce 12564 temp2 = True;
d14a1e28
RD
12565 }
12566 if (obj2) {
12567 {
12568 arg3 = wxString_in_helper(obj2);
12569 if (arg3 == NULL) SWIG_fail;
e811c8ce 12570 temp3 = True;
d14a1e28
RD
12571 }
12572 }
12573 if (obj3) {
12574 {
12575 arg4 = wxString_in_helper(obj3);
12576 if (arg4 == NULL) SWIG_fail;
e811c8ce 12577 temp4 = True;
d14a1e28
RD
12578 }
12579 }
994141e6 12580 if (obj4) {
15afbcd0
RD
12581 arg5 = (long) SWIG_AsLong(obj4);
12582 if (PyErr_Occurred()) SWIG_fail;
994141e6 12583 }
d14a1e28
RD
12584 if (obj5) {
12585 {
12586 arg6 = &temp6;
12587 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
15afbcd0 12597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
12598 {
12599 if (temp2)
12600 delete arg2;
12601 }
12602 {
12603 if (temp3)
12604 delete arg3;
12605 }
12606 {
12607 if (temp4)
12608 delete arg4;
12609 }
12610 return resultobj;
12611 fail:
12612 {
12613 if (temp2)
12614 delete arg2;
12615 }
12616 {
12617 if (temp3)
12618 delete arg3;
12619 }
12620 {
12621 if (temp4)
12622 delete arg4;
12623 }
12624 return NULL;
12625}
12626
12627
12628static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12631 wxString result;
12632 PyObject * obj0 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "self", NULL
12635 };
12636
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 result = (arg1)->GetValue();
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 {
12648#if wxUSE_UNICODE
12649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12650#else
12651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12652#endif
12653 }
12654 return resultobj;
12655 fail:
12656 return NULL;
12657}
12658
12659
12660static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12661 PyObject *resultobj;
12662 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12663 wxString *arg2 = 0 ;
e811c8ce 12664 bool temp2 = False ;
d14a1e28
RD
12665 PyObject * obj0 = 0 ;
12666 PyObject * obj1 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self",(char *) "value", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12674 {
12675 arg2 = wxString_in_helper(obj1);
12676 if (arg2 == NULL) SWIG_fail;
e811c8ce 12677 temp2 = True;
d14a1e28
RD
12678 }
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->SetValue((wxString const &)*arg2);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 Py_INCREF(Py_None); resultobj = Py_None;
12687 {
12688 if (temp2)
12689 delete arg2;
12690 }
12691 return resultobj;
12692 fail:
12693 {
12694 if (temp2)
12695 delete arg2;
12696 }
12697 return NULL;
12698}
12699
12700
d14a1e28
RD
12701static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12702 PyObject *obj;
12703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12704 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12705 Py_INCREF(obj);
12706 return Py_BuildValue((char *)"");
12707}
12708static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxFontData *result;
12711 char *kwnames[] = {
12712 NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (wxFontData *)new wxFontData();
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
15afbcd0 12723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
12724 return resultobj;
12725 fail:
12726 return NULL;
12727}
12728
12729
12730static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxFontData *arg1 = (wxFontData *) 0 ;
12733 PyObject * obj0 = 0 ;
12734 char *kwnames[] = {
12735 (char *) "self", NULL
12736 };
12737
12738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
12739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 delete arg1;
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 Py_INCREF(Py_None); resultobj = Py_None;
12749 return resultobj;
12750 fail:
12751 return NULL;
12752}
12753
12754
12755static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxFontData *arg1 = (wxFontData *) 0 ;
12758 bool arg2 ;
12759 PyObject * obj0 = 0 ;
12760 PyObject * obj1 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self",(char *) "enable", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12768 arg2 = (bool) SWIG_AsBool(obj1);
12769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 (arg1)->EnableEffects(arg2);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 Py_INCREF(Py_None); resultobj = Py_None;
12778 return resultobj;
12779 fail:
12780 return NULL;
12781}
12782
12783
12784static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj;
12786 wxFontData *arg1 = (wxFontData *) 0 ;
12787 bool result;
12788 PyObject * obj0 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15afbcd0
RD
12794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 result = (bool)(arg1)->GetAllowSymbols();
12799
12800 wxPyEndAllowThreads(__tstate);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
4f89f6a3
RD
12803 {
12804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12805 }
d14a1e28
RD
12806 return resultobj;
12807 fail:
12808 return NULL;
12809}
12810
12811
12812static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxFontData *arg1 = (wxFontData *) 0 ;
12815 wxColour result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
12822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (arg1)->GetColour();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 {
12832 wxColour * resultptr;
12833 resultptr = new wxColour((wxColour &) result);
15afbcd0 12834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
12835 }
12836 return resultobj;
12837 fail:
12838 return NULL;
12839}
12840
12841
12842static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxFontData *arg1 = (wxFontData *) 0 ;
12845 wxFont result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 result = (arg1)->GetChosenFont();
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 {
12862 wxFont * resultptr;
12863 resultptr = new wxFont((wxFont &) result);
15afbcd0 12864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
12865 }
12866 return resultobj;
12867 fail:
12868 return NULL;
12869}
12870
12871
12872static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxFontData *arg1 = (wxFontData *) 0 ;
12875 bool result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15afbcd0
RD
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (bool)(arg1)->GetEnableEffects();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
4f89f6a3
RD
12891 {
12892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12893 }
d14a1e28
RD
12894 return resultobj;
12895 fail:
12896 return NULL;
12897}
12898
12899
12900static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxFontData *arg1 = (wxFontData *) 0 ;
12903 wxFont result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
12910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (arg1)->GetInitialFont();
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 {
12920 wxFont * resultptr;
12921 resultptr = new wxFont((wxFont &) result);
15afbcd0 12922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
12923 }
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
12930static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxFontData *arg1 = (wxFontData *) 0 ;
12933 bool result;
12934 PyObject * obj0 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 result = (bool)(arg1)->GetShowHelp();
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
4f89f6a3
RD
12949 {
12950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12951 }
d14a1e28
RD
12952 return resultobj;
12953 fail:
12954 return NULL;
12955}
12956
12957
12958static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxFontData *arg1 = (wxFontData *) 0 ;
12961 bool arg2 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self",(char *) "allowSymbols", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 arg2 = (bool) SWIG_AsBool(obj1);
12972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 (arg1)->SetAllowSymbols(arg2);
12976
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 Py_INCREF(Py_None); resultobj = Py_None;
12981 return resultobj;
12982 fail:
12983 return NULL;
12984}
12985
12986
12987static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj;
12989 wxFontData *arg1 = (wxFontData *) 0 ;
12990 wxFont *arg2 = 0 ;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self",(char *) "font", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13001 SWIG_POINTER_EXCEPTION | 0)) == -1)
13002 SWIG_fail;
d14a1e28 13003 if (arg2 == NULL) {
15afbcd0
RD
13004 PyErr_SetString(PyExc_TypeError,"null reference");
13005 SWIG_fail;
d14a1e28
RD
13006 }
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 (arg1)->SetChosenFont((wxFont const &)*arg2);
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 Py_INCREF(Py_None); resultobj = Py_None;
13015 return resultobj;
13016 fail:
13017 return NULL;
13018}
13019
13020
13021static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxFontData *arg1 = (wxFontData *) 0 ;
13024 wxColour *arg2 = 0 ;
13025 wxColour temp2 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "colour", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13035 {
13036 arg2 = &temp2;
13037 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13038 }
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 (arg1)->SetColour((wxColour const &)*arg2);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 Py_INCREF(Py_None); resultobj = Py_None;
13047 return resultobj;
13048 fail:
13049 return NULL;
13050}
13051
13052
13053static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxFontData *arg1 = (wxFontData *) 0 ;
13056 wxFont *arg2 = 0 ;
13057 PyObject * obj0 = 0 ;
13058 PyObject * obj1 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self",(char *) "font", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1)
13068 SWIG_fail;
d14a1e28 13069 if (arg2 == NULL) {
15afbcd0
RD
13070 PyErr_SetString(PyExc_TypeError,"null reference");
13071 SWIG_fail;
d14a1e28
RD
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetInitialFont((wxFont const &)*arg2);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084}
13085
13086
13087static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxFontData *arg1 = (wxFontData *) 0 ;
13090 int arg2 ;
13091 int arg3 ;
13092 PyObject * obj0 = 0 ;
994141e6
RD
13093 PyObject * obj1 = 0 ;
13094 PyObject * obj2 = 0 ;
d14a1e28
RD
13095 char *kwnames[] = {
13096 (char *) "self",(char *) "min",(char *) "max", NULL
13097 };
13098
994141e6 13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13102 arg2 = (int) SWIG_AsInt(obj1);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 arg3 = (int) SWIG_AsInt(obj2);
13105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 (arg1)->SetRange(arg2,arg3);
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 Py_INCREF(Py_None); resultobj = Py_None;
13114 return resultobj;
13115 fail:
13116 return NULL;
13117}
13118
13119
13120static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj;
13122 wxFontData *arg1 = (wxFontData *) 0 ;
13123 bool arg2 ;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 char *kwnames[] = {
13127 (char *) "self",(char *) "showHelp", NULL
13128 };
13129
13130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13133 arg2 = (bool) SWIG_AsBool(obj1);
13134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 (arg1)->SetShowHelp(arg2);
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 Py_INCREF(Py_None); resultobj = Py_None;
13143 return resultobj;
13144 fail:
13145 return NULL;
13146}
13147
13148
13149static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13150 PyObject *obj;
13151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13153 Py_INCREF(obj);
13154 return Py_BuildValue((char *)"");
13155}
15afbcd0 13156static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 13157 PyObject *resultobj;
e498079e
RD
13158 wxWindow *arg1 = (wxWindow *) 0 ;
13159 wxFontData *arg2 = 0 ;
13160 wxFontDialog *result;
d14a1e28 13161 PyObject * obj0 = 0 ;
e498079e 13162 PyObject * obj1 = 0 ;
15afbcd0
RD
13163 char *kwnames[] = {
13164 (char *) "parent",(char *) "data", NULL
13165 };
d14a1e28 13166
15afbcd0
RD
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13171 SWIG_POINTER_EXCEPTION | 0)) == -1)
13172 SWIG_fail;
e498079e 13173 if (arg2 == NULL) {
15afbcd0
RD
13174 PyErr_SetString(PyExc_TypeError,"null reference");
13175 SWIG_fail;
e498079e 13176 }
d14a1e28
RD
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 13179 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
15afbcd0 13184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
13185 return resultobj;
13186 fail:
13187 return NULL;
13188}
13189
13190
e498079e 13191static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13192 PyObject *resultobj;
13193 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 13194 wxFontData *result;
d14a1e28
RD
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self", NULL
13198 };
13199
e498079e 13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
13205 {
13206 wxFontData &_result_ref = (arg1)->GetFontData();
13207 result = (wxFontData *) &_result_ref;
13208 }
d14a1e28
RD
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
15afbcd0 13213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
13214 return resultobj;
13215 fail:
13216 return NULL;
13217}
13218
13219
13220static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13221 PyObject *obj;
13222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13223 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13224 Py_INCREF(obj);
13225 return Py_BuildValue((char *)"");
13226}
13227static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxWindow *arg1 = (wxWindow *) 0 ;
13230 wxString *arg2 = 0 ;
13231 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13232 wxString *arg3 = (wxString *) &arg3_defvalue ;
13233 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13234 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13235 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13236 wxMessageDialog *result;
e811c8ce
RD
13237 bool temp2 = False ;
13238 bool temp3 = False ;
d14a1e28
RD
13239 wxPoint temp5 ;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 PyObject * obj2 = 0 ;
994141e6 13243 PyObject * obj3 = 0 ;
d14a1e28
RD
13244 PyObject * obj4 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13247 };
13248
994141e6 13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13252 {
13253 arg2 = wxString_in_helper(obj1);
13254 if (arg2 == NULL) SWIG_fail;
e811c8ce 13255 temp2 = True;
d14a1e28
RD
13256 }
13257 if (obj2) {
13258 {
13259 arg3 = wxString_in_helper(obj2);
13260 if (arg3 == NULL) SWIG_fail;
e811c8ce 13261 temp3 = True;
d14a1e28
RD
13262 }
13263 }
994141e6 13264 if (obj3) {
15afbcd0
RD
13265 arg4 = (long) SWIG_AsLong(obj3);
13266 if (PyErr_Occurred()) SWIG_fail;
994141e6 13267 }
d14a1e28
RD
13268 if (obj4) {
13269 {
13270 arg5 = &temp5;
13271 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13272 }
13273 }
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
15afbcd0 13281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
13282 {
13283 if (temp2)
13284 delete arg2;
13285 }
13286 {
13287 if (temp3)
13288 delete arg3;
13289 }
13290 return resultobj;
13291 fail:
13292 {
13293 if (temp2)
13294 delete arg2;
13295 }
13296 {
13297 if (temp3)
13298 delete arg3;
13299 }
13300 return NULL;
13301}
13302
13303
d14a1e28
RD
13304static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13305 PyObject *obj;
13306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13307 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13308 Py_INCREF(obj);
13309 return Py_BuildValue((char *)"");
13310}
13311static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxString *arg1 = 0 ;
13314 wxString *arg2 = 0 ;
13315 int arg3 = (int) 100 ;
13316 wxWindow *arg4 = (wxWindow *) NULL ;
13317 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13318 wxProgressDialog *result;
e811c8ce
RD
13319 bool temp1 = False ;
13320 bool temp2 = False ;
d14a1e28
RD
13321 PyObject * obj0 = 0 ;
13322 PyObject * obj1 = 0 ;
994141e6 13323 PyObject * obj2 = 0 ;
d14a1e28 13324 PyObject * obj3 = 0 ;
994141e6 13325 PyObject * obj4 = 0 ;
d14a1e28
RD
13326 char *kwnames[] = {
13327 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13328 };
13329
994141e6 13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
13331 {
13332 arg1 = wxString_in_helper(obj0);
13333 if (arg1 == NULL) SWIG_fail;
e811c8ce 13334 temp1 = True;
d14a1e28
RD
13335 }
13336 {
13337 arg2 = wxString_in_helper(obj1);
13338 if (arg2 == NULL) SWIG_fail;
e811c8ce 13339 temp2 = True;
d14a1e28 13340 }
994141e6 13341 if (obj2) {
15afbcd0
RD
13342 arg3 = (int) SWIG_AsInt(obj2);
13343 if (PyErr_Occurred()) SWIG_fail;
994141e6 13344 }
d14a1e28 13345 if (obj3) {
15afbcd0
RD
13346 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 13348 }
994141e6 13349 if (obj4) {
15afbcd0
RD
13350 arg5 = (int) SWIG_AsInt(obj4);
13351 if (PyErr_Occurred()) SWIG_fail;
994141e6 13352 }
d14a1e28
RD
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
15afbcd0 13360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
13361 {
13362 if (temp1)
13363 delete arg1;
13364 }
13365 {
13366 if (temp2)
13367 delete arg2;
13368 }
13369 return resultobj;
13370 fail:
13371 {
13372 if (temp1)
13373 delete arg1;
13374 }
13375 {
13376 if (temp2)
13377 delete arg2;
13378 }
13379 return NULL;
13380}
13381
13382
13383static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13386 int arg2 ;
13387 wxString const &arg3_defvalue = wxPyEmptyString ;
13388 wxString *arg3 = (wxString *) &arg3_defvalue ;
13389 bool result;
e811c8ce 13390 bool temp3 = False ;
d14a1e28 13391 PyObject * obj0 = 0 ;
994141e6 13392 PyObject * obj1 = 0 ;
d14a1e28
RD
13393 PyObject * obj2 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13396 };
13397
994141e6 13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13401 arg2 = (int) SWIG_AsInt(obj1);
13402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13403 if (obj2) {
13404 {
13405 arg3 = wxString_in_helper(obj2);
13406 if (arg3 == NULL) SWIG_fail;
e811c8ce 13407 temp3 = True;
d14a1e28
RD
13408 }
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
4f89f6a3
RD
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
d14a1e28
RD
13420 {
13421 if (temp3)
13422 delete arg3;
13423 }
13424 return resultobj;
13425 fail:
13426 {
13427 if (temp3)
13428 delete arg3;
13429 }
13430 return NULL;
13431}
13432
13433
13434static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13437 PyObject * obj0 = 0 ;
13438 char *kwnames[] = {
13439 (char *) "self", NULL
13440 };
13441
13442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15afbcd0
RD
13443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 (arg1)->Resume();
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 * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13460 PyObject *obj;
13461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13462 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13463 Py_INCREF(obj);
13464 return Py_BuildValue((char *)"");
13465}
13466static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13469 int arg2 = (int) 0 ;
13470 wxFindDialogEvent *result;
994141e6
RD
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj1 = 0 ;
d14a1e28
RD
13473 char *kwnames[] = {
13474 (char *) "commandType",(char *) "id", NULL
13475 };
13476
994141e6
RD
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13478 if (obj0) {
15afbcd0
RD
13479 arg1 = (wxEventType) SWIG_AsInt(obj0);
13480 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13481 }
13482 if (obj1) {
15afbcd0
RD
13483 arg2 = (int) SWIG_AsInt(obj1);
13484 if (PyErr_Occurred()) SWIG_fail;
994141e6 13485 }
d14a1e28
RD
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13489
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
15afbcd0 13493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
13494 return resultobj;
13495 fail:
13496 return NULL;
13497}
13498
13499
13500static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13503 int result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
13510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (int)(arg1)->GetFlags();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
15afbcd0 13519 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
13526static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 13529 wxString *result;
d14a1e28
RD
13530 PyObject * obj0 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
13540 {
13541 wxString const &_result_ref = (arg1)->GetFindString();
13542 result = (wxString *) &_result_ref;
13543 }
d14a1e28
RD
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 {
13549#if wxUSE_UNICODE
cc6dd355 13550 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 13551#else
cc6dd355 13552 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
13553#endif
13554 }
13555 return resultobj;
13556 fail:
13557 return NULL;
13558}
13559
13560
13561static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13564 wxString *result;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 {
13576 wxString const &_result_ref = (arg1)->GetReplaceString();
13577 result = (wxString *) &_result_ref;
13578 }
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
cc6dd355
RD
13583 {
13584#if wxUSE_UNICODE
13585 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13586#else
13587 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13588#endif
13589 }
d14a1e28
RD
13590 return resultobj;
13591 fail:
13592 return NULL;
13593}
13594
13595
13596static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13599 wxFindReplaceDialog *result;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
13606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
15afbcd0 13615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
13616 return resultobj;
13617 fail:
13618 return NULL;
13619}
13620
13621
13622static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13625 int arg2 ;
13626 PyObject * obj0 = 0 ;
994141e6 13627 PyObject * obj1 = 0 ;
d14a1e28
RD
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "flags", NULL
13630 };
13631
994141e6 13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 arg2 = (int) SWIG_AsInt(obj1);
13636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->SetFlags(arg2);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 return resultobj;
13646 fail:
13647 return NULL;
13648}
13649
13650
13651static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13654 wxString *arg2 = 0 ;
e811c8ce 13655 bool temp2 = False ;
d14a1e28
RD
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "str", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13665 {
13666 arg2 = wxString_in_helper(obj1);
13667 if (arg2 == NULL) SWIG_fail;
e811c8ce 13668 temp2 = True;
d14a1e28
RD
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 (arg1)->SetFindString((wxString const &)*arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 Py_INCREF(Py_None); resultobj = Py_None;
13678 {
13679 if (temp2)
13680 delete arg2;
13681 }
13682 return resultobj;
13683 fail:
13684 {
13685 if (temp2)
13686 delete arg2;
13687 }
13688 return NULL;
13689}
13690
13691
13692static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13695 wxString *arg2 = 0 ;
e811c8ce 13696 bool temp2 = False ;
d14a1e28
RD
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self",(char *) "str", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13706 {
13707 arg2 = wxString_in_helper(obj1);
13708 if (arg2 == NULL) SWIG_fail;
e811c8ce 13709 temp2 = True;
d14a1e28
RD
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->SetReplaceString((wxString const &)*arg2);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 Py_INCREF(Py_None); resultobj = Py_None;
13719 {
13720 if (temp2)
13721 delete arg2;
13722 }
13723 return resultobj;
13724 fail:
13725 {
13726 if (temp2)
13727 delete arg2;
13728 }
13729 return NULL;
13730}
13731
13732
13733static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13734 PyObject *obj;
13735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13737 Py_INCREF(obj);
13738 return Py_BuildValue((char *)"");
13739}
13740static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj;
13742 int arg1 = (int) 0 ;
13743 wxFindReplaceData *result;
994141e6 13744 PyObject * obj0 = 0 ;
d14a1e28
RD
13745 char *kwnames[] = {
13746 (char *) "flags", NULL
13747 };
13748
994141e6
RD
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13750 if (obj0) {
15afbcd0
RD
13751 arg1 = (int) SWIG_AsInt(obj0);
13752 if (PyErr_Occurred()) SWIG_fail;
994141e6 13753 }
d14a1e28
RD
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
15afbcd0 13761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
13762 return resultobj;
13763 fail:
13764 return NULL;
13765}
13766
13767
13768static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 delete arg1;
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790}
13791
13792
13793static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13796 wxString *result;
13797 PyObject * obj0 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 {
13808 wxString const &_result_ref = (arg1)->GetFindString();
13809 result = (wxString *) &_result_ref;
13810 }
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
cc6dd355
RD
13815 {
13816#if wxUSE_UNICODE
13817 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13818#else
13819 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13820#endif
13821 }
d14a1e28
RD
13822 return resultobj;
13823 fail:
13824 return NULL;
13825}
13826
13827
13828static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13831 wxString *result;
13832 PyObject * obj0 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 {
13843 wxString const &_result_ref = (arg1)->GetReplaceString();
13844 result = (wxString *) &_result_ref;
13845 }
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
cc6dd355
RD
13850 {
13851#if wxUSE_UNICODE
13852 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13853#else
13854 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13855#endif
13856 }
d14a1e28
RD
13857 return resultobj;
13858 fail:
13859 return NULL;
13860}
13861
13862
13863static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13866 int result;
13867 PyObject * obj0 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
13873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = (int)(arg1)->GetFlags();
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
15afbcd0 13882 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13883 return resultobj;
13884 fail:
13885 return NULL;
13886}
13887
13888
13889static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13892 int arg2 ;
13893 PyObject * obj0 = 0 ;
994141e6 13894 PyObject * obj1 = 0 ;
d14a1e28
RD
13895 char *kwnames[] = {
13896 (char *) "self",(char *) "flags", NULL
13897 };
13898
994141e6 13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13902 arg2 = (int) SWIG_AsInt(obj1);
13903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->SetFlags(arg2);
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 return resultobj;
13913 fail:
13914 return NULL;
13915}
13916
13917
13918static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13921 wxString *arg2 = 0 ;
e811c8ce 13922 bool temp2 = False ;
d14a1e28
RD
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self",(char *) "str", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13932 {
13933 arg2 = wxString_in_helper(obj1);
13934 if (arg2 == NULL) SWIG_fail;
e811c8ce 13935 temp2 = True;
d14a1e28
RD
13936 }
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 (arg1)->SetFindString((wxString const &)*arg2);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 Py_INCREF(Py_None); resultobj = Py_None;
13945 {
13946 if (temp2)
13947 delete arg2;
13948 }
13949 return resultobj;
13950 fail:
13951 {
13952 if (temp2)
13953 delete arg2;
13954 }
13955 return NULL;
13956}
13957
13958
13959static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj;
13961 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13962 wxString *arg2 = 0 ;
e811c8ce 13963 bool temp2 = False ;
d14a1e28
RD
13964 PyObject * obj0 = 0 ;
13965 PyObject * obj1 = 0 ;
13966 char *kwnames[] = {
13967 (char *) "self",(char *) "str", NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13973 {
13974 arg2 = wxString_in_helper(obj1);
13975 if (arg2 == NULL) SWIG_fail;
e811c8ce 13976 temp2 = True;
d14a1e28
RD
13977 }
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 (arg1)->SetReplaceString((wxString const &)*arg2);
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 Py_INCREF(Py_None); resultobj = Py_None;
13986 {
13987 if (temp2)
13988 delete arg2;
13989 }
13990 return resultobj;
13991 fail:
13992 {
13993 if (temp2)
13994 delete arg2;
13995 }
13996 return NULL;
13997}
13998
13999
14000static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14001 PyObject *obj;
14002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14003 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14004 Py_INCREF(obj);
14005 return Py_BuildValue((char *)"");
14006}
14007static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxWindow *arg1 = (wxWindow *) 0 ;
14010 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14011 wxString *arg3 = 0 ;
14012 int arg4 = (int) 0 ;
14013 wxFindReplaceDialog *result;
e811c8ce 14014 bool temp3 = False ;
d14a1e28
RD
14015 PyObject * obj0 = 0 ;
14016 PyObject * obj1 = 0 ;
14017 PyObject * obj2 = 0 ;
994141e6 14018 PyObject * obj3 = 0 ;
d14a1e28
RD
14019 char *kwnames[] = {
14020 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14021 };
14022
994141e6 14023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14028 {
14029 arg3 = wxString_in_helper(obj2);
14030 if (arg3 == NULL) SWIG_fail;
e811c8ce 14031 temp3 = True;
d14a1e28 14032 }
994141e6 14033 if (obj3) {
15afbcd0
RD
14034 arg4 = (int) SWIG_AsInt(obj3);
14035 if (PyErr_Occurred()) SWIG_fail;
994141e6 14036 }
d14a1e28
RD
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
15afbcd0 14044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14045 {
14046 if (temp3)
14047 delete arg3;
14048 }
14049 return resultobj;
14050 fail:
14051 {
14052 if (temp3)
14053 delete arg3;
14054 }
14055 return NULL;
14056}
14057
14058
14059static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxFindReplaceDialog *result;
14062 char *kwnames[] = {
14063 NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
15afbcd0 14074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14075 return resultobj;
14076 fail:
14077 return NULL;
14078}
14079
14080
14081static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14082 PyObject *resultobj;
14083 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14084 wxWindow *arg2 = (wxWindow *) 0 ;
14085 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14086 wxString *arg4 = 0 ;
14087 int arg5 = (int) 0 ;
14088 bool result;
e811c8ce 14089 bool temp4 = False ;
d14a1e28
RD
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 PyObject * obj3 = 0 ;
994141e6 14094 PyObject * obj4 = 0 ;
d14a1e28
RD
14095 char *kwnames[] = {
14096 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14097 };
14098
994141e6 14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14104 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14106 {
14107 arg4 = wxString_in_helper(obj3);
14108 if (arg4 == NULL) SWIG_fail;
e811c8ce 14109 temp4 = True;
d14a1e28 14110 }
994141e6 14111 if (obj4) {
15afbcd0
RD
14112 arg5 = (int) SWIG_AsInt(obj4);
14113 if (PyErr_Occurred()) SWIG_fail;
994141e6 14114 }
d14a1e28
RD
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14118
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
4f89f6a3
RD
14122 {
14123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14124 }
d14a1e28
RD
14125 {
14126 if (temp4)
14127 delete arg4;
14128 }
14129 return resultobj;
14130 fail:
14131 {
14132 if (temp4)
14133 delete arg4;
14134 }
14135 return NULL;
14136}
14137
14138
14139static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14140 PyObject *resultobj;
14141 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14142 wxFindReplaceData *result;
14143 PyObject * obj0 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "self", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14151 {
14152 PyThreadState* __tstate = wxPyBeginAllowThreads();
14153 result = (wxFindReplaceData *)(arg1)->GetData();
14154
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
15afbcd0 14158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
14159 return resultobj;
14160 fail:
14161 return NULL;
14162}
14163
14164
14165static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj;
14167 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14168 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "data", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 (arg1)->SetData(arg2);
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 Py_INCREF(Py_None); resultobj = Py_None;
14188 return resultobj;
14189 fail:
14190 return NULL;
14191}
14192
14193
14194static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14195 PyObject *obj;
14196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14198 Py_INCREF(obj);
14199 return Py_BuildValue((char *)"");
14200}
14201static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 14204 int arg2 ;
d14a1e28
RD
14205 wxString *arg3 = 0 ;
14206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14208 wxSize const &arg5_defvalue = wxDefaultSize ;
14209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14210 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14211 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14212 wxString *arg7 = (wxString *) &arg7_defvalue ;
14213 wxMDIParentFrame *result;
e811c8ce 14214 bool temp3 = False ;
d14a1e28
RD
14215 wxPoint temp4 ;
14216 wxSize temp5 ;
e811c8ce 14217 bool temp7 = False ;
d14a1e28 14218 PyObject * obj0 = 0 ;
994141e6 14219 PyObject * obj1 = 0 ;
d14a1e28
RD
14220 PyObject * obj2 = 0 ;
14221 PyObject * obj3 = 0 ;
14222 PyObject * obj4 = 0 ;
994141e6 14223 PyObject * obj5 = 0 ;
d14a1e28
RD
14224 PyObject * obj6 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14227 };
14228
994141e6 14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14232 arg2 = (int const) SWIG_AsInt(obj1);
14233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14234 {
14235 arg3 = wxString_in_helper(obj2);
14236 if (arg3 == NULL) SWIG_fail;
e811c8ce 14237 temp3 = True;
d14a1e28
RD
14238 }
14239 if (obj3) {
14240 {
14241 arg4 = &temp4;
14242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14243 }
14244 }
14245 if (obj4) {
14246 {
14247 arg5 = &temp5;
14248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14249 }
14250 }
994141e6 14251 if (obj5) {
15afbcd0
RD
14252 arg6 = (long) SWIG_AsLong(obj5);
14253 if (PyErr_Occurred()) SWIG_fail;
994141e6 14254 }
d14a1e28
RD
14255 if (obj6) {
14256 {
14257 arg7 = wxString_in_helper(obj6);
14258 if (arg7 == NULL) SWIG_fail;
e811c8ce 14259 temp7 = True;
d14a1e28
RD
14260 }
14261 }
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
15afbcd0 14269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14270 {
14271 if (temp3)
14272 delete arg3;
14273 }
14274 {
14275 if (temp7)
14276 delete arg7;
14277 }
14278 return resultobj;
14279 fail:
14280 {
14281 if (temp3)
14282 delete arg3;
14283 }
14284 {
14285 if (temp7)
14286 delete arg7;
14287 }
14288 return NULL;
14289}
14290
14291
14292static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14293 PyObject *resultobj;
14294 wxMDIParentFrame *result;
14295 char *kwnames[] = {
14296 NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
15afbcd0 14307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
14314static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14317 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14318 int arg3 ;
d14a1e28
RD
14319 wxString *arg4 = 0 ;
14320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14322 wxSize const &arg6_defvalue = wxDefaultSize ;
14323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14324 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14325 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14326 wxString *arg8 = (wxString *) &arg8_defvalue ;
14327 bool result;
e811c8ce 14328 bool temp4 = False ;
d14a1e28
RD
14329 wxPoint temp5 ;
14330 wxSize temp6 ;
e811c8ce 14331 bool temp8 = False ;
d14a1e28
RD
14332 PyObject * obj0 = 0 ;
14333 PyObject * obj1 = 0 ;
994141e6 14334 PyObject * obj2 = 0 ;
d14a1e28
RD
14335 PyObject * obj3 = 0 ;
14336 PyObject * obj4 = 0 ;
14337 PyObject * obj5 = 0 ;
994141e6 14338 PyObject * obj6 = 0 ;
d14a1e28
RD
14339 PyObject * obj7 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14342 };
14343
994141e6 14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
14345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14349 arg3 = (int const) SWIG_AsInt(obj2);
14350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14351 {
14352 arg4 = wxString_in_helper(obj3);
14353 if (arg4 == NULL) SWIG_fail;
e811c8ce 14354 temp4 = True;
d14a1e28
RD
14355 }
14356 if (obj4) {
14357 {
14358 arg5 = &temp5;
14359 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14360 }
14361 }
14362 if (obj5) {
14363 {
14364 arg6 = &temp6;
14365 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14366 }
14367 }
994141e6 14368 if (obj6) {
15afbcd0
RD
14369 arg7 = (long) SWIG_AsLong(obj6);
14370 if (PyErr_Occurred()) SWIG_fail;
994141e6 14371 }
d14a1e28
RD
14372 if (obj7) {
14373 {
14374 arg8 = wxString_in_helper(obj7);
14375 if (arg8 == NULL) SWIG_fail;
e811c8ce 14376 temp8 = True;
d14a1e28
RD
14377 }
14378 }
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
4f89f6a3
RD
14386 {
14387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14388 }
d14a1e28
RD
14389 {
14390 if (temp4)
14391 delete arg4;
14392 }
14393 {
14394 if (temp8)
14395 delete arg8;
14396 }
14397 return resultobj;
14398 fail:
14399 {
14400 if (temp4)
14401 delete arg4;
14402 }
14403 {
14404 if (temp8)
14405 delete arg8;
14406 }
14407 return NULL;
14408}
14409
14410
14411static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14414 PyObject * obj0 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
14420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 (arg1)->ActivateNext();
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 Py_INCREF(Py_None); resultobj = Py_None;
14430 return resultobj;
14431 fail:
14432 return NULL;
14433}
14434
14435
14436static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14439 PyObject * obj0 = 0 ;
14440 char *kwnames[] = {
14441 (char *) "self", NULL
14442 };
14443
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
14445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14447 {
14448 PyThreadState* __tstate = wxPyBeginAllowThreads();
14449 (arg1)->ActivatePrevious();
14450
14451 wxPyEndAllowThreads(__tstate);
14452 if (PyErr_Occurred()) SWIG_fail;
14453 }
14454 Py_INCREF(Py_None); resultobj = Py_None;
14455 return resultobj;
14456 fail:
14457 return NULL;
14458}
14459
14460
14461static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14462 PyObject *resultobj;
14463 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14464 PyObject * obj0 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15afbcd0
RD
14470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 (arg1)->ArrangeIcons();
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 Py_INCREF(Py_None); resultobj = Py_None;
14480 return resultobj;
14481 fail:
14482 return NULL;
14483}
14484
14485
14486static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15afbcd0
RD
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 (arg1)->Cascade();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 Py_INCREF(Py_None); resultobj = Py_None;
14505 return resultobj;
14506 fail:
14507 return NULL;
14508}
14509
14510
14511static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14512 PyObject *resultobj;
14513 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14514 wxMDIChildFrame *result;
14515 PyObject * obj0 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15afbcd0
RD
14521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 resultobj = wxPyMake_wxObject(result);
14532 }
14533 return resultobj;
14534 fail:
14535 return NULL;
14536}
14537
14538
14539static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14542 wxMDIClientWindow *result;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 {
14559 resultobj = wxPyMake_wxObject(result);
14560 }
14561 return resultobj;
14562 fail:
14563 return NULL;
14564}
14565
14566
14567static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14568 PyObject *resultobj;
14569 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14570 wxWindow *result;
14571 PyObject * obj0 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
14577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (wxWindow *)(arg1)->GetToolBar();
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 resultobj = wxPyMake_wxObject(result);
14588 }
14589 return resultobj;
14590 fail:
14591 return NULL;
14592}
14593
14594
14595static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14598 PyObject * obj0 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "self", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15afbcd0
RD
14604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 (arg1)->Tile();
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 Py_INCREF(Py_None); resultobj = Py_None;
14614 return resultobj;
14615 fail:
14616 return NULL;
14617}
14618
14619
14620static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14621 PyObject *obj;
14622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14623 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14624 Py_INCREF(obj);
14625 return Py_BuildValue((char *)"");
14626}
14627static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
e811c8ce 14630 int arg2 ;
d14a1e28
RD
14631 wxString *arg3 = 0 ;
14632 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14633 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14634 wxSize const &arg5_defvalue = wxDefaultSize ;
14635 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14636 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14637 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14638 wxString *arg7 = (wxString *) &arg7_defvalue ;
14639 wxMDIChildFrame *result;
e811c8ce 14640 bool temp3 = False ;
d14a1e28
RD
14641 wxPoint temp4 ;
14642 wxSize temp5 ;
e811c8ce 14643 bool temp7 = False ;
d14a1e28 14644 PyObject * obj0 = 0 ;
994141e6 14645 PyObject * obj1 = 0 ;
d14a1e28
RD
14646 PyObject * obj2 = 0 ;
14647 PyObject * obj3 = 0 ;
14648 PyObject * obj4 = 0 ;
994141e6 14649 PyObject * obj5 = 0 ;
d14a1e28
RD
14650 PyObject * obj6 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14653 };
14654
994141e6 14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14658 arg2 = (int const) SWIG_AsInt(obj1);
14659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14660 {
14661 arg3 = wxString_in_helper(obj2);
14662 if (arg3 == NULL) SWIG_fail;
e811c8ce 14663 temp3 = True;
d14a1e28
RD
14664 }
14665 if (obj3) {
14666 {
14667 arg4 = &temp4;
14668 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14669 }
14670 }
14671 if (obj4) {
14672 {
14673 arg5 = &temp5;
14674 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14675 }
14676 }
994141e6 14677 if (obj5) {
15afbcd0
RD
14678 arg6 = (long) SWIG_AsLong(obj5);
14679 if (PyErr_Occurred()) SWIG_fail;
994141e6 14680 }
d14a1e28
RD
14681 if (obj6) {
14682 {
14683 arg7 = wxString_in_helper(obj6);
14684 if (arg7 == NULL) SWIG_fail;
e811c8ce 14685 temp7 = True;
d14a1e28
RD
14686 }
14687 }
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 {
14696 resultobj = wxPyMake_wxObject(result);
14697 }
14698 {
14699 if (temp3)
14700 delete arg3;
14701 }
14702 {
14703 if (temp7)
14704 delete arg7;
14705 }
14706 return resultobj;
14707 fail:
14708 {
14709 if (temp3)
14710 delete arg3;
14711 }
14712 {
14713 if (temp7)
14714 delete arg7;
14715 }
14716 return NULL;
14717}
14718
14719
14720static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxMDIChildFrame *result;
14723 char *kwnames[] = {
14724 NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 resultobj = wxPyMake_wxObject(result);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741}
14742
14743
14744static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14747 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
e811c8ce 14748 int arg3 ;
d14a1e28
RD
14749 wxString *arg4 = 0 ;
14750 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14751 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14752 wxSize const &arg6_defvalue = wxDefaultSize ;
14753 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14754 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14755 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14756 wxString *arg8 = (wxString *) &arg8_defvalue ;
14757 bool result;
e811c8ce 14758 bool temp4 = False ;
d14a1e28
RD
14759 wxPoint temp5 ;
14760 wxSize temp6 ;
e811c8ce 14761 bool temp8 = False ;
d14a1e28
RD
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
994141e6 14764 PyObject * obj2 = 0 ;
d14a1e28
RD
14765 PyObject * obj3 = 0 ;
14766 PyObject * obj4 = 0 ;
14767 PyObject * obj5 = 0 ;
994141e6 14768 PyObject * obj6 = 0 ;
d14a1e28
RD
14769 PyObject * obj7 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14772 };
14773
994141e6 14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14779 arg3 = (int const) SWIG_AsInt(obj2);
14780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14781 {
14782 arg4 = wxString_in_helper(obj3);
14783 if (arg4 == NULL) SWIG_fail;
e811c8ce 14784 temp4 = True;
d14a1e28
RD
14785 }
14786 if (obj4) {
14787 {
14788 arg5 = &temp5;
14789 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14790 }
14791 }
14792 if (obj5) {
14793 {
14794 arg6 = &temp6;
14795 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14796 }
14797 }
994141e6 14798 if (obj6) {
15afbcd0
RD
14799 arg7 = (long) SWIG_AsLong(obj6);
14800 if (PyErr_Occurred()) SWIG_fail;
994141e6 14801 }
d14a1e28
RD
14802 if (obj7) {
14803 {
14804 arg8 = wxString_in_helper(obj7);
14805 if (arg8 == NULL) SWIG_fail;
e811c8ce 14806 temp8 = True;
d14a1e28
RD
14807 }
14808 }
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14812
14813 wxPyEndAllowThreads(__tstate);
14814 if (PyErr_Occurred()) SWIG_fail;
14815 }
4f89f6a3
RD
14816 {
14817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14818 }
d14a1e28
RD
14819 {
14820 if (temp4)
14821 delete arg4;
14822 }
14823 {
14824 if (temp8)
14825 delete arg8;
14826 }
14827 return resultobj;
14828 fail:
14829 {
14830 if (temp4)
14831 delete arg4;
14832 }
14833 {
14834 if (temp8)
14835 delete arg8;
14836 }
14837 return NULL;
14838}
14839
14840
14841static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14844 PyObject * obj0 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15afbcd0
RD
14850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 (arg1)->Activate();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 Py_INCREF(Py_None); resultobj = Py_None;
14860 return resultobj;
14861 fail:
14862 return NULL;
14863}
14864
14865
14866static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14869 bool arg2 ;
14870 PyObject * obj0 = 0 ;
14871 PyObject * obj1 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self",(char *) "maximize", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14879 arg2 = (bool) SWIG_AsBool(obj1);
14880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14881 {
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 (arg1)->Maximize(arg2);
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 Py_INCREF(Py_None); resultobj = Py_None;
14889 return resultobj;
14890 fail:
14891 return NULL;
14892}
14893
14894
14895static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
14904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 (arg1)->Restore();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 Py_INCREF(Py_None); resultobj = Py_None;
14914 return resultobj;
14915 fail:
14916 return NULL;
14917}
14918
14919
14920static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14921 PyObject *obj;
14922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14923 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14924 Py_INCREF(obj);
14925 return Py_BuildValue((char *)"");
14926}
14927static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14930 long arg2 = (long) 0 ;
14931 wxMDIClientWindow *result;
14932 PyObject * obj0 = 0 ;
994141e6 14933 PyObject * obj1 = 0 ;
d14a1e28
RD
14934 char *kwnames[] = {
14935 (char *) "parent",(char *) "style", NULL
14936 };
14937
994141e6 14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14941 if (obj1) {
15afbcd0
RD
14942 arg2 = (long) SWIG_AsLong(obj1);
14943 if (PyErr_Occurred()) SWIG_fail;
994141e6 14944 }
d14a1e28
RD
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 {
14953 resultobj = wxPyMake_wxObject(result);
14954 }
14955 return resultobj;
14956 fail:
14957 return NULL;
14958}
14959
14960
14961static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxMDIClientWindow *result;
14964 char *kwnames[] = {
14965 NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 {
14977 resultobj = wxPyMake_wxObject(result);
14978 }
14979 return resultobj;
14980 fail:
14981 return NULL;
14982}
14983
14984
14985static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14988 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14989 long arg3 = (long) 0 ;
14990 bool result;
14991 PyObject * obj0 = 0 ;
14992 PyObject * obj1 = 0 ;
994141e6 14993 PyObject * obj2 = 0 ;
d14a1e28
RD
14994 char *kwnames[] = {
14995 (char *) "self",(char *) "parent",(char *) "style", NULL
14996 };
14997
994141e6 14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15003 if (obj2) {
15afbcd0
RD
15004 arg3 = (long) SWIG_AsLong(obj2);
15005 if (PyErr_Occurred()) SWIG_fail;
994141e6 15006 }
d14a1e28
RD
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (bool)(arg1)->Create(arg2,arg3);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
4f89f6a3
RD
15014 {
15015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15016 }
d14a1e28
RD
15017 return resultobj;
15018 fail:
15019 return NULL;
15020}
15021
15022
15023static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15024 PyObject *obj;
15025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15026 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15027 Py_INCREF(obj);
15028 return Py_BuildValue((char *)"");
15029}
15030static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 15033 int arg2 ;
d14a1e28
RD
15034 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15035 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15036 wxSize const &arg4_defvalue = wxDefaultSize ;
15037 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15038 long arg5 = (long) 0 ;
15039 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15040 wxString *arg6 = (wxString *) &arg6_defvalue ;
15041 wxPyWindow *result;
15042 wxPoint temp3 ;
15043 wxSize temp4 ;
e811c8ce 15044 bool temp6 = False ;
d14a1e28 15045 PyObject * obj0 = 0 ;
994141e6 15046 PyObject * obj1 = 0 ;
d14a1e28
RD
15047 PyObject * obj2 = 0 ;
15048 PyObject * obj3 = 0 ;
994141e6 15049 PyObject * obj4 = 0 ;
d14a1e28
RD
15050 PyObject * obj5 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15053 };
15054
994141e6 15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15058 arg2 = (int const) SWIG_AsInt(obj1);
15059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15060 if (obj2) {
15061 {
15062 arg3 = &temp3;
15063 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15064 }
15065 }
15066 if (obj3) {
15067 {
15068 arg4 = &temp4;
15069 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15070 }
15071 }
994141e6 15072 if (obj4) {
15afbcd0
RD
15073 arg5 = (long) SWIG_AsLong(obj4);
15074 if (PyErr_Occurred()) SWIG_fail;
994141e6 15075 }
d14a1e28
RD
15076 if (obj5) {
15077 {
15078 arg6 = wxString_in_helper(obj5);
15079 if (arg6 == NULL) SWIG_fail;
e811c8ce 15080 temp6 = True;
d14a1e28
RD
15081 }
15082 }
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15afbcd0 15090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
15091 {
15092 if (temp6)
15093 delete arg6;
15094 }
15095 return resultobj;
15096 fail:
15097 {
15098 if (temp6)
15099 delete arg6;
15100 }
15101 return NULL;
15102}
15103
15104
1cb4a8aa
RD
15105static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 wxPyWindow *result;
15108 char *kwnames[] = {
15109 NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (wxPyWindow *)new wxPyWindow();
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15121 return resultobj;
15122 fail:
15123 return NULL;
15124}
15125
15126
d14a1e28
RD
15127static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15130 PyObject *arg2 = (PyObject *) 0 ;
15131 PyObject *arg3 = (PyObject *) 0 ;
15132 PyObject * obj0 = 0 ;
15133 PyObject * obj1 = 0 ;
15134 PyObject * obj2 = 0 ;
15135 char *kwnames[] = {
15136 (char *) "self",(char *) "self",(char *) "_class", NULL
15137 };
15138
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15142 arg2 = obj1;
15143 arg3 = obj2;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 (arg1)->_setCallbackInfo(arg2,arg3);
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 Py_INCREF(Py_None); resultobj = Py_None;
15152 return resultobj;
15153 fail:
15154 return NULL;
15155}
15156
15157
15158static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15161 int arg2 ;
15162 int arg3 ;
15163 int arg4 ;
15164 int arg5 ;
15165 PyObject * obj0 = 0 ;
994141e6
RD
15166 PyObject * obj1 = 0 ;
15167 PyObject * obj2 = 0 ;
15168 PyObject * obj3 = 0 ;
15169 PyObject * obj4 = 0 ;
d14a1e28
RD
15170 char *kwnames[] = {
15171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15172 };
15173
994141e6 15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 arg2 = (int) SWIG_AsInt(obj1);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 arg3 = (int) SWIG_AsInt(obj2);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 arg4 = (int) SWIG_AsInt(obj3);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 arg5 = (int) SWIG_AsInt(obj4);
15184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 Py_INCREF(Py_None); resultobj = Py_None;
15193 return resultobj;
15194 fail:
15195 return NULL;
15196}
15197
15198
15199static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15200 PyObject *resultobj;
15201 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15202 int arg2 ;
15203 int arg3 ;
15204 int arg4 ;
15205 int arg5 ;
15206 int arg6 = (int) wxSIZE_AUTO ;
15207 PyObject * obj0 = 0 ;
994141e6
RD
15208 PyObject * obj1 = 0 ;
15209 PyObject * obj2 = 0 ;
15210 PyObject * obj3 = 0 ;
15211 PyObject * obj4 = 0 ;
15212 PyObject * obj5 = 0 ;
d14a1e28
RD
15213 char *kwnames[] = {
15214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15215 };
15216
994141e6 15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15220 arg2 = (int) SWIG_AsInt(obj1);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 arg3 = (int) SWIG_AsInt(obj2);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 arg4 = (int) SWIG_AsInt(obj3);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 arg5 = (int) SWIG_AsInt(obj4);
15227 if (PyErr_Occurred()) SWIG_fail;
994141e6 15228 if (obj5) {
15afbcd0
RD
15229 arg6 = (int) SWIG_AsInt(obj5);
15230 if (PyErr_Occurred()) SWIG_fail;
994141e6 15231 }
d14a1e28
RD
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15235
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15239 Py_INCREF(Py_None); resultobj = Py_None;
15240 return resultobj;
15241 fail:
15242 return NULL;
15243}
15244
15245
15246static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj;
15248 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15249 int arg2 ;
15250 int arg3 ;
15251 PyObject * obj0 = 0 ;
994141e6
RD
15252 PyObject * obj1 = 0 ;
15253 PyObject * obj2 = 0 ;
d14a1e28
RD
15254 char *kwnames[] = {
15255 (char *) "self",(char *) "width",(char *) "height", NULL
15256 };
15257
994141e6 15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15261 arg2 = (int) SWIG_AsInt(obj1);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 arg3 = (int) SWIG_AsInt(obj2);
15264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 (arg1)->base_DoSetClientSize(arg2,arg3);
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 Py_INCREF(Py_None); resultobj = Py_None;
15273 return resultobj;
15274 fail:
15275 return NULL;
15276}
15277
15278
15279static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj;
15281 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15282 int arg2 ;
15283 int arg3 ;
15284 PyObject * obj0 = 0 ;
994141e6
RD
15285 PyObject * obj1 = 0 ;
15286 PyObject * obj2 = 0 ;
d14a1e28 15287 char *kwnames[] = {
15afbcd0
RD
15288 (char *) "self",(char *) "x",(char *) "y", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15294 arg2 = (int) SWIG_AsInt(obj1);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 arg3 = (int) SWIG_AsInt(obj2);
15297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 Py_INCREF(Py_None); resultobj = Py_None;
15306 return resultobj;
15307 fail:
15308 return NULL;
15309}
15310
15311
15312static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15315 int *arg2 = (int *) 0 ;
15316 int *arg3 = (int *) 0 ;
15317 int temp2 ;
15318 int temp3 ;
15319 PyObject * obj0 = 0 ;
15320 char *kwnames[] = {
15321 (char *) "self", NULL
15322 };
15323
15324 arg2 = &temp2;
15325 arg3 = &temp3;
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 {
15338 PyObject *o = PyInt_FromLong((long) (*arg2));
15339 resultobj = t_output_helper(resultobj,o);
15340 }
15341 {
15342 PyObject *o = PyInt_FromLong((long) (*arg3));
15343 resultobj = t_output_helper(resultobj,o);
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348}
15349
15350
15351static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15354 int *arg2 = (int *) 0 ;
15355 int *arg3 = (int *) 0 ;
15356 int temp2 ;
15357 int temp3 ;
15358 PyObject * obj0 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self", NULL
15361 };
15362
15363 arg2 = &temp2;
15364 arg3 = &temp3;
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 {
15377 PyObject *o = PyInt_FromLong((long) (*arg2));
15378 resultobj = t_output_helper(resultobj,o);
15379 }
15380 {
15381 PyObject *o = PyInt_FromLong((long) (*arg3));
15382 resultobj = t_output_helper(resultobj,o);
15383 }
15384 return resultobj;
15385 fail:
15386 return NULL;
15387}
15388
15389
15390static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15393 int *arg2 = (int *) 0 ;
15394 int *arg3 = (int *) 0 ;
15395 int temp2 ;
15396 int temp3 ;
15397 PyObject * obj0 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self", NULL
15400 };
15401
15402 arg2 = &temp2;
15403 arg3 = &temp3;
15404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 Py_INCREF(Py_None); resultobj = Py_None;
15415 {
15416 PyObject *o = PyInt_FromLong((long) (*arg2));
15417 resultobj = t_output_helper(resultobj,o);
15418 }
15419 {
15420 PyObject *o = PyInt_FromLong((long) (*arg3));
15421 resultobj = t_output_helper(resultobj,o);
15422 }
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
15429static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15432 wxSize result;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 wxSize * resultptr;
15450 resultptr = new wxSize((wxSize &) result);
15afbcd0 15451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15452 }
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
15459static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15462 wxSize result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 wxSize * resultptr;
15480 resultptr = new wxSize((wxSize &) result);
15afbcd0 15481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15482 }
15483 return resultobj;
15484 fail:
15485 return NULL;
15486}
15487
15488
15489static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->base_InitDialog();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511}
15512
15513
15514static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15517 bool result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (bool)(arg1)->base_TransferDataToWindow();
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
4f89f6a3
RD
15533 {
15534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15535 }
d14a1e28
RD
15536 return resultobj;
15537 fail:
15538 return NULL;
15539}
15540
15541
15542static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15545 bool result;
15546 PyObject * obj0 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15554 {
15555 PyThreadState* __tstate = wxPyBeginAllowThreads();
15556 result = (bool)(arg1)->base_TransferDataFromWindow();
15557
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
4f89f6a3
RD
15561 {
15562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15563 }
d14a1e28
RD
15564 return resultobj;
15565 fail:
15566 return NULL;
15567}
15568
15569
15570static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15573 bool result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = (bool)(arg1)->base_Validate();
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
4f89f6a3
RD
15589 {
15590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15591 }
d14a1e28
RD
15592 return resultobj;
15593 fail:
15594 return NULL;
15595}
15596
15597
15598static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15601 bool result;
15602 PyObject * obj0 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
15608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
4f89f6a3
RD
15617 {
15618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15619 }
d14a1e28
RD
15620 return resultobj;
15621 fail:
15622 return NULL;
15623}
15624
15625
15626static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15629 bool result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
15636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
4f89f6a3
RD
15645 {
15646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15647 }
d14a1e28
RD
15648 return resultobj;
15649 fail:
15650 return NULL;
15651}
15652
15653
15654static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15657 wxSize result;
15658 PyObject * obj0 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 {
15674 wxSize * resultptr;
15675 resultptr = new wxSize((wxSize &) result);
15afbcd0 15676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15677 }
15678 return resultobj;
15679 fail:
15680 return NULL;
15681}
15682
15683
15684static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15687 wxWindow *arg2 = (wxWindow *) 0 ;
15688 PyObject * obj0 = 0 ;
15689 PyObject * obj1 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self",(char *) "child", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 (arg1)->base_AddChild(arg2);
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 Py_INCREF(Py_None); resultobj = Py_None;
15707 return resultobj;
15708 fail:
15709 return NULL;
15710}
15711
15712
15713static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15716 wxWindow *arg2 = (wxWindow *) 0 ;
15717 PyObject * obj0 = 0 ;
15718 PyObject * obj1 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self",(char *) "child", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->base_RemoveChild(arg2);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739}
15740
15741
1cb4a8aa
RD
15742static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15745 bool result;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 result = (bool)(arg1)->base_ShouldInheritColours();
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 {
15762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15763 }
15764 return resultobj;
15765 fail:
15766 return NULL;
15767}
15768
15769
15770static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15773 wxColour *arg2 = 0 ;
15774 wxColour temp2 ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "self",(char *) "c", NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15784 {
15785 arg2 = &temp2;
15786 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15787 }
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 Py_INCREF(Py_None); resultobj = Py_None;
15796 return resultobj;
15797 fail:
15798 return NULL;
15799}
15800
15801
d14a1e28
RD
15802static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15803 PyObject *obj;
15804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15805 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15806 Py_INCREF(obj);
15807 return Py_BuildValue((char *)"");
15808}
15809static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 15812 int arg2 ;
d14a1e28
RD
15813 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15814 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15815 wxSize const &arg4_defvalue = wxDefaultSize ;
15816 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15817 long arg5 = (long) 0 ;
15818 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15819 wxString *arg6 = (wxString *) &arg6_defvalue ;
15820 wxPyPanel *result;
15821 wxPoint temp3 ;
15822 wxSize temp4 ;
e811c8ce 15823 bool temp6 = False ;
d14a1e28 15824 PyObject * obj0 = 0 ;
994141e6 15825 PyObject * obj1 = 0 ;
d14a1e28
RD
15826 PyObject * obj2 = 0 ;
15827 PyObject * obj3 = 0 ;
994141e6 15828 PyObject * obj4 = 0 ;
d14a1e28
RD
15829 PyObject * obj5 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15832 };
15833
994141e6 15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15837 arg2 = (int const) SWIG_AsInt(obj1);
15838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15839 if (obj2) {
15840 {
15841 arg3 = &temp3;
15842 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15843 }
15844 }
15845 if (obj3) {
15846 {
15847 arg4 = &temp4;
15848 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15849 }
15850 }
994141e6 15851 if (obj4) {
15afbcd0
RD
15852 arg5 = (long) SWIG_AsLong(obj4);
15853 if (PyErr_Occurred()) SWIG_fail;
994141e6 15854 }
d14a1e28
RD
15855 if (obj5) {
15856 {
15857 arg6 = wxString_in_helper(obj5);
15858 if (arg6 == NULL) SWIG_fail;
e811c8ce 15859 temp6 = True;
d14a1e28
RD
15860 }
15861 }
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15afbcd0 15869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
15870 {
15871 if (temp6)
15872 delete arg6;
15873 }
15874 return resultobj;
15875 fail:
15876 {
15877 if (temp6)
15878 delete arg6;
15879 }
15880 return NULL;
15881}
15882
15883
1cb4a8aa
RD
15884static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxPyPanel *result;
15887 char *kwnames[] = {
15888 NULL
15889 };
15890
15891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 result = (wxPyPanel *)new wxPyPanel();
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15900 return resultobj;
15901 fail:
15902 return NULL;
15903}
15904
15905
d14a1e28
RD
15906static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15907 PyObject *resultobj;
15908 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15909 PyObject *arg2 = (PyObject *) 0 ;
15910 PyObject *arg3 = (PyObject *) 0 ;
15911 PyObject * obj0 = 0 ;
15912 PyObject * obj1 = 0 ;
15913 PyObject * obj2 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self",(char *) "self",(char *) "_class", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15921 arg2 = obj1;
15922 arg3 = obj2;
15923 {
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 (arg1)->_setCallbackInfo(arg2,arg3);
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 Py_INCREF(Py_None); resultobj = Py_None;
15931 return resultobj;
15932 fail:
15933 return NULL;
15934}
15935
15936
15937static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj;
15939 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15940 int arg2 ;
15941 int arg3 ;
15942 int arg4 ;
15943 int arg5 ;
15944 PyObject * obj0 = 0 ;
994141e6
RD
15945 PyObject * obj1 = 0 ;
15946 PyObject * obj2 = 0 ;
15947 PyObject * obj3 = 0 ;
15948 PyObject * obj4 = 0 ;
d14a1e28
RD
15949 char *kwnames[] = {
15950 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15951 };
15952
994141e6 15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 arg2 = (int) SWIG_AsInt(obj1);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 arg3 = (int) SWIG_AsInt(obj2);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 arg4 = (int) SWIG_AsInt(obj3);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 arg5 = (int) SWIG_AsInt(obj4);
15963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 return resultobj;
15973 fail:
15974 return NULL;
15975}
15976
15977
15978static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15981 int arg2 ;
15982 int arg3 ;
15983 int arg4 ;
15984 int arg5 ;
15985 int arg6 = (int) wxSIZE_AUTO ;
15986 PyObject * obj0 = 0 ;
994141e6
RD
15987 PyObject * obj1 = 0 ;
15988 PyObject * obj2 = 0 ;
15989 PyObject * obj3 = 0 ;
15990 PyObject * obj4 = 0 ;
15991 PyObject * obj5 = 0 ;
d14a1e28
RD
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15994 };
15995
994141e6 15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 arg2 = (int) SWIG_AsInt(obj1);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 arg3 = (int) SWIG_AsInt(obj2);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 arg4 = (int) SWIG_AsInt(obj3);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 arg5 = (int) SWIG_AsInt(obj4);
16006 if (PyErr_Occurred()) SWIG_fail;
994141e6 16007 if (obj5) {
15afbcd0
RD
16008 arg6 = (int) SWIG_AsInt(obj5);
16009 if (PyErr_Occurred()) SWIG_fail;
994141e6 16010 }
d14a1e28
RD
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 Py_INCREF(Py_None); resultobj = Py_None;
16019 return resultobj;
16020 fail:
16021 return NULL;
16022}
16023
16024
16025static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16028 int arg2 ;
16029 int arg3 ;
16030 PyObject * obj0 = 0 ;
994141e6
RD
16031 PyObject * obj1 = 0 ;
16032 PyObject * obj2 = 0 ;
d14a1e28
RD
16033 char *kwnames[] = {
16034 (char *) "self",(char *) "width",(char *) "height", NULL
16035 };
16036
994141e6 16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16040 arg2 = (int) SWIG_AsInt(obj1);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 arg3 = (int) SWIG_AsInt(obj2);
16043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 (arg1)->base_DoSetClientSize(arg2,arg3);
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 Py_INCREF(Py_None); resultobj = Py_None;
16052 return resultobj;
16053 fail:
16054 return NULL;
16055}
16056
16057
16058static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16061 int arg2 ;
16062 int arg3 ;
16063 PyObject * obj0 = 0 ;
994141e6
RD
16064 PyObject * obj1 = 0 ;
16065 PyObject * obj2 = 0 ;
d14a1e28
RD
16066 char *kwnames[] = {
16067 (char *) "self",(char *) "x",(char *) "y", NULL
16068 };
16069
994141e6 16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16073 arg2 = (int) SWIG_AsInt(obj1);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 arg3 = (int) SWIG_AsInt(obj2);
16076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16080
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 Py_INCREF(Py_None); resultobj = Py_None;
16085 return resultobj;
16086 fail:
16087 return NULL;
16088}
16089
16090
16091static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16094 int *arg2 = (int *) 0 ;
16095 int *arg3 = (int *) 0 ;
16096 int temp2 ;
16097 int temp3 ;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self", NULL
16101 };
16102
16103 arg2 = &temp2;
16104 arg3 = &temp3;
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
16110 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16111
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 Py_INCREF(Py_None); resultobj = Py_None;
16116 {
16117 PyObject *o = PyInt_FromLong((long) (*arg2));
16118 resultobj = t_output_helper(resultobj,o);
16119 }
16120 {
16121 PyObject *o = PyInt_FromLong((long) (*arg3));
16122 resultobj = t_output_helper(resultobj,o);
16123 }
16124 return resultobj;
16125 fail:
16126 return NULL;
16127}
16128
16129
16130static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16133 int *arg2 = (int *) 0 ;
16134 int *arg3 = (int *) 0 ;
16135 int temp2 ;
16136 int temp3 ;
16137 PyObject * obj0 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self", NULL
16140 };
16141
16142 arg2 = &temp2;
16143 arg3 = &temp3;
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 Py_INCREF(Py_None); resultobj = Py_None;
16155 {
16156 PyObject *o = PyInt_FromLong((long) (*arg2));
16157 resultobj = t_output_helper(resultobj,o);
16158 }
16159 {
16160 PyObject *o = PyInt_FromLong((long) (*arg3));
16161 resultobj = t_output_helper(resultobj,o);
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16172 int *arg2 = (int *) 0 ;
16173 int *arg3 = (int *) 0 ;
16174 int temp2 ;
16175 int temp3 ;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 arg2 = &temp2;
16182 arg3 = &temp3;
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 {
16195 PyObject *o = PyInt_FromLong((long) (*arg2));
16196 resultobj = t_output_helper(resultobj,o);
16197 }
16198 {
16199 PyObject *o = PyInt_FromLong((long) (*arg3));
16200 resultobj = t_output_helper(resultobj,o);
16201 }
16202 return resultobj;
16203 fail:
16204 return NULL;
16205}
16206
16207
16208static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16211 wxSize result;
16212 PyObject * obj0 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 wxSize * resultptr;
16229 resultptr = new wxSize((wxSize &) result);
15afbcd0 16230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
16238static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16241 wxSize result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 wxSize * resultptr;
16259 resultptr = new wxSize((wxSize &) result);
15afbcd0 16260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16261 }
16262 return resultobj;
16263 fail:
16264 return NULL;
16265}
16266
16267
16268static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16271 PyObject * obj0 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->base_InitDialog();
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290}
16291
16292
16293static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16296 bool result;
16297 PyObject * obj0 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "self", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (bool)(arg1)->base_TransferDataToWindow();
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
4f89f6a3
RD
16312 {
16313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16314 }
d14a1e28
RD
16315 return resultobj;
16316 fail:
16317 return NULL;
16318}
16319
16320
16321static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj;
16323 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16324 bool result;
16325 PyObject * obj0 = 0 ;
16326 char *kwnames[] = {
16327 (char *) "self", NULL
16328 };
16329
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 result = (bool)(arg1)->base_TransferDataFromWindow();
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
4f89f6a3
RD
16340 {
16341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16342 }
d14a1e28
RD
16343 return resultobj;
16344 fail:
16345 return NULL;
16346}
16347
16348
16349static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16352 bool result;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
16359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (bool)(arg1)->base_Validate();
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
4f89f6a3
RD
16368 {
16369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16370 }
d14a1e28
RD
16371 return resultobj;
16372 fail:
16373 return NULL;
16374}
16375
16376
16377static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16380 bool result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
16387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
4f89f6a3
RD
16396 {
16397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16398 }
d14a1e28
RD
16399 return resultobj;
16400 fail:
16401 return NULL;
16402}
16403
16404
16405static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16408 bool result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
16415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
4f89f6a3
RD
16424 {
16425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16426 }
d14a1e28
RD
16427 return resultobj;
16428 fail:
16429 return NULL;
16430}
16431
16432
16433static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16436 wxSize result;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
16447 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 {
16453 wxSize * resultptr;
16454 resultptr = new wxSize((wxSize &) result);
15afbcd0 16455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16456 }
16457 return resultobj;
16458 fail:
16459 return NULL;
16460}
16461
16462
16463static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16466 wxWindow *arg2 = (wxWindow *) 0 ;
16467 PyObject * obj0 = 0 ;
16468 PyObject * obj1 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "child", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 (arg1)->base_AddChild(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 Py_INCREF(Py_None); resultobj = Py_None;
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
16492static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16495 wxWindow *arg2 = (wxWindow *) 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "child", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 (arg1)->base_RemoveChild(arg2);
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 Py_INCREF(Py_None); resultobj = Py_None;
16515 return resultobj;
16516 fail:
16517 return NULL;
16518}
16519
16520
1cb4a8aa 16521static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 16522 PyObject *resultobj;
1cb4a8aa
RD
16523 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16524 bool result;
16525 PyObject * obj0 = 0 ;
d14a1e28 16526 char *kwnames[] = {
1cb4a8aa 16527 (char *) "self", NULL
d14a1e28
RD
16528 };
16529
1cb4a8aa
RD
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 16535 result = (bool)(arg1)->base_ShouldInheritColours();
d14a1e28
RD
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
1cb4a8aa
RD
16540 {
16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16542 }
d14a1e28
RD
16543 return resultobj;
16544 fail:
16545 return NULL;
16546}
16547
16548
1cb4a8aa 16549static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 16550 PyObject *resultobj;
1cb4a8aa
RD
16551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16552 wxColour *arg2 = 0 ;
16553 wxColour temp2 ;
d14a1e28 16554 PyObject * obj0 = 0 ;
1cb4a8aa 16555 PyObject * obj1 = 0 ;
d14a1e28 16556 char *kwnames[] = {
1cb4a8aa 16557 (char *) "self",(char *) "c", NULL
d14a1e28
RD
16558 };
16559
1cb4a8aa
RD
16560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15afbcd0 16562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1cb4a8aa
RD
16563 {
16564 arg2 = &temp2;
16565 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16566 }
d14a1e28
RD
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 16569 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
d14a1e28
RD
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578}
16579
16580
1cb4a8aa
RD
16581static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16582 PyObject *obj;
16583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16584 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16585 Py_INCREF(obj);
16586 return Py_BuildValue((char *)"");
16587}
16588static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 16589 PyObject *resultobj;
1cb4a8aa
RD
16590 wxWindow *arg1 = (wxWindow *) 0 ;
16591 int arg2 ;
16592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16594 wxSize const &arg4_defvalue = wxDefaultSize ;
16595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16596 long arg5 = (long) 0 ;
16597 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16598 wxString *arg6 = (wxString *) &arg6_defvalue ;
16599 wxPyScrolledWindow *result;
16600 wxPoint temp3 ;
16601 wxSize temp4 ;
16602 bool temp6 = False ;
d14a1e28 16603 PyObject * obj0 = 0 ;
1cb4a8aa
RD
16604 PyObject * obj1 = 0 ;
16605 PyObject * obj2 = 0 ;
16606 PyObject * obj3 = 0 ;
16607 PyObject * obj4 = 0 ;
16608 PyObject * obj5 = 0 ;
d14a1e28 16609 char *kwnames[] = {
1cb4a8aa 16610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
16611 };
16612
1cb4a8aa
RD
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15afbcd0 16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1cb4a8aa
RD
16616 arg2 = (int const) SWIG_AsInt(obj1);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 if (obj2) {
16619 {
16620 arg3 = &temp3;
16621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16622 }
16623 }
16624 if (obj3) {
16625 {
16626 arg4 = &temp4;
16627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16628 }
16629 }
16630 if (obj4) {
16631 arg5 = (long) SWIG_AsLong(obj4);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 if (obj5) {
16635 {
16636 arg6 = wxString_in_helper(obj5);
16637 if (arg6 == NULL) SWIG_fail;
16638 temp6 = True;
16639 }
16640 }
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16649 {
16650 if (temp6)
16651 delete arg6;
16652 }
16653 return resultobj;
16654 fail:
16655 {
16656 if (temp6)
16657 delete arg6;
16658 }
16659 return NULL;
16660}
16661
16662
16663static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxPyScrolledWindow *result;
16666 char *kwnames[] = {
16667 NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16679 return resultobj;
16680 fail:
16681 return NULL;
16682}
16683
16684
16685static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16688 PyObject *arg2 = (PyObject *) 0 ;
16689 PyObject *arg3 = (PyObject *) 0 ;
16690 PyObject * obj0 = 0 ;
16691 PyObject * obj1 = 0 ;
16692 PyObject * obj2 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self",(char *) "self",(char *) "_class", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16700 arg2 = obj1;
16701 arg3 = obj2;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 (arg1)->_setCallbackInfo(arg2,arg3);
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 Py_INCREF(Py_None); resultobj = Py_None;
16710 return resultobj;
16711 fail:
16712 return NULL;
16713}
16714
16715
16716static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16719 int arg2 ;
16720 int arg3 ;
16721 int arg4 ;
16722 int arg5 ;
16723 PyObject * obj0 = 0 ;
16724 PyObject * obj1 = 0 ;
16725 PyObject * obj2 = 0 ;
16726 PyObject * obj3 = 0 ;
16727 PyObject * obj4 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16735 arg2 = (int) SWIG_AsInt(obj1);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 arg3 = (int) SWIG_AsInt(obj2);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 arg4 = (int) SWIG_AsInt(obj3);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 arg5 = (int) SWIG_AsInt(obj4);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754}
16755
16756
16757static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16760 int arg2 ;
16761 int arg3 ;
16762 int arg4 ;
16763 int arg5 ;
16764 int arg6 = (int) wxSIZE_AUTO ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 PyObject * obj2 = 0 ;
16768 PyObject * obj3 = 0 ;
16769 PyObject * obj4 = 0 ;
16770 PyObject * obj5 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 arg2 = (int) SWIG_AsInt(obj1);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 arg3 = (int) SWIG_AsInt(obj2);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 arg4 = (int) SWIG_AsInt(obj3);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 arg5 = (int) SWIG_AsInt(obj4);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 if (obj5) {
16787 arg6 = (int) SWIG_AsInt(obj5);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 Py_INCREF(Py_None); resultobj = Py_None;
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
16804static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16807 int arg2 ;
16808 int arg3 ;
16809 PyObject * obj0 = 0 ;
16810 PyObject * obj1 = 0 ;
16811 PyObject * obj2 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "width",(char *) "height", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 arg2 = (int) SWIG_AsInt(obj1);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 arg3 = (int) SWIG_AsInt(obj2);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->base_DoSetClientSize(arg2,arg3);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
16837static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16840 int arg2 ;
16841 int arg3 ;
16842 PyObject * obj0 = 0 ;
16843 PyObject * obj1 = 0 ;
16844 PyObject * obj2 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self",(char *) "x",(char *) "y", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16852 arg2 = (int) SWIG_AsInt(obj1);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 arg3 = (int) SWIG_AsInt(obj2);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 Py_INCREF(Py_None); resultobj = Py_None;
16864 return resultobj;
16865 fail:
16866 return NULL;
16867}
16868
16869
16870static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj;
16872 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16873 int *arg2 = (int *) 0 ;
16874 int *arg3 = (int *) 0 ;
16875 int temp2 ;
16876 int temp3 ;
16877 PyObject * obj0 = 0 ;
16878 char *kwnames[] = {
16879 (char *) "self", NULL
16880 };
16881
16882 arg2 = &temp2;
16883 arg3 = &temp3;
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 Py_INCREF(Py_None); resultobj = Py_None;
16895 {
16896 PyObject *o = PyInt_FromLong((long) (*arg2));
16897 resultobj = t_output_helper(resultobj,o);
16898 }
16899 {
16900 PyObject *o = PyInt_FromLong((long) (*arg3));
16901 resultobj = t_output_helper(resultobj,o);
16902 }
16903 return resultobj;
16904 fail:
16905 return NULL;
16906}
16907
16908
16909static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16912 int *arg2 = (int *) 0 ;
16913 int *arg3 = (int *) 0 ;
16914 int temp2 ;
16915 int temp3 ;
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self", NULL
16919 };
16920
16921 arg2 = &temp2;
16922 arg3 = &temp3;
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 Py_INCREF(Py_None); resultobj = Py_None;
16934 {
16935 PyObject *o = PyInt_FromLong((long) (*arg2));
16936 resultobj = t_output_helper(resultobj,o);
16937 }
16938 {
16939 PyObject *o = PyInt_FromLong((long) (*arg3));
16940 resultobj = t_output_helper(resultobj,o);
16941 }
16942 return resultobj;
16943 fail:
16944 return NULL;
16945}
16946
16947
16948static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16951 int *arg2 = (int *) 0 ;
16952 int *arg3 = (int *) 0 ;
16953 int temp2 ;
16954 int temp3 ;
16955 PyObject * obj0 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "self", NULL
16958 };
16959
16960 arg2 = &temp2;
16961 arg3 = &temp3;
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 {
16974 PyObject *o = PyInt_FromLong((long) (*arg2));
16975 resultobj = t_output_helper(resultobj,o);
16976 }
16977 {
16978 PyObject *o = PyInt_FromLong((long) (*arg3));
16979 resultobj = t_output_helper(resultobj,o);
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
16984}
16985
16986
16987static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16990 wxSize result;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 wxSize * resultptr;
17008 resultptr = new wxSize((wxSize &) result);
17009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17010 }
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17020 wxSize result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 {
17037 wxSize * resultptr;
17038 resultptr = new wxSize((wxSize &) result);
17039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17040 }
17041 return resultobj;
17042 fail:
17043 return NULL;
17044}
17045
17046
17047static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17050 PyObject * obj0 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 (arg1)->base_InitDialog();
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 Py_INCREF(Py_None); resultobj = Py_None;
17066 return resultobj;
17067 fail:
17068 return NULL;
17069}
17070
17071
17072static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17075 bool result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (bool)(arg1)->base_TransferDataToWindow();
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 {
17092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17093 }
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
17100static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17103 bool result;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "self", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (bool)(arg1)->base_TransferDataFromWindow();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125}
17126
17127
17128static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17131 bool result;
17132 PyObject * obj0 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = (bool)(arg1)->base_Validate();
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17149 }
17150 return resultobj;
17151 fail:
17152 return NULL;
17153}
17154
17155
17156static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17159 bool result;
17160 PyObject * obj0 = 0 ;
17161 char *kwnames[] = {
17162 (char *) "self", NULL
17163 };
17164
17165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 {
17176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17177 }
17178 return resultobj;
17179 fail:
17180 return NULL;
17181}
17182
17183
17184static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17187 bool result;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 {
17204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17205 }
17206 return resultobj;
17207 fail:
17208 return NULL;
17209}
17210
17211
17212static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj;
17214 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17215 wxSize result;
17216 PyObject * obj0 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 {
17232 wxSize * resultptr;
17233 resultptr = new wxSize((wxSize &) result);
17234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17235 }
17236 return resultobj;
17237 fail:
17238 return NULL;
17239}
17240
17241
17242static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17245 wxWindow *arg2 = (wxWindow *) 0 ;
17246 PyObject * obj0 = 0 ;
17247 PyObject * obj1 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self",(char *) "child", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 (arg1)->base_AddChild(arg2);
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 Py_INCREF(Py_None); resultobj = Py_None;
17265 return resultobj;
17266 fail:
17267 return NULL;
17268}
17269
17270
17271static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17274 wxWindow *arg2 = (wxWindow *) 0 ;
17275 PyObject * obj0 = 0 ;
17276 PyObject * obj1 = 0 ;
17277 char *kwnames[] = {
17278 (char *) "self",(char *) "child", NULL
17279 };
17280
17281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 (arg1)->base_RemoveChild(arg2);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
17293 Py_INCREF(Py_None); resultobj = Py_None;
17294 return resultobj;
17295 fail:
17296 return NULL;
17297}
17298
17299
17300static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj;
17302 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17303 bool result;
17304 PyObject * obj0 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "self", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 result = (bool)(arg1)->base_ShouldInheritColours();
17315
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 {
17320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17321 }
17322 return resultobj;
17323 fail:
17324 return NULL;
17325}
17326
17327
17328static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17331 wxColour *arg2 = 0 ;
17332 wxColour temp2 ;
17333 PyObject * obj0 = 0 ;
17334 PyObject * obj1 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self",(char *) "c", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17342 {
17343 arg2 = &temp2;
17344 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357}
17358
17359
17360static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17361 PyObject *obj;
17362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17363 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17364 Py_INCREF(obj);
17365 return Py_BuildValue((char *)"");
17366}
17367static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17368 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17369 return 1;
17370}
17371
17372
17373static PyObject *_wrap_PrintoutTitleStr_get() {
17374 PyObject *pyobj;
17375
17376 {
17377#if wxUSE_UNICODE
17378 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17379#else
17380 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17381#endif
17382 }
17383 return pyobj;
17384}
17385
17386
17387static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17388 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17389 return 1;
17390}
17391
17392
17393static PyObject *_wrap_PreviewCanvasNameStr_get() {
17394 PyObject *pyobj;
17395
17396 {
17397#if wxUSE_UNICODE
17398 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17399#else
17400 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17401#endif
17402 }
17403 return pyobj;
17404}
17405
17406
17407static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17408 PyObject *resultobj;
17409 wxPrintData *result;
17410 char *kwnames[] = {
17411 NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = (wxPrintData *)new wxPrintData();
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17423 return resultobj;
17424 fail:
17425 return NULL;
17426}
17427
17428
17429static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxPrintData *arg1 = (wxPrintData *) 0 ;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 delete arg1;
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 Py_INCREF(Py_None); resultobj = Py_None;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451}
17452
17453
17454static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPrintData *arg1 = (wxPrintData *) 0 ;
17457 int result;
17458 PyObject * obj0 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (int)(arg1)->GetNoCopies();
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = SWIG_FromInt((int)result);
17474 return resultobj;
17475 fail:
d14a1e28
RD
17476 return NULL;
17477}
17478
17479
17480static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPrintData *arg1 = (wxPrintData *) 0 ;
17483 bool result;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
17490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = (bool)(arg1)->GetCollate();
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
4f89f6a3
RD
17499 {
17500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17501 }
d14a1e28
RD
17502 return resultobj;
17503 fail:
17504 return NULL;
17505}
17506
17507
17508static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPrintData *arg1 = (wxPrintData *) 0 ;
17511 int result;
17512 PyObject * obj0 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
17518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (int)(arg1)->GetOrientation();
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
15afbcd0 17527 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17528 return resultobj;
17529 fail:
17530 return NULL;
17531}
17532
17533
17534static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxPrintData *arg1 = (wxPrintData *) 0 ;
17537 bool result;
17538 PyObject * obj0 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
17544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = (bool)(arg1)->Ok();
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
4f89f6a3
RD
17553 {
17554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17555 }
d14a1e28
RD
17556 return resultobj;
17557 fail:
17558 return NULL;
17559}
17560
17561
17562static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPrintData *arg1 = (wxPrintData *) 0 ;
17565 wxString *result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15afbcd0
RD
17572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 {
17577 wxString const &_result_ref = (arg1)->GetPrinterName();
17578 result = (wxString *) &_result_ref;
17579 }
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
cc6dd355
RD
17584 {
17585#if wxUSE_UNICODE
17586 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17587#else
17588 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17589#endif
17590 }
d14a1e28
RD
17591 return resultobj;
17592 fail:
17593 return NULL;
17594}
17595
17596
17597static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 wxPrintData *arg1 = (wxPrintData *) 0 ;
17600 bool result;
17601 PyObject * obj0 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (bool)(arg1)->GetColour();
17612
17613 wxPyEndAllowThreads(__tstate);
17614 if (PyErr_Occurred()) SWIG_fail;
17615 }
4f89f6a3
RD
17616 {
17617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17618 }
d14a1e28
RD
17619 return resultobj;
17620 fail:
17621 return NULL;
17622}
17623
17624
17625static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxPrintData *arg1 = (wxPrintData *) 0 ;
17628 int result;
17629 PyObject * obj0 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15afbcd0
RD
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = (int)(arg1)->GetDuplex();
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
15afbcd0 17644 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17645 return resultobj;
17646 fail:
17647 return NULL;
17648}
17649
17650
17651static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxPrintData *arg1 = (wxPrintData *) 0 ;
17654 int result;
17655 PyObject * obj0 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (int)(arg1)->GetPaperId();
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
15afbcd0 17670 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17671 return resultobj;
17672 fail:
17673 return NULL;
17674}
17675
17676
17677static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxPrintData *arg1 = (wxPrintData *) 0 ;
17680 wxSize *result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 {
17692 wxSize const &_result_ref = (arg1)->GetPaperSize();
17693 result = (wxSize *) &_result_ref;
17694 }
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
15afbcd0 17699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
17700 return resultobj;
17701 fail:
17702 return NULL;
17703}
17704
17705
17706static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 17709 int result;
d14a1e28
RD
17710 PyObject * obj0 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15afbcd0
RD
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 17720 result = (int)(arg1)->GetQuality();
d14a1e28
RD
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
15afbcd0 17725 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17726 return resultobj;
17727 fail:
17728 return NULL;
17729}
17730
17731
17732static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj;
17734 wxPrintData *arg1 = (wxPrintData *) 0 ;
17735 int arg2 ;
17736 PyObject * obj0 = 0 ;
994141e6 17737 PyObject * obj1 = 0 ;
d14a1e28
RD
17738 char *kwnames[] = {
17739 (char *) "self",(char *) "v", NULL
17740 };
17741
994141e6 17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17745 arg2 = (int) SWIG_AsInt(obj1);
17746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 (arg1)->SetNoCopies(arg2);
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 Py_INCREF(Py_None); resultobj = Py_None;
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
17761static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxPrintData *arg1 = (wxPrintData *) 0 ;
17764 bool arg2 ;
17765 PyObject * obj0 = 0 ;
17766 PyObject * obj1 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self",(char *) "flag", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 arg2 = (bool) SWIG_AsBool(obj1);
17775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->SetCollate(arg2);
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 Py_INCREF(Py_None); resultobj = Py_None;
17784 return resultobj;
17785 fail:
17786 return NULL;
17787}
17788
17789
17790static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPrintData *arg1 = (wxPrintData *) 0 ;
17793 int arg2 ;
17794 PyObject * obj0 = 0 ;
994141e6 17795 PyObject * obj1 = 0 ;
d14a1e28
RD
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "orient", NULL
17798 };
17799
994141e6 17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17803 arg2 = (int) SWIG_AsInt(obj1);
17804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 (arg1)->SetOrientation(arg2);
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 Py_INCREF(Py_None); resultobj = Py_None;
17813 return resultobj;
17814 fail:
17815 return NULL;
17816}
17817
17818
17819static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxPrintData *arg1 = (wxPrintData *) 0 ;
17822 wxString *arg2 = 0 ;
e811c8ce 17823 bool temp2 = False ;
d14a1e28
RD
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "name", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17833 {
17834 arg2 = wxString_in_helper(obj1);
17835 if (arg2 == NULL) SWIG_fail;
e811c8ce 17836 temp2 = True;
d14a1e28
RD
17837 }
17838 {
17839 PyThreadState* __tstate = wxPyBeginAllowThreads();
17840 (arg1)->SetPrinterName((wxString const &)*arg2);
17841
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 Py_INCREF(Py_None); resultobj = Py_None;
17846 {
17847 if (temp2)
17848 delete arg2;
17849 }
17850 return resultobj;
17851 fail:
17852 {
17853 if (temp2)
17854 delete arg2;
17855 }
17856 return NULL;
17857}
17858
17859
17860static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17861 PyObject *resultobj;
17862 wxPrintData *arg1 = (wxPrintData *) 0 ;
17863 bool arg2 ;
17864 PyObject * obj0 = 0 ;
17865 PyObject * obj1 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self",(char *) "colour", NULL
17868 };
17869
17870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17873 arg2 = (bool) SWIG_AsBool(obj1);
17874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 (arg1)->SetColour(arg2);
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 Py_INCREF(Py_None); resultobj = Py_None;
17883 return resultobj;
17884 fail:
17885 return NULL;
17886}
17887
17888
17889static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17890 PyObject *resultobj;
17891 wxPrintData *arg1 = (wxPrintData *) 0 ;
17892 int arg2 ;
17893 PyObject * obj0 = 0 ;
994141e6 17894 PyObject * obj1 = 0 ;
d14a1e28
RD
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "duplex", NULL
17897 };
17898
994141e6 17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17902 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 (arg1)->SetDuplex((wxDuplexMode )arg2);
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 Py_INCREF(Py_None); resultobj = Py_None;
17912 return resultobj;
17913 fail:
17914 return NULL;
17915}
17916
17917
17918static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxPrintData *arg1 = (wxPrintData *) 0 ;
17921 int arg2 ;
17922 PyObject * obj0 = 0 ;
994141e6 17923 PyObject * obj1 = 0 ;
d14a1e28
RD
17924 char *kwnames[] = {
17925 (char *) "self",(char *) "sizeId", NULL
17926 };
17927
994141e6 17928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17931 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 (arg1)->SetPaperId((wxPaperSize )arg2);
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 Py_INCREF(Py_None); resultobj = Py_None;
17941 return resultobj;
17942 fail:
17943 return NULL;
17944}
17945
17946
17947static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxPrintData *arg1 = (wxPrintData *) 0 ;
17950 wxSize *arg2 = 0 ;
17951 wxSize temp2 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "sz", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17961 {
17962 arg2 = &temp2;
17963 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17964 }
17965 {
17966 PyThreadState* __tstate = wxPyBeginAllowThreads();
17967 (arg1)->SetPaperSize((wxSize const &)*arg2);
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 Py_INCREF(Py_None); resultobj = Py_None;
17973 return resultobj;
17974 fail:
17975 return NULL;
17976}
17977
17978
17979static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 17982 int arg2 ;
d14a1e28 17983 PyObject * obj0 = 0 ;
994141e6 17984 PyObject * obj1 = 0 ;
d14a1e28
RD
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "quality", NULL
17987 };
17988
994141e6 17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17992 arg2 = (int) SWIG_AsInt(obj1);
17993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 (arg1)->SetQuality(arg2);
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 Py_INCREF(Py_None); resultobj = Py_None;
18002 return resultobj;
18003 fail:
18004 return NULL;
18005}
18006
18007
18008static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPrintData *arg1 = (wxPrintData *) 0 ;
18011 wxString *result;
18012 PyObject * obj0 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 {
18023 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18024 result = (wxString *) &_result_ref;
18025 }
18026
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
cc6dd355
RD
18030 {
18031#if wxUSE_UNICODE
18032 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18033#else
18034 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18035#endif
18036 }
d14a1e28
RD
18037 return resultobj;
18038 fail:
18039 return NULL;
18040}
18041
18042
18043static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj;
18045 wxPrintData *arg1 = (wxPrintData *) 0 ;
18046 wxString *result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15afbcd0
RD
18053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 {
18058 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18059 result = (wxString *) &_result_ref;
18060 }
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
cc6dd355
RD
18065 {
18066#if wxUSE_UNICODE
18067 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18068#else
18069 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18070#endif
18071 }
d14a1e28
RD
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
18078static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxPrintData *arg1 = (wxPrintData *) 0 ;
18081 wxString *result;
18082 PyObject * obj0 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 {
18093 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18094 result = (wxString *) &_result_ref;
18095 }
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
cc6dd355
RD
18100 {
18101#if wxUSE_UNICODE
18102 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18103#else
18104 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18105#endif
18106 }
d14a1e28
RD
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxPrintData *arg1 = (wxPrintData *) 0 ;
18116 wxString *result;
18117 PyObject * obj0 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
18123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 {
18128 wxString const &_result_ref = (arg1)->GetFilename();
18129 result = (wxString *) &_result_ref;
18130 }
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
cc6dd355
RD
18135 {
18136#if wxUSE_UNICODE
18137 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18138#else
18139 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18140#endif
18141 }
d14a1e28
RD
18142 return resultobj;
18143 fail:
18144 return NULL;
18145}
18146
18147
18148static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxPrintData *arg1 = (wxPrintData *) 0 ;
18151 wxString *result;
18152 PyObject * obj0 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
18158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 {
18163 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18164 result = (wxString *) &_result_ref;
18165 }
18166
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
cc6dd355
RD
18170 {
18171#if wxUSE_UNICODE
18172 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18173#else
18174 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18175#endif
18176 }
d14a1e28
RD
18177 return resultobj;
18178 fail:
18179 return NULL;
18180}
18181
18182
18183static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxPrintData *arg1 = (wxPrintData *) 0 ;
18186 double result;
18187 PyObject * obj0 = 0 ;
18188 char *kwnames[] = {
18189 (char *) "self", NULL
18190 };
18191
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
18193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (double)(arg1)->GetPrinterScaleX();
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
15afbcd0 18202 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18203 return resultobj;
18204 fail:
18205 return NULL;
18206}
18207
18208
18209static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxPrintData *arg1 = (wxPrintData *) 0 ;
18212 double result;
18213 PyObject * obj0 = 0 ;
18214 char *kwnames[] = {
18215 (char *) "self", NULL
18216 };
18217
18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
18219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 result = (double)(arg1)->GetPrinterScaleY();
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
15afbcd0 18228 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18229 return resultobj;
18230 fail:
18231 return NULL;
18232}
18233
18234
18235static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPrintData *arg1 = (wxPrintData *) 0 ;
18238 long result;
18239 PyObject * obj0 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15afbcd0
RD
18245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (long)(arg1)->GetPrinterTranslateX();
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
15afbcd0 18254 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18255 return resultobj;
18256 fail:
18257 return NULL;
18258}
18259
18260
18261static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPrintData *arg1 = (wxPrintData *) 0 ;
18264 long result;
18265 PyObject * obj0 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15afbcd0
RD
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = (long)(arg1)->GetPrinterTranslateY();
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
15afbcd0 18280 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18281 return resultobj;
18282 fail:
18283 return NULL;
18284}
18285
18286
18287static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxPrintData *arg1 = (wxPrintData *) 0 ;
18290 int result;
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 result = (int)(arg1)->GetPrintMode();
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
15afbcd0 18306 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18307 return resultobj;
18308 fail:
18309 return NULL;
18310}
18311
18312
18313static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxPrintData *arg1 = (wxPrintData *) 0 ;
18316 wxString *arg2 = 0 ;
e811c8ce 18317 bool temp2 = False ;
d14a1e28
RD
18318 PyObject * obj0 = 0 ;
18319 PyObject * obj1 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self",(char *) "command", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18327 {
18328 arg2 = wxString_in_helper(obj1);
18329 if (arg2 == NULL) SWIG_fail;
e811c8ce 18330 temp2 = True;
d14a1e28
RD
18331 }
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 Py_INCREF(Py_None); resultobj = Py_None;
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 return resultobj;
18345 fail:
18346 {
18347 if (temp2)
18348 delete arg2;
18349 }
18350 return NULL;
18351}
18352
18353
18354static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPrintData *arg1 = (wxPrintData *) 0 ;
18357 wxString *arg2 = 0 ;
e811c8ce 18358 bool temp2 = False ;
d14a1e28
RD
18359 PyObject * obj0 = 0 ;
18360 PyObject * obj1 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self",(char *) "options", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18368 {
18369 arg2 = wxString_in_helper(obj1);
18370 if (arg2 == NULL) SWIG_fail;
e811c8ce 18371 temp2 = True;
d14a1e28
RD
18372 }
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 {
18382 if (temp2)
18383 delete arg2;
18384 }
18385 return resultobj;
18386 fail:
18387 {
18388 if (temp2)
18389 delete arg2;
18390 }
18391 return NULL;
18392}
18393
18394
18395static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPrintData *arg1 = (wxPrintData *) 0 ;
18398 wxString *arg2 = 0 ;
e811c8ce 18399 bool temp2 = False ;
d14a1e28
RD
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "command", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18409 {
18410 arg2 = wxString_in_helper(obj1);
18411 if (arg2 == NULL) SWIG_fail;
e811c8ce 18412 temp2 = True;
d14a1e28
RD
18413 }
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 {
18423 if (temp2)
18424 delete arg2;
18425 }
18426 return resultobj;
18427 fail:
18428 {
18429 if (temp2)
18430 delete arg2;
18431 }
18432 return NULL;
18433}
18434
18435
18436static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxPrintData *arg1 = (wxPrintData *) 0 ;
18439 wxString *arg2 = 0 ;
e811c8ce 18440 bool temp2 = False ;
d14a1e28
RD
18441 PyObject * obj0 = 0 ;
18442 PyObject * obj1 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self",(char *) "filename", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18450 {
18451 arg2 = wxString_in_helper(obj1);
18452 if (arg2 == NULL) SWIG_fail;
e811c8ce 18453 temp2 = True;
d14a1e28
RD
18454 }
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 (arg1)->SetFilename((wxString const &)*arg2);
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 Py_INCREF(Py_None); resultobj = Py_None;
18463 {
18464 if (temp2)
18465 delete arg2;
18466 }
18467 return resultobj;
18468 fail:
18469 {
18470 if (temp2)
18471 delete arg2;
18472 }
18473 return NULL;
18474}
18475
18476
18477static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxPrintData *arg1 = (wxPrintData *) 0 ;
18480 wxString *arg2 = 0 ;
e811c8ce 18481 bool temp2 = False ;
d14a1e28
RD
18482 PyObject * obj0 = 0 ;
18483 PyObject * obj1 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "path", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18491 {
18492 arg2 = wxString_in_helper(obj1);
18493 if (arg2 == NULL) SWIG_fail;
e811c8ce 18494 temp2 = True;
d14a1e28
RD
18495 }
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 {
18505 if (temp2)
18506 delete arg2;
18507 }
18508 return resultobj;
18509 fail:
18510 {
18511 if (temp2)
18512 delete arg2;
18513 }
18514 return NULL;
18515}
18516
18517
18518static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxPrintData *arg1 = (wxPrintData *) 0 ;
18521 double arg2 ;
18522 PyObject * obj0 = 0 ;
994141e6 18523 PyObject * obj1 = 0 ;
d14a1e28
RD
18524 char *kwnames[] = {
18525 (char *) "self",(char *) "x", NULL
18526 };
18527
994141e6 18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18531 arg2 = (double) SWIG_AsDouble(obj1);
18532 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 (arg1)->SetPrinterScaleX(arg2);
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 Py_INCREF(Py_None); resultobj = Py_None;
18541 return resultobj;
18542 fail:
18543 return NULL;
18544}
18545
18546
18547static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPrintData *arg1 = (wxPrintData *) 0 ;
18550 double arg2 ;
18551 PyObject * obj0 = 0 ;
994141e6 18552 PyObject * obj1 = 0 ;
d14a1e28
RD
18553 char *kwnames[] = {
18554 (char *) "self",(char *) "y", NULL
18555 };
18556
994141e6 18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18560 arg2 = (double) SWIG_AsDouble(obj1);
18561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 (arg1)->SetPrinterScaleY(arg2);
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 Py_INCREF(Py_None); resultobj = Py_None;
18570 return resultobj;
18571 fail:
18572 return NULL;
18573}
18574
18575
18576static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxPrintData *arg1 = (wxPrintData *) 0 ;
18579 double arg2 ;
18580 double arg3 ;
18581 PyObject * obj0 = 0 ;
994141e6
RD
18582 PyObject * obj1 = 0 ;
18583 PyObject * obj2 = 0 ;
d14a1e28
RD
18584 char *kwnames[] = {
18585 (char *) "self",(char *) "x",(char *) "y", NULL
18586 };
18587
994141e6 18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18591 arg2 = (double) SWIG_AsDouble(obj1);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 arg3 = (double) SWIG_AsDouble(obj2);
18594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->SetPrinterScaling(arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606}
18607
18608
18609static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPrintData *arg1 = (wxPrintData *) 0 ;
18612 long arg2 ;
18613 PyObject * obj0 = 0 ;
994141e6 18614 PyObject * obj1 = 0 ;
d14a1e28
RD
18615 char *kwnames[] = {
18616 (char *) "self",(char *) "x", NULL
18617 };
18618
994141e6 18619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18622 arg2 = (long) SWIG_AsLong(obj1);
18623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18624 {
18625 PyThreadState* __tstate = wxPyBeginAllowThreads();
18626 (arg1)->SetPrinterTranslateX(arg2);
18627
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 Py_INCREF(Py_None); resultobj = Py_None;
18632 return resultobj;
18633 fail:
18634 return NULL;
18635}
18636
18637
18638static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPrintData *arg1 = (wxPrintData *) 0 ;
18641 long arg2 ;
18642 PyObject * obj0 = 0 ;
994141e6 18643 PyObject * obj1 = 0 ;
d14a1e28
RD
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "y", NULL
18646 };
18647
994141e6 18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18651 arg2 = (long) SWIG_AsLong(obj1);
18652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 (arg1)->SetPrinterTranslateY(arg2);
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 Py_INCREF(Py_None); resultobj = Py_None;
18661 return resultobj;
18662 fail:
18663 return NULL;
18664}
18665
18666
18667static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPrintData *arg1 = (wxPrintData *) 0 ;
18670 long arg2 ;
18671 long arg3 ;
18672 PyObject * obj0 = 0 ;
994141e6
RD
18673 PyObject * obj1 = 0 ;
18674 PyObject * obj2 = 0 ;
d14a1e28
RD
18675 char *kwnames[] = {
18676 (char *) "self",(char *) "x",(char *) "y", NULL
18677 };
18678
994141e6 18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18682 arg2 = (long) SWIG_AsLong(obj1);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 arg3 = (long) SWIG_AsLong(obj2);
18685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 (arg1)->SetPrinterTranslation(arg2,arg3);
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 Py_INCREF(Py_None); resultobj = Py_None;
18694 return resultobj;
18695 fail:
18696 return NULL;
18697}
18698
18699
18700static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxPrintData *arg1 = (wxPrintData *) 0 ;
18703 int arg2 ;
18704 PyObject * obj0 = 0 ;
994141e6 18705 PyObject * obj1 = 0 ;
d14a1e28
RD
18706 char *kwnames[] = {
18707 (char *) "self",(char *) "printMode", NULL
18708 };
18709
994141e6 18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18713 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 (arg1)->SetPrintMode((wxPrintMode )arg2);
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 Py_INCREF(Py_None); resultobj = Py_None;
18723 return resultobj;
18724 fail:
18725 return NULL;
18726}
18727
18728
db914595
RD
18729static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxPrintData *arg1 = (wxPrintData *) 0 ;
18732 wxOutputStream *result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = (wxOutputStream *)(arg1)->GetOutputStream();
18744
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
15afbcd0 18748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
db914595
RD
18749 return resultobj;
18750 fail:
18751 return NULL;
18752}
18753
18754
18755static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj;
18757 wxPrintData *arg1 = (wxPrintData *) 0 ;
18758 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self",(char *) "outputstream", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 (arg1)->SetOutputStream(arg2);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 Py_INCREF(Py_None); resultobj = Py_None;
18778 return resultobj;
18779 fail:
18780 return NULL;
18781}
18782
18783
d14a1e28
RD
18784static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18785 PyObject *obj;
18786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18787 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18788 Py_INCREF(obj);
18789 return Py_BuildValue((char *)"");
18790}
18791static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPageSetupDialogData *result;
18794 char *kwnames[] = {
18795 NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
15afbcd0 18806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
18807 return resultobj;
18808 fail:
18809 return NULL;
18810}
18811
18812
18813static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 delete arg1;
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 return resultobj;
18833 fail:
18834 return NULL;
18835}
18836
18837
18838static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18841 bool arg2 ;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self",(char *) "flag", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18851 arg2 = (bool) SWIG_AsBool(obj1);
18852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 (arg1)->EnableHelp(arg2);
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 Py_INCREF(Py_None); resultobj = Py_None;
18861 return resultobj;
18862 fail:
18863 return NULL;
18864}
18865
18866
18867static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18870 bool arg2 ;
18871 PyObject * obj0 = 0 ;
18872 PyObject * obj1 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "flag", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18880 arg2 = (bool) SWIG_AsBool(obj1);
18881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 (arg1)->EnableMargins(arg2);
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 Py_INCREF(Py_None); resultobj = Py_None;
18890 return resultobj;
18891 fail:
18892 return NULL;
18893}
18894
18895
18896static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18899 bool arg2 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "flag", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18909 arg2 = (bool) SWIG_AsBool(obj1);
18910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->EnableOrientation(arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922}
18923
18924
18925static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18928 bool arg2 ;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj1 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "flag", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 arg2 = (bool) SWIG_AsBool(obj1);
18939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 (arg1)->EnablePaper(arg2);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951}
18952
18953
18954static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18957 bool arg2 ;
18958 PyObject * obj0 = 0 ;
18959 PyObject * obj1 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "flag", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18967 arg2 = (bool) SWIG_AsBool(obj1);
18968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->EnablePrinter(arg2);
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 Py_INCREF(Py_None); resultobj = Py_None;
18977 return resultobj;
18978 fail:
18979 return NULL;
18980}
18981
18982
18983static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18986 bool result;
18987 PyObject * obj0 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
18993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (bool)(arg1)->GetDefaultMinMargins();
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
4f89f6a3
RD
19002 {
19003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19004 }
d14a1e28
RD
19005 return resultobj;
19006 fail:
19007 return NULL;
19008}
19009
19010
19011static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19014 bool result;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
19021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (bool)(arg1)->GetEnableMargins();
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
4f89f6a3
RD
19030 {
19031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19032 }
d14a1e28
RD
19033 return resultobj;
19034 fail:
19035 return NULL;
19036}
19037
19038
19039static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19042 bool result;
19043 PyObject * obj0 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
19049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (bool)(arg1)->GetEnableOrientation();
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
4f89f6a3
RD
19058 {
19059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19060 }
d14a1e28
RD
19061 return resultobj;
19062 fail:
19063 return NULL;
19064}
19065
19066
19067static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19070 bool result;
19071 PyObject * obj0 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
15afbcd0
RD
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (bool)(arg1)->GetEnablePaper();
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
4f89f6a3
RD
19086 {
19087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19088 }
d14a1e28
RD
19089 return resultobj;
19090 fail:
19091 return NULL;
19092}
19093
19094
19095static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19098 bool result;
19099 PyObject * obj0 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
19105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 result = (bool)(arg1)->GetEnablePrinter();
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
4f89f6a3
RD
19114 {
19115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19116 }
d14a1e28
RD
19117 return resultobj;
19118 fail:
19119 return NULL;
19120}
19121
19122
19123static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19126 bool result;
19127 PyObject * obj0 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 result = (bool)(arg1)->GetEnableHelp();
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
4f89f6a3
RD
19142 {
19143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19144 }
d14a1e28
RD
19145 return resultobj;
19146 fail:
19147 return NULL;
19148}
19149
19150
19151static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19154 bool result;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (bool)(arg1)->GetDefaultInfo();
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
4f89f6a3
RD
19170 {
19171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19172 }
d14a1e28
RD
19173 return resultobj;
19174 fail:
19175 return NULL;
19176}
19177
19178
19179static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19182 wxPoint result;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
19189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 result = (arg1)->GetMarginTopLeft();
19194
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 {
19199 wxPoint * resultptr;
19200 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19202 }
19203 return resultobj;
19204 fail:
19205 return NULL;
19206}
19207
19208
19209static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19212 wxPoint result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
19219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (arg1)->GetMarginBottomRight();
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 wxPoint * resultptr;
19230 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236}
19237
19238
19239static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19242 wxPoint result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
19249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (arg1)->GetMinMarginTopLeft();
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 wxPoint * resultptr;
19260 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19262 }
19263 return resultobj;
19264 fail:
19265 return NULL;
19266}
19267
19268
19269static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19272 wxPoint result;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 result = (arg1)->GetMinMarginBottomRight();
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 {
19289 wxPoint * resultptr;
19290 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19292 }
19293 return resultobj;
19294 fail:
19295 return NULL;
19296}
19297
19298
19299static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19302 int result;
19303 PyObject * obj0 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (int)(arg1)->GetPaperId();
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
15afbcd0 19318 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19319 return resultobj;
19320 fail:
19321 return NULL;
19322}
19323
19324
19325static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19328 wxSize result;
19329 PyObject * obj0 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
19335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (arg1)->GetPaperSize();
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 {
19345 wxSize * resultptr;
19346 resultptr = new wxSize((wxSize &) result);
15afbcd0 19347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19348 }
19349 return resultobj;
19350 fail:
19351 return NULL;
19352}
19353
19354
19355static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19358 wxPrintData *result;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19367 {
19368 PyThreadState* __tstate = wxPyBeginAllowThreads();
19369 {
19370 wxPrintData &_result_ref = (arg1)->GetPrintData();
19371 result = (wxPrintData *) &_result_ref;
19372 }
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
15afbcd0 19377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
19378 return resultobj;
19379 fail:
19380 return NULL;
19381}
19382
19383
19384static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19387 bool result;
19388 PyObject * obj0 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
19394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (bool)(arg1)->Ok();
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
4f89f6a3
RD
19403 {
19404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19405 }
d14a1e28
RD
19406 return resultobj;
19407 fail:
19408 return NULL;
19409}
19410
19411
19412static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19413 PyObject *resultobj;
19414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19415 bool arg2 ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 char *kwnames[] = {
19419 (char *) "self",(char *) "flag", NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19425 arg2 = (bool) SWIG_AsBool(obj1);
19426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 (arg1)->SetDefaultInfo(arg2);
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 Py_INCREF(Py_None); resultobj = Py_None;
19435 return resultobj;
19436 fail:
19437 return NULL;
19438}
19439
19440
19441static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj;
19443 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19444 bool arg2 ;
19445 PyObject * obj0 = 0 ;
19446 PyObject * obj1 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self",(char *) "flag", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19454 arg2 = (bool) SWIG_AsBool(obj1);
19455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 (arg1)->SetDefaultMinMargins(arg2);
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 return resultobj;
19465 fail:
19466 return NULL;
19467}
19468
19469
19470static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19473 wxPoint *arg2 = 0 ;
19474 wxPoint temp2 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "pt", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19484 {
19485 arg2 = &temp2;
19486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19487 }
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 Py_INCREF(Py_None); resultobj = Py_None;
19496 return resultobj;
19497 fail:
19498 return NULL;
19499}
19500
19501
19502static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19505 wxPoint *arg2 = 0 ;
19506 wxPoint temp2 ;
19507 PyObject * obj0 = 0 ;
19508 PyObject * obj1 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "self",(char *) "pt", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19516 {
19517 arg2 = &temp2;
19518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19519 }
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 Py_INCREF(Py_None); resultobj = Py_None;
19528 return resultobj;
19529 fail:
19530 return NULL;
19531}
19532
19533
19534static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19537 wxPoint *arg2 = 0 ;
19538 wxPoint temp2 ;
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self",(char *) "pt", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19548 {
19549 arg2 = &temp2;
19550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19551 }
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 return resultobj;
19561 fail:
19562 return NULL;
19563}
19564
19565
19566static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj;
19568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19569 wxPoint *arg2 = 0 ;
19570 wxPoint temp2 ;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "pt", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19580 {
19581 arg2 = &temp2;
19582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19583 }
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 Py_INCREF(Py_None); resultobj = Py_None;
19592 return resultobj;
19593 fail:
19594 return NULL;
19595}
19596
19597
19598static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19601 int arg2 ;
19602 PyObject * obj0 = 0 ;
994141e6 19603 PyObject * obj1 = 0 ;
d14a1e28
RD
19604 char *kwnames[] = {
19605 (char *) "self",(char *) "id", NULL
19606 };
19607
994141e6 19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19611 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19612 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 (arg1)->SetPaperId((wxPaperSize )arg2);
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 Py_INCREF(Py_None); resultobj = Py_None;
19621 return resultobj;
19622 fail:
19623 return NULL;
19624}
19625
19626
19627static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19630 wxSize *arg2 = 0 ;
19631 wxSize temp2 ;
19632 PyObject * obj0 = 0 ;
19633 PyObject * obj1 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self",(char *) "size", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19641 {
19642 arg2 = &temp2;
19643 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19644 }
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 (arg1)->SetPaperSize((wxSize const &)*arg2);
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 Py_INCREF(Py_None); resultobj = Py_None;
19653 return resultobj;
19654 fail:
19655 return NULL;
19656}
19657
19658
19659static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19662 wxPrintData *arg2 = 0 ;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "printData", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19673 SWIG_POINTER_EXCEPTION | 0)) == -1)
19674 SWIG_fail;
d14a1e28 19675 if (arg2 == NULL) {
15afbcd0
RD
19676 PyErr_SetString(PyExc_TypeError,"null reference");
19677 SWIG_fail;
d14a1e28
RD
19678 }
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 Py_INCREF(Py_None); resultobj = Py_None;
19687 return resultobj;
19688 fail:
19689 return NULL;
19690}
19691
19692
19693static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19694 PyObject *obj;
19695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19696 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19697 Py_INCREF(obj);
19698 return Py_BuildValue((char *)"");
19699}
19700static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxWindow *arg1 = (wxWindow *) 0 ;
19703 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19704 wxPageSetupDialog *result;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 char *kwnames[] = {
19708 (char *) "parent",(char *) "data", NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19714 if (obj1) {
15afbcd0
RD
19715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19717 }
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
15afbcd0 19725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
19726 return resultobj;
19727 fail:
19728 return NULL;
19729}
19730
19731
19732static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19733 PyObject *resultobj;
19734 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19735 wxPageSetupDialogData *result;
19736 PyObject * obj0 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 {
19747 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19748 result = (wxPageSetupDialogData *) &_result_ref;
19749 }
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
15afbcd0 19754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
19755 return resultobj;
19756 fail:
19757 return NULL;
19758}
19759
19760
19761static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19764 int result;
19765 PyObject * obj0 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = (int)(arg1)->ShowModal();
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
15afbcd0 19780 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19781 return resultobj;
19782 fail:
19783 return NULL;
19784}
19785
19786
19787static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19788 PyObject *obj;
19789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19790 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19791 Py_INCREF(obj);
19792 return Py_BuildValue((char *)"");
19793}
4276dc52 19794static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
19795 PyObject *resultobj;
19796 wxPrintDialogData *result;
d14a1e28 19797
4276dc52 19798 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (wxPrintDialogData *)new wxPrintDialogData();
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
15afbcd0 19806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
19807 return resultobj;
19808 fail:
19809 return NULL;
19810}
19811
19812
4276dc52
RD
19813static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19814 PyObject *resultobj;
19815 wxPrintData *arg1 = 0 ;
19816 wxPrintDialogData *result;
19817 PyObject * obj0 = 0 ;
19818
19819 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1)
19822 SWIG_fail;
19823 if (arg1 == NULL) {
19824 PyErr_SetString(PyExc_TypeError,"null reference");
19825 SWIG_fail;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19835 return resultobj;
19836 fail:
19837 return NULL;
19838}
19839
19840
19841static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19842 int argc;
19843 PyObject *argv[2];
19844 int ii;
19845
19846 argc = PyObject_Length(args);
19847 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19848 argv[ii] = PyTuple_GetItem(args,ii);
19849 }
19850 if (argc == 0) {
19851 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19852 }
19853 if (argc == 1) {
19854 int _v;
19855 {
19856 void *ptr;
19857 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19858 _v = 0;
19859 PyErr_Clear();
19860 } else {
19861 _v = 1;
19862 }
19863 }
19864 if (_v) {
19865 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19866 }
19867 }
19868
19869 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19870 return NULL;
19871}
19872
19873
d14a1e28
RD
19874static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 delete arg1;
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 Py_INCREF(Py_None); resultobj = Py_None;
19893 return resultobj;
19894 fail:
19895 return NULL;
19896}
19897
19898
19899static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19902 int result;
19903 PyObject * obj0 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
15afbcd0 19918 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19919 return resultobj;
19920 fail:
19921 return NULL;
19922}
19923
19924
19925static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19928 int result;
19929 PyObject * obj0 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19940
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
15afbcd0 19944 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19945 return resultobj;
19946 fail:
19947 return NULL;
19948}
19949
19950
19951static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19954 int result;
19955 PyObject * obj0 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
15afbcd0 19970 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19971 return resultobj;
19972 fail:
19973 return NULL;
19974}
19975
19976
19977static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19980 int result;
19981 PyObject * obj0 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
15afbcd0 19996 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19997 return resultobj;
19998 fail:
19999 return NULL;
20000}
20001
20002
20003static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj;
20005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20006 int result;
20007 PyObject * obj0 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
15afbcd0
RD
20013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
15afbcd0 20022 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20023 return resultobj;
20024 fail:
20025 return NULL;
20026}
20027
20028
20029static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj;
20031 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20032 bool result;
20033 PyObject * obj0 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
20039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20044
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
4f89f6a3
RD
20048 {
20049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20050 }
d14a1e28
RD
20051 return resultobj;
20052 fail:
20053 return NULL;
20054}
20055
20056
20057static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20060 bool result;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
20067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
4f89f6a3
RD
20076 {
20077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20078 }
d14a1e28
RD
20079 return resultobj;
20080 fail:
20081 return NULL;
20082}
20083
20084
20085static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20086 PyObject *resultobj;
20087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20088 bool result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
20095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
4f89f6a3
RD
20104 {
20105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20106 }
d14a1e28
RD
20107 return resultobj;
20108 fail:
20109 return NULL;
20110}
20111
20112
20113static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20114 PyObject *resultobj;
20115 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20116 bool result;
20117 PyObject * obj0 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
20123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20128
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
4f89f6a3
RD
20132 {
20133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20134 }
d14a1e28
RD
20135 return resultobj;
20136 fail:
20137 return NULL;
20138}
20139
20140
20141static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20144 bool result;
20145 PyObject * obj0 = 0 ;
20146 char *kwnames[] = {
20147 (char *) "self", NULL
20148 };
20149
20150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
20151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20153 {
20154 PyThreadState* __tstate = wxPyBeginAllowThreads();
20155 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20156
20157 wxPyEndAllowThreads(__tstate);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 }
4f89f6a3
RD
20160 {
20161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20162 }
d14a1e28
RD
20163 return resultobj;
20164 fail:
20165 return NULL;
20166}
20167
20168
20169static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj;
20171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20172 int arg2 ;
20173 PyObject * obj0 = 0 ;
994141e6 20174 PyObject * obj1 = 0 ;
d14a1e28
RD
20175 char *kwnames[] = {
20176 (char *) "self",(char *) "v", NULL
20177 };
20178
994141e6 20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20182 arg2 = (int) SWIG_AsInt(obj1);
20183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 (arg1)->SetFromPage(arg2);
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 Py_INCREF(Py_None); resultobj = Py_None;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195}
20196
20197
20198static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20201 int arg2 ;
20202 PyObject * obj0 = 0 ;
994141e6 20203 PyObject * obj1 = 0 ;
d14a1e28
RD
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "v", NULL
20206 };
20207
994141e6 20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20211 arg2 = (int) SWIG_AsInt(obj1);
20212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 (arg1)->SetToPage(arg2);
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 Py_INCREF(Py_None); resultobj = Py_None;
20221 return resultobj;
20222 fail:
20223 return NULL;
20224}
20225
20226
20227static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj;
20229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20230 int arg2 ;
20231 PyObject * obj0 = 0 ;
994141e6 20232 PyObject * obj1 = 0 ;
d14a1e28
RD
20233 char *kwnames[] = {
20234 (char *) "self",(char *) "v", NULL
20235 };
20236
994141e6 20237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20240 arg2 = (int) SWIG_AsInt(obj1);
20241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 (arg1)->SetMinPage(arg2);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 Py_INCREF(Py_None); resultobj = Py_None;
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
20256static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20259 int arg2 ;
20260 PyObject * obj0 = 0 ;
994141e6 20261 PyObject * obj1 = 0 ;
d14a1e28
RD
20262 char *kwnames[] = {
20263 (char *) "self",(char *) "v", NULL
20264 };
20265
994141e6 20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20269 arg2 = (int) SWIG_AsInt(obj1);
20270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 (arg1)->SetMaxPage(arg2);
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 Py_INCREF(Py_None); resultobj = Py_None;
20279 return resultobj;
20280 fail:
20281 return NULL;
20282}
20283
20284
20285static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20288 int arg2 ;
20289 PyObject * obj0 = 0 ;
994141e6 20290 PyObject * obj1 = 0 ;
d14a1e28
RD
20291 char *kwnames[] = {
20292 (char *) "self",(char *) "v", NULL
20293 };
20294
994141e6 20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20298 arg2 = (int) SWIG_AsInt(obj1);
20299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 (arg1)->SetNoCopies(arg2);
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 Py_INCREF(Py_None); resultobj = Py_None;
20308 return resultobj;
20309 fail:
20310 return NULL;
20311}
20312
20313
20314static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20317 bool arg2 ;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
20320 char *kwnames[] = {
20321 (char *) "self",(char *) "flag", NULL
20322 };
20323
20324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20327 arg2 = (bool) SWIG_AsBool(obj1);
20328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 (arg1)->SetAllPages(arg2);
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 Py_INCREF(Py_None); resultobj = Py_None;
20337 return resultobj;
20338 fail:
20339 return NULL;
20340}
20341
20342
20343static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj;
20345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20346 bool arg2 ;
20347 PyObject * obj0 = 0 ;
20348 PyObject * obj1 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self",(char *) "flag", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20356 arg2 = (bool) SWIG_AsBool(obj1);
20357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 (arg1)->SetSelection(arg2);
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 Py_INCREF(Py_None); resultobj = Py_None;
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
20372static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20375 bool arg2 ;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "flag", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 arg2 = (bool) SWIG_AsBool(obj1);
20386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetCollate(arg2);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 return resultobj;
20396 fail:
20397 return NULL;
20398}
20399
20400
20401static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20404 bool arg2 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self",(char *) "flag", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20414 arg2 = (bool) SWIG_AsBool(obj1);
20415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 (arg1)->SetPrintToFile(arg2);
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 Py_INCREF(Py_None); resultobj = Py_None;
20424 return resultobj;
20425 fail:
20426 return NULL;
20427}
20428
20429
20430static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20433 bool arg2 ;
20434 PyObject * obj0 = 0 ;
20435 PyObject * obj1 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self",(char *) "flag", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20443 arg2 = (bool) SWIG_AsBool(obj1);
20444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 (arg1)->SetSetupDialog(arg2);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 Py_INCREF(Py_None); resultobj = Py_None;
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
20459static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20462 bool arg2 ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self",(char *) "flag", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20472 arg2 = (bool) SWIG_AsBool(obj1);
20473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 (arg1)->EnablePrintToFile(arg2);
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 Py_INCREF(Py_None); resultobj = Py_None;
20482 return resultobj;
20483 fail:
20484 return NULL;
20485}
20486
20487
20488static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20491 bool arg2 ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self",(char *) "flag", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20501 arg2 = (bool) SWIG_AsBool(obj1);
20502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 (arg1)->EnableSelection(arg2);
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 Py_INCREF(Py_None); resultobj = Py_None;
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
20517static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20520 bool arg2 ;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 char *kwnames[] = {
20524 (char *) "self",(char *) "flag", NULL
20525 };
20526
20527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20530 arg2 = (bool) SWIG_AsBool(obj1);
20531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 (arg1)->EnablePageNumbers(arg2);
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 Py_INCREF(Py_None); resultobj = Py_None;
20540 return resultobj;
20541 fail:
20542 return NULL;
20543}
20544
20545
20546static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20549 bool arg2 ;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self",(char *) "flag", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20559 arg2 = (bool) SWIG_AsBool(obj1);
20560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 (arg1)->EnableHelp(arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 Py_INCREF(Py_None); resultobj = Py_None;
20569 return resultobj;
20570 fail:
20571 return NULL;
20572}
20573
20574
20575static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20578 bool result;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
4f89f6a3
RD
20594 {
20595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20596 }
d14a1e28
RD
20597 return resultobj;
20598 fail:
20599 return NULL;
20600}
20601
20602
20603static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20606 bool result;
20607 PyObject * obj0 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
20613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
4f89f6a3
RD
20622 {
20623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20624 }
d14a1e28
RD
20625 return resultobj;
20626 fail:
20627 return NULL;
20628}
20629
20630
20631static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20632 PyObject *resultobj;
20633 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20634 bool result;
20635 PyObject * obj0 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
15afbcd0
RD
20641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
4f89f6a3
RD
20650 {
20651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20652 }
d14a1e28
RD
20653 return resultobj;
20654 fail:
20655 return NULL;
20656}
20657
20658
20659static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20662 bool result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20671 {
20672 PyThreadState* __tstate = wxPyBeginAllowThreads();
20673 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20674
20675 wxPyEndAllowThreads(__tstate);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 }
4f89f6a3
RD
20678 {
20679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20680 }
d14a1e28
RD
20681 return resultobj;
20682 fail:
20683 return NULL;
20684}
20685
20686
20687static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20690 bool result;
20691 PyObject * obj0 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
20697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
4f89f6a3
RD
20706 {
20707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20708 }
d14a1e28
RD
20709 return resultobj;
20710 fail:
20711 return NULL;
20712}
20713
20714
20715static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20718 wxPrintData *result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 {
20730 wxPrintData &_result_ref = (arg1)->GetPrintData();
20731 result = (wxPrintData *) &_result_ref;
20732 }
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
15afbcd0 20737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
20738 return resultobj;
20739 fail:
20740 return NULL;
20741}
20742
20743
20744static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20745 PyObject *resultobj;
20746 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20747 wxPrintData *arg2 = 0 ;
20748 PyObject * obj0 = 0 ;
20749 PyObject * obj1 = 0 ;
20750 char *kwnames[] = {
20751 (char *) "self",(char *) "printData", NULL
20752 };
20753
20754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1)
20759 SWIG_fail;
d14a1e28 20760 if (arg2 == NULL) {
15afbcd0
RD
20761 PyErr_SetString(PyExc_TypeError,"null reference");
20762 SWIG_fail;
d14a1e28
RD
20763 }
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 Py_INCREF(Py_None); resultobj = Py_None;
20772 return resultobj;
20773 fail:
20774 return NULL;
20775}
20776
20777
20778static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20779 PyObject *obj;
20780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20782 Py_INCREF(obj);
20783 return Py_BuildValue((char *)"");
20784}
20785static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxWindow *arg1 = (wxWindow *) 0 ;
20788 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20789 wxPrintDialog *result;
20790 PyObject * obj0 = 0 ;
20791 PyObject * obj1 = 0 ;
20792 char *kwnames[] = {
20793 (char *) "parent",(char *) "data", NULL
20794 };
20795
20796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 20799 if (obj1) {
15afbcd0
RD
20800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20802 }
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
15afbcd0 20810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
20811 return resultobj;
20812 fail:
20813 return NULL;
20814}
20815
20816
20817static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20820 wxPrintDialogData *result;
20821 PyObject * obj0 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 {
20832 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20833 result = (wxPrintDialogData *) &_result_ref;
20834 }
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
15afbcd0 20839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
20840 return resultobj;
20841 fail:
20842 return NULL;
20843}
20844
20845
20846static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20849 wxDC *result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
20856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (wxDC *)(arg1)->GetPrintDC();
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 {
20866 resultobj = wxPyMake_wxObject(result);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
20874static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20877 int result;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
20884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 result = (int)(arg1)->ShowModal();
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
15afbcd0 20893 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20894 return resultobj;
20895 fail:
20896 return NULL;
20897}
20898
20899
20900static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20901 PyObject *obj;
20902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20903 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20904 Py_INCREF(obj);
20905 return Py_BuildValue((char *)"");
20906}
20907static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20910 wxPrinter *result;
20911 PyObject * obj0 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "data", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20917 if (obj0) {
15afbcd0
RD
20918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20920 }
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (wxPrinter *)new wxPrinter(arg1);
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
15afbcd0 20928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
20929 return resultobj;
20930 fail:
20931 return NULL;
20932}
20933
20934
20935static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxPrinter *arg1 = (wxPrinter *) 0 ;
20938 PyObject * obj0 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
15afbcd0
RD
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20946 {
20947 PyThreadState* __tstate = wxPyBeginAllowThreads();
20948 delete arg1;
20949
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
20953 Py_INCREF(Py_None); resultobj = Py_None;
20954 return resultobj;
20955 fail:
20956 return NULL;
20957}
20958
20959
20960static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxPrinter *arg1 = (wxPrinter *) 0 ;
20963 wxWindow *arg2 = (wxWindow *) 0 ;
20964 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20965 PyObject * obj0 = 0 ;
20966 PyObject * obj1 = 0 ;
20967 PyObject * obj2 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "self",(char *) "parent",(char *) "printout", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20977 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 (arg1)->CreateAbortWindow(arg2,arg3);
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 Py_INCREF(Py_None); resultobj = Py_None;
20987 return resultobj;
20988 fail:
20989 return NULL;
20990}
20991
20992
20993static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxPrinter *arg1 = (wxPrinter *) 0 ;
20996 wxPrintDialogData *result;
20997 PyObject * obj0 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 {
21008 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21009 result = (wxPrintDialogData *) &_result_ref;
21010 }
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
15afbcd0 21015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
21022static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPrinter *arg1 = (wxPrinter *) 0 ;
21025 wxWindow *arg2 = (wxWindow *) 0 ;
21026 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
e811c8ce 21027 int arg4 = (int) True ;
d14a1e28
RD
21028 bool result;
21029 PyObject * obj0 = 0 ;
21030 PyObject * obj1 = 0 ;
21031 PyObject * obj2 = 0 ;
994141e6 21032 PyObject * obj3 = 0 ;
d14a1e28
RD
21033 char *kwnames[] = {
21034 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21035 };
21036
994141e6 21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21042 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21044 if (obj3) {
15afbcd0
RD
21045 arg4 = (int) SWIG_AsInt(obj3);
21046 if (PyErr_Occurred()) SWIG_fail;
994141e6 21047 }
d14a1e28
RD
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
4f89f6a3
RD
21055 {
21056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21057 }
d14a1e28
RD
21058 return resultobj;
21059 fail:
21060 return NULL;
21061}
21062
21063
21064static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxPrinter *arg1 = (wxPrinter *) 0 ;
21067 wxWindow *arg2 = (wxWindow *) 0 ;
21068 wxDC *result;
21069 PyObject * obj0 = 0 ;
21070 PyObject * obj1 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "parent", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 result = (wxDC *)(arg1)->PrintDialog(arg2);
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 {
21088 resultobj = wxPyMake_wxObject(result);
21089 }
21090 return resultobj;
21091 fail:
21092 return NULL;
21093}
21094
21095
21096static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPrinter *arg1 = (wxPrinter *) 0 ;
21099 wxWindow *arg2 = (wxWindow *) 0 ;
21100 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21101 wxString *arg4 = 0 ;
e811c8ce 21102 bool temp4 = False ;
d14a1e28
RD
21103 PyObject * obj0 = 0 ;
21104 PyObject * obj1 = 0 ;
21105 PyObject * obj2 = 0 ;
21106 PyObject * obj3 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21116 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21118 {
21119 arg4 = wxString_in_helper(obj3);
21120 if (arg4 == NULL) SWIG_fail;
e811c8ce 21121 temp4 = True;
d14a1e28
RD
21122 }
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 Py_INCREF(Py_None); resultobj = Py_None;
21131 {
21132 if (temp4)
21133 delete arg4;
21134 }
21135 return resultobj;
21136 fail:
21137 {
21138 if (temp4)
21139 delete arg4;
21140 }
21141 return NULL;
21142}
21143
21144
21145static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxPrinter *arg1 = (wxPrinter *) 0 ;
21148 wxWindow *arg2 = (wxWindow *) 0 ;
21149 bool result;
21150 PyObject * obj0 = 0 ;
21151 PyObject * obj1 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self",(char *) "parent", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (bool)(arg1)->Setup(arg2);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
4f89f6a3
RD
21168 {
21169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21170 }
d14a1e28
RD
21171 return resultobj;
21172 fail:
21173 return NULL;
21174}
21175
21176
21177static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21178 PyObject *resultobj;
21179 wxPrinter *arg1 = (wxPrinter *) 0 ;
21180 bool result;
21181 PyObject * obj0 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
15afbcd0
RD
21187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21189 {
21190 PyThreadState* __tstate = wxPyBeginAllowThreads();
21191 result = (bool)(arg1)->GetAbort();
21192
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
4f89f6a3
RD
21196 {
21197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21198 }
d14a1e28
RD
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
21205static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 int result;
21208 char *kwnames[] = {
21209 NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (int)wxPrinter::GetLastError();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
15afbcd0 21220 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21221 return resultobj;
21222 fail:
21223 return NULL;
21224}
21225
21226
21227static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21228 PyObject *obj;
21229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21230 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21231 Py_INCREF(obj);
21232 return Py_BuildValue((char *)"");
21233}
21234static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21237 wxString *arg1 = (wxString *) &arg1_defvalue ;
21238 wxPyPrintout *result;
e811c8ce 21239 bool temp1 = False ;
d14a1e28
RD
21240 PyObject * obj0 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "title", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21246 if (obj0) {
21247 {
21248 arg1 = wxString_in_helper(obj0);
21249 if (arg1 == NULL) SWIG_fail;
e811c8ce 21250 temp1 = True;
d14a1e28
RD
21251 }
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 {
21261 resultobj = wxPyMake_wxObject(result);
21262 }
21263 {
21264 if (temp1)
21265 delete arg1;
21266 }
21267 return resultobj;
21268 fail:
21269 {
21270 if (temp1)
21271 delete arg1;
21272 }
21273 return NULL;
21274}
21275
21276
21277static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21280 PyObject *arg2 = (PyObject *) 0 ;
21281 PyObject *arg3 = (PyObject *) 0 ;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 PyObject * obj2 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "self",(char *) "_class", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21292 arg2 = obj1;
21293 arg3 = obj2;
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 (arg1)->_setCallbackInfo(arg2,arg3);
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 Py_INCREF(Py_None); resultobj = Py_None;
21302 return resultobj;
21303 fail:
21304 return NULL;
21305}
21306
21307
21308static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21311 wxString result;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 result = ((wxPyPrintout const *)arg1)->GetTitle();
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 {
21328#if wxUSE_UNICODE
21329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21330#else
21331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21332#endif
21333 }
21334 return resultobj;
21335 fail:
21336 return NULL;
21337}
21338
21339
21340static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21343 wxDC *result;
21344 PyObject * obj0 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (wxDC *)(arg1)->GetDC();
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 resultobj = wxPyMake_wxObject(result);
21361 }
21362 return resultobj;
21363 fail:
21364 return NULL;
21365}
21366
21367
21368static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21371 wxDC *arg2 = (wxDC *) 0 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self",(char *) "dc", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 (arg1)->SetDC(arg2);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 return resultobj;
21392 fail:
21393 return NULL;
21394}
21395
21396
322913ce 21397static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21398 PyObject *resultobj;
21399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
21400 int arg2 ;
21401 int arg3 ;
d14a1e28 21402 PyObject * obj0 = 0 ;
994141e6
RD
21403 PyObject * obj1 = 0 ;
21404 PyObject * obj2 = 0 ;
d14a1e28 21405 char *kwnames[] = {
322913ce 21406 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
21407 };
21408
994141e6 21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21412 arg2 = (int) SWIG_AsInt(obj1);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 arg3 = (int) SWIG_AsInt(obj2);
21415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21418 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
21424 return resultobj;
21425 fail:
21426 return NULL;
21427}
21428
21429
322913ce 21430static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21431 PyObject *resultobj;
21432 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
21433 int *arg2 = (int *) 0 ;
21434 int *arg3 = (int *) 0 ;
21435 int temp2 ;
21436 int temp3 ;
d14a1e28
RD
21437 PyObject * obj0 = 0 ;
21438 char *kwnames[] = {
322913ce 21439 (char *) "self", NULL
d14a1e28
RD
21440 };
21441
322913ce
RD
21442 arg2 = &temp2;
21443 arg3 = &temp3;
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
15afbcd0
RD
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21449 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
21450
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 Py_INCREF(Py_None); resultobj = Py_None;
322913ce
RD
21455 {
21456 PyObject *o = PyInt_FromLong((long) (*arg2));
21457 resultobj = t_output_helper(resultobj,o);
21458 }
21459 {
21460 PyObject *o = PyInt_FromLong((long) (*arg3));
21461 resultobj = t_output_helper(resultobj,o);
21462 }
d14a1e28
RD
21463 return resultobj;
21464 fail:
21465 return NULL;
21466}
21467
21468
21469static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21472 int arg2 ;
21473 int arg3 ;
21474 PyObject * obj0 = 0 ;
994141e6
RD
21475 PyObject * obj1 = 0 ;
21476 PyObject * obj2 = 0 ;
d14a1e28
RD
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "w",(char *) "h", NULL
21479 };
21480
994141e6 21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21484 arg2 = (int) SWIG_AsInt(obj1);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 arg3 = (int) SWIG_AsInt(obj2);
21487 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21488 {
21489 PyThreadState* __tstate = wxPyBeginAllowThreads();
21490 (arg1)->SetPageSizeMM(arg2,arg3);
21491
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 Py_INCREF(Py_None); resultobj = Py_None;
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
21502static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21505 int *arg2 = (int *) 0 ;
21506 int *arg3 = (int *) 0 ;
21507 int temp2 ;
21508 int temp3 ;
21509 PyObject * obj0 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self", NULL
21512 };
21513
21514 arg2 = &temp2;
21515 arg3 = &temp3;
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21519 {
21520 PyThreadState* __tstate = wxPyBeginAllowThreads();
21521 (arg1)->GetPageSizeMM(arg2,arg3);
21522
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
21526 Py_INCREF(Py_None); resultobj = Py_None;
21527 {
21528 PyObject *o = PyInt_FromLong((long) (*arg2));
21529 resultobj = t_output_helper(resultobj,o);
21530 }
21531 {
21532 PyObject *o = PyInt_FromLong((long) (*arg3));
21533 resultobj = t_output_helper(resultobj,o);
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538}
21539
21540
21541static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21544 int arg2 ;
21545 int arg3 ;
21546 PyObject * obj0 = 0 ;
994141e6
RD
21547 PyObject * obj1 = 0 ;
21548 PyObject * obj2 = 0 ;
d14a1e28
RD
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "x",(char *) "y", NULL
21551 };
21552
994141e6 21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21556 arg2 = (int) SWIG_AsInt(obj1);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 arg3 = (int) SWIG_AsInt(obj2);
21559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 (arg1)->SetPPIScreen(arg2,arg3);
21563
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 Py_INCREF(Py_None); resultobj = Py_None;
21568 return resultobj;
21569 fail:
21570 return NULL;
21571}
21572
21573
21574static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21577 int *arg2 = (int *) 0 ;
21578 int *arg3 = (int *) 0 ;
21579 int temp2 ;
21580 int temp3 ;
21581 PyObject * obj0 = 0 ;
21582 char *kwnames[] = {
21583 (char *) "self", NULL
21584 };
21585
21586 arg2 = &temp2;
21587 arg3 = &temp3;
21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 (arg1)->GetPPIScreen(arg2,arg3);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 Py_INCREF(Py_None); resultobj = Py_None;
21599 {
21600 PyObject *o = PyInt_FromLong((long) (*arg2));
21601 resultobj = t_output_helper(resultobj,o);
21602 }
21603 {
21604 PyObject *o = PyInt_FromLong((long) (*arg3));
21605 resultobj = t_output_helper(resultobj,o);
21606 }
21607 return resultobj;
21608 fail:
21609 return NULL;
21610}
21611
21612
21613static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21616 int arg2 ;
21617 int arg3 ;
21618 PyObject * obj0 = 0 ;
994141e6
RD
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
d14a1e28
RD
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "x",(char *) "y", NULL
21623 };
21624
994141e6 21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21628 arg2 = (int) SWIG_AsInt(obj1);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 arg3 = (int) SWIG_AsInt(obj2);
21631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->SetPPIPrinter(arg2,arg3);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643}
21644
21645
21646static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21649 int *arg2 = (int *) 0 ;
21650 int *arg3 = (int *) 0 ;
21651 int temp2 ;
21652 int temp3 ;
21653 PyObject * obj0 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self", NULL
21656 };
21657
21658 arg2 = &temp2;
21659 arg3 = &temp3;
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
21661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->GetPPIPrinter(arg2,arg3);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 {
21672 PyObject *o = PyInt_FromLong((long) (*arg2));
21673 resultobj = t_output_helper(resultobj,o);
21674 }
21675 {
21676 PyObject *o = PyInt_FromLong((long) (*arg3));
21677 resultobj = t_output_helper(resultobj,o);
21678 }
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
21685static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21688 bool result;
21689 PyObject * obj0 = 0 ;
21690 char *kwnames[] = {
21691 (char *) "self", NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
21695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 result = (bool)(arg1)->IsPreview();
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
4f89f6a3
RD
21704 {
21705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21706 }
d14a1e28
RD
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
21713static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21716 bool arg2 ;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "p", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21726 arg2 = (bool) SWIG_AsBool(obj1);
21727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->SetIsPreview(arg2);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 Py_INCREF(Py_None); resultobj = Py_None;
21736 return resultobj;
21737 fail:
21738 return NULL;
21739}
21740
21741
21742static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj;
21744 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21745 int arg2 ;
21746 int arg3 ;
21747 bool result;
21748 PyObject * obj0 = 0 ;
994141e6
RD
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
d14a1e28
RD
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21753 };
21754
994141e6 21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21758 arg2 = (int) SWIG_AsInt(obj1);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 arg3 = (int) SWIG_AsInt(obj2);
21761 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
4f89f6a3
RD
21769 {
21770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21771 }
d14a1e28
RD
21772 return resultobj;
21773 fail:
21774 return NULL;
21775}
21776
21777
21778static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj;
21780 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21781 PyObject * obj0 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
15afbcd0
RD
21787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->base_OnEndDocument();
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
21803static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
21812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 (arg1)->base_OnBeginPrinting();
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 Py_INCREF(Py_None); resultobj = Py_None;
21822 return resultobj;
21823 fail:
21824 return NULL;
21825}
21826
21827
21828static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj;
21830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21831 PyObject * obj0 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
21837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 (arg1)->base_OnEndPrinting();
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 Py_INCREF(Py_None); resultobj = Py_None;
21847 return resultobj;
21848 fail:
21849 return NULL;
21850}
21851
21852
21853static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21856 PyObject * obj0 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
21862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 (arg1)->base_OnPreparePrinting();
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 Py_INCREF(Py_None); resultobj = Py_None;
21872 return resultobj;
21873 fail:
21874 return NULL;
21875}
21876
21877
322913ce
RD
21878static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21881 int arg2 ;
21882 bool result;
21883 PyObject * obj0 = 0 ;
994141e6 21884 PyObject * obj1 = 0 ;
322913ce
RD
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "page", NULL
21887 };
21888
994141e6 21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21892 arg2 = (int) SWIG_AsInt(obj1);
21893 if (PyErr_Occurred()) SWIG_fail;
322913ce
RD
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (bool)(arg1)->base_HasPage(arg2);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
4f89f6a3
RD
21901 {
21902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21903 }
322913ce
RD
21904 return resultobj;
21905 fail:
21906 return NULL;
21907}
21908
21909
d14a1e28
RD
21910static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21913 int *arg2 = (int *) 0 ;
21914 int *arg3 = (int *) 0 ;
21915 int *arg4 = (int *) 0 ;
21916 int *arg5 = (int *) 0 ;
21917 int temp2 ;
21918 int temp3 ;
21919 int temp4 ;
21920 int temp5 ;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self", NULL
21924 };
21925
21926 arg2 = &temp2;
21927 arg3 = &temp3;
21928 arg4 = &temp4;
21929 arg5 = &temp5;
21930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
21931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21933 {
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21936
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
21940 Py_INCREF(Py_None); resultobj = Py_None;
21941 {
21942 PyObject *o = PyInt_FromLong((long) (*arg2));
21943 resultobj = t_output_helper(resultobj,o);
21944 }
21945 {
21946 PyObject *o = PyInt_FromLong((long) (*arg3));
21947 resultobj = t_output_helper(resultobj,o);
21948 }
21949 {
21950 PyObject *o = PyInt_FromLong((long) (*arg4));
21951 resultobj = t_output_helper(resultobj,o);
21952 }
21953 {
21954 PyObject *o = PyInt_FromLong((long) (*arg5));
21955 resultobj = t_output_helper(resultobj,o);
21956 }
21957 return resultobj;
21958 fail:
21959 return NULL;
21960}
21961
21962
d14a1e28
RD
21963static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21964 PyObject *obj;
21965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21966 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21967 Py_INCREF(obj);
21968 return Py_BuildValue((char *)"");
21969}
21970static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21971 PyObject *resultobj;
21972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21973 wxWindow *arg2 = (wxWindow *) 0 ;
21974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21976 wxSize const &arg4_defvalue = wxDefaultSize ;
21977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21978 long arg5 = (long) 0 ;
21979 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21980 wxString *arg6 = (wxString *) &arg6_defvalue ;
21981 wxPreviewCanvas *result;
21982 wxPoint temp3 ;
21983 wxSize temp4 ;
e811c8ce 21984 bool temp6 = False ;
d14a1e28
RD
21985 PyObject * obj0 = 0 ;
21986 PyObject * obj1 = 0 ;
21987 PyObject * obj2 = 0 ;
21988 PyObject * obj3 = 0 ;
994141e6 21989 PyObject * obj4 = 0 ;
d14a1e28
RD
21990 PyObject * obj5 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21993 };
21994
994141e6 21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22000 if (obj2) {
22001 {
22002 arg3 = &temp3;
22003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22004 }
22005 }
22006 if (obj3) {
22007 {
22008 arg4 = &temp4;
22009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22010 }
22011 }
994141e6 22012 if (obj4) {
15afbcd0
RD
22013 arg5 = (long) SWIG_AsLong(obj4);
22014 if (PyErr_Occurred()) SWIG_fail;
994141e6 22015 }
d14a1e28
RD
22016 if (obj5) {
22017 {
22018 arg6 = wxString_in_helper(obj5);
22019 if (arg6 == NULL) SWIG_fail;
e811c8ce 22020 temp6 = True;
d14a1e28
RD
22021 }
22022 }
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
15afbcd0 22030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
22031 {
22032 if (temp6)
22033 delete arg6;
22034 }
22035 return resultobj;
22036 fail:
22037 {
22038 if (temp6)
22039 delete arg6;
22040 }
22041 return NULL;
22042}
22043
22044
22045static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22046 PyObject *obj;
22047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22048 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22049 Py_INCREF(obj);
22050 return Py_BuildValue((char *)"");
22051}
22052static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22055 wxFrame *arg2 = (wxFrame *) 0 ;
22056 wxString *arg3 = 0 ;
22057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22059 wxSize const &arg5_defvalue = wxDefaultSize ;
22060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22061 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22062 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22063 wxString *arg7 = (wxString *) &arg7_defvalue ;
22064 wxPreviewFrame *result;
e811c8ce 22065 bool temp3 = False ;
d14a1e28
RD
22066 wxPoint temp4 ;
22067 wxSize temp5 ;
e811c8ce 22068 bool temp7 = False ;
d14a1e28
RD
22069 PyObject * obj0 = 0 ;
22070 PyObject * obj1 = 0 ;
22071 PyObject * obj2 = 0 ;
22072 PyObject * obj3 = 0 ;
22073 PyObject * obj4 = 0 ;
994141e6 22074 PyObject * obj5 = 0 ;
d14a1e28
RD
22075 PyObject * obj6 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22078 };
22079
994141e6 22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22085 {
22086 arg3 = wxString_in_helper(obj2);
22087 if (arg3 == NULL) SWIG_fail;
e811c8ce 22088 temp3 = True;
d14a1e28
RD
22089 }
22090 if (obj3) {
22091 {
22092 arg4 = &temp4;
22093 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22094 }
22095 }
22096 if (obj4) {
22097 {
22098 arg5 = &temp5;
22099 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22100 }
22101 }
994141e6 22102 if (obj5) {
15afbcd0
RD
22103 arg6 = (long) SWIG_AsLong(obj5);
22104 if (PyErr_Occurred()) SWIG_fail;
994141e6 22105 }
d14a1e28
RD
22106 if (obj6) {
22107 {
22108 arg7 = wxString_in_helper(obj6);
22109 if (arg7 == NULL) SWIG_fail;
e811c8ce 22110 temp7 = True;
d14a1e28
RD
22111 }
22112 }
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22116
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
15afbcd0 22120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
22121 {
22122 if (temp3)
22123 delete arg3;
22124 }
22125 {
22126 if (temp7)
22127 delete arg7;
22128 }
22129 return resultobj;
22130 fail:
22131 {
22132 if (temp3)
22133 delete arg3;
22134 }
22135 {
22136 if (temp7)
22137 delete arg7;
22138 }
22139 return NULL;
22140}
22141
22142
22143static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22146 PyObject * obj0 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 (arg1)->Initialize();
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 Py_INCREF(Py_None); resultobj = Py_None;
22162 return resultobj;
22163 fail:
22164 return NULL;
22165}
22166
22167
22168static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22171 PyObject * obj0 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
22177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->CreateControlBar();
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_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
22202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 (arg1)->CreateCanvas();
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 Py_INCREF(Py_None); resultobj = Py_None;
22212 return resultobj;
22213 fail:
22214 return NULL;
22215}
22216
22217
22218static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22221 wxPreviewControlBar *result;
22222 PyObject * obj0 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
22228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
15afbcd0 22237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
22238 return resultobj;
22239 fail:
22240 return NULL;
22241}
22242
22243
22244static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22245 PyObject *obj;
22246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22247 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22248 Py_INCREF(obj);
22249 return Py_BuildValue((char *)"");
22250}
22251static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj;
22253 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22254 long arg2 ;
22255 wxWindow *arg3 = (wxWindow *) 0 ;
22256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22258 wxSize const &arg5_defvalue = wxDefaultSize ;
22259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22260 long arg6 = (long) wxTAB_TRAVERSAL ;
22261 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22262 wxString *arg7 = (wxString *) &arg7_defvalue ;
22263 wxPreviewControlBar *result;
22264 wxPoint temp4 ;
22265 wxSize temp5 ;
e811c8ce 22266 bool temp7 = False ;
d14a1e28 22267 PyObject * obj0 = 0 ;
994141e6 22268 PyObject * obj1 = 0 ;
d14a1e28
RD
22269 PyObject * obj2 = 0 ;
22270 PyObject * obj3 = 0 ;
22271 PyObject * obj4 = 0 ;
994141e6 22272 PyObject * obj5 = 0 ;
d14a1e28
RD
22273 PyObject * obj6 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22276 };
22277
994141e6 22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22281 arg2 = (long) SWIG_AsLong(obj1);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22285 if (obj3) {
22286 {
22287 arg4 = &temp4;
22288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22289 }
22290 }
22291 if (obj4) {
22292 {
22293 arg5 = &temp5;
22294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22295 }
22296 }
994141e6 22297 if (obj5) {
15afbcd0
RD
22298 arg6 = (long) SWIG_AsLong(obj5);
22299 if (PyErr_Occurred()) SWIG_fail;
994141e6 22300 }
d14a1e28
RD
22301 if (obj6) {
22302 {
22303 arg7 = wxString_in_helper(obj6);
22304 if (arg7 == NULL) SWIG_fail;
e811c8ce 22305 temp7 = True;
d14a1e28
RD
22306 }
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
15afbcd0 22315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
22316 {
22317 if (temp7)
22318 delete arg7;
22319 }
22320 return resultobj;
22321 fail:
22322 {
22323 if (temp7)
22324 delete arg7;
22325 }
22326 return NULL;
22327}
22328
22329
22330static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22333 int result;
22334 PyObject * obj0 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (int)(arg1)->GetZoomControl();
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
15afbcd0 22349 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22350 return resultobj;
22351 fail:
22352 return NULL;
22353}
22354
22355
22356static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22359 int arg2 ;
22360 PyObject * obj0 = 0 ;
994141e6 22361 PyObject * obj1 = 0 ;
d14a1e28
RD
22362 char *kwnames[] = {
22363 (char *) "self",(char *) "zoom", NULL
22364 };
22365
994141e6 22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 arg2 = (int) SWIG_AsInt(obj1);
22370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 (arg1)->SetZoomControl(arg2);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 Py_INCREF(Py_None); resultobj = Py_None;
22379 return resultobj;
22380 fail:
22381 return NULL;
22382}
22383
22384
22385static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22388 wxPrintPreview *result;
22389 PyObject * obj0 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self", NULL
22392 };
22393
22394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
22395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
15afbcd0 22404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
22405 return resultobj;
22406 fail:
22407 return NULL;
22408}
22409
22410
22411static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22412 PyObject *resultobj;
22413 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
22420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 (arg1)->OnNext();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 Py_INCREF(Py_None); resultobj = Py_None;
22430 return resultobj;
22431 fail:
22432 return NULL;
22433}
22434
22435
22436static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
22445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->OnPrevious();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 Py_INCREF(Py_None); resultobj = Py_None;
22455 return resultobj;
22456 fail:
22457 return NULL;
22458}
22459
22460
22461static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22464 PyObject * obj0 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
15afbcd0
RD
22470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 (arg1)->OnFirst();
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 Py_INCREF(Py_None); resultobj = Py_None;
22480 return resultobj;
22481 fail:
22482 return NULL;
22483}
22484
22485
22486static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22489 PyObject * obj0 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
15afbcd0
RD
22495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->OnLast();
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 Py_INCREF(Py_None); resultobj = Py_None;
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
22511static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22514 PyObject * obj0 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
15afbcd0
RD
22520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22522 {
22523 PyThreadState* __tstate = wxPyBeginAllowThreads();
22524 (arg1)->OnGoto();
22525
22526 wxPyEndAllowThreads(__tstate);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 }
22529 Py_INCREF(Py_None); resultobj = Py_None;
22530 return resultobj;
22531 fail:
22532 return NULL;
22533}
22534
22535
22536static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22537 PyObject *obj;
22538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22539 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22540 Py_INCREF(obj);
22541 return Py_BuildValue((char *)"");
22542}
4276dc52 22543static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
22544 PyObject *resultobj;
22545 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22546 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 22547 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
22548 wxPrintPreview *result;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 PyObject * obj2 = 0 ;
d14a1e28 22552
4276dc52 22553 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22558 if (obj2) {
4276dc52 22559 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 22560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22561 }
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
15afbcd0 22569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
4276dc52
RD
22576static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22577 PyObject *resultobj;
22578 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22579 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22580 wxPrintData *arg3 = (wxPrintData *) 0 ;
22581 wxPrintPreview *result;
22582 PyObject * obj0 = 0 ;
22583 PyObject * obj1 = 0 ;
22584 PyObject * obj2 = 0 ;
22585
22586 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22596
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22601 return resultobj;
22602 fail:
22603 return NULL;
22604}
22605
22606
22607static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22608 int argc;
22609 PyObject *argv[4];
22610 int ii;
22611
22612 argc = PyObject_Length(args);
22613 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22614 argv[ii] = PyTuple_GetItem(args,ii);
22615 }
22616 if ((argc >= 2) && (argc <= 3)) {
22617 int _v;
22618 {
22619 void *ptr;
22620 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22621 _v = 0;
22622 PyErr_Clear();
22623 } else {
22624 _v = 1;
22625 }
22626 }
22627 if (_v) {
22628 {
22629 void *ptr;
22630 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22631 _v = 0;
22632 PyErr_Clear();
22633 } else {
22634 _v = 1;
22635 }
22636 }
22637 if (_v) {
22638 if (argc <= 2) {
22639 return _wrap_new_PrintPreview__SWIG_0(self,args);
22640 }
22641 {
22642 void *ptr;
22643 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22644 _v = 0;
22645 PyErr_Clear();
22646 } else {
22647 _v = 1;
22648 }
22649 }
22650 if (_v) {
22651 return _wrap_new_PrintPreview__SWIG_0(self,args);
22652 }
22653 }
22654 }
22655 }
22656 if (argc == 3) {
22657 int _v;
22658 {
22659 void *ptr;
22660 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22661 _v = 0;
22662 PyErr_Clear();
22663 } else {
22664 _v = 1;
22665 }
22666 }
22667 if (_v) {
22668 {
22669 void *ptr;
22670 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22671 _v = 0;
22672 PyErr_Clear();
22673 } else {
22674 _v = 1;
22675 }
22676 }
22677 if (_v) {
22678 {
22679 void *ptr;
22680 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22681 _v = 0;
22682 PyErr_Clear();
22683 } else {
22684 _v = 1;
22685 }
22686 }
22687 if (_v) {
22688 return _wrap_new_PrintPreview__SWIG_1(self,args);
22689 }
22690 }
22691 }
22692 }
22693
22694 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22695 return NULL;
22696}
22697
22698
d14a1e28
RD
22699static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22702 int arg2 ;
22703 bool result;
22704 PyObject * obj0 = 0 ;
994141e6 22705 PyObject * obj1 = 0 ;
d14a1e28
RD
22706 char *kwnames[] = {
22707 (char *) "self",(char *) "pageNum", NULL
22708 };
22709
994141e6 22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22713 arg2 = (int) SWIG_AsInt(obj1);
22714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 result = (bool)(arg1)->SetCurrentPage(arg2);
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
4f89f6a3
RD
22722 {
22723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22724 }
d14a1e28
RD
22725 return resultobj;
22726 fail:
22727 return NULL;
22728}
22729
22730
22731static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22732 PyObject *resultobj;
22733 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22734 int result;
22735 PyObject * obj0 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 result = (int)(arg1)->GetCurrentPage();
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
15afbcd0 22750 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22751 return resultobj;
22752 fail:
22753 return NULL;
22754}
22755
22756
22757static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22760 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self",(char *) "printout", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->SetPrintout(arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 Py_INCREF(Py_None); resultobj = Py_None;
22780 return resultobj;
22781 fail:
22782 return NULL;
22783}
22784
22785
22786static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj;
22788 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22789 wxPyPrintout *result;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
15afbcd0
RD
22796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (wxPyPrintout *)(arg1)->GetPrintout();
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 {
22806 resultobj = wxPyMake_wxObject(result);
22807 }
22808 return resultobj;
22809 fail:
22810 return NULL;
22811}
22812
22813
22814static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22817 wxPyPrintout *result;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 {
22834 resultobj = wxPyMake_wxObject(result);
22835 }
22836 return resultobj;
22837 fail:
22838 return NULL;
22839}
22840
22841
22842static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22845 wxFrame *arg2 = (wxFrame *) 0 ;
22846 PyObject * obj0 = 0 ;
22847 PyObject * obj1 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "self",(char *) "frame", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22857 {
22858 PyThreadState* __tstate = wxPyBeginAllowThreads();
22859 (arg1)->SetFrame(arg2);
22860
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
22864 Py_INCREF(Py_None); resultobj = Py_None;
22865 return resultobj;
22866 fail:
22867 return NULL;
22868}
22869
22870
22871static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22874 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self",(char *) "canvas", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 (arg1)->SetCanvas(arg2);
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 Py_INCREF(Py_None); resultobj = Py_None;
22894 return resultobj;
22895 fail:
22896 return NULL;
22897}
22898
22899
22900static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22903 wxFrame *result;
22904 PyObject * obj0 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self", NULL
22907 };
22908
22909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
22910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 result = (wxFrame *)(arg1)->GetFrame();
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 {
22920 resultobj = wxPyMake_wxObject(result);
22921 }
22922 return resultobj;
22923 fail:
22924 return NULL;
22925}
22926
22927
22928static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj;
22930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22931 wxPreviewCanvas *result;
22932 PyObject * obj0 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
22938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22940 {
22941 PyThreadState* __tstate = wxPyBeginAllowThreads();
22942 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22943
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
15afbcd0 22947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
22948 return resultobj;
22949 fail:
22950 return NULL;
22951}
22952
22953
22954static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22955 PyObject *resultobj;
22956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22957 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22958 wxDC *arg3 = 0 ;
22959 bool result;
22960 PyObject * obj0 = 0 ;
22961 PyObject * obj1 = 0 ;
22962 PyObject * obj2 = 0 ;
22963 char *kwnames[] = {
22964 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22965 };
22966
22967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22972 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1)
22974 SWIG_fail;
d14a1e28 22975 if (arg3 == NULL) {
15afbcd0
RD
22976 PyErr_SetString(PyExc_TypeError,"null reference");
22977 SWIG_fail;
d14a1e28
RD
22978 }
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
4f89f6a3
RD
22986 {
22987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22988 }
d14a1e28
RD
22989 return resultobj;
22990 fail:
22991 return NULL;
22992}
22993
22994
22995static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22998 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22999 wxDC *arg3 = 0 ;
23000 bool result;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 PyObject * obj2 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1)
23015 SWIG_fail;
d14a1e28 23016 if (arg3 == NULL) {
15afbcd0
RD
23017 PyErr_SetString(PyExc_TypeError,"null reference");
23018 SWIG_fail;
d14a1e28
RD
23019 }
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
4f89f6a3
RD
23027 {
23028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23029 }
d14a1e28
RD
23030 return resultobj;
23031 fail:
23032 return NULL;
23033}
23034
23035
23036static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23039 int arg2 ;
23040 bool result;
23041 PyObject * obj0 = 0 ;
994141e6 23042 PyObject * obj1 = 0 ;
d14a1e28
RD
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "pageNum", NULL
23045 };
23046
994141e6 23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 arg2 = (int) SWIG_AsInt(obj1);
23051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (bool)(arg1)->RenderPage(arg2);
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
4f89f6a3
RD
23059 {
23060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23061 }
d14a1e28
RD
23062 return resultobj;
23063 fail:
23064 return NULL;
23065}
23066
23067
23068static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23069 PyObject *resultobj;
23070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23071 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self",(char *) "canvas", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 (arg1)->AdjustScrollbars(arg2);
23086
23087 wxPyEndAllowThreads(__tstate);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 }
23090 Py_INCREF(Py_None); resultobj = Py_None;
23091 return resultobj;
23092 fail:
23093 return NULL;
23094}
23095
23096
23097static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23098 PyObject *resultobj;
23099 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23100 wxPrintDialogData *result;
23101 PyObject * obj0 = 0 ;
23102 char *kwnames[] = {
23103 (char *) "self", NULL
23104 };
23105
23106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
23107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23109 {
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 {
23112 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23113 result = (wxPrintDialogData *) &_result_ref;
23114 }
23115
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
15afbcd0 23119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
23120 return resultobj;
23121 fail:
23122 return NULL;
23123}
23124
23125
23126static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23129 int arg2 ;
23130 PyObject * obj0 = 0 ;
994141e6 23131 PyObject * obj1 = 0 ;
d14a1e28
RD
23132 char *kwnames[] = {
23133 (char *) "self",(char *) "percent", NULL
23134 };
23135
994141e6 23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 arg2 = (int) SWIG_AsInt(obj1);
23140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->SetZoom(arg2);
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 *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23158 int result;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
15afbcd0
RD
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (int)(arg1)->GetZoom();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
15afbcd0 23174 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
23181static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23184 int result;
23185 PyObject * obj0 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23193 {
23194 PyThreadState* __tstate = wxPyBeginAllowThreads();
23195 result = (int)(arg1)->GetMaxPage();
23196
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
15afbcd0 23200 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23201 return resultobj;
23202 fail:
23203 return NULL;
23204}
23205
23206
23207static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23210 int result;
23211 PyObject * obj0 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23219 {
23220 PyThreadState* __tstate = wxPyBeginAllowThreads();
23221 result = (int)(arg1)->GetMinPage();
23222
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
15afbcd0 23226 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23227 return resultobj;
23228 fail:
23229 return NULL;
23230}
23231
23232
23233static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23236 bool result;
23237 PyObject * obj0 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
23243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = (bool)(arg1)->Ok();
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
4f89f6a3
RD
23252 {
23253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23254 }
d14a1e28
RD
23255 return resultobj;
23256 fail:
23257 return NULL;
23258}
23259
23260
23261static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23264 bool arg2 ;
23265 PyObject * obj0 = 0 ;
23266 PyObject * obj1 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self",(char *) "ok", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23274 arg2 = (bool) SWIG_AsBool(obj1);
23275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 (arg1)->SetOk(arg2);
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 Py_INCREF(Py_None); resultobj = Py_None;
23284 return resultobj;
23285 fail:
23286 return NULL;
23287}
23288
23289
23290static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23293 bool arg2 ;
23294 bool result;
23295 PyObject * obj0 = 0 ;
23296 PyObject * obj1 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self",(char *) "interactive", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 arg2 = (bool) SWIG_AsBool(obj1);
23305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (bool)(arg1)->Print(arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
4f89f6a3
RD
23313 {
23314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23315 }
d14a1e28
RD
23316 return resultobj;
23317 fail:
23318 return NULL;
23319}
23320
23321
23322static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23325 PyObject * obj0 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
23331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->DetermineScaling();
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 return resultobj;
23342 fail:
23343 return NULL;
23344}
23345
23346
23347static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23348 PyObject *obj;
23349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23350 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23351 Py_INCREF(obj);
23352 return Py_BuildValue((char *)"");
23353}
4276dc52 23354static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23355 PyObject *resultobj;
23356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23357 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 23358 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
23359 wxPyPrintPreview *result;
23360 PyObject * obj0 = 0 ;
23361 PyObject * obj1 = 0 ;
23362 PyObject * obj2 = 0 ;
d14a1e28 23363
4276dc52 23364 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23369 if (obj2) {
4276dc52 23370 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 23371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23372 }
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
15afbcd0 23380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
23381 return resultobj;
23382 fail:
23383 return NULL;
23384}
23385
23386
4276dc52
RD
23387static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23388 PyObject *resultobj;
23389 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23390 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23391 wxPrintData *arg3 = (wxPrintData *) 0 ;
23392 wxPyPrintPreview *result;
23393 PyObject * obj0 = 0 ;
23394 PyObject * obj1 = 0 ;
23395 PyObject * obj2 = 0 ;
23396
23397 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23412 return resultobj;
23413 fail:
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23419 int argc;
23420 PyObject *argv[4];
23421 int ii;
23422
23423 argc = PyObject_Length(args);
23424 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23425 argv[ii] = PyTuple_GetItem(args,ii);
23426 }
23427 if ((argc >= 2) && (argc <= 3)) {
23428 int _v;
23429 {
23430 void *ptr;
23431 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23432 _v = 0;
23433 PyErr_Clear();
23434 } else {
23435 _v = 1;
23436 }
23437 }
23438 if (_v) {
23439 {
23440 void *ptr;
23441 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23442 _v = 0;
23443 PyErr_Clear();
23444 } else {
23445 _v = 1;
23446 }
23447 }
23448 if (_v) {
23449 if (argc <= 2) {
23450 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23451 }
23452 {
23453 void *ptr;
23454 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23455 _v = 0;
23456 PyErr_Clear();
23457 } else {
23458 _v = 1;
23459 }
23460 }
23461 if (_v) {
23462 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23463 }
23464 }
23465 }
23466 }
23467 if (argc == 3) {
23468 int _v;
23469 {
23470 void *ptr;
23471 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23472 _v = 0;
23473 PyErr_Clear();
23474 } else {
23475 _v = 1;
23476 }
23477 }
23478 if (_v) {
23479 {
23480 void *ptr;
23481 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23482 _v = 0;
23483 PyErr_Clear();
23484 } else {
23485 _v = 1;
23486 }
23487 }
23488 if (_v) {
23489 {
23490 void *ptr;
23491 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23492 _v = 0;
23493 PyErr_Clear();
23494 } else {
23495 _v = 1;
23496 }
23497 }
23498 if (_v) {
23499 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23500 }
23501 }
23502 }
23503 }
23504
23505 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23506 return NULL;
23507}
23508
23509
d14a1e28
RD
23510static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23513 PyObject *arg2 = (PyObject *) 0 ;
23514 PyObject *arg3 = (PyObject *) 0 ;
23515 PyObject * obj0 = 0 ;
23516 PyObject * obj1 = 0 ;
23517 PyObject * obj2 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "self",(char *) "self",(char *) "_class", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23525 arg2 = obj1;
23526 arg3 = obj2;
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 (arg1)->_setCallbackInfo(arg2,arg3);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 Py_INCREF(Py_None); resultobj = Py_None;
23535 return resultobj;
23536 fail:
23537 return NULL;
23538}
23539
23540
23541static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23544 int arg2 ;
23545 bool result;
23546 PyObject * obj0 = 0 ;
994141e6 23547 PyObject * obj1 = 0 ;
d14a1e28
RD
23548 char *kwnames[] = {
23549 (char *) "self",(char *) "pageNum", NULL
23550 };
23551
994141e6 23552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23555 arg2 = (int) SWIG_AsInt(obj1);
23556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
4f89f6a3
RD
23564 {
23565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23566 }
d14a1e28
RD
23567 return resultobj;
23568 fail:
23569 return NULL;
23570}
23571
23572
23573static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23576 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23577 wxDC *arg3 = 0 ;
23578 bool result;
23579 PyObject * obj0 = 0 ;
23580 PyObject * obj1 = 0 ;
23581 PyObject * obj2 = 0 ;
23582 char *kwnames[] = {
23583 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23584 };
23585
23586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23592 SWIG_POINTER_EXCEPTION | 0)) == -1)
23593 SWIG_fail;
d14a1e28 23594 if (arg3 == NULL) {
15afbcd0
RD
23595 PyErr_SetString(PyExc_TypeError,"null reference");
23596 SWIG_fail;
d14a1e28
RD
23597 }
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
4f89f6a3
RD
23605 {
23606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23607 }
d14a1e28
RD
23608 return resultobj;
23609 fail:
23610 return NULL;
23611}
23612
23613
23614static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23617 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23618 wxDC *arg3 = 0 ;
23619 bool result;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 PyObject * obj2 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23632 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1)
23634 SWIG_fail;
d14a1e28 23635 if (arg3 == NULL) {
15afbcd0
RD
23636 PyErr_SetString(PyExc_TypeError,"null reference");
23637 SWIG_fail;
d14a1e28
RD
23638 }
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
4f89f6a3
RD
23646 {
23647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23648 }
d14a1e28
RD
23649 return resultobj;
23650 fail:
23651 return NULL;
23652}
23653
23654
23655static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23658 int arg2 ;
23659 bool result;
23660 PyObject * obj0 = 0 ;
994141e6 23661 PyObject * obj1 = 0 ;
d14a1e28
RD
23662 char *kwnames[] = {
23663 (char *) "self",(char *) "pageNum", NULL
23664 };
23665
994141e6 23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23669 arg2 = (int) SWIG_AsInt(obj1);
23670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (bool)(arg1)->base_RenderPage(arg2);
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
4f89f6a3
RD
23678 {
23679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23680 }
d14a1e28
RD
23681 return resultobj;
23682 fail:
23683 return NULL;
23684}
23685
23686
23687static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23688 PyObject *resultobj;
23689 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23690 int arg2 ;
23691 PyObject * obj0 = 0 ;
994141e6 23692 PyObject * obj1 = 0 ;
d14a1e28
RD
23693 char *kwnames[] = {
23694 (char *) "self",(char *) "percent", NULL
23695 };
23696
994141e6 23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23700 arg2 = (int) SWIG_AsInt(obj1);
23701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 (arg1)->base_SetZoom(arg2);
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 Py_INCREF(Py_None); resultobj = Py_None;
23710 return resultobj;
23711 fail:
23712 return NULL;
23713}
23714
23715
23716static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23719 bool arg2 ;
23720 bool result;
23721 PyObject * obj0 = 0 ;
23722 PyObject * obj1 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self",(char *) "interactive", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 arg2 = (bool) SWIG_AsBool(obj1);
23731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (bool)(arg1)->base_Print(arg2);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
4f89f6a3
RD
23739 {
23740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23741 }
d14a1e28
RD
23742 return resultobj;
23743 fail:
23744 return NULL;
23745}
23746
23747
23748static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
23757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->base_DetermineScaling();
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770}
23771
23772
23773static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23774 PyObject *obj;
23775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23776 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23777 Py_INCREF(obj);
23778 return Py_BuildValue((char *)"");
23779}
23780static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23783 wxFrame *arg2 = (wxFrame *) 0 ;
23784 wxString *arg3 = 0 ;
23785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23787 wxSize const &arg5_defvalue = wxDefaultSize ;
23788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23789 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23790 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23791 wxString *arg7 = (wxString *) &arg7_defvalue ;
23792 wxPyPreviewFrame *result;
e811c8ce 23793 bool temp3 = False ;
d14a1e28
RD
23794 wxPoint temp4 ;
23795 wxSize temp5 ;
e811c8ce 23796 bool temp7 = False ;
d14a1e28
RD
23797 PyObject * obj0 = 0 ;
23798 PyObject * obj1 = 0 ;
23799 PyObject * obj2 = 0 ;
23800 PyObject * obj3 = 0 ;
23801 PyObject * obj4 = 0 ;
994141e6 23802 PyObject * obj5 = 0 ;
d14a1e28
RD
23803 PyObject * obj6 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23806 };
23807
994141e6 23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23813 {
23814 arg3 = wxString_in_helper(obj2);
23815 if (arg3 == NULL) SWIG_fail;
e811c8ce 23816 temp3 = True;
d14a1e28
RD
23817 }
23818 if (obj3) {
23819 {
23820 arg4 = &temp4;
23821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23822 }
23823 }
23824 if (obj4) {
23825 {
23826 arg5 = &temp5;
23827 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23828 }
23829 }
994141e6 23830 if (obj5) {
15afbcd0
RD
23831 arg6 = (long) SWIG_AsLong(obj5);
23832 if (PyErr_Occurred()) SWIG_fail;
994141e6 23833 }
d14a1e28
RD
23834 if (obj6) {
23835 {
23836 arg7 = wxString_in_helper(obj6);
23837 if (arg7 == NULL) SWIG_fail;
e811c8ce 23838 temp7 = True;
d14a1e28
RD
23839 }
23840 }
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
15afbcd0 23848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
23849 {
23850 if (temp3)
23851 delete arg3;
23852 }
23853 {
23854 if (temp7)
23855 delete arg7;
23856 }
23857 return resultobj;
23858 fail:
23859 {
23860 if (temp3)
23861 delete arg3;
23862 }
23863 {
23864 if (temp7)
23865 delete arg7;
23866 }
23867 return NULL;
23868}
23869
23870
23871static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23872 PyObject *resultobj;
23873 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23874 PyObject *arg2 = (PyObject *) 0 ;
23875 PyObject *arg3 = (PyObject *) 0 ;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 PyObject * obj2 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "self",(char *) "self",(char *) "_class", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23886 arg2 = obj1;
23887 arg3 = obj2;
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 (arg1)->_setCallbackInfo(arg2,arg3);
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
23895 Py_INCREF(Py_None); resultobj = Py_None;
23896 return resultobj;
23897 fail:
23898 return NULL;
23899}
23900
23901
23902static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23903 PyObject *resultobj;
23904 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23905 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj1 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self",(char *) "canvas", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->SetPreviewCanvas(arg2);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 Py_INCREF(Py_None); resultobj = Py_None;
23925 return resultobj;
23926 fail:
23927 return NULL;
23928}
23929
23930
23931static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23934 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23935 PyObject * obj0 = 0 ;
23936 PyObject * obj1 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "bar", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 (arg1)->SetControlBar(arg2);
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_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj;
23962 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "self", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 (arg1)->base_Initialize();
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 Py_INCREF(Py_None); resultobj = Py_None;
23979 return resultobj;
23980 fail:
23981 return NULL;
23982}
23983
23984
23985static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23986 PyObject *resultobj;
23987 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
23994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->base_CreateCanvas();
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 Py_INCREF(Py_None); resultobj = Py_None;
24004 return resultobj;
24005 fail:
24006 return NULL;
24007}
24008
24009
24010static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24013 PyObject * obj0 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
24019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->base_CreateControlBar();
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032}
24033
24034
24035static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24036 PyObject *obj;
24037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24038 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24039 Py_INCREF(obj);
24040 return Py_BuildValue((char *)"");
24041}
24042static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24045 long arg2 ;
24046 wxWindow *arg3 = (wxWindow *) 0 ;
24047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24049 wxSize const &arg5_defvalue = wxDefaultSize ;
24050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24051 long arg6 = (long) 0 ;
24052 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24053 wxString *arg7 = (wxString *) &arg7_defvalue ;
24054 wxPyPreviewControlBar *result;
24055 wxPoint temp4 ;
24056 wxSize temp5 ;
e811c8ce 24057 bool temp7 = False ;
d14a1e28 24058 PyObject * obj0 = 0 ;
994141e6 24059 PyObject * obj1 = 0 ;
d14a1e28
RD
24060 PyObject * obj2 = 0 ;
24061 PyObject * obj3 = 0 ;
24062 PyObject * obj4 = 0 ;
994141e6 24063 PyObject * obj5 = 0 ;
d14a1e28
RD
24064 PyObject * obj6 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24067 };
24068
994141e6 24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24072 arg2 = (long) SWIG_AsLong(obj1);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24076 if (obj3) {
24077 {
24078 arg4 = &temp4;
24079 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24080 }
24081 }
24082 if (obj4) {
24083 {
24084 arg5 = &temp5;
24085 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24086 }
24087 }
994141e6 24088 if (obj5) {
15afbcd0
RD
24089 arg6 = (long) SWIG_AsLong(obj5);
24090 if (PyErr_Occurred()) SWIG_fail;
994141e6 24091 }
d14a1e28
RD
24092 if (obj6) {
24093 {
24094 arg7 = wxString_in_helper(obj6);
24095 if (arg7 == NULL) SWIG_fail;
e811c8ce 24096 temp7 = True;
d14a1e28
RD
24097 }
24098 }
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
15afbcd0 24106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
24107 {
24108 if (temp7)
24109 delete arg7;
24110 }
24111 return resultobj;
24112 fail:
24113 {
24114 if (temp7)
24115 delete arg7;
24116 }
24117 return NULL;
24118}
24119
24120
24121static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj;
24123 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24124 PyObject *arg2 = (PyObject *) 0 ;
24125 PyObject *arg3 = (PyObject *) 0 ;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
24128 PyObject * obj2 = 0 ;
24129 char *kwnames[] = {
24130 (char *) "self",(char *) "self",(char *) "_class", NULL
24131 };
24132
24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24136 arg2 = obj1;
24137 arg3 = obj2;
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 (arg1)->_setCallbackInfo(arg2,arg3);
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 Py_INCREF(Py_None); resultobj = Py_None;
24146 return resultobj;
24147 fail:
24148 return NULL;
24149}
24150
24151
24152static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj;
24154 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24155 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 char *kwnames[] = {
24159 (char *) "self",(char *) "preview", NULL
24160 };
24161
24162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 (arg1)->SetPrintPreview(arg2);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 Py_INCREF(Py_None); resultobj = Py_None;
24175 return resultobj;
24176 fail:
24177 return NULL;
24178}
24179
24180
24181static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24182 PyObject *resultobj;
24183 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24184 PyObject * obj0 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
24190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->base_CreateButtons();
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 Py_INCREF(Py_None); resultobj = Py_None;
24200 return resultobj;
24201 fail:
24202 return NULL;
24203}
24204
24205
24206static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24209 int arg2 ;
24210 PyObject * obj0 = 0 ;
994141e6 24211 PyObject * obj1 = 0 ;
d14a1e28
RD
24212 char *kwnames[] = {
24213 (char *) "self",(char *) "zoom", NULL
24214 };
24215
994141e6 24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24219 arg2 = (int) SWIG_AsInt(obj1);
24220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 (arg1)->base_SetZoomControl(arg2);
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 Py_INCREF(Py_None); resultobj = Py_None;
24229 return resultobj;
24230 fail:
24231 return NULL;
24232}
24233
24234
24235static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24236 PyObject *obj;
24237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24238 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24239 Py_INCREF(obj);
24240 return Py_BuildValue((char *)"");
24241}
24242static PyMethodDef SwigMethods[] = {
24243 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24244 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24245 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24246 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24247 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24248 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24249 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24250 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24251 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24252 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24253 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24254 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24255 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24256 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24257 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24258 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24259 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24260 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24261 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24262 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24263 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24264 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24265 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24266 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24267 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24268 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
24269 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24270 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24271 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24272 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24273 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24274 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24276 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24278 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24283 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24299 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24306 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24313 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24316 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24317 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24321 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24325 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24330 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24345 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
d00d1b88 24357 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24358 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24372 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24379 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24402 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24410 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24422 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24428 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24437 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24443 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24448 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24454 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24458 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24476 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24502 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24509 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
74a57fcd 24511 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24512 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24518 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24520 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24529 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24531 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24532 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24538 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24539 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24557 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24561 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24565 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24566 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24569 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24570 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
15afbcd0 24586 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24587 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24588 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24589 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24590 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24591 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24595 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24604 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24613 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24619 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24631 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24638 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24642 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 24643 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24644 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
24663 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24665 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24666 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 24667 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24668 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
24687 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24689 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
1cb4a8aa
RD
24690 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
24714 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
db914595
RD
24757 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24759 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24760 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24792 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
4276dc52 24796 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
d14a1e28
RD
24797 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24830 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24835 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24846 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24851 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
322913ce 24852 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24853 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24866 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
322913ce 24867 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24868 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24869 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24871 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24877 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
4276dc52 24887 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
d14a1e28
RD
24888 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
4276dc52 24911 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
d14a1e28
RD
24912 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24921 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24929 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24935 { NULL, NULL }
24936};
24937
24938
24939/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24940
24941static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24942 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24943}
24944static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24945 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24946}
24947static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24948 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24949}
24950static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24951 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24952}
24953static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24954 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24955}
24956static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24957 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24958}
24959static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24960 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24961}
24962static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24963 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24964}
24965static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24966 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24967}
24968static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24970}
24971static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24973}
24974static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24975 return (void *)((wxEvent *) ((wxPyEvent *) x));
24976}
24977static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24979}
24980static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24981 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24982}
24983static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24984 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24985}
24986static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24988}
24989static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24990 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24991}
24992static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24993 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24994}
24995static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24996 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24997}
24998static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24999 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25000}
25001static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25002 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25003}
25004static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25005 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25006}
25007static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25008 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25009}
25010static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25011 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25012}
25013static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25014 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25015}
25016static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25017 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25018}
25019static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25020 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25021}
25022static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25023 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25024}
25025static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25026 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25027}
25028static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25029 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25030}
25031static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25032 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25033}
25034static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25035 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25036}
25037static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25038 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25039}
25040static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25041 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25042}
25043static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25044 return (void *)((wxEvent *) ((wxShowEvent *) x));
25045}
25046static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25047 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25048}
25049static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25050 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25051}
25052static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25054}
25055static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25056 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25057}
25058static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25059 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25060}
25061static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25062 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25063}
25064static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25065 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25066}
25067static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25068 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25069}
25070static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25071 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25072}
25073static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25074 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25075}
25076static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25077 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25078}
25079static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25080 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25081}
25082static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25083 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25084}
25085static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25086 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25087}
25088static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25089 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25090}
25091static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25093}
25094static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25096}
25097static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25099}
25100static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25102}
25103static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25105}
25106static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25108}
25109static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25111}
25112static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25114}
25115static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25117}
25118static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25120}
25121static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25123}
25124static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25126}
25127static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25129}
25130static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25131 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25132}
25133static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25135}
25136static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25138}
25139static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25140 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25141}
25142static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25143 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25144}
25145static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25146 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25147}
25148static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25150}
25151static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25153}
1cb4a8aa
RD
25154static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25156}
d14a1e28
RD
25157static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25158 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25159}
25160static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25161 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25162}
25163static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25165}
25166static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25168}
25169static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25170 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25171}
25172static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25174}
25175static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25176 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25177}
25178static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25179 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25180}
25181static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25182 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25183}
25184static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25186}
25187static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25188 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25189}
25190static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25192}
25193static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25194 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25195}
25196static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25198}
25199static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25201}
25202static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25204}
25205static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25207}
25208static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25210}
25211static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25212 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25213}
25214static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25215 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25216}
25217static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25218 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25219}
25220static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25221 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25222}
25223static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25224 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25225}
25226static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25227 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25228}
25229static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25230 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25231}
25232static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25233 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25234}
25235static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25236 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25237}
25238static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25239 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25240}
25241static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25242 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25243}
25244static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25245 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25246}
25247static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25248 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25249}
25250static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25252}
25253static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25255}
25256static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25257 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25258}
25259static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25260 return (void *)((wxObject *) ((wxSizerItem *) x));
25261}
25262static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25264}
25265static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25266 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25267}
25268static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25269 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25270}
25271static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25272 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25273}
25274static void *_p_wxSizerTo_p_wxObject(void *x) {
25275 return (void *)((wxObject *) ((wxSizer *) x));
25276}
25277static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25278 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25279}
25280static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25282}
25283static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25285}
25286static void *_p_wxEventTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) ((wxEvent *) x));
25288}
25289static void *_p_wxFontDataTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) ((wxFontData *) x));
25291}
25292static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) ((wxPrintData *) x));
25294}
25295static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25297}
25298static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25300}
25301static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25303}
25304static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25306}
25307static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25309}
25310static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25312}
25313static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25315}
25316static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25318}
25319static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25321}
25322static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25324}
25325static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25327}
25328static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25330}
25331static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25333}
25334static void *_p_wxControlTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25336}
25337static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25339}
25340static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25342}
25343static void *_p_wxFSFileTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) ((wxFSFile *) x));
25345}
25346static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25348}
25349static void *_p_wxPySizerTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25351}
25352static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25354}
25355static void *_p_wxColourDataTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) ((wxColourData *) x));
25357}
25358static void *_p_wxPyEventTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25360}
25361static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25363}
25364static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25366}
25367static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25369}
25370static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25372}
25373static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25375}
25376static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25378}
25379static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25381}
25382static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25384}
25385static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25387}
25388static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25390}
25391static void *_p_wxShowEventTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25393}
25394static void *_p_wxPrinterTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) ((wxPrinter *) x));
25396}
25397static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) ((wxMenuItem *) x));
25399}
25400static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25402}
25403static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25405}
25406static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25408}
25409static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25411}
25412static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25414}
25415static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25417}
25418static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25420}
25421static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25423}
25424static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25426}
25427static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25429}
25430static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25432}
25433static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25435}
25436static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25438}
25439static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25441}
25442static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25444}
25445static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25447}
25448static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25450}
25451static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25453}
25454static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) ((wxImageHandler *) x));
25456}
25457static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25459}
25460static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) ((wxEvtHandler *) x));
25462}
25463static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25465}
25466static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25468}
25469static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25471}
25472static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25474}
25475static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25477}
25478static void *_p_wxImageTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) ((wxImage *) x));
25480}
25481static void *_p_wxFrameTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25483}
25484static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) ((wxPyPrintout *) x));
25486}
25487static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25489}
25490static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25492}
25493static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25495}
25496static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25498}
25499static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25501}
25502static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25504}
25505static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25507}
d14a1e28
RD
25508static void *_p_wxWindowTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25510}
25511static void *_p_wxMenuTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25513}
25514static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25516}
1e0c8722
RD
25517static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25519}
d14a1e28
RD
25520static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25522}
25523static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25525}
25526static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25528}
25529static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25531}
25532static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25534}
25535static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25537}
25538static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25540}
25541static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25543}
25544static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25546}
25547static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25549}
1cb4a8aa
RD
25550static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25552}
d14a1e28
RD
25553static void *_p_wxSashEventTo_p_wxObject(void *x) {
25554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25555}
25556static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25557 return (void *)((wxObject *) ((wxPrintPreview *) x));
25558}
25559static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25560 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25561}
25562static void *_p_wxPanelTo_p_wxObject(void *x) {
25563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25564}
25565static void *_p_wxDialogTo_p_wxObject(void *x) {
25566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25567}
25568static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25570}
25571static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25573}
25574static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25576}
25577static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25579}
25580static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25582}
25583static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25584 return (void *)((wxObject *) ((wxFileSystem *) x));
25585}
25586static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25588}
25589static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25590 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25591}
25592static void *_p_wxPyAppTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25594}
25595static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25597}
25598static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25600}
25601static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25603}
25604static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25606}
25607static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25609}
25610static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25612}
25613static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25615}
25616static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25618}
25619static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25621}
25622static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25624}
25625static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25627}
25628static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25630}
25631static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25633}
25634static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25636}
25637static void *_p_wxValidatorTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25639}
25640static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25641 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25642}
25643static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25644 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25645}
25646static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25647 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25648}
25649static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25650 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25651}
25652static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25653 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25654}
25655static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25656 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25657}
25658static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25659 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25660}
25661static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25662 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25663}
25664static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25665 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25666}
25667static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25668 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25669}
25670static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25671 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25672}
25673static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25674 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25675}
25676static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25677 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25678}
25679static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25680 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25681}
25682static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25683 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25684}
25685static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25686 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25687}
25688static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25689 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25690}
25691static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25692 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25693}
25694static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25695 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25696}
25697static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25698 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25699}
25700static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25701 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25702}
25703static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25704 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25705}
25706static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25707 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25708}
25709static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25710 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25711}
25712static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25713 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25714}
25715static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25716 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25717}
25718static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25719 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25720}
25721static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25722 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25723}
25724static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25725 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25726}
25727static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25728 return (void *)((wxWindow *) ((wxMenuBar *) x));
25729}
25730static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25731 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25732}
25733static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25735}
25736static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25738}
25739static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25740 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25741}
25742static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25744}
25745static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25747}
25748static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25750}
25751static void *_p_wxPanelTo_p_wxWindow(void *x) {
25752 return (void *)((wxWindow *) ((wxPanel *) x));
25753}
25754static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25755 return (void *)((wxWindow *) ((wxStatusBar *) x));
25756}
25757static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25758 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25759}
25760static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25761 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25762}
25763static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25764 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25765}
25766static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25767 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25768}
25769static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25770 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25771}
25772static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25773 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25774}
25775static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25776 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25777}
25778static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25779 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25780}
25781static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25782 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25783}
25784static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25785 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25786}
25787static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25788 return (void *)((wxWindow *) ((wxSashWindow *) x));
25789}
1cb4a8aa
RD
25790static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25791 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25792}
d14a1e28
RD
25793static void *_p_wxControlTo_p_wxWindow(void *x) {
25794 return (void *)((wxWindow *) ((wxControl *) x));
25795}
25796static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25798}
25799static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25801}
25802static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25803 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25804}
25805static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25806 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25807}
25808static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25809 return (void *)((wxWindow *) ((wxPyWindow *) x));
25810}
25811static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25812 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25813}
25814static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25815 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25816}
25817static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25818 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25819}
25820static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25821 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25822}
25823static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25824 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25825}
25826static void *_p_wxFrameTo_p_wxWindow(void *x) {
25827 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25828}
25829static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25830 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25831}
25832static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25834}
25835static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25837}
25838static void *_p_wxDialogTo_p_wxWindow(void *x) {
25839 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25840}
25841static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25843}
25844static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25845 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25846}
25847static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25849}
1cb4a8aa
RD
25850static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25851 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25852}
d14a1e28
RD
25853static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25854 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25855}
25856static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25857 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25858}
25859static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25860 return (void *)((wxDialog *) ((wxColourDialog *) x));
25861}
25862static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25863 return (void *)((wxDialog *) ((wxDirDialog *) x));
25864}
25865static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25866 return (void *)((wxDialog *) ((wxFontDialog *) x));
25867}
25868static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25869 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25870}
25871static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25872 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25873}
25874static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25875 return (void *)((wxDialog *) ((wxFileDialog *) x));
25876}
25877static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25878 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25879}
25880static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25881 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25882}
25883static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25884 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25885}
25886static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25887 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25888}
25889static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25890 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25891}
25892static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25893 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25894}
25895static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25896 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25897}
1cb4a8aa
RD
25898static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25899 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25900}
d14a1e28
RD
25901static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25902 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25903}
25904static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25905 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25906}
25907static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25908 return (void *)((wxPanel *) ((wxPyPanel *) x));
25909}
25910static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25911 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25912}
25913static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25914 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25915}
25916static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25917 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25918}
25919static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25920 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25921}
25922static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25923 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25924}
25925static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25926 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25927}
25928static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25929 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25930}
25931static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25932 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25933}
25934static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25935 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25936}
25937static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25938 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25939}
25940static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25941 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25942}
25943static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25944 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25945}
25946static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25947 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25948}
25949static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25950 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25951}
25952static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25953 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25954}
15afbcd0
RD
25955static 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}};
25956static 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}};
25957static 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}};
25958static 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}};
25959static 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}};
25960static 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}};
25961static 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}};
25962static 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}};
25963static 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}};
25964static 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}};
25965static 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}};
25966static 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}};
25967static 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}};
25968static 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}};
25969static 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}};
25970static 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}};
25971static 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}};
25972static 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}};
25973static 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}};
25974static 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}};
25975static 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}};
25976static 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}};
25977static 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}};
25978static 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}};
25979static 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}};
25980static 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}};
25981static 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}};
25982static 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}};
25983static 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}};
25984static 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}};
25985static 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}};
25986static 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}};
25987static 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}};
25988static 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}};
25989static 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}};
1cb4a8aa 25990static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
25991static 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}};
25992static 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}};
25993static 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}};
25994static 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}};
25995static 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}};
25996static 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}};
25997static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25998static 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}};
25999static 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}};
26000static 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}};
26001static 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}};
26002static 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}};
26003static 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}};
1cb4a8aa 26004static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
26005static 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}};
26006static 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}};
1cb4a8aa 26007static 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}};
15afbcd0
RD
26008static 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}};
26009static 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}};
26010static 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}};
26011static 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}};
26012static 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}};
26013static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26014static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26015static 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}};
26016static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1cb4a8aa
RD
26017static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26018static 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}};
15afbcd0
RD
26019static 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}};
26020static 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}};
26021static 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}};
26022static 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}};
26023static 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}};
26024static 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}};
26025static 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}};
26026static 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}};
26027static 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}};
26028static 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}};
1cb4a8aa 26029static 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}};
15afbcd0
RD
26030static 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}};
26031static 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}};
26032static 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}};
26033static 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}};
26034static 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}};
26035static 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}};
26036static 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}};
26037static 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}};
26038static 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}};
26039static 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}};
d14a1e28
RD
26040
26041static swig_type_info *swig_types_initial[] = {
26042_swigt__p_wxQueryLayoutInfoEvent,
26043_swigt__p_wxPreviewFrame,
26044_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
26045_swigt__p_wxPyPanel,
26046_swigt__p_wxMenu,
26047_swigt__p_wxPrintData,
26048_swigt__p_wxFontData,
26049_swigt__p_wxEvent,
26050_swigt__p_wxTaskBarIcon,
26051_swigt__p_wxIconBundle,
26052_swigt__p_wxLayoutAlgorithm,
26053_swigt__p_wxFindDialogEvent,
26054_swigt__p_wxPreviewCanvas,
26055_swigt__p_wxFont,
26056_swigt__p_wxSplitterEvent,
26057_swigt__p_wxRegion,
26058_swigt__p_wxFindReplaceData,
26059_swigt__p_int,
26060_swigt__p_wxSize,
26061_swigt__p_wxDC,
26062_swigt__p_wxIcon,
26063_swigt__p_wxMDIChildFrame,
26064_swigt__p_wxColourData,
26065_swigt__p_wxNotifyEvent,
26066_swigt__p_wxPyWindow,
26067_swigt__p_wxSplashScreen,
26068_swigt__p_wxFindReplaceDialog,
26069_swigt__p_wxProgressDialog,
26070_swigt__p_wxMessageDialog,
26071_swigt__p_wxTextEntryDialog,
26072_swigt__p_wxSingleChoiceDialog,
26073_swigt__p_wxMultiChoiceDialog,
26074_swigt__p_wxFileDialog,
26075_swigt__p_wxPrinter,
d14a1e28
RD
26076_swigt__p_wxArrayInt,
26077_swigt__p_wxEvtHandler,
26078_swigt__p_wxCalculateLayoutEvent,
26079_swigt__p_wxPyHtmlListBox,
26080_swigt__p_wxPyVListBox,
26081_swigt__p_wxRect,
994141e6 26082_swigt__p_char,
d14a1e28
RD
26083_swigt__p_wxMiniFrame,
26084_swigt__p_wxFrame,
26085_swigt__p_wxPyPrintout,
26086_swigt__p_wxTaskBarIconEvent,
26087_swigt__p_wxScrollWinEvent,
26088_swigt__p_wxStatusBar,
26089_swigt__p_wxMDIParentFrame,
26090_swigt__p_wxPoint,
26091_swigt__p_wxObject,
db914595 26092_swigt__p_wxOutputStream,
d14a1e28 26093_swigt__p_unsigned_long,
1cb4a8aa 26094_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
26095_swigt__p_wxMDIClientWindow,
26096_swigt__p_wxTipWindow,
26097_swigt__p_wxSashLayoutWindow,
26098_swigt__p_wxSplitterWindow,
d14a1e28
RD
26099_swigt__p_wxPyVScrolledWindow,
26100_swigt__p_wxPyPopupTransientWindow,
26101_swigt__p_wxPopupWindow,
26102_swigt__p_wxSashWindow,
26103_swigt__p_wxTopLevelWindow,
26104_swigt__p_wxWindow,
26105_swigt__p_wxScrolledWindow,
1e0c8722 26106_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
26107_swigt__p_wxMenuBar,
26108_swigt__p_wxPrintPreview,
26109_swigt__p_wxSashEvent,
26110_swigt__p_wxString,
26111_swigt__p_wxPyPrintPreview,
26112_swigt__p_wxFontDialog,
26113_swigt__p_wxDirDialog,
26114_swigt__p_wxColourDialog,
26115_swigt__p_wxDialog,
26116_swigt__p_wxPanel,
db914595 26117_swigt__p_wxPageSetupDialog,
d14a1e28
RD
26118_swigt__p_wxPrintDialog,
26119_swigt__p_wxBitmap,
26120_swigt__p_wxCommandEvent,
d14a1e28
RD
26121_swigt__p_wxPreviewControlBar,
26122_swigt__p_wxPyPreviewControlBar,
26123_swigt__p_wxColour,
26124_swigt__p_wxToolBar,
b2dc1044 26125_swigt__p_wxPageSetupDialogData,
994141e6 26126_swigt__p_wxPrintDialogData,
d14a1e28
RD
261270
26128};
26129
26130
26131/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26132
26133static swig_const_info swig_const_table[] = {
d14a1e28
RD
26134{0}};
26135
26136#ifdef __cplusplus
26137}
26138#endif
26139
26140#ifdef __cplusplus
26141extern "C"
26142#endif
26143SWIGEXPORT(void) SWIG_init(void) {
26144 static PyObject *SWIG_globals = 0;
26145 static int typeinit = 0;
26146 PyObject *m, *d;
26147 int i;
26148 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26149 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26150 d = PyModule_GetDict(m);
26151
26152 if (!typeinit) {
26153 for (i = 0; swig_types_initial[i]; i++) {
26154 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26155 }
26156 typeinit = 1;
26157 }
26158 SWIG_InstallConstants(d,swig_const_table);
26159
b2dc1044
RD
26160 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26161 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26162 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26163 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26164 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
b2df227b
RD
26165 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26166 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26167 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26168 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26169 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26170 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26171 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26172 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26173 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26174 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26175 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26176 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26177 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26178 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26179 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26180 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26181 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26182 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26183 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26184 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26185 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
a95a7133
RD
26186 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26187 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26188 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26189 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
15afbcd0
RD
26190 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26191 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26192 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26193 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26194 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26195 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26196 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26197 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26198 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26199 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26200 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26201 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
b2dc1044 26202 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
15afbcd0
RD
26203 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26204 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26205 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26206 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26207 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26208 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
4276dc52 26209 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
15afbcd0
RD
26210 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26211 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26212 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26213 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26214 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26215 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26216 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
d14a1e28
RD
26217 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26218 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26219 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26220 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
26221 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26222 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
15afbcd0
RD
26223 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26224 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26225 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26226 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26227 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26228 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26229 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26230 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26231 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26232 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26233 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26234 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26235 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26236 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26237 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
d14a1e28 26238 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
15afbcd0
RD
26239 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26240 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26241 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26242 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26243 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26244 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26245 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26246 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26247 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26248 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26249 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
d14a1e28
RD
26250 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26251 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 26252 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
26253
26254 // Map renamed classes back to their common name for OOR
26255 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26256 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26257 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26258
26259 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26260 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26261 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26262 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26263 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26264 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26265 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
26266 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26267 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26268 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26269 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26270 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26271 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
15afbcd0
RD
26272 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26273 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26274 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26275 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26276 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26277 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26278 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26279 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
d14a1e28
RD
26280 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26281 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26282 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26283 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26284 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
15afbcd0
RD
26285 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26286 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26287 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26288 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26289 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26290 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26291 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26292 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
b2dc1044
RD
26293 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26294 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
15afbcd0
RD
26295 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26296 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26297 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26298 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26299 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26300 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26301 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26302 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26303 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26304 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26305 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26306 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26307 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26308 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26309 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26310 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26311 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26312 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26313 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26314 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26315 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26316 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26317 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26318 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
d14a1e28
RD
26319
26320 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26321
26322}
26323