]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
little tweaks
[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]
22bfe96c
RD
214#define SWIGTYPE_p_wxFontData swig_types[5]
215#define SWIGTYPE_p_wxEvent swig_types[6]
216#define SWIGTYPE_p_wxPrintData swig_types[7]
1e0c8722
RD
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]
22bfe96c
RD
230#define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231#define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232#define SWIGTYPE_p_wxColourData swig_types[23]
233#define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234#define SWIGTYPE_p_wxPyWindow swig_types[25]
235#define SWIGTYPE_p_wxSplashScreen swig_types[26]
236#define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237#define SWIGTYPE_p_wxProgressDialog swig_types[28]
238#define SWIGTYPE_p_wxMessageDialog swig_types[29]
239#define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242#define SWIGTYPE_p_wxFileDialog swig_types[33]
243#define SWIGTYPE_p_wxPrinter swig_types[34]
244#define SWIGTYPE_p_wxArrayInt swig_types[35]
245#define SWIGTYPE_p_wxEvtHandler swig_types[36]
246#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247#define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248#define SWIGTYPE_p_wxPyVListBox swig_types[39]
249#define SWIGTYPE_p_wxRect swig_types[40]
250#define SWIGTYPE_p_char swig_types[41]
251#define SWIGTYPE_p_wxMiniFrame swig_types[42]
252#define SWIGTYPE_p_wxFrame swig_types[43]
253#define SWIGTYPE_p_wxPyPrintout swig_types[44]
254#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255#define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256#define SWIGTYPE_p_wxStatusBar swig_types[47]
257#define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258#define SWIGTYPE_p_wxPoint swig_types[49]
259#define SWIGTYPE_p_wxObject swig_types[50]
260#define SWIGTYPE_p_wxOutputStream swig_types[51]
261#define SWIGTYPE_p_unsigned_long swig_types[52]
262#define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263#define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264#define SWIGTYPE_p_wxTipWindow swig_types[55]
265#define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266#define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269#define SWIGTYPE_p_wxPopupWindow swig_types[60]
270#define SWIGTYPE_p_wxSashWindow swig_types[61]
271#define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272#define SWIGTYPE_p_wxWindow swig_types[63]
273#define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274#define SWIGTYPE_p_wxSplashScreenWindow swig_types[65]
275#define SWIGTYPE_p_wxMenuBar swig_types[66]
276#define SWIGTYPE_p_wxPrintPreview swig_types[67]
277#define SWIGTYPE_p_wxSashEvent swig_types[68]
278#define SWIGTYPE_p_wxString swig_types[69]
279#define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280#define SWIGTYPE_p_wxFontDialog swig_types[71]
281#define SWIGTYPE_p_wxDirDialog swig_types[72]
282#define SWIGTYPE_p_wxColourDialog swig_types[73]
283#define SWIGTYPE_p_wxDialog swig_types[74]
284#define SWIGTYPE_p_wxPanel swig_types[75]
285#define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286#define SWIGTYPE_p_wxPrintDialog swig_types[77]
287#define SWIGTYPE_p_wxFileSystem swig_types[78]
288#define SWIGTYPE_p_wxBitmap swig_types[79]
289#define SWIGTYPE_p_wxCommandEvent swig_types[80]
290#define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292#define SWIGTYPE_p_wxColour swig_types[83]
293#define SWIGTYPE_p_wxToolBar swig_types[84]
294#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295#define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296static swig_type_info *swig_types[88];
d14a1e28
RD
297
298/* -------- TYPES TABLE (END) -------- */
299
300
301/*-----------------------------------------------
54f9ee45 302 @(target):= _windows_.so
d14a1e28 303 ------------------------------------------------*/
54f9ee45 304#define SWIG_init init_windows_
d14a1e28 305
54f9ee45 306#define SWIG_name "_windows_"
d14a1e28 307
15afbcd0 308/* Auxiliar swig macros */
994141e6 309
994141e6 310#ifdef __cplusplus
15afbcd0 311#define SWIGSTATICINLINE(a) static inline a
994141e6 312#define SWIGSTATIC(a) static a
15afbcd0
RD
313#define swig_new_array(type, size) (new type[(size)])
314#define swig_delete_array(cptr) delete[] cptr
315#define swig_const_cast(type,a) const_cast<type>(a)
316#define swig_static_cast(type,a) static_cast<type>(a)
317#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 318
994141e6 319#ifdef HAVE_NUMERIC_CAST
15afbcd0 320#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 321#else
15afbcd0 322#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
323#endif
324
15afbcd0
RD
325#else /* C case */
326
327#define SWIGSTATICINLINE(a) static a
328#define SWIGSTATIC(a) static a
329#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330#define swig_delete_array(cptr) free((char*)cptr)
331#define swig_const_cast(type,a) (type)(a)
332#define swig_static_cast(type,a) (type)(a)
333#define swig_reinterpret_cast(type,a) (type)(a)
334#define swig_numeric_cast(type,a) (type)(a)
335
336#endif /* __cplusplus */
994141e6
RD
337
338
15afbcd0
RD
339#define SWIG_FromSignedChar PyInt_FromLong
340#define SWIG_FromUnsignedChar PyInt_FromLong
341#define SWIG_FromShort PyInt_FromLong
342#define SWIG_FromUnsignedShort PyInt_FromLong
343#define SWIG_FromInt PyInt_FromLong
344#define SWIG_FromLong PyInt_FromLong
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
347#define SWIG_FromFloat PyFloat_FromDouble
348#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
349
350
d14a1e28
RD
351#include "wx/wxPython/wxPython.h"
352#include "wx/wxPython/pyclasses.h"
353
d14a1e28 354
b2dc1044
RD
355 static const wxString wxPyEmptyString(wxEmptyString);
356 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
357
358
359
15afbcd0
RD
360#include <limits.h>
361
362
363SWIGSTATICINLINE(long)
364SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366{
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
994141e6
RD
384}
385
386
15afbcd0
RD
387SWIGSTATICINLINE(long)
388SWIG_AsLong(PyObject * obj)
994141e6 389{
69223c70
RD
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
994141e6
RD
399}
400
401
15afbcd0
RD
402#if INT_MAX != LONG_MAX
403SWIGSTATICINLINE(int)
404SWIG_AsInt(PyObject *obj)
405{
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409}
410#else
411#define SWIG_AsInt SWIG_AsLong
412#endif
413
414
415SWIGSTATICINLINE(int)
416SWIG_CheckInt(PyObject* obj)
417{
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425}
426
427
428SWIGSTATICINLINE(int)
429SWIG_CheckLong(PyObject* obj)
430{
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438}
439
440
441SWIGSTATICINLINE(bool)
442SWIG_AsBool(PyObject *obj)
994141e6
RD
443{
444 return PyObject_IsTrue(obj) ? true : false;
445}
446
447
15afbcd0
RD
448SWIGSTATICINLINE(int)
449SWIG_CheckBool(PyObject* obj)
450{
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458}
459
460
d14a1e28
RD
461static PyObject* t_output_helper(PyObject* target, PyObject* o) {
462 PyObject* o2;
463 PyObject* o3;
464
465 if (!target) {
466 target = o;
467 } else if (target == Py_None) {
468 Py_DECREF(Py_None);
469 target = o;
470 } else {
471 if (!PyTuple_Check(target)) {
472 o2 = target;
473 target = PyTuple_New(1);
474 PyTuple_SetItem(target, 0, o2);
475 }
476 o3 = PyTuple_New(1);
477 PyTuple_SetItem(o3, 0, o);
478
479 o2 = target;
480 target = PySequence_Concat(o2, o3);
481 Py_DECREF(o2);
482 Py_DECREF(o3);
483 }
484 return target;
485}
486
994141e6 487
15afbcd0
RD
488SWIGSTATICINLINE(double)
489SWIG_AsDouble(PyObject *obj)
994141e6 490{
69223c70
RD
491 if (PyNumber_Check(obj))
492 return PyFloat_AsDouble(obj);
493 else {
494 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
495 obj->ob_type->tp_name);
496 PyErr_SetObject(PyExc_TypeError, errmsg);
497 Py_DECREF(errmsg);
498 return 0;
499 }
15afbcd0
RD
500}
501
502
503SWIGSTATICINLINE(int)
504SWIG_CheckDouble(PyObject* obj)
505{
506 SWIG_AsDouble(obj);
507 if (PyErr_Occurred()) {
508 PyErr_Clear();
509 return 0;
510 } else {
511 return 1;
512 }
994141e6
RD
513}
514
b2dc1044
RD
515 static const wxString wxPyFrameNameStr(wxFrameNameStr);
516 static const wxString wxPyDialogNameStr(wxDialogNameStr);
517 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
518 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
519
520
7722248d
RD
521wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
522 wxRect r;
523 self->GetFieldRect(i, r);
524 return r;
525 }
33b885b9
RD
526 static const wxString wxPySplitterNameStr(wxT("splitter"));
527 static const wxString wxPySashNameStr(wxT("sashWindow"));
528 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
d14a1e28
RD
529
530#include <wx/popupwin.h>
531
532
533class wxPyPopupTransientWindow : public wxPopupTransientWindow
534{
535public:
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
538 : wxPopupTransientWindow(parent, style) {}
539
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
541 DEC_PYCALLBACK__(OnDismiss);
542 DEC_PYCALLBACK_BOOL_(CanDismiss);
543 PYPRIVATE;
544};
545
546
547IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
548IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
549IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
550
551
552#include <wx/tipwin.h>
553
fd3f2efe
RD
554wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
556 }
557
558#include <wx/tipwin.h>
559
560
561#include <wx/vscroll.h>
562
563
564class wxPyVScrolledWindow : public wxVScrolledWindow
565{
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
e811c8ce 618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628};
629
630IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
15afbcd0
RD
637SWIGSTATICINLINE(unsigned long)
638SWIG_AsUnsignedLong(PyObject * obj)
639{
640 if (PyLong_Check(obj)) {
641 return PyLong_AsUnsignedLong(obj);
642 } else {
69223c70 643 long i = SWIG_AsLong(obj);
15afbcd0 644 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 645 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
646 }
647 return i;
648 }
649}
650
651
652SWIGSTATICINLINE(int)
653SWIG_CheckUnsignedLong(PyObject* obj)
654{
655 SWIG_AsUnsignedLong(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662}
663
664
665SWIGSTATICINLINE(PyObject* )
666SWIG_FromUnsignedLong(unsigned long value)
994141e6 667{
15afbcd0
RD
668 return (value > LONG_MAX) ?
669 PyLong_FromUnsignedLong(value)
670 : PyInt_FromLong(swig_numeric_cast(long,value));
994141e6
RD
671}
672
673
d14a1e28 674#include <wx/vlbox.h>
d14a1e28 675
b2dc1044 676 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
677
678class wxPyVListBox : public wxVListBox
679{
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
681public:
682 wxPyVListBox() : wxVListBox() {}
683
684 wxPyVListBox(wxWindow *parent,
685 wxWindowID id = wxID_ANY,
686 const wxPoint& pos = wxDefaultPosition,
687 const wxSize& size = wxDefaultSize,
688 long style = 0,
689 const wxString& name = wxPyVListBoxNameStr)
690 : wxVListBox(parent, id, pos, size, style, name)
691 {}
692
693 // Overridable virtuals
694
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
699
700
701 // the derived class must implement this method to return the height of the
702 // specified item
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
705
706
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
710 //
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
714
715
716 // this method is used to draw the items background and, maybe, a border
717 // around it
718 //
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
722 // current
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
725
726
727 PYPRIVATE;
728};
729
730IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
731
732IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
733IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
734IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
735IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
736
737
738
739#include <wx/htmllbox.h>
740
741
742class wxPyHtmlListBox : public wxHtmlListBox
743{
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
745public:
746 wxPyHtmlListBox() : wxHtmlListBox() {}
747
748 wxPyHtmlListBox(wxWindow *parent,
749 wxWindowID id = wxID_ANY,
750 const wxPoint& pos = wxDefaultPosition,
751 const wxSize& size = wxDefaultSize,
752 long style = 0,
753 const wxString& name = wxPyVListBoxNameStr)
754 : wxHtmlListBox(parent, id, pos, size, style, name)
755 {}
756
757 // Overridable virtuals
758
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
762
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
765
766// TODO:
767// // this method allows to customize the selection appearance: it may be used
768// // to specify the colour of the text which normally has the given colour
769// // colFg when it is inside the selection
770// //
771// // by default, the original colour is not used at all and all text has the
772// // same (default for this system) colour inside selection
773// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774
775// // this is the same as GetSelectedTextColour() but allows to customize the
776// // background colour -- this is even more rarely used as you can change it
777// // globally using SetSelectionBackground()
778// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779
780
781 PYPRIVATE;
782};
783
784
785IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
786
787IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
788IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
789
790
791
792
793
794#ifdef __WXMAC__
795// implement dummy classes and such for wxMac
796
797class wxTaskBarIcon : public wxEvtHandler
798{
799public:
39f61e25 800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
801};
802
803
804class wxTaskBarIconEvent : public wxEvent
805{
806public:
807 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 808 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
809 virtual wxEvent* Clone() const { return NULL; }
810};
811
812enum {
813 wxEVT_TASKBAR_MOVE = 0,
814 wxEVT_TASKBAR_LEFT_DOWN = 0,
815 wxEVT_TASKBAR_LEFT_UP = 0,
816 wxEVT_TASKBAR_RIGHT_DOWN = 0,
817 wxEVT_TASKBAR_RIGHT_UP = 0,
818 wxEVT_TASKBAR_LEFT_DCLICK = 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
820};
821#endif
822
74a57fcd
RD
823void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
824
825 self->RemoveIcon();
826
827 }
b2dc1044
RD
828 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
829 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
830 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
831 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
832 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
833 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
834PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetFilenames(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetPaths(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
845 return wxArrayInt2PyList_helper(self->GetSelections());
846 }
847wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
848 return new wxSingleChoiceDialog(parent, message, caption,
849 choices, choices_array, NULL, style, pos);
850 }
851
852#include <wx/mdi.h>
853
854 // C++ version of Python aware wxWindow
855class wxPyWindow : public wxWindow
856{
857 DECLARE_DYNAMIC_CLASS(wxPyWindow)
858public:
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow* parent, const wxWindowID id,
861 const wxPoint& pos = wxDefaultPosition,
862 const wxSize& size = wxDefaultSize,
863 long style = 0,
864 const wxString& name = wxPyPanelNameStr)
865 : wxWindow(parent, id, pos, size, style, name) {}
866
db3e571a 867 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28
RD
868
869 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
870 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
872 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
873
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
876 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
877
878 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
879 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
880
881 DEC_PYCALLBACK__(InitDialog);
882 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
883 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
884 DEC_PYCALLBACK_BOOL_(Validate);
885
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
887 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
888 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
889
890 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
891 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
892
db3e571a 893 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 894 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 895 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 896
d14a1e28
RD
897 PYPRIVATE;
898};
899
900IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
901
902IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
903IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
904IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
905IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
906
907IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
908IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
909IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
910
911IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
912IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
913
914IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
915IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
916IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
917IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
918
919IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
920IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
921IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
922
923IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
924IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
925
db3e571a 926IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1cb4a8aa 927IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
db3e571a 928IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1cb4a8aa 929
d14a1e28
RD
930
931 // C++ version of Python aware wxPanel
932class wxPyPanel : public wxPanel
933{
934 DECLARE_DYNAMIC_CLASS(wxPyPanel)
935public:
936 wxPyPanel() : wxPanel() {}
937 wxPyPanel(wxWindow* parent, const wxWindowID id,
938 const wxPoint& pos = wxDefaultPosition,
939 const wxSize& size = wxDefaultSize,
940 long style = 0,
941 const wxString& name = wxPyPanelNameStr)
942 : wxPanel(parent, id, pos, size, style, name) {}
943
db3e571a
RD
944 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
945
d14a1e28
RD
946
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
951
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
955
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
958
959 DEC_PYCALLBACK__(InitDialog);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
962 DEC_PYCALLBACK_BOOL_(Validate);
963
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
967
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
970
db3e571a 971 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 973 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 974
d14a1e28
RD
975 PYPRIVATE;
976};
977
978IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
979
980IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
981IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
982IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
983IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
984
985IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
986IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
987IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
988
989IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
990IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
991
992IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
993IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
994IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
995IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
996
997IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
998IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
999IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1000
1001IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1002IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1003
db3e571a 1004IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1cb4a8aa 1005IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
db3e571a 1006IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 1007
db3e571a 1008
1cb4a8aa
RD
1009 // C++ version of Python aware wxScrolledWindow
1010class wxPyScrolledWindow : public wxScrolledWindow
1011{
1012 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1013public:
1014 wxPyScrolledWindow() : wxScrolledWindow() {}
1015 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1016 const wxPoint& pos = wxDefaultPosition,
1017 const wxSize& size = wxDefaultSize,
1018 long style = 0,
1019 const wxString& name = wxPyPanelNameStr)
1020 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1021
db3e571a 1022 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1cb4a8aa
RD
1023
1024 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1025 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1026 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1027 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1028
1029 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1030 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1032
1033 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1034 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1035
1036 DEC_PYCALLBACK__(InitDialog);
1037 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1038 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1039 DEC_PYCALLBACK_BOOL_(Validate);
1040
1041 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1042 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1043 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1044
1045 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1046 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1047
db3e571a 1048 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1049 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1050 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa
RD
1051
1052 PYPRIVATE;
1053};
1054
1055IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1056
1057IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1058IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1059IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1060IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1061
1062IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1063IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1064IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1065
1066IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1067IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1068
1069IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1070IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1071IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1072IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1073
1074IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1075IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1076IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1077
1078IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1079IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1080
db3e571a 1081IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1cb4a8aa 1082IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
db3e571a
RD
1083IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1084
d14a1e28
RD
1085
1086
1087#include "wx/wxPython/printfw.h"
1088
d14a1e28 1089
33b885b9
RD
1090 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1091 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
1092
1093
1094
1095// Since this one would be tough and ugly to do with the Macros...
1096void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
e811c8ce 1097 bool hadErr = False;
d14a1e28
RD
1098 bool found;
1099
4f89f6a3 1100 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1101 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1102 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1103 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1104 PyObject* val;
1105
1106 val = PyTuple_GetItem(result, 0);
1107 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
e811c8ce 1108 else hadErr = True;
d14a1e28
RD
1109
1110 val = PyTuple_GetItem(result, 1);
1111 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
e811c8ce 1112 else hadErr = True;
d14a1e28
RD
1113
1114 val = PyTuple_GetItem(result, 2);
1115 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
e811c8ce 1116 else hadErr = True;
d14a1e28
RD
1117
1118 val = PyTuple_GetItem(result, 3);
1119 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
e811c8ce 1120 else hadErr = True;
d14a1e28
RD
1121 }
1122 else
e811c8ce 1123 hadErr = True;
d14a1e28
RD
1124
1125 if (hadErr) {
1126 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1127 PyErr_Print();
1128 }
1129 Py_DECREF(result);
1130 }
4f89f6a3 1131 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1132 if (! found)
1133 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1134}
1135
1136void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1137 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1138}
1139
1140
1141IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1142IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1143IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1144IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1145IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1146IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1147IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1148
1149
1150
1151
1152
1153#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1154 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1155 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1156
1157
1158#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1159 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
e811c8ce 1160 bool rval=False; \
d14a1e28 1161 bool found; \
4f89f6a3 1162 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1163 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1164 PyObject* win = wxPyMake_wxObject(a); \
1165 PyObject* dc = wxPyMake_wxObject(&b); \
1166 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1167 Py_DECREF(win); \
1168 Py_DECREF(dc); \
1169 } \
4f89f6a3 1170 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1171 if (! found) \
1172 rval = PCLASS::CBNAME(a, b); \
1173 return rval; \
1174 } \
1175 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1176 return PCLASS::CBNAME(a, b); \
1177 }
1178
1179
1180
1181
1182class wxPyPrintPreview : public wxPrintPreview
1183{
1184 DECLARE_CLASS(wxPyPrintPreview)
1185public:
4276dc52
RD
1186 wxPyPrintPreview(wxPyPrintout* printout,
1187 wxPyPrintout* printoutForPrinting,
1188 wxPrintDialogData* data=NULL)
1189 : wxPrintPreview(printout, printoutForPrinting, data)
1190 {}
d14a1e28
RD
1191 wxPyPrintPreview(wxPyPrintout* printout,
1192 wxPyPrintout* printoutForPrinting,
1193 wxPrintData* data=NULL)
1194 : wxPrintPreview(printout, printoutForPrinting, data)
1195 {}
1196
1197 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1198 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1199 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1200 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1201 DEC_PYCALLBACK_VOID_INT(SetZoom);
1202 DEC_PYCALLBACK_BOOL_BOOL(Print);
1203 DEC_PYCALLBACK_VOID_(DetermineScaling);
1204
1205 PYPRIVATE;
1206};
1207
1208// Stupid renamed classes... Fix this in 2.5...
1209#if defined(__WXMSW__)
1210IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1211#elif defined(__WXMAC__)
1212IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1213#else
1214IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1215#endif
1216
1217IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1218IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1219IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1220IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1221IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1222IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1223IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1224
1225
1226class wxPyPreviewFrame : public wxPreviewFrame
1227{
1228 DECLARE_CLASS(wxPyPreviewFrame);
1229public:
1230 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1231 const wxString& title,
1232 const wxPoint& pos = wxDefaultPosition,
1233 const wxSize& size = wxDefaultSize,
1234 long style = wxDEFAULT_FRAME_STYLE,
1235 const wxString& name = wxPyFrameNameStr)
1236 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1237 {}
1238
1239 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1240 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1241
1242 DEC_PYCALLBACK_VOID_(Initialize);
1243 DEC_PYCALLBACK_VOID_(CreateCanvas);
1244 DEC_PYCALLBACK_VOID_(CreateControlBar);
1245
1246 PYPRIVATE;
1247};
1248
1249IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1250
1251IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1252IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1253IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1254
1255
1256class wxPyPreviewControlBar : public wxPreviewControlBar
1257{
1258 DECLARE_CLASS(wxPyPreviewControlBar);
1259public:
1260 wxPyPreviewControlBar(wxPrintPreview *preview,
1261 long buttons,
1262 wxWindow *parent,
1263 const wxPoint& pos = wxDefaultPosition,
1264 const wxSize& size = wxDefaultSize,
1265 long style = 0,
1266 const wxString& name = wxPyPanelNameStr)
1267 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1268 {}
1269
1270 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1271
1272 DEC_PYCALLBACK_VOID_(CreateButtons);
1273 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1274
1275 PYPRIVATE;
1276};
1277
1278IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1279IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1280IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1281
1282#ifdef __cplusplus
1283extern "C" {
1284#endif
1285static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject *resultobj;
1287 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1288 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1291 wxSize const &arg4_defvalue = wxDefaultSize ;
1292 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1293 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1294 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1295 wxString *arg6 = (wxString *) &arg6_defvalue ;
1296 wxPanel *result;
1297 wxPoint temp3 ;
1298 wxSize temp4 ;
e811c8ce 1299 bool temp6 = False ;
d14a1e28 1300 PyObject * obj0 = 0 ;
994141e6 1301 PyObject * obj1 = 0 ;
d14a1e28
RD
1302 PyObject * obj2 = 0 ;
1303 PyObject * obj3 = 0 ;
994141e6 1304 PyObject * obj4 = 0 ;
d14a1e28
RD
1305 PyObject * obj5 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1308 };
1309
994141e6 1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1313 if (obj1) {
15afbcd0
RD
1314 arg2 = (int const) SWIG_AsInt(obj1);
1315 if (PyErr_Occurred()) SWIG_fail;
994141e6 1316 }
d14a1e28
RD
1317 if (obj2) {
1318 {
1319 arg3 = &temp3;
1320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1321 }
1322 }
1323 if (obj3) {
1324 {
1325 arg4 = &temp4;
1326 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1327 }
1328 }
994141e6 1329 if (obj4) {
15afbcd0
RD
1330 arg5 = (long) SWIG_AsLong(obj4);
1331 if (PyErr_Occurred()) SWIG_fail;
994141e6 1332 }
d14a1e28
RD
1333 if (obj5) {
1334 {
1335 arg6 = wxString_in_helper(obj5);
1336 if (arg6 == NULL) SWIG_fail;
e811c8ce 1337 temp6 = True;
d14a1e28
RD
1338 }
1339 }
1340 {
e3b71cb8 1341 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1342 PyThreadState* __tstate = wxPyBeginAllowThreads();
1343 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1344
1345 wxPyEndAllowThreads(__tstate);
e3b71cb8 1346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1347 }
e058867b
RD
1348 {
1349 resultobj = wxPyMake_wxObject(result);
1350 }
d14a1e28
RD
1351 {
1352 if (temp6)
1353 delete arg6;
1354 }
1355 return resultobj;
1356 fail:
1357 {
1358 if (temp6)
1359 delete arg6;
1360 }
1361 return NULL;
1362}
1363
1364
1365static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxPanel *result;
1368 char *kwnames[] = {
1369 NULL
1370 };
1371
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1373 {
e3b71cb8 1374 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 result = (wxPanel *)new wxPanel();
1377
1378 wxPyEndAllowThreads(__tstate);
e3b71cb8 1379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1380 }
e058867b
RD
1381 {
1382 resultobj = wxPyMake_wxObject(result);
1383 }
d14a1e28
RD
1384 return resultobj;
1385 fail:
1386 return NULL;
1387}
1388
1389
1390static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxPanel *arg1 = (wxPanel *) 0 ;
1393 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 1394 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1397 wxSize const &arg5_defvalue = wxDefaultSize ;
1398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1399 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1400 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1401 wxString *arg7 = (wxString *) &arg7_defvalue ;
1402 bool result;
1403 wxPoint temp4 ;
1404 wxSize temp5 ;
e811c8ce 1405 bool temp7 = False ;
d14a1e28
RD
1406 PyObject * obj0 = 0 ;
1407 PyObject * obj1 = 0 ;
994141e6 1408 PyObject * obj2 = 0 ;
d14a1e28
RD
1409 PyObject * obj3 = 0 ;
1410 PyObject * obj4 = 0 ;
994141e6 1411 PyObject * obj5 = 0 ;
d14a1e28
RD
1412 PyObject * obj6 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1415 };
1416
cfe5e918 1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cfe5e918
RD
1422 if (obj2) {
1423 arg3 = (int const) SWIG_AsInt(obj2);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
d14a1e28
RD
1426 if (obj3) {
1427 {
1428 arg4 = &temp4;
1429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1430 }
1431 }
1432 if (obj4) {
1433 {
1434 arg5 = &temp5;
1435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1436 }
1437 }
994141e6 1438 if (obj5) {
15afbcd0
RD
1439 arg6 = (long) SWIG_AsLong(obj5);
1440 if (PyErr_Occurred()) SWIG_fail;
994141e6 1441 }
d14a1e28
RD
1442 if (obj6) {
1443 {
1444 arg7 = wxString_in_helper(obj6);
1445 if (arg7 == NULL) SWIG_fail;
e811c8ce 1446 temp7 = True;
d14a1e28
RD
1447 }
1448 }
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
4f89f6a3
RD
1456 {
1457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1458 }
d14a1e28
RD
1459 {
1460 if (temp7)
1461 delete arg7;
1462 }
1463 return resultobj;
1464 fail:
1465 {
1466 if (temp7)
1467 delete arg7;
1468 }
1469 return NULL;
1470}
1471
1472
1473static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject *resultobj;
1475 wxPanel *arg1 = (wxPanel *) 0 ;
1476 PyObject * obj0 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "self", NULL
1479 };
1480
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
1482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 (arg1)->InitDialog();
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 Py_INCREF(Py_None); resultobj = Py_None;
1492 return resultobj;
1493 fail:
1494 return NULL;
1495}
1496
1497
22bfe96c
RD
1498static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1501 wxVisualAttributes result;
1502 PyObject * obj0 = 0 ;
1503 char *kwnames[] = {
1504 (char *) "variant", NULL
1505 };
1506
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1508 if (obj0) {
1509 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 {
e3b71cb8 1513 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1516
1517 wxPyEndAllowThreads(__tstate);
e3b71cb8 1518 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
1519 }
1520 {
1521 wxVisualAttributes * resultptr;
1522 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1524 }
1525 return resultobj;
1526 fail:
1527 return NULL;
1528}
1529
1530
d14a1e28
RD
1531static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1532 PyObject *obj;
1533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1534 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1535 Py_INCREF(obj);
1536 return Py_BuildValue((char *)"");
1537}
1538static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1541 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1544 wxSize const &arg4_defvalue = wxDefaultSize ;
1545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1546 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1547 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1548 wxString *arg6 = (wxString *) &arg6_defvalue ;
1549 wxScrolledWindow *result;
1550 wxPoint temp3 ;
1551 wxSize temp4 ;
e811c8ce 1552 bool temp6 = False ;
d14a1e28 1553 PyObject * obj0 = 0 ;
994141e6 1554 PyObject * obj1 = 0 ;
d14a1e28
RD
1555 PyObject * obj2 = 0 ;
1556 PyObject * obj3 = 0 ;
994141e6 1557 PyObject * obj4 = 0 ;
d14a1e28
RD
1558 PyObject * obj5 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1561 };
1562
994141e6 1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1566 if (obj1) {
15afbcd0
RD
1567 arg2 = (int const) SWIG_AsInt(obj1);
1568 if (PyErr_Occurred()) SWIG_fail;
994141e6 1569 }
d14a1e28
RD
1570 if (obj2) {
1571 {
1572 arg3 = &temp3;
1573 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1574 }
1575 }
1576 if (obj3) {
1577 {
1578 arg4 = &temp4;
1579 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1580 }
1581 }
994141e6 1582 if (obj4) {
15afbcd0
RD
1583 arg5 = (long) SWIG_AsLong(obj4);
1584 if (PyErr_Occurred()) SWIG_fail;
994141e6 1585 }
d14a1e28
RD
1586 if (obj5) {
1587 {
1588 arg6 = wxString_in_helper(obj5);
1589 if (arg6 == NULL) SWIG_fail;
e811c8ce 1590 temp6 = True;
d14a1e28
RD
1591 }
1592 }
1593 {
e3b71cb8 1594 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1597
1598 wxPyEndAllowThreads(__tstate);
e3b71cb8 1599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1600 }
15afbcd0 1601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1602 {
1603 if (temp6)
1604 delete arg6;
1605 }
1606 return resultobj;
1607 fail:
1608 {
1609 if (temp6)
1610 delete arg6;
1611 }
1612 return NULL;
1613}
1614
1615
1616static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxScrolledWindow *result;
1619 char *kwnames[] = {
1620 NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1624 {
e3b71cb8 1625 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 result = (wxScrolledWindow *)new wxScrolledWindow();
1628
1629 wxPyEndAllowThreads(__tstate);
e3b71cb8 1630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1631 }
15afbcd0 1632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1633 return resultobj;
1634 fail:
1635 return NULL;
1636}
1637
1638
1639static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1642 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1643 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1646 wxSize const &arg5_defvalue = wxDefaultSize ;
1647 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1648 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1649 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1650 wxString *arg7 = (wxString *) &arg7_defvalue ;
1651 bool result;
1652 wxPoint temp4 ;
1653 wxSize temp5 ;
e811c8ce 1654 bool temp7 = False ;
d14a1e28
RD
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
994141e6 1657 PyObject * obj2 = 0 ;
d14a1e28
RD
1658 PyObject * obj3 = 0 ;
1659 PyObject * obj4 = 0 ;
994141e6 1660 PyObject * obj5 = 0 ;
d14a1e28
RD
1661 PyObject * obj6 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1664 };
1665
994141e6 1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1671 if (obj2) {
15afbcd0
RD
1672 arg3 = (int const) SWIG_AsInt(obj2);
1673 if (PyErr_Occurred()) SWIG_fail;
994141e6 1674 }
d14a1e28
RD
1675 if (obj3) {
1676 {
1677 arg4 = &temp4;
1678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1679 }
1680 }
1681 if (obj4) {
1682 {
1683 arg5 = &temp5;
1684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1685 }
1686 }
994141e6 1687 if (obj5) {
15afbcd0
RD
1688 arg6 = (long) SWIG_AsLong(obj5);
1689 if (PyErr_Occurred()) SWIG_fail;
994141e6 1690 }
d14a1e28
RD
1691 if (obj6) {
1692 {
1693 arg7 = wxString_in_helper(obj6);
1694 if (arg7 == NULL) SWIG_fail;
e811c8ce 1695 temp7 = True;
d14a1e28
RD
1696 }
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 }
4f89f6a3
RD
1705 {
1706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1707 }
d14a1e28
RD
1708 {
1709 if (temp7)
1710 delete arg7;
1711 }
1712 return resultobj;
1713 fail:
1714 {
1715 if (temp7)
1716 delete arg7;
1717 }
1718 return NULL;
1719}
1720
1721
1722static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1725 int arg2 ;
1726 int arg3 ;
1727 int arg4 ;
1728 int arg5 ;
1729 int arg6 = (int) 0 ;
1730 int arg7 = (int) 0 ;
e811c8ce 1731 bool arg8 = (bool) False ;
d14a1e28 1732 PyObject * obj0 = 0 ;
994141e6
RD
1733 PyObject * obj1 = 0 ;
1734 PyObject * obj2 = 0 ;
1735 PyObject * obj3 = 0 ;
1736 PyObject * obj4 = 0 ;
1737 PyObject * obj5 = 0 ;
1738 PyObject * obj6 = 0 ;
d14a1e28
RD
1739 PyObject * obj7 = 0 ;
1740 char *kwnames[] = {
1741 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1742 };
1743
994141e6 1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1747 arg2 = (int) SWIG_AsInt(obj1);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 arg3 = (int) SWIG_AsInt(obj2);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 arg4 = (int) SWIG_AsInt(obj3);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 arg5 = (int) SWIG_AsInt(obj4);
1754 if (PyErr_Occurred()) SWIG_fail;
994141e6 1755 if (obj5) {
15afbcd0
RD
1756 arg6 = (int) SWIG_AsInt(obj5);
1757 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1758 }
1759 if (obj6) {
15afbcd0
RD
1760 arg7 = (int) SWIG_AsInt(obj6);
1761 if (PyErr_Occurred()) SWIG_fail;
994141e6 1762 }
d14a1e28 1763 if (obj7) {
15afbcd0
RD
1764 arg8 = (bool) SWIG_AsBool(obj7);
1765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1766 }
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 Py_INCREF(Py_None); resultobj = Py_None;
1775 return resultobj;
1776 fail:
1777 return NULL;
1778}
1779
1780
1781static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject *resultobj;
1783 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1784 int arg2 ;
1785 int arg3 ;
1786 PyObject * obj0 = 0 ;
994141e6
RD
1787 PyObject * obj1 = 0 ;
1788 PyObject * obj2 = 0 ;
d14a1e28
RD
1789 char *kwnames[] = {
1790 (char *) "self",(char *) "x",(char *) "y", NULL
1791 };
1792
994141e6 1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1796 arg2 = (int) SWIG_AsInt(obj1);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 arg3 = (int) SWIG_AsInt(obj2);
1799 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 (arg1)->Scroll(arg2,arg3);
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 Py_INCREF(Py_None); resultobj = Py_None;
1808 return resultobj;
1809 fail:
1810 return NULL;
1811}
1812
1813
1814static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1817 int arg2 ;
1818 int result;
1819 PyObject * obj0 = 0 ;
994141e6 1820 PyObject * obj1 = 0 ;
d14a1e28
RD
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "orient", NULL
1823 };
1824
994141e6 1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 arg2 = (int) SWIG_AsInt(obj1);
1829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1830 {
1831 PyThreadState* __tstate = wxPyBeginAllowThreads();
1832 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1833
1834 wxPyEndAllowThreads(__tstate);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
15afbcd0 1837 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1838 return resultobj;
1839 fail:
1840 return NULL;
1841}
1842
1843
1844static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1845 PyObject *resultobj;
1846 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1847 int arg2 ;
1848 int arg3 ;
1849 PyObject * obj0 = 0 ;
994141e6
RD
1850 PyObject * obj1 = 0 ;
1851 PyObject * obj2 = 0 ;
d14a1e28
RD
1852 char *kwnames[] = {
1853 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1854 };
1855
994141e6 1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1859 arg2 = (int) SWIG_AsInt(obj1);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 arg3 = (int) SWIG_AsInt(obj2);
1862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1863 {
1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
1865 (arg1)->SetScrollPageSize(arg2,arg3);
1866
1867 wxPyEndAllowThreads(__tstate);
1868 if (PyErr_Occurred()) SWIG_fail;
1869 }
1870 Py_INCREF(Py_None); resultobj = Py_None;
1871 return resultobj;
1872 fail:
1873 return NULL;
1874}
1875
1876
1877static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1880 int arg2 ;
1881 int arg3 ;
1882 PyObject * obj0 = 0 ;
994141e6
RD
1883 PyObject * obj1 = 0 ;
1884 PyObject * obj2 = 0 ;
d14a1e28
RD
1885 char *kwnames[] = {
1886 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1887 };
1888
994141e6 1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1892 arg2 = (int) SWIG_AsInt(obj1);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 arg3 = (int) SWIG_AsInt(obj2);
1895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1896 {
1897 PyThreadState* __tstate = wxPyBeginAllowThreads();
1898 (arg1)->SetScrollRate(arg2,arg3);
1899
1900 wxPyEndAllowThreads(__tstate);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 }
1903 Py_INCREF(Py_None); resultobj = Py_None;
1904 return resultobj;
1905 fail:
1906 return NULL;
1907}
1908
1909
1910static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1913 int *arg2 = (int *) 0 ;
1914 int *arg3 = (int *) 0 ;
1915 int temp2 ;
1916 int temp3 ;
1917 PyObject * obj0 = 0 ;
1918 char *kwnames[] = {
1919 (char *) "self", NULL
1920 };
1921
1922 arg2 = &temp2;
1923 arg3 = &temp3;
1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
15afbcd0
RD
1925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 {
1936 PyObject *o = PyInt_FromLong((long) (*arg2));
1937 resultobj = t_output_helper(resultobj,o);
1938 }
1939 {
1940 PyObject *o = PyInt_FromLong((long) (*arg3));
1941 resultobj = t_output_helper(resultobj,o);
1942 }
1943 return resultobj;
1944 fail:
1945 return NULL;
1946}
1947
1948
1949static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1952 bool arg2 ;
1953 bool arg3 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 PyObject * obj2 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 arg2 = (bool) SWIG_AsBool(obj1);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 arg3 = (bool) SWIG_AsBool(obj2);
1967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 (arg1)->EnableScrolling(arg2,arg3);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 Py_INCREF(Py_None); resultobj = Py_None;
1976 return resultobj;
1977 fail:
1978 return NULL;
1979}
1980
1981
1982static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1985 int *arg2 = (int *) 0 ;
1986 int *arg3 = (int *) 0 ;
1987 int temp2 ;
1988 int temp3 ;
1989 PyObject * obj0 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "self", NULL
1992 };
1993
1994 arg2 = &temp2;
1995 arg3 = &temp3;
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
1997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1999 {
2000 PyThreadState* __tstate = wxPyBeginAllowThreads();
2001 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2002
2003 wxPyEndAllowThreads(__tstate);
2004 if (PyErr_Occurred()) SWIG_fail;
2005 }
2006 Py_INCREF(Py_None); resultobj = Py_None;
2007 {
2008 PyObject *o = PyInt_FromLong((long) (*arg2));
2009 resultobj = t_output_helper(resultobj,o);
2010 }
2011 {
2012 PyObject *o = PyInt_FromLong((long) (*arg3));
2013 resultobj = t_output_helper(resultobj,o);
2014 }
2015 return resultobj;
2016 fail:
2017 return NULL;
2018}
2019
2020
2021static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2024 double arg2 ;
2025 double arg3 ;
2026 PyObject * obj0 = 0 ;
994141e6
RD
2027 PyObject * obj1 = 0 ;
2028 PyObject * obj2 = 0 ;
d14a1e28
RD
2029 char *kwnames[] = {
2030 (char *) "self",(char *) "xs",(char *) "ys", NULL
2031 };
2032
994141e6 2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2036 arg2 = (double) SWIG_AsDouble(obj1);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 arg3 = (double) SWIG_AsDouble(obj2);
2039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 (arg1)->SetScale(arg2,arg3);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 Py_INCREF(Py_None); resultobj = Py_None;
2048 return resultobj;
2049 fail:
2050 return NULL;
2051}
2052
2053
2054static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject *resultobj;
2056 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2057 double result;
2058 PyObject * obj0 = 0 ;
2059 char *kwnames[] = {
2060 (char *) "self", NULL
2061 };
2062
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
2064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
15afbcd0 2073 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2074 return resultobj;
2075 fail:
2076 return NULL;
2077}
2078
2079
2080static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2083 double result;
2084 PyObject * obj0 = 0 ;
2085 char *kwnames[] = {
2086 (char *) "self", NULL
2087 };
2088
2089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
2090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2092 {
2093 PyThreadState* __tstate = wxPyBeginAllowThreads();
2094 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2095
2096 wxPyEndAllowThreads(__tstate);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
15afbcd0 2099 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2100 return resultobj;
2101 fail:
2102 return NULL;
2103}
2104
2105
2106static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2109 wxPoint *arg2 = 0 ;
2110 wxPoint result;
2111 wxPoint temp2 ;
d14a1e28 2112 PyObject * obj0 = 0 ;
322913ce 2113 PyObject * obj1 = 0 ;
d14a1e28 2114
322913ce 2115 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2118 {
2119 arg2 = &temp2;
2120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2121 }
d14a1e28
RD
2122 {
2123 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2124 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2125
2126 wxPyEndAllowThreads(__tstate);
2127 if (PyErr_Occurred()) SWIG_fail;
2128 }
d14a1e28 2129 {
322913ce
RD
2130 wxPoint * resultptr;
2131 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2133 }
2134 return resultobj;
2135 fail:
2136 return NULL;
2137}
2138
2139
2140static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2141 PyObject *resultobj;
2142 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2143 int arg2 ;
2144 int arg3 ;
2145 int *arg4 = (int *) 0 ;
2146 int *arg5 = (int *) 0 ;
2147 int temp4 ;
2148 int temp5 ;
d14a1e28 2149 PyObject * obj0 = 0 ;
994141e6
RD
2150 PyObject * obj1 = 0 ;
2151 PyObject * obj2 = 0 ;
d14a1e28 2152
322913ce
RD
2153 arg4 = &temp4;
2154 arg5 = &temp5;
994141e6 2155 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2158 arg2 = (int) SWIG_AsInt(obj1);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 arg3 = (int) SWIG_AsInt(obj2);
2161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2164 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
322913ce 2169 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 2170 {
322913ce
RD
2171 PyObject *o = PyInt_FromLong((long) (*arg4));
2172 resultobj = t_output_helper(resultobj,o);
2173 }
2174 {
2175 PyObject *o = PyInt_FromLong((long) (*arg5));
2176 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
2177 }
2178 return resultobj;
2179 fail:
2180 return NULL;
2181}
2182
2183
2184static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2185 int argc;
2186 PyObject *argv[4];
2187 int ii;
2188
2189 argc = PyObject_Length(args);
2190 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2191 argv[ii] = PyTuple_GetItem(args,ii);
2192 }
2193 if (argc == 2) {
2194 int _v;
2195 {
2196 void *ptr;
15afbcd0 2197 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2198 _v = 0;
2199 PyErr_Clear();
2200 } else {
2201 _v = 1;
2202 }
2203 }
2204 if (_v) {
2205 {
2206 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2207 }
2208 if (_v) {
322913ce 2209 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2210 }
2211 }
2212 }
2213 if (argc == 3) {
2214 int _v;
2215 {
2216 void *ptr;
15afbcd0 2217 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2218 _v = 0;
2219 PyErr_Clear();
2220 } else {
2221 _v = 1;
2222 }
2223 }
2224 if (_v) {
15afbcd0 2225 _v = SWIG_CheckInt(argv[1]);
d14a1e28 2226 if (_v) {
15afbcd0 2227 _v = SWIG_CheckInt(argv[2]);
d14a1e28 2228 if (_v) {
322913ce 2229 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2230 }
2231 }
2232 }
2233 }
2234
2235 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2236 return NULL;
2237}
2238
2239
2240static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2241 PyObject *resultobj;
2242 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2243 wxPoint *arg2 = 0 ;
2244 wxPoint result;
2245 wxPoint temp2 ;
d14a1e28 2246 PyObject * obj0 = 0 ;
322913ce 2247 PyObject * obj1 = 0 ;
d14a1e28 2248
322913ce 2249 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2252 {
2253 arg2 = &temp2;
2254 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2255 }
d14a1e28
RD
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2258 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
d14a1e28 2263 {
322913ce
RD
2264 wxPoint * resultptr;
2265 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2267 }
2268 return resultobj;
2269 fail:
2270 return NULL;
2271}
2272
2273
2274static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2275 PyObject *resultobj;
2276 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2277 int arg2 ;
2278 int arg3 ;
2279 int *arg4 = (int *) 0 ;
2280 int *arg5 = (int *) 0 ;
2281 int temp4 ;
2282 int temp5 ;
d14a1e28 2283 PyObject * obj0 = 0 ;
994141e6
RD
2284 PyObject * obj1 = 0 ;
2285 PyObject * obj2 = 0 ;
d14a1e28 2286
322913ce
RD
2287 arg4 = &temp4;
2288 arg5 = &temp5;
994141e6 2289 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 arg2 = (int) SWIG_AsInt(obj1);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 arg3 = (int) SWIG_AsInt(obj2);
2295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2298 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
322913ce 2303 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 2304 {
322913ce
RD
2305 PyObject *o = PyInt_FromLong((long) (*arg4));
2306 resultobj = t_output_helper(resultobj,o);
2307 }
2308 {
2309 PyObject *o = PyInt_FromLong((long) (*arg5));
2310 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
2311 }
2312 return resultobj;
2313 fail:
2314 return NULL;
2315}
2316
2317
2318static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2319 int argc;
2320 PyObject *argv[4];
2321 int ii;
2322
2323 argc = PyObject_Length(args);
2324 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2325 argv[ii] = PyTuple_GetItem(args,ii);
2326 }
2327 if (argc == 2) {
2328 int _v;
2329 {
2330 void *ptr;
15afbcd0 2331 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2332 _v = 0;
2333 PyErr_Clear();
2334 } else {
2335 _v = 1;
2336 }
2337 }
2338 if (_v) {
2339 {
2340 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2341 }
2342 if (_v) {
322913ce 2343 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2344 }
2345 }
2346 }
2347 if (argc == 3) {
2348 int _v;
2349 {
2350 void *ptr;
15afbcd0 2351 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2352 _v = 0;
2353 PyErr_Clear();
2354 } else {
2355 _v = 1;
2356 }
2357 }
2358 if (_v) {
15afbcd0 2359 _v = SWIG_CheckInt(argv[1]);
d14a1e28 2360 if (_v) {
15afbcd0 2361 _v = SWIG_CheckInt(argv[2]);
d14a1e28 2362 if (_v) {
322913ce 2363 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2364 }
2365 }
2366 }
2367 }
2368
2369 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2370 return NULL;
2371}
2372
2373
2374static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2377 PyObject * obj0 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
15afbcd0
RD
2383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2385 {
2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
2387 (arg1)->AdjustScrollbars();
2388
2389 wxPyEndAllowThreads(__tstate);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 }
2392 Py_INCREF(Py_None); resultobj = Py_None;
2393 return resultobj;
2394 fail:
2395 return NULL;
2396}
2397
2398
2399static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2402 wxScrollWinEvent *arg2 = 0 ;
2403 int result;
2404 PyObject * obj0 = 0 ;
2405 PyObject * obj1 = 0 ;
2406 char *kwnames[] = {
2407 (char *) "self",(char *) "event", NULL
2408 };
2409
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1)
2415 SWIG_fail;
d14a1e28 2416 if (arg2 == NULL) {
15afbcd0
RD
2417 PyErr_SetString(PyExc_TypeError,"null reference");
2418 SWIG_fail;
d14a1e28
RD
2419 }
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (int)(arg1)->CalcScrollInc(*arg2);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
15afbcd0 2427 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2428 return resultobj;
2429 fail:
2430 return NULL;
2431}
2432
2433
2434static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2437 wxWindow *arg2 = (wxWindow *) 0 ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self",(char *) "target", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 (arg1)->SetTargetWindow(arg2);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 Py_INCREF(Py_None); resultobj = Py_None;
2457 return resultobj;
2458 fail:
2459 return NULL;
2460}
2461
2462
2463static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2466 wxWindow *result;
2467 PyObject * obj0 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
2473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2475 {
2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
2477 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2478
2479 wxPyEndAllowThreads(__tstate);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 {
2483 resultobj = wxPyMake_wxObject(result);
2484 }
2485 return resultobj;
2486 fail:
2487 return NULL;
2488}
2489
2490
22bfe96c
RD
2491static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2494 wxVisualAttributes result;
2495 PyObject * obj0 = 0 ;
2496 char *kwnames[] = {
2497 (char *) "variant", NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2501 if (obj0) {
2502 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 {
e3b71cb8 2506 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
2508 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2509
2510 wxPyEndAllowThreads(__tstate);
e3b71cb8 2511 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2512 }
2513 {
2514 wxVisualAttributes * resultptr;
2515 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2517 }
2518 return resultobj;
2519 fail:
2520 return NULL;
2521}
2522
2523
d14a1e28
RD
2524static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2525 PyObject *obj;
2526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2527 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2528 Py_INCREF(obj);
2529 return Py_BuildValue((char *)"");
2530}
b2dc1044
RD
2531static int _wrap_FrameNameStr_set(PyObject *_val) {
2532 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2533 return 1;
2534}
2535
2536
2537static PyObject *_wrap_FrameNameStr_get() {
2538 PyObject *pyobj;
2539
2540 {
2541#if wxUSE_UNICODE
2542 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2543#else
2544 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2545#endif
2546 }
2547 return pyobj;
2548}
2549
2550
2551static int _wrap_DialogNameStr_set(PyObject *_val) {
2552 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2553 return 1;
2554}
2555
2556
2557static PyObject *_wrap_DialogNameStr_get() {
2558 PyObject *pyobj;
2559
2560 {
2561#if wxUSE_UNICODE
2562 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2563#else
2564 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2565#endif
2566 }
2567 return pyobj;
2568}
2569
2570
2571static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2572 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2573 return 1;
2574}
2575
2576
2577static PyObject *_wrap_StatusLineNameStr_get() {
2578 PyObject *pyobj;
2579
2580 {
2581#if wxUSE_UNICODE
2582 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2583#else
2584 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2585#endif
2586 }
2587 return pyobj;
2588}
2589
2590
2591static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2592 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2593 return 1;
2594}
2595
2596
2597static PyObject *_wrap_ToolBarNameStr_get() {
2598 PyObject *pyobj;
2599
2600 {
2601#if wxUSE_UNICODE
2602 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2603#else
2604 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2605#endif
2606 }
2607 return pyobj;
2608}
2609
2610
d14a1e28
RD
2611static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
e811c8ce 2614 bool arg2 = (bool) True ;
d14a1e28
RD
2615 PyObject * obj0 = 0 ;
2616 PyObject * obj1 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "maximize", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2624 if (obj1) {
15afbcd0
RD
2625 arg2 = (bool) SWIG_AsBool(obj1);
2626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2627 }
2628 {
2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
2630 (arg1)->Maximize(arg2);
2631
2632 wxPyEndAllowThreads(__tstate);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 }
2635 Py_INCREF(Py_None); resultobj = Py_None;
2636 return resultobj;
2637 fail:
2638 return NULL;
2639}
2640
2641
2642static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2645 PyObject * obj0 = 0 ;
2646 char *kwnames[] = {
2647 (char *) "self", NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
2651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 (arg1)->Restore();
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 Py_INCREF(Py_None); resultobj = Py_None;
2661 return resultobj;
2662 fail:
2663 return NULL;
2664}
2665
2666
2667static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
e811c8ce 2670 bool arg2 = (bool) True ;
d14a1e28
RD
2671 PyObject * obj0 = 0 ;
2672 PyObject * obj1 = 0 ;
2673 char *kwnames[] = {
2674 (char *) "self",(char *) "iconize", NULL
2675 };
2676
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2680 if (obj1) {
15afbcd0
RD
2681 arg2 = (bool) SWIG_AsBool(obj1);
2682 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2683 }
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 (arg1)->Iconize(arg2);
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 Py_INCREF(Py_None); resultobj = Py_None;
2692 return resultobj;
2693 fail:
2694 return NULL;
2695}
2696
2697
2698static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject *resultobj;
2700 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2701 bool result;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
4f89f6a3
RD
2717 {
2718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2719 }
d14a1e28
RD
2720 return resultobj;
2721 fail:
2722 return NULL;
2723}
2724
2725
2726static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2729 bool result;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
4f89f6a3
RD
2745 {
2746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2747 }
d14a1e28
RD
2748 return resultobj;
2749 fail:
2750 return NULL;
2751}
2752
2753
2754static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2757 wxIcon result;
2758 PyObject * obj0 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 {
2774 wxIcon * resultptr;
2775 resultptr = new wxIcon((wxIcon &) result);
15afbcd0 2776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
2777 }
2778 return resultobj;
2779 fail:
2780 return NULL;
2781}
2782
2783
2784static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2787 wxIcon *arg2 = 0 ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "icon", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2798 SWIG_POINTER_EXCEPTION | 0)) == -1)
2799 SWIG_fail;
d14a1e28 2800 if (arg2 == NULL) {
15afbcd0
RD
2801 PyErr_SetString(PyExc_TypeError,"null reference");
2802 SWIG_fail;
d14a1e28
RD
2803 }
2804 {
2805 PyThreadState* __tstate = wxPyBeginAllowThreads();
2806 (arg1)->SetIcon((wxIcon const &)*arg2);
2807
2808 wxPyEndAllowThreads(__tstate);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 }
2811 Py_INCREF(Py_None); resultobj = Py_None;
2812 return resultobj;
2813 fail:
2814 return NULL;
2815}
2816
2817
2818static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2821 wxIconBundle *arg2 = 0 ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj1 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "icons", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2832 SWIG_POINTER_EXCEPTION | 0)) == -1)
2833 SWIG_fail;
d14a1e28 2834 if (arg2 == NULL) {
15afbcd0
RD
2835 PyErr_SetString(PyExc_TypeError,"null reference");
2836 SWIG_fail;
d14a1e28
RD
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 Py_INCREF(Py_None); resultobj = Py_None;
2846 return resultobj;
2847 fail:
2848 return NULL;
2849}
2850
2851
2852static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2855 bool arg2 ;
2856 long arg3 = (long) wxFULLSCREEN_ALL ;
2857 bool result;
2858 PyObject * obj0 = 0 ;
2859 PyObject * obj1 = 0 ;
994141e6 2860 PyObject * obj2 = 0 ;
d14a1e28
RD
2861 char *kwnames[] = {
2862 (char *) "self",(char *) "show",(char *) "style", NULL
2863 };
2864
994141e6 2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2868 arg2 = (bool) SWIG_AsBool(obj1);
2869 if (PyErr_Occurred()) SWIG_fail;
994141e6 2870 if (obj2) {
15afbcd0
RD
2871 arg3 = (long) SWIG_AsLong(obj2);
2872 if (PyErr_Occurred()) SWIG_fail;
994141e6 2873 }
d14a1e28
RD
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
4f89f6a3
RD
2881 {
2882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2883 }
d14a1e28
RD
2884 return resultobj;
2885 fail:
2886 return NULL;
2887}
2888
2889
2890static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2893 bool result;
2894 PyObject * obj0 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
2900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
4f89f6a3
RD
2909 {
2910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2911 }
d14a1e28
RD
2912 return resultobj;
2913 fail:
2914 return NULL;
2915}
2916
2917
2918static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2921 wxString *arg2 = 0 ;
e811c8ce 2922 bool temp2 = False ;
d14a1e28
RD
2923 PyObject * obj0 = 0 ;
2924 PyObject * obj1 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "self",(char *) "title", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2932 {
2933 arg2 = wxString_in_helper(obj1);
2934 if (arg2 == NULL) SWIG_fail;
e811c8ce 2935 temp2 = True;
d14a1e28
RD
2936 }
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 (arg1)->SetTitle((wxString const &)*arg2);
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 {
2946 if (temp2)
2947 delete arg2;
2948 }
2949 return resultobj;
2950 fail:
2951 {
2952 if (temp2)
2953 delete arg2;
2954 }
2955 return NULL;
2956}
2957
2958
2959static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2960 PyObject *resultobj;
2961 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2962 wxString result;
2963 PyObject * obj0 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 {
2979#if wxUSE_UNICODE
2980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2981#else
2982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2983#endif
2984 }
2985 return resultobj;
2986 fail:
2987 return NULL;
2988}
2989
2990
2991static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2992 PyObject *resultobj;
2993 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2994 wxRegion *arg2 = 0 ;
2995 bool result;
2996 PyObject * obj0 = 0 ;
2997 PyObject * obj1 = 0 ;
2998 char *kwnames[] = {
2999 (char *) "self",(char *) "region", NULL
3000 };
3001
3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3006 SWIG_POINTER_EXCEPTION | 0)) == -1)
3007 SWIG_fail;
d14a1e28 3008 if (arg2 == NULL) {
15afbcd0
RD
3009 PyErr_SetString(PyExc_TypeError,"null reference");
3010 SWIG_fail;
d14a1e28
RD
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
4f89f6a3
RD
3019 {
3020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3021 }
d14a1e28
RD
3022 return resultobj;
3023 fail:
3024 return NULL;
3025}
3026
3027
3028static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3029 PyObject *obj;
3030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3031 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3032 Py_INCREF(obj);
3033 return Py_BuildValue((char *)"");
3034}
3035static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3038 int arg2 ;
d14a1e28
RD
3039 wxString *arg3 = 0 ;
3040 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3041 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3042 wxSize const &arg5_defvalue = wxDefaultSize ;
3043 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3044 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3045 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3046 wxString *arg7 = (wxString *) &arg7_defvalue ;
3047 wxFrame *result;
e811c8ce 3048 bool temp3 = False ;
d14a1e28
RD
3049 wxPoint temp4 ;
3050 wxSize temp5 ;
e811c8ce 3051 bool temp7 = False ;
d14a1e28 3052 PyObject * obj0 = 0 ;
994141e6 3053 PyObject * obj1 = 0 ;
d14a1e28
RD
3054 PyObject * obj2 = 0 ;
3055 PyObject * obj3 = 0 ;
3056 PyObject * obj4 = 0 ;
994141e6 3057 PyObject * obj5 = 0 ;
d14a1e28
RD
3058 PyObject * obj6 = 0 ;
3059 char *kwnames[] = {
3060 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3061 };
3062
994141e6 3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
3064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3066 arg2 = (int const) SWIG_AsInt(obj1);
3067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3068 {
3069 arg3 = wxString_in_helper(obj2);
3070 if (arg3 == NULL) SWIG_fail;
e811c8ce 3071 temp3 = True;
d14a1e28
RD
3072 }
3073 if (obj3) {
3074 {
3075 arg4 = &temp4;
3076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3077 }
3078 }
3079 if (obj4) {
3080 {
3081 arg5 = &temp5;
3082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3083 }
3084 }
994141e6 3085 if (obj5) {
15afbcd0
RD
3086 arg6 = (long) SWIG_AsLong(obj5);
3087 if (PyErr_Occurred()) SWIG_fail;
994141e6 3088 }
d14a1e28
RD
3089 if (obj6) {
3090 {
3091 arg7 = wxString_in_helper(obj6);
3092 if (arg7 == NULL) SWIG_fail;
e811c8ce 3093 temp7 = True;
d14a1e28
RD
3094 }
3095 }
3096 {
e3b71cb8 3097 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3100
3101 wxPyEndAllowThreads(__tstate);
e3b71cb8 3102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3103 }
3104 {
3105 resultobj = wxPyMake_wxObject(result);
3106 }
3107 {
3108 if (temp3)
3109 delete arg3;
3110 }
3111 {
3112 if (temp7)
3113 delete arg7;
3114 }
3115 return resultobj;
3116 fail:
3117 {
3118 if (temp3)
3119 delete arg3;
3120 }
3121 {
3122 if (temp7)
3123 delete arg7;
3124 }
3125 return NULL;
3126}
3127
3128
3129static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxFrame *result;
3132 char *kwnames[] = {
3133 NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3137 {
e3b71cb8 3138 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (wxFrame *)new wxFrame();
3141
3142 wxPyEndAllowThreads(__tstate);
e3b71cb8 3143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3144 }
3145 {
3146 resultobj = wxPyMake_wxObject(result);
3147 }
3148 return resultobj;
3149 fail:
3150 return NULL;
3151}
3152
3153
3154static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3155 PyObject *resultobj;
3156 wxFrame *arg1 = (wxFrame *) 0 ;
3157 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3158 int arg3 ;
d14a1e28
RD
3159 wxString *arg4 = 0 ;
3160 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3161 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3162 wxSize const &arg6_defvalue = wxDefaultSize ;
3163 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3164 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3165 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3166 wxString *arg8 = (wxString *) &arg8_defvalue ;
3167 bool result;
e811c8ce 3168 bool temp4 = False ;
d14a1e28
RD
3169 wxPoint temp5 ;
3170 wxSize temp6 ;
e811c8ce 3171 bool temp8 = False ;
d14a1e28
RD
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
994141e6 3174 PyObject * obj2 = 0 ;
d14a1e28
RD
3175 PyObject * obj3 = 0 ;
3176 PyObject * obj4 = 0 ;
3177 PyObject * obj5 = 0 ;
994141e6 3178 PyObject * obj6 = 0 ;
d14a1e28
RD
3179 PyObject * obj7 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3182 };
3183
994141e6 3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3189 arg3 = (int const) SWIG_AsInt(obj2);
3190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3191 {
3192 arg4 = wxString_in_helper(obj3);
3193 if (arg4 == NULL) SWIG_fail;
e811c8ce 3194 temp4 = True;
d14a1e28
RD
3195 }
3196 if (obj4) {
3197 {
3198 arg5 = &temp5;
3199 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3200 }
3201 }
3202 if (obj5) {
3203 {
3204 arg6 = &temp6;
3205 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3206 }
3207 }
994141e6 3208 if (obj6) {
15afbcd0
RD
3209 arg7 = (long) SWIG_AsLong(obj6);
3210 if (PyErr_Occurred()) SWIG_fail;
994141e6 3211 }
d14a1e28
RD
3212 if (obj7) {
3213 {
3214 arg8 = wxString_in_helper(obj7);
3215 if (arg8 == NULL) SWIG_fail;
e811c8ce 3216 temp8 = True;
d14a1e28
RD
3217 }
3218 }
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
4f89f6a3
RD
3226 {
3227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3228 }
d14a1e28
RD
3229 {
3230 if (temp4)
3231 delete arg4;
3232 }
3233 {
3234 if (temp8)
3235 delete arg8;
3236 }
3237 return resultobj;
3238 fail:
3239 {
3240 if (temp4)
3241 delete arg4;
3242 }
3243 {
3244 if (temp8)
3245 delete arg8;
3246 }
3247 return NULL;
3248}
3249
3250
3251static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxFrame *arg1 = (wxFrame *) 0 ;
3254 wxPoint result;
3255 PyObject * obj0 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
3261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 {
3271 wxPoint * resultptr;
3272 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3274 }
3275 return resultobj;
3276 fail:
3277 return NULL;
3278}
3279
3280
3281static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxFrame *arg1 = (wxFrame *) 0 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
3290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 (arg1)->SendSizeEvent();
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303}
3304
3305
3306static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxFrame *arg1 = (wxFrame *) 0 ;
3309 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3310 PyObject * obj0 = 0 ;
3311 PyObject * obj1 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "self",(char *) "menubar", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->SetMenuBar(arg2);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332}
3333
3334
3335static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxFrame *arg1 = (wxFrame *) 0 ;
3338 wxMenuBar *result;
3339 PyObject * obj0 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 {
3355 resultobj = wxPyMake_wxObject(result);
3356 }
3357 return resultobj;
3358 fail:
3359 return NULL;
3360}
3361
3362
3363static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxFrame *arg1 = (wxFrame *) 0 ;
3366 int arg2 ;
3367 bool result;
3368 PyObject * obj0 = 0 ;
994141e6 3369 PyObject * obj1 = 0 ;
d14a1e28
RD
3370 char *kwnames[] = {
3371 (char *) "self",(char *) "winid", NULL
3372 };
3373
994141e6 3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 arg2 = (int) SWIG_AsInt(obj1);
3378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (bool)(arg1)->ProcessCommand(arg2);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
4f89f6a3
RD
3386 {
3387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3388 }
d14a1e28
RD
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
3395static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj;
3397 wxFrame *arg1 = (wxFrame *) 0 ;
3398 int arg2 = (int) 1 ;
4276dc52 3399 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
e811c8ce 3400 int arg4 = (int) 0 ;
d14a1e28
RD
3401 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3402 wxString *arg5 = (wxString *) &arg5_defvalue ;
3403 wxStatusBar *result;
e811c8ce 3404 bool temp5 = False ;
d14a1e28 3405 PyObject * obj0 = 0 ;
994141e6
RD
3406 PyObject * obj1 = 0 ;
3407 PyObject * obj2 = 0 ;
3408 PyObject * obj3 = 0 ;
d14a1e28
RD
3409 PyObject * obj4 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3412 };
3413
994141e6 3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
3415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3417 if (obj1) {
15afbcd0
RD
3418 arg2 = (int) SWIG_AsInt(obj1);
3419 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3420 }
3421 if (obj2) {
15afbcd0
RD
3422 arg3 = (long) SWIG_AsLong(obj2);
3423 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3424 }
3425 if (obj3) {
15afbcd0
RD
3426 arg4 = (int) SWIG_AsInt(obj3);
3427 if (PyErr_Occurred()) SWIG_fail;
994141e6 3428 }
d14a1e28
RD
3429 if (obj4) {
3430 {
3431 arg5 = wxString_in_helper(obj4);
3432 if (arg5 == NULL) SWIG_fail;
e811c8ce 3433 temp5 = True;
d14a1e28
RD
3434 }
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 {
3444 resultobj = wxPyMake_wxObject(result);
3445 }
3446 {
3447 if (temp5)
3448 delete arg5;
3449 }
3450 return resultobj;
3451 fail:
3452 {
3453 if (temp5)
3454 delete arg5;
3455 }
3456 return NULL;
3457}
3458
3459
3460static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxFrame *arg1 = (wxFrame *) 0 ;
3463 wxStatusBar *result;
3464 PyObject * obj0 = 0 ;
3465 char *kwnames[] = {
3466 (char *) "self", NULL
3467 };
3468
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 resultobj = wxPyMake_wxObject(result);
3481 }
3482 return resultobj;
3483 fail:
3484 return NULL;
3485}
3486
3487
3488static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3489 PyObject *resultobj;
3490 wxFrame *arg1 = (wxFrame *) 0 ;
3491 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3492 PyObject * obj0 = 0 ;
3493 PyObject * obj1 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "self",(char *) "statBar", NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->SetStatusBar(arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 return resultobj;
3512 fail:
3513 return NULL;
3514}
3515
3516
3517static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxFrame *arg1 = (wxFrame *) 0 ;
3520 wxString *arg2 = 0 ;
3521 int arg3 = (int) 0 ;
e811c8ce 3522 bool temp2 = False ;
d14a1e28
RD
3523 PyObject * obj0 = 0 ;
3524 PyObject * obj1 = 0 ;
994141e6 3525 PyObject * obj2 = 0 ;
d14a1e28
RD
3526 char *kwnames[] = {
3527 (char *) "self",(char *) "text",(char *) "number", NULL
3528 };
3529
994141e6 3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3533 {
3534 arg2 = wxString_in_helper(obj1);
3535 if (arg2 == NULL) SWIG_fail;
e811c8ce 3536 temp2 = True;
d14a1e28 3537 }
994141e6 3538 if (obj2) {
15afbcd0
RD
3539 arg3 = (int) SWIG_AsInt(obj2);
3540 if (PyErr_Occurred()) SWIG_fail;
994141e6 3541 }
d14a1e28
RD
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 Py_INCREF(Py_None); resultobj = Py_None;
3550 {
3551 if (temp2)
3552 delete arg2;
3553 }
3554 return resultobj;
3555 fail:
3556 {
3557 if (temp2)
3558 delete arg2;
3559 }
3560 return NULL;
3561}
3562
3563
3564static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj;
3566 wxFrame *arg1 = (wxFrame *) 0 ;
3567 int arg2 ;
3568 int *arg3 = (int *) 0 ;
3569 PyObject * obj0 = 0 ;
3570 PyObject * obj1 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self",(char *) "widths", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3578 {
3579 arg2 = PyList_Size(obj1);
3580 arg3 = int_LIST_helper(obj1);
3581 if (arg3 == NULL) SWIG_fail;
3582 }
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 Py_INCREF(Py_None); resultobj = Py_None;
3591 {
3592 if (arg3) delete [] arg3;
3593 }
3594 return resultobj;
3595 fail:
3596 {
3597 if (arg3) delete [] arg3;
3598 }
3599 return NULL;
3600}
3601
3602
3603static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj;
3605 wxFrame *arg1 = (wxFrame *) 0 ;
3606 wxString *arg2 = 0 ;
3607 int arg3 = (int) 0 ;
e811c8ce 3608 bool temp2 = False ;
d14a1e28
RD
3609 PyObject * obj0 = 0 ;
3610 PyObject * obj1 = 0 ;
994141e6 3611 PyObject * obj2 = 0 ;
d14a1e28
RD
3612 char *kwnames[] = {
3613 (char *) "self",(char *) "text",(char *) "number", NULL
3614 };
3615
994141e6 3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3619 {
3620 arg2 = wxString_in_helper(obj1);
3621 if (arg2 == NULL) SWIG_fail;
e811c8ce 3622 temp2 = True;
d14a1e28 3623 }
994141e6 3624 if (obj2) {
15afbcd0
RD
3625 arg3 = (int) SWIG_AsInt(obj2);
3626 if (PyErr_Occurred()) SWIG_fail;
994141e6 3627 }
d14a1e28
RD
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 Py_INCREF(Py_None); resultobj = Py_None;
3636 {
3637 if (temp2)
3638 delete arg2;
3639 }
3640 return resultobj;
3641 fail:
3642 {
3643 if (temp2)
3644 delete arg2;
3645 }
3646 return NULL;
3647}
3648
3649
3650static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxFrame *arg1 = (wxFrame *) 0 ;
3653 int arg2 = (int) 0 ;
3654 PyObject * obj0 = 0 ;
994141e6 3655 PyObject * obj1 = 0 ;
d14a1e28
RD
3656 char *kwnames[] = {
3657 (char *) "self",(char *) "number", NULL
3658 };
3659
994141e6 3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3663 if (obj1) {
15afbcd0
RD
3664 arg2 = (int) SWIG_AsInt(obj1);
3665 if (PyErr_Occurred()) SWIG_fail;
994141e6 3666 }
d14a1e28
RD
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 (arg1)->PopStatusText(arg2);
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 Py_INCREF(Py_None); resultobj = Py_None;
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
3681static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxFrame *arg1 = (wxFrame *) 0 ;
3684 int arg2 ;
3685 PyObject * obj0 = 0 ;
994141e6 3686 PyObject * obj1 = 0 ;
d14a1e28
RD
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "n", NULL
3689 };
3690
994141e6 3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 arg2 = (int) SWIG_AsInt(obj1);
3695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 (arg1)->SetStatusBarPane(arg2);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 Py_INCREF(Py_None); resultobj = Py_None;
3704 return resultobj;
3705 fail:
3706 return NULL;
3707}
3708
3709
3710static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxFrame *arg1 = (wxFrame *) 0 ;
3713 int result;
3714 PyObject * obj0 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "self", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
15afbcd0
RD
3720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
15afbcd0 3729 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
3736static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxFrame *arg1 = (wxFrame *) 0 ;
3739 long arg2 = (long) -1 ;
e811c8ce 3740 int arg3 = (int) -1 ;
d14a1e28
RD
3741 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3742 wxString *arg4 = (wxString *) &arg4_defvalue ;
3743 wxToolBar *result;
e811c8ce 3744 bool temp4 = False ;
d14a1e28 3745 PyObject * obj0 = 0 ;
994141e6
RD
3746 PyObject * obj1 = 0 ;
3747 PyObject * obj2 = 0 ;
d14a1e28
RD
3748 PyObject * obj3 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3751 };
3752
994141e6 3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3756 if (obj1) {
15afbcd0
RD
3757 arg2 = (long) SWIG_AsLong(obj1);
3758 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3759 }
3760 if (obj2) {
15afbcd0
RD
3761 arg3 = (int) SWIG_AsInt(obj2);
3762 if (PyErr_Occurred()) SWIG_fail;
994141e6 3763 }
d14a1e28
RD
3764 if (obj3) {
3765 {
3766 arg4 = wxString_in_helper(obj3);
3767 if (arg4 == NULL) SWIG_fail;
e811c8ce 3768 temp4 = True;
d14a1e28
RD
3769 }
3770 }
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 {
3779 resultobj = wxPyMake_wxObject(result);
3780 }
3781 {
3782 if (temp4)
3783 delete arg4;
3784 }
3785 return resultobj;
3786 fail:
3787 {
3788 if (temp4)
3789 delete arg4;
3790 }
3791 return NULL;
3792}
3793
3794
3795static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxFrame *arg1 = (wxFrame *) 0 ;
3798 wxToolBar *result;
3799 PyObject * obj0 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 {
3815 resultobj = wxPyMake_wxObject(result);
3816 }
3817 return resultobj;
3818 fail:
3819 return NULL;
3820}
3821
3822
3823static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj;
3825 wxFrame *arg1 = (wxFrame *) 0 ;
3826 wxToolBar *arg2 = (wxToolBar *) 0 ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self",(char *) "toolbar", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 (arg1)->SetToolBar(arg2);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 Py_INCREF(Py_None); resultobj = Py_None;
3846 return resultobj;
3847 fail:
3848 return NULL;
3849}
3850
3851
3852static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxFrame *arg1 = (wxFrame *) 0 ;
3855 wxString *arg2 = 0 ;
3856 bool arg3 ;
e811c8ce 3857 bool temp2 = False ;
d14a1e28
RD
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 PyObject * obj2 = 0 ;
3861 char *kwnames[] = {
3862 (char *) "self",(char *) "text",(char *) "show", NULL
3863 };
3864
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3868 {
3869 arg2 = wxString_in_helper(obj1);
3870 if (arg2 == NULL) SWIG_fail;
e811c8ce 3871 temp2 = True;
d14a1e28 3872 }
15afbcd0
RD
3873 arg3 = (bool) SWIG_AsBool(obj2);
3874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 {
3884 if (temp2)
3885 delete arg2;
3886 }
3887 return resultobj;
3888 fail:
3889 {
3890 if (temp2)
3891 delete arg2;
3892 }
3893 return NULL;
3894}
3895
3896
3897static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxFrame *arg1 = (wxFrame *) 0 ;
3900 wxMenu *arg2 = (wxMenu *) NULL ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 char *kwnames[] = {
3904 (char *) "self",(char *) "menu", NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3910 if (obj1) {
15afbcd0
RD
3911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3913 }
3914 {
3915 PyThreadState* __tstate = wxPyBeginAllowThreads();
3916 (arg1)->DoMenuUpdates(arg2);
3917
3918 wxPyEndAllowThreads(__tstate);
3919 if (PyErr_Occurred()) SWIG_fail;
3920 }
3921 Py_INCREF(Py_None); resultobj = Py_None;
3922 return resultobj;
3923 fail:
3924 return NULL;
3925}
3926
3927
22bfe96c
RD
3928static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3931 wxVisualAttributes result;
3932 PyObject * obj0 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "variant", NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3938 if (obj0) {
3939 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 {
e3b71cb8 3943 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3944 PyThreadState* __tstate = wxPyBeginAllowThreads();
3945 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
3946
3947 wxPyEndAllowThreads(__tstate);
e3b71cb8 3948 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3949 }
3950 {
3951 wxVisualAttributes * resultptr;
3952 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3954 }
3955 return resultobj;
3956 fail:
3957 return NULL;
3958}
3959
3960
d14a1e28
RD
3961static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3962 PyObject *obj;
3963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3964 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3965 Py_INCREF(obj);
3966 return Py_BuildValue((char *)"");
3967}
3968static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3971 int arg2 ;
d14a1e28
RD
3972 wxString *arg3 = 0 ;
3973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3975 wxSize const &arg5_defvalue = wxDefaultSize ;
3976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3977 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3978 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3979 wxString *arg7 = (wxString *) &arg7_defvalue ;
3980 wxDialog *result;
e811c8ce 3981 bool temp3 = False ;
d14a1e28
RD
3982 wxPoint temp4 ;
3983 wxSize temp5 ;
e811c8ce 3984 bool temp7 = False ;
d14a1e28 3985 PyObject * obj0 = 0 ;
994141e6 3986 PyObject * obj1 = 0 ;
d14a1e28
RD
3987 PyObject * obj2 = 0 ;
3988 PyObject * obj3 = 0 ;
3989 PyObject * obj4 = 0 ;
994141e6 3990 PyObject * obj5 = 0 ;
d14a1e28
RD
3991 PyObject * obj6 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3994 };
3995
994141e6 3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
3997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3999 arg2 = (int const) SWIG_AsInt(obj1);
4000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4001 {
4002 arg3 = wxString_in_helper(obj2);
4003 if (arg3 == NULL) SWIG_fail;
e811c8ce 4004 temp3 = True;
d14a1e28
RD
4005 }
4006 if (obj3) {
4007 {
4008 arg4 = &temp4;
4009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4010 }
4011 }
4012 if (obj4) {
4013 {
4014 arg5 = &temp5;
4015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4016 }
4017 }
994141e6 4018 if (obj5) {
15afbcd0
RD
4019 arg6 = (long) SWIG_AsLong(obj5);
4020 if (PyErr_Occurred()) SWIG_fail;
994141e6 4021 }
d14a1e28
RD
4022 if (obj6) {
4023 {
4024 arg7 = wxString_in_helper(obj6);
4025 if (arg7 == NULL) SWIG_fail;
e811c8ce 4026 temp7 = True;
d14a1e28
RD
4027 }
4028 }
4029 {
e3b71cb8 4030 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4033
4034 wxPyEndAllowThreads(__tstate);
e3b71cb8 4035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4036 }
e058867b
RD
4037 {
4038 resultobj = wxPyMake_wxObject(result);
4039 }
d14a1e28
RD
4040 {
4041 if (temp3)
4042 delete arg3;
4043 }
4044 {
4045 if (temp7)
4046 delete arg7;
4047 }
4048 return resultobj;
4049 fail:
4050 {
4051 if (temp3)
4052 delete arg3;
4053 }
4054 {
4055 if (temp7)
4056 delete arg7;
4057 }
4058 return NULL;
4059}
4060
4061
4062static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxDialog *result;
4065 char *kwnames[] = {
4066 NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4070 {
e3b71cb8 4071 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (wxDialog *)new wxDialog();
4074
4075 wxPyEndAllowThreads(__tstate);
e3b71cb8 4076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4077 }
e058867b
RD
4078 {
4079 resultobj = wxPyMake_wxObject(result);
4080 }
d14a1e28
RD
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
4087static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxDialog *arg1 = (wxDialog *) 0 ;
4090 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4091 int arg3 ;
d14a1e28
RD
4092 wxString *arg4 = 0 ;
4093 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4094 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4095 wxSize const &arg6_defvalue = wxDefaultSize ;
4096 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4097 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4098 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4099 wxString *arg8 = (wxString *) &arg8_defvalue ;
4100 bool result;
e811c8ce 4101 bool temp4 = False ;
d14a1e28
RD
4102 wxPoint temp5 ;
4103 wxSize temp6 ;
e811c8ce 4104 bool temp8 = False ;
d14a1e28
RD
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
994141e6 4107 PyObject * obj2 = 0 ;
d14a1e28
RD
4108 PyObject * obj3 = 0 ;
4109 PyObject * obj4 = 0 ;
4110 PyObject * obj5 = 0 ;
994141e6 4111 PyObject * obj6 = 0 ;
d14a1e28
RD
4112 PyObject * obj7 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4115 };
4116
994141e6 4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4122 arg3 = (int const) SWIG_AsInt(obj2);
4123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4124 {
4125 arg4 = wxString_in_helper(obj3);
4126 if (arg4 == NULL) SWIG_fail;
e811c8ce 4127 temp4 = True;
d14a1e28
RD
4128 }
4129 if (obj4) {
4130 {
4131 arg5 = &temp5;
4132 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4133 }
4134 }
4135 if (obj5) {
4136 {
4137 arg6 = &temp6;
4138 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4139 }
4140 }
994141e6 4141 if (obj6) {
15afbcd0
RD
4142 arg7 = (long) SWIG_AsLong(obj6);
4143 if (PyErr_Occurred()) SWIG_fail;
994141e6 4144 }
d14a1e28
RD
4145 if (obj7) {
4146 {
4147 arg8 = wxString_in_helper(obj7);
4148 if (arg8 == NULL) SWIG_fail;
e811c8ce 4149 temp8 = True;
d14a1e28
RD
4150 }
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4f89f6a3
RD
4159 {
4160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4161 }
d14a1e28
RD
4162 {
4163 if (temp4)
4164 delete arg4;
4165 }
4166 {
4167 if (temp8)
4168 delete arg8;
4169 }
4170 return resultobj;
4171 fail:
4172 {
4173 if (temp4)
4174 delete arg4;
4175 }
4176 {
4177 if (temp8)
4178 delete arg8;
4179 }
4180 return NULL;
4181}
4182
4183
4184static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxDialog *arg1 = (wxDialog *) 0 ;
4187 int arg2 ;
4188 PyObject * obj0 = 0 ;
994141e6 4189 PyObject * obj1 = 0 ;
d14a1e28
RD
4190 char *kwnames[] = {
4191 (char *) "self",(char *) "returnCode", NULL
4192 };
4193
994141e6 4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4197 arg2 = (int) SWIG_AsInt(obj1);
4198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 (arg1)->SetReturnCode(arg2);
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 Py_INCREF(Py_None); resultobj = Py_None;
4207 return resultobj;
4208 fail:
4209 return NULL;
4210}
4211
4212
4213static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxDialog *arg1 = (wxDialog *) 0 ;
4216 int result;
4217 PyObject * obj0 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
15afbcd0 4232 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4233 return resultobj;
4234 fail:
4235 return NULL;
4236}
4237
4238
4239static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj;
4241 wxDialog *arg1 = (wxDialog *) 0 ;
4242 wxString *arg2 = 0 ;
4243 wxSizer *result;
e811c8ce 4244 bool temp2 = False ;
d14a1e28
RD
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "message", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4254 {
4255 arg2 = wxString_in_helper(obj1);
4256 if (arg2 == NULL) SWIG_fail;
e811c8ce 4257 temp2 = True;
d14a1e28
RD
4258 }
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 {
4267 resultobj = wxPyMake_wxSizer(result);
4268 }
4269 {
4270 if (temp2)
4271 delete arg2;
4272 }
4273 return resultobj;
4274 fail:
4275 {
4276 if (temp2)
4277 delete arg2;
4278 }
4279 return NULL;
4280}
4281
4282
4283static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxDialog *arg1 = (wxDialog *) 0 ;
4286 long arg2 ;
4287 wxSizer *result;
4288 PyObject * obj0 = 0 ;
994141e6 4289 PyObject * obj1 = 0 ;
d14a1e28
RD
4290 char *kwnames[] = {
4291 (char *) "self",(char *) "flags", NULL
4292 };
4293
994141e6 4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4297 arg2 = (long) SWIG_AsLong(obj1);
4298 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4299 {
4300 PyThreadState* __tstate = wxPyBeginAllowThreads();
4301 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4302
4303 wxPyEndAllowThreads(__tstate);
4304 if (PyErr_Occurred()) SWIG_fail;
4305 }
4306 {
4307 resultobj = wxPyMake_wxSizer(result);
4308 }
4309 return resultobj;
4310 fail:
4311 return NULL;
4312}
4313
4314
d14a1e28
RD
4315static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxDialog *arg1 = (wxDialog *) 0 ;
4318 bool result;
4319 PyObject * obj0 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4327 {
4328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4329 result = (bool)((wxDialog const *)arg1)->IsModal();
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4f89f6a3
RD
4334 {
4335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4336 }
d14a1e28
RD
4337 return resultobj;
4338 fail:
4339 return NULL;
4340}
4341
4342
4343static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxDialog *arg1 = (wxDialog *) 0 ;
4346 int result;
4347 PyObject * obj0 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (int)(arg1)->ShowModal();
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
15afbcd0 4362 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4363 return resultobj;
4364 fail:
4365 return NULL;
4366}
4367
4368
4369static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxDialog *arg1 = (wxDialog *) 0 ;
4372 int arg2 ;
4373 PyObject * obj0 = 0 ;
994141e6 4374 PyObject * obj1 = 0 ;
d14a1e28
RD
4375 char *kwnames[] = {
4376 (char *) "self",(char *) "retCode", NULL
4377 };
4378
994141e6 4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4382 arg2 = (int) SWIG_AsInt(obj1);
4383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 (arg1)->EndModal(arg2);
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4391 Py_INCREF(Py_None); resultobj = Py_None;
4392 return resultobj;
4393 fail:
4394 return NULL;
4395}
4396
4397
22bfe96c
RD
4398static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj;
4400 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4401 wxVisualAttributes result;
4402 PyObject * obj0 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "variant", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4408 if (obj0) {
4409 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 {
e3b71cb8 4413 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4416
4417 wxPyEndAllowThreads(__tstate);
e3b71cb8 4418 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4419 }
4420 {
4421 wxVisualAttributes * resultptr;
4422 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4424 }
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
d14a1e28
RD
4431static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4432 PyObject *obj;
4433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4434 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4435 Py_INCREF(obj);
4436 return Py_BuildValue((char *)"");
4437}
4438static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj;
4440 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4441 int arg2 ;
d14a1e28
RD
4442 wxString *arg3 = 0 ;
4443 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4444 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4445 wxSize const &arg5_defvalue = wxDefaultSize ;
4446 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4447 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4448 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4449 wxString *arg7 = (wxString *) &arg7_defvalue ;
4450 wxMiniFrame *result;
e811c8ce 4451 bool temp3 = False ;
d14a1e28
RD
4452 wxPoint temp4 ;
4453 wxSize temp5 ;
e811c8ce 4454 bool temp7 = False ;
d14a1e28 4455 PyObject * obj0 = 0 ;
994141e6 4456 PyObject * obj1 = 0 ;
d14a1e28
RD
4457 PyObject * obj2 = 0 ;
4458 PyObject * obj3 = 0 ;
4459 PyObject * obj4 = 0 ;
994141e6 4460 PyObject * obj5 = 0 ;
d14a1e28
RD
4461 PyObject * obj6 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4464 };
4465
994141e6 4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4469 arg2 = (int const) SWIG_AsInt(obj1);
4470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4471 {
4472 arg3 = wxString_in_helper(obj2);
4473 if (arg3 == NULL) SWIG_fail;
e811c8ce 4474 temp3 = True;
d14a1e28
RD
4475 }
4476 if (obj3) {
4477 {
4478 arg4 = &temp4;
4479 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4480 }
4481 }
4482 if (obj4) {
4483 {
4484 arg5 = &temp5;
4485 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4486 }
4487 }
994141e6 4488 if (obj5) {
15afbcd0
RD
4489 arg6 = (long) SWIG_AsLong(obj5);
4490 if (PyErr_Occurred()) SWIG_fail;
994141e6 4491 }
d14a1e28
RD
4492 if (obj6) {
4493 {
4494 arg7 = wxString_in_helper(obj6);
4495 if (arg7 == NULL) SWIG_fail;
e811c8ce 4496 temp7 = True;
d14a1e28
RD
4497 }
4498 }
4499 {
e3b71cb8 4500 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4503
4504 wxPyEndAllowThreads(__tstate);
e3b71cb8 4505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4506 }
15afbcd0 4507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4508 {
4509 if (temp3)
4510 delete arg3;
4511 }
4512 {
4513 if (temp7)
4514 delete arg7;
4515 }
4516 return resultobj;
4517 fail:
4518 {
4519 if (temp3)
4520 delete arg3;
4521 }
4522 {
4523 if (temp7)
4524 delete arg7;
4525 }
4526 return NULL;
4527}
4528
4529
4530static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj;
4532 wxMiniFrame *result;
4533 char *kwnames[] = {
4534 NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4538 {
e3b71cb8 4539 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 result = (wxMiniFrame *)new wxMiniFrame();
4542
4543 wxPyEndAllowThreads(__tstate);
e3b71cb8 4544 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4545 }
15afbcd0 4546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
4553static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4556 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4557 int arg3 ;
d14a1e28
RD
4558 wxString *arg4 = 0 ;
4559 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4560 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4561 wxSize const &arg6_defvalue = wxDefaultSize ;
4562 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4563 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4564 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4565 wxString *arg8 = (wxString *) &arg8_defvalue ;
4566 bool result;
e811c8ce 4567 bool temp4 = False ;
d14a1e28
RD
4568 wxPoint temp5 ;
4569 wxSize temp6 ;
e811c8ce 4570 bool temp8 = False ;
d14a1e28
RD
4571 PyObject * obj0 = 0 ;
4572 PyObject * obj1 = 0 ;
994141e6 4573 PyObject * obj2 = 0 ;
d14a1e28
RD
4574 PyObject * obj3 = 0 ;
4575 PyObject * obj4 = 0 ;
4576 PyObject * obj5 = 0 ;
994141e6 4577 PyObject * obj6 = 0 ;
d14a1e28
RD
4578 PyObject * obj7 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4581 };
4582
994141e6 4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4588 arg3 = (int const) SWIG_AsInt(obj2);
4589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4590 {
4591 arg4 = wxString_in_helper(obj3);
4592 if (arg4 == NULL) SWIG_fail;
e811c8ce 4593 temp4 = True;
d14a1e28
RD
4594 }
4595 if (obj4) {
4596 {
4597 arg5 = &temp5;
4598 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4599 }
4600 }
4601 if (obj5) {
4602 {
4603 arg6 = &temp6;
4604 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4605 }
4606 }
994141e6 4607 if (obj6) {
15afbcd0
RD
4608 arg7 = (long) SWIG_AsLong(obj6);
4609 if (PyErr_Occurred()) SWIG_fail;
994141e6 4610 }
d14a1e28
RD
4611 if (obj7) {
4612 {
4613 arg8 = wxString_in_helper(obj7);
4614 if (arg8 == NULL) SWIG_fail;
e811c8ce 4615 temp8 = True;
d14a1e28
RD
4616 }
4617 }
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4f89f6a3
RD
4625 {
4626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4627 }
d14a1e28
RD
4628 {
4629 if (temp4)
4630 delete arg4;
4631 }
4632 {
4633 if (temp8)
4634 delete arg8;
4635 }
4636 return resultobj;
4637 fail:
4638 {
4639 if (temp4)
4640 delete arg4;
4641 }
4642 {
4643 if (temp8)
4644 delete arg8;
4645 }
4646 return NULL;
4647}
4648
4649
4650static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4651 PyObject *obj;
4652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4653 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4654 Py_INCREF(obj);
4655 return Py_BuildValue((char *)"");
4656}
4657static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxBitmap *arg1 = 0 ;
4660 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4661 int arg3 ;
d14a1e28
RD
4662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4664 wxSize const &arg5_defvalue = wxDefaultSize ;
4665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4666 long arg6 = (long) wxNO_BORDER ;
4667 wxSplashScreenWindow *result;
4668 wxPoint temp4 ;
4669 wxSize temp5 ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
994141e6 4672 PyObject * obj2 = 0 ;
d14a1e28
RD
4673 PyObject * obj3 = 0 ;
4674 PyObject * obj4 = 0 ;
994141e6 4675 PyObject * obj5 = 0 ;
d14a1e28
RD
4676 char *kwnames[] = {
4677 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4678 };
4679
994141e6 4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4682 SWIG_POINTER_EXCEPTION | 0)) == -1)
4683 SWIG_fail;
d14a1e28 4684 if (arg1 == NULL) {
15afbcd0
RD
4685 PyErr_SetString(PyExc_TypeError,"null reference");
4686 SWIG_fail;
994141e6 4687 }
15afbcd0
RD
4688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4690 arg3 = (int) SWIG_AsInt(obj2);
4691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4692 if (obj3) {
4693 {
4694 arg4 = &temp4;
4695 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4696 }
4697 }
4698 if (obj4) {
4699 {
4700 arg5 = &temp5;
4701 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4702 }
4703 }
994141e6 4704 if (obj5) {
15afbcd0
RD
4705 arg6 = (long) SWIG_AsLong(obj5);
4706 if (PyErr_Occurred()) SWIG_fail;
994141e6 4707 }
d14a1e28 4708 {
e3b71cb8 4709 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4712
4713 wxPyEndAllowThreads(__tstate);
e3b71cb8 4714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4715 }
15afbcd0 4716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
4717 return resultobj;
4718 fail:
4719 return NULL;
4720}
4721
4722
4723static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4724 PyObject *resultobj;
4725 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4726 wxBitmap *arg2 = 0 ;
4727 PyObject * obj0 = 0 ;
4728 PyObject * obj1 = 0 ;
4729 char *kwnames[] = {
4730 (char *) "self",(char *) "bitmap", NULL
4731 };
4732
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4737 SWIG_POINTER_EXCEPTION | 0)) == -1)
4738 SWIG_fail;
d14a1e28 4739 if (arg2 == NULL) {
15afbcd0
RD
4740 PyErr_SetString(PyExc_TypeError,"null reference");
4741 SWIG_fail;
d14a1e28
RD
4742 }
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 Py_INCREF(Py_None); resultobj = Py_None;
4751 return resultobj;
4752 fail:
4753 return NULL;
4754}
4755
4756
4757static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4760 wxBitmap *result;
4761 PyObject * obj0 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
4767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 {
4772 wxBitmap &_result_ref = (arg1)->GetBitmap();
4773 result = (wxBitmap *) &_result_ref;
4774 }
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4276dc52
RD
4779 {
4780 wxBitmap* resultptr = new wxBitmap(*result);
4781 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4782 }
d14a1e28
RD
4783 return resultobj;
4784 fail:
4785 return NULL;
4786}
4787
4788
4789static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4790 PyObject *obj;
4791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4792 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4793 Py_INCREF(obj);
4794 return Py_BuildValue((char *)"");
4795}
4796static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxBitmap *arg1 = 0 ;
4799 long arg2 ;
4800 int arg3 ;
4801 wxWindow *arg4 = (wxWindow *) 0 ;
e811c8ce 4802 int arg5 ;
d14a1e28
RD
4803 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4804 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4805 wxSize const &arg7_defvalue = wxDefaultSize ;
4806 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4807 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4808 wxSplashScreen *result;
4809 wxPoint temp6 ;
4810 wxSize temp7 ;
4811 PyObject * obj0 = 0 ;
994141e6
RD
4812 PyObject * obj1 = 0 ;
4813 PyObject * obj2 = 0 ;
d14a1e28 4814 PyObject * obj3 = 0 ;
994141e6 4815 PyObject * obj4 = 0 ;
d14a1e28
RD
4816 PyObject * obj5 = 0 ;
4817 PyObject * obj6 = 0 ;
994141e6 4818 PyObject * obj7 = 0 ;
d14a1e28
RD
4819 char *kwnames[] = {
4820 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4821 };
4822
994141e6 4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1)
4826 SWIG_fail;
d14a1e28 4827 if (arg1 == NULL) {
15afbcd0
RD
4828 PyErr_SetString(PyExc_TypeError,"null reference");
4829 SWIG_fail;
4830 }
4831 arg2 = (long) SWIG_AsLong(obj1);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 arg3 = (int) SWIG_AsInt(obj2);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4837 arg5 = (int) SWIG_AsInt(obj4);
4838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4839 if (obj5) {
4840 {
4841 arg6 = &temp6;
4842 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4843 }
4844 }
4845 if (obj6) {
4846 {
4847 arg7 = &temp7;
4848 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4849 }
4850 }
994141e6 4851 if (obj7) {
15afbcd0
RD
4852 arg8 = (long) SWIG_AsLong(obj7);
4853 if (PyErr_Occurred()) SWIG_fail;
994141e6 4854 }
d14a1e28 4855 {
e3b71cb8 4856 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4859
4860 wxPyEndAllowThreads(__tstate);
e3b71cb8 4861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4862 }
15afbcd0 4863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
4870static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4873 long result;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
15afbcd0 4889 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
4890 return resultobj;
4891 fail:
4892 return NULL;
4893}
4894
4895
4896static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4899 wxSplashScreenWindow *result;
4900 PyObject * obj0 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
15afbcd0 4915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
4916 return resultobj;
4917 fail:
4918 return NULL;
4919}
4920
4921
4922static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4923 PyObject *resultobj;
4924 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4925 int result;
4926 PyObject * obj0 = 0 ;
4927 char *kwnames[] = {
4928 (char *) "self", NULL
4929 };
4930
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
15afbcd0
RD
4932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4937
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
15afbcd0 4941 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4942 return resultobj;
4943 fail:
4944 return NULL;
4945}
4946
4947
4948static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4949 PyObject *obj;
4950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4951 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4952 Py_INCREF(obj);
4953 return Py_BuildValue((char *)"");
4954}
4955static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4958 int arg2 = (int) -1 ;
4276dc52 4959 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
d14a1e28
RD
4960 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4961 wxString *arg4 = (wxString *) &arg4_defvalue ;
4962 wxStatusBar *result;
e811c8ce 4963 bool temp4 = False ;
d14a1e28 4964 PyObject * obj0 = 0 ;
994141e6
RD
4965 PyObject * obj1 = 0 ;
4966 PyObject * obj2 = 0 ;
d14a1e28
RD
4967 PyObject * obj3 = 0 ;
4968 char *kwnames[] = {
4969 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4970 };
4971
994141e6 4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4975 if (obj1) {
15afbcd0
RD
4976 arg2 = (int) SWIG_AsInt(obj1);
4977 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4978 }
4979 if (obj2) {
15afbcd0
RD
4980 arg3 = (long) SWIG_AsLong(obj2);
4981 if (PyErr_Occurred()) SWIG_fail;
994141e6 4982 }
d14a1e28
RD
4983 if (obj3) {
4984 {
4985 arg4 = wxString_in_helper(obj3);
4986 if (arg4 == NULL) SWIG_fail;
e811c8ce 4987 temp4 = True;
d14a1e28
RD
4988 }
4989 }
4990 {
e3b71cb8 4991 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4994
4995 wxPyEndAllowThreads(__tstate);
e3b71cb8 4996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4997 }
4998 {
4999 resultobj = wxPyMake_wxObject(result);
5000 }
5001 {
5002 if (temp4)
5003 delete arg4;
5004 }
5005 return resultobj;
5006 fail:
5007 {
5008 if (temp4)
5009 delete arg4;
5010 }
5011 return NULL;
5012}
5013
5014
5015static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject *resultobj;
5017 wxStatusBar *result;
5018 char *kwnames[] = {
5019 NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5023 {
e3b71cb8 5024 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (wxStatusBar *)new wxStatusBar();
5027
5028 wxPyEndAllowThreads(__tstate);
e3b71cb8 5029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5030 }
5031 {
5032 resultobj = wxPyMake_wxObject(result);
5033 }
5034 return resultobj;
5035 fail:
5036 return NULL;
5037}
5038
5039
5040static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj;
5042 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5043 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5044 int arg3 ;
d14a1e28
RD
5045 long arg4 = (long) wxST_SIZEGRIP ;
5046 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5047 wxString *arg5 = (wxString *) &arg5_defvalue ;
5048 bool result;
e811c8ce 5049 bool temp5 = False ;
d14a1e28
RD
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
994141e6
RD
5052 PyObject * obj2 = 0 ;
5053 PyObject * obj3 = 0 ;
d14a1e28
RD
5054 PyObject * obj4 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5057 };
5058
994141e6 5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5064 arg3 = (int) SWIG_AsInt(obj2);
5065 if (PyErr_Occurred()) SWIG_fail;
994141e6 5066 if (obj3) {
15afbcd0
RD
5067 arg4 = (long) SWIG_AsLong(obj3);
5068 if (PyErr_Occurred()) SWIG_fail;
994141e6 5069 }
d14a1e28
RD
5070 if (obj4) {
5071 {
5072 arg5 = wxString_in_helper(obj4);
5073 if (arg5 == NULL) SWIG_fail;
e811c8ce 5074 temp5 = True;
d14a1e28
RD
5075 }
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
4f89f6a3
RD
5084 {
5085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5086 }
d14a1e28
RD
5087 {
5088 if (temp5)
5089 delete arg5;
5090 }
5091 return resultobj;
5092 fail:
5093 {
5094 if (temp5)
5095 delete arg5;
5096 }
5097 return NULL;
5098}
5099
5100
5101static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject *resultobj;
5103 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5104 int arg2 = (int) 1 ;
5105 PyObject * obj0 = 0 ;
994141e6 5106 PyObject * obj1 = 0 ;
d14a1e28
RD
5107 char *kwnames[] = {
5108 (char *) "self",(char *) "number", NULL
5109 };
5110
994141e6 5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5114 if (obj1) {
15afbcd0
RD
5115 arg2 = (int) SWIG_AsInt(obj1);
5116 if (PyErr_Occurred()) SWIG_fail;
994141e6 5117 }
d14a1e28
RD
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->SetFieldsCount(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
5132static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5135 int result;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
5142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
15afbcd0 5151 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5152 return resultobj;
5153 fail:
5154 return NULL;
5155}
5156
5157
5158static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5161 wxString *arg2 = 0 ;
5162 int arg3 = (int) 0 ;
e811c8ce 5163 bool temp2 = False ;
d14a1e28
RD
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
994141e6 5166 PyObject * obj2 = 0 ;
d14a1e28
RD
5167 char *kwnames[] = {
5168 (char *) "self",(char *) "text",(char *) "number", NULL
5169 };
5170
994141e6 5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5174 {
5175 arg2 = wxString_in_helper(obj1);
5176 if (arg2 == NULL) SWIG_fail;
e811c8ce 5177 temp2 = True;
d14a1e28 5178 }
994141e6 5179 if (obj2) {
15afbcd0
RD
5180 arg3 = (int) SWIG_AsInt(obj2);
5181 if (PyErr_Occurred()) SWIG_fail;
994141e6 5182 }
d14a1e28
RD
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 Py_INCREF(Py_None); resultobj = Py_None;
5191 {
5192 if (temp2)
5193 delete arg2;
5194 }
5195 return resultobj;
5196 fail:
5197 {
5198 if (temp2)
5199 delete arg2;
5200 }
5201 return NULL;
5202}
5203
5204
5205static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject *resultobj;
5207 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5208 int arg2 = (int) 0 ;
5209 wxString result;
5210 PyObject * obj0 = 0 ;
994141e6 5211 PyObject * obj1 = 0 ;
d14a1e28
RD
5212 char *kwnames[] = {
5213 (char *) "self",(char *) "number", NULL
5214 };
5215
994141e6 5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5219 if (obj1) {
15afbcd0
RD
5220 arg2 = (int) SWIG_AsInt(obj1);
5221 if (PyErr_Occurred()) SWIG_fail;
994141e6 5222 }
d14a1e28
RD
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 {
5231#if wxUSE_UNICODE
5232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5233#else
5234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5235#endif
5236 }
5237 return resultobj;
5238 fail:
5239 return NULL;
5240}
5241
5242
5243static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5246 wxString *arg2 = 0 ;
5247 int arg3 = (int) 0 ;
e811c8ce 5248 bool temp2 = False ;
d14a1e28
RD
5249 PyObject * obj0 = 0 ;
5250 PyObject * obj1 = 0 ;
994141e6 5251 PyObject * obj2 = 0 ;
d14a1e28
RD
5252 char *kwnames[] = {
5253 (char *) "self",(char *) "text",(char *) "number", NULL
5254 };
5255
994141e6 5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5259 {
5260 arg2 = wxString_in_helper(obj1);
5261 if (arg2 == NULL) SWIG_fail;
e811c8ce 5262 temp2 = True;
d14a1e28 5263 }
994141e6 5264 if (obj2) {
15afbcd0
RD
5265 arg3 = (int) SWIG_AsInt(obj2);
5266 if (PyErr_Occurred()) SWIG_fail;
994141e6 5267 }
d14a1e28
RD
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 Py_INCREF(Py_None); resultobj = Py_None;
5276 {
5277 if (temp2)
5278 delete arg2;
5279 }
5280 return resultobj;
5281 fail:
5282 {
5283 if (temp2)
5284 delete arg2;
5285 }
5286 return NULL;
5287}
5288
5289
5290static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5293 int arg2 = (int) 0 ;
5294 PyObject * obj0 = 0 ;
994141e6 5295 PyObject * obj1 = 0 ;
d14a1e28
RD
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "number", NULL
5298 };
5299
994141e6 5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5303 if (obj1) {
15afbcd0
RD
5304 arg2 = (int) SWIG_AsInt(obj1);
5305 if (PyErr_Occurred()) SWIG_fail;
994141e6 5306 }
d14a1e28
RD
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 (arg1)->PopStatusText(arg2);
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 Py_INCREF(Py_None); resultobj = Py_None;
5315 return resultobj;
5316 fail:
5317 return NULL;
5318}
5319
5320
5321static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5324 int arg2 ;
5325 int *arg3 = (int *) 0 ;
5326 PyObject * obj0 = 0 ;
5327 PyObject * obj1 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "widths", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5335 {
5336 arg2 = PyList_Size(obj1);
5337 arg3 = int_LIST_helper(obj1);
5338 if (arg3 == NULL) SWIG_fail;
5339 }
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 Py_INCREF(Py_None); resultobj = Py_None;
5348 {
5349 if (arg3) delete [] arg3;
5350 }
5351 return resultobj;
5352 fail:
5353 {
5354 if (arg3) delete [] arg3;
5355 }
5356 return NULL;
5357}
5358
5359
5360static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5363 int arg2 ;
7722248d 5364 wxRect result;
d14a1e28 5365 PyObject * obj0 = 0 ;
994141e6 5366 PyObject * obj1 = 0 ;
d14a1e28 5367 char *kwnames[] = {
7722248d 5368 (char *) "self",(char *) "i", NULL
d14a1e28
RD
5369 };
5370
994141e6 5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5374 arg2 = (int) SWIG_AsInt(obj1);
5375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 5378 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
7722248d
RD
5383 {
5384 wxRect * resultptr;
5385 resultptr = new wxRect((wxRect &) result);
15afbcd0 5386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 5387 }
d14a1e28
RD
5388 return resultobj;
5389 fail:
5390 return NULL;
5391}
5392
5393
5394static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5397 int arg2 ;
5398 PyObject * obj0 = 0 ;
994141e6 5399 PyObject * obj1 = 0 ;
d14a1e28
RD
5400 char *kwnames[] = {
5401 (char *) "self",(char *) "height", NULL
5402 };
5403
994141e6 5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5407 arg2 = (int) SWIG_AsInt(obj1);
5408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 (arg1)->SetMinHeight(arg2);
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 Py_INCREF(Py_None); resultobj = Py_None;
5417 return resultobj;
5418 fail:
5419 return NULL;
5420}
5421
5422
5423static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj;
5425 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5426 int result;
5427 PyObject * obj0 = 0 ;
5428 char *kwnames[] = {
5429 (char *) "self", NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5438
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
15afbcd0 5442 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5443 return resultobj;
5444 fail:
5445 return NULL;
5446}
5447
5448
5449static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj;
5451 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5452 int result;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
15afbcd0 5468 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5469 return resultobj;
5470 fail:
5471 return NULL;
5472}
5473
5474
22bfe96c
RD
5475static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5478 wxVisualAttributes result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "variant", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5485 if (obj0) {
5486 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 {
e3b71cb8 5490 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5493
5494 wxPyEndAllowThreads(__tstate);
e3b71cb8 5495 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5496 }
5497 {
5498 wxVisualAttributes * resultptr;
5499 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5501 }
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
d14a1e28
RD
5508static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5509 PyObject *obj;
5510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5511 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5512 Py_INCREF(obj);
5513 return Py_BuildValue((char *)"");
5514}
b2dc1044
RD
5515static int _wrap_SplitterNameStr_set(PyObject *_val) {
5516 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5517 return 1;
5518}
5519
5520
5521static PyObject *_wrap_SplitterNameStr_get() {
5522 PyObject *pyobj;
5523
5524 {
5525#if wxUSE_UNICODE
5526 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5527#else
5528 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5529#endif
5530 }
5531 return pyobj;
5532}
5533
5534
d14a1e28
RD
5535static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject *resultobj;
5537 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 5538 int arg2 = (int) -1 ;
d14a1e28
RD
5539 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5540 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5541 wxSize const &arg4_defvalue = wxDefaultSize ;
5542 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5543 long arg5 = (long) wxSP_3D ;
5544 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5545 wxString *arg6 = (wxString *) &arg6_defvalue ;
5546 wxSplitterWindow *result;
5547 wxPoint temp3 ;
5548 wxSize temp4 ;
e811c8ce 5549 bool temp6 = False ;
d14a1e28 5550 PyObject * obj0 = 0 ;
994141e6 5551 PyObject * obj1 = 0 ;
d14a1e28
RD
5552 PyObject * obj2 = 0 ;
5553 PyObject * obj3 = 0 ;
994141e6 5554 PyObject * obj4 = 0 ;
d14a1e28
RD
5555 PyObject * obj5 = 0 ;
5556 char *kwnames[] = {
994141e6 5557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5558 };
5559
74a57fcd 5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
5561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
5563 if (obj1) {
5564 arg2 = (int) SWIG_AsInt(obj1);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
d14a1e28
RD
5567 if (obj2) {
5568 {
5569 arg3 = &temp3;
5570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5571 }
5572 }
5573 if (obj3) {
5574 {
5575 arg4 = &temp4;
5576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5577 }
5578 }
15afbcd0
RD
5579 if (obj4) {
5580 arg5 = (long) SWIG_AsLong(obj4);
5581 if (PyErr_Occurred()) SWIG_fail;
994141e6 5582 }
d14a1e28
RD
5583 if (obj5) {
5584 {
5585 arg6 = wxString_in_helper(obj5);
5586 if (arg6 == NULL) SWIG_fail;
e811c8ce 5587 temp6 = True;
d14a1e28
RD
5588 }
5589 }
5590 {
e3b71cb8 5591 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5594
5595 wxPyEndAllowThreads(__tstate);
e3b71cb8 5596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5597 }
15afbcd0 5598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5599 {
5600 if (temp6)
5601 delete arg6;
5602 }
5603 return resultobj;
5604 fail:
5605 {
5606 if (temp6)
5607 delete arg6;
5608 }
5609 return NULL;
5610}
5611
5612
5613static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxSplitterWindow *result;
5616 char *kwnames[] = {
5617 NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5621 {
e3b71cb8 5622 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 result = (wxSplitterWindow *)new wxSplitterWindow();
5625
5626 wxPyEndAllowThreads(__tstate);
e3b71cb8 5627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5628 }
15afbcd0 5629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5630 return resultobj;
5631 fail:
5632 return NULL;
5633}
5634
5635
5636static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject *resultobj;
5638 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5639 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 5640 int arg3 = (int) -1 ;
d14a1e28
RD
5641 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5642 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5643 wxSize const &arg5_defvalue = wxDefaultSize ;
5644 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5645 long arg6 = (long) wxSP_3D ;
5646 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5647 wxString *arg7 = (wxString *) &arg7_defvalue ;
5648 bool result;
5649 wxPoint temp4 ;
5650 wxSize temp5 ;
e811c8ce 5651 bool temp7 = False ;
d14a1e28
RD
5652 PyObject * obj0 = 0 ;
5653 PyObject * obj1 = 0 ;
994141e6 5654 PyObject * obj2 = 0 ;
d14a1e28
RD
5655 PyObject * obj3 = 0 ;
5656 PyObject * obj4 = 0 ;
994141e6 5657 PyObject * obj5 = 0 ;
d14a1e28
RD
5658 PyObject * obj6 = 0 ;
5659 char *kwnames[] = {
994141e6 5660 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5661 };
5662
74a57fcd 5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
5668 if (obj2) {
5669 arg3 = (int) SWIG_AsInt(obj2);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 }
d14a1e28
RD
5672 if (obj3) {
5673 {
5674 arg4 = &temp4;
5675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5676 }
5677 }
5678 if (obj4) {
5679 {
5680 arg5 = &temp5;
5681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5682 }
5683 }
994141e6 5684 if (obj5) {
15afbcd0
RD
5685 arg6 = (long) SWIG_AsLong(obj5);
5686 if (PyErr_Occurred()) SWIG_fail;
994141e6 5687 }
d14a1e28
RD
5688 if (obj6) {
5689 {
5690 arg7 = wxString_in_helper(obj6);
5691 if (arg7 == NULL) SWIG_fail;
e811c8ce 5692 temp7 = True;
d14a1e28
RD
5693 }
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
4f89f6a3
RD
5702 {
5703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5704 }
d14a1e28
RD
5705 {
5706 if (temp7)
5707 delete arg7;
5708 }
5709 return resultobj;
5710 fail:
5711 {
5712 if (temp7)
5713 delete arg7;
5714 }
5715 return NULL;
5716}
5717
5718
5719static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5722 wxWindow *result;
5723 PyObject * obj0 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
15afbcd0
RD
5729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 {
5739 resultobj = wxPyMake_wxObject(result);
5740 }
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
5747static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5750 wxWindow *result;
5751 PyObject * obj0 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
15afbcd0
RD
5757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 resultobj = wxPyMake_wxObject(result);
5768 }
5769 return resultobj;
5770 fail:
5771 return NULL;
5772}
5773
5774
5775static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5778 int arg2 ;
5779 PyObject * obj0 = 0 ;
994141e6 5780 PyObject * obj1 = 0 ;
d14a1e28
RD
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "mode", NULL
5783 };
5784
994141e6 5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 arg2 = (int) SWIG_AsInt(obj1);
5789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->SetSplitMode(arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801}
5802
5803
5804static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5807 int result;
5808 PyObject * obj0 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
5814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
15afbcd0 5823 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5824 return resultobj;
5825 fail:
5826 return NULL;
5827}
5828
5829
5830static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5831 PyObject *resultobj;
5832 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5833 wxWindow *arg2 = (wxWindow *) 0 ;
5834 PyObject * obj0 = 0 ;
5835 PyObject * obj1 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self",(char *) "window", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 (arg1)->Initialize(arg2);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 Py_INCREF(Py_None); resultobj = Py_None;
5853 return resultobj;
5854 fail:
5855 return NULL;
5856}
5857
5858
5859static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5862 wxWindow *arg2 = (wxWindow *) 0 ;
5863 wxWindow *arg3 = (wxWindow *) 0 ;
5864 int arg4 = (int) 0 ;
5865 bool result;
5866 PyObject * obj0 = 0 ;
5867 PyObject * obj1 = 0 ;
5868 PyObject * obj2 = 0 ;
994141e6 5869 PyObject * obj3 = 0 ;
d14a1e28
RD
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5872 };
5873
994141e6 5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5879 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5881 if (obj3) {
15afbcd0
RD
5882 arg4 = (int) SWIG_AsInt(obj3);
5883 if (PyErr_Occurred()) SWIG_fail;
994141e6 5884 }
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
4f89f6a3
RD
5892 {
5893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5894 }
d14a1e28
RD
5895 return resultobj;
5896 fail:
5897 return NULL;
5898}
5899
5900
5901static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5902 PyObject *resultobj;
5903 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5904 wxWindow *arg2 = (wxWindow *) 0 ;
5905 wxWindow *arg3 = (wxWindow *) 0 ;
5906 int arg4 = (int) 0 ;
5907 bool result;
5908 PyObject * obj0 = 0 ;
5909 PyObject * obj1 = 0 ;
5910 PyObject * obj2 = 0 ;
994141e6 5911 PyObject * obj3 = 0 ;
d14a1e28
RD
5912 char *kwnames[] = {
5913 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5914 };
5915
994141e6 5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5921 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5923 if (obj3) {
15afbcd0
RD
5924 arg4 = (int) SWIG_AsInt(obj3);
5925 if (PyErr_Occurred()) SWIG_fail;
994141e6 5926 }
d14a1e28
RD
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
4f89f6a3
RD
5934 {
5935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5936 }
d14a1e28
RD
5937 return resultobj;
5938 fail:
5939 return NULL;
5940}
5941
5942
5943static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5946 wxWindow *arg2 = (wxWindow *) NULL ;
5947 bool result;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self",(char *) "toRemove", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 5957 if (obj1) {
15afbcd0
RD
5958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (bool)(arg1)->Unsplit(arg2);
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
4f89f6a3
RD
5968 {
5969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5970 }
d14a1e28
RD
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
5977static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5980 wxWindow *arg2 = (wxWindow *) 0 ;
5981 wxWindow *arg3 = (wxWindow *) 0 ;
5982 bool result;
5983 PyObject * obj0 = 0 ;
5984 PyObject * obj1 = 0 ;
5985 PyObject * obj2 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5995 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
4f89f6a3
RD
6004 {
6005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6006 }
d14a1e28
RD
6007 return resultobj;
6008 fail:
6009 return NULL;
6010}
6011
6012
d00d1b88
RD
6013static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 (arg1)->UpdateSize();
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 Py_INCREF(Py_None); resultobj = Py_None;
6032 return resultobj;
6033 fail:
6034 return NULL;
6035}
6036
6037
d14a1e28
RD
6038static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj;
6040 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6041 bool result;
6042 PyObject * obj0 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
15afbcd0
RD
6048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6053
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
4f89f6a3
RD
6057 {
6058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6059 }
d14a1e28
RD
6060 return resultobj;
6061 fail:
6062 return NULL;
6063}
6064
6065
6066static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6069 int arg2 ;
6070 PyObject * obj0 = 0 ;
994141e6 6071 PyObject * obj1 = 0 ;
d14a1e28
RD
6072 char *kwnames[] = {
6073 (char *) "self",(char *) "width", NULL
6074 };
6075
994141e6 6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6079 arg2 = (int) SWIG_AsInt(obj1);
6080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 (arg1)->SetSashSize(arg2);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 Py_INCREF(Py_None); resultobj = Py_None;
6089 return resultobj;
6090 fail:
6091 return NULL;
6092}
6093
6094
6095static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6098 int arg2 ;
6099 PyObject * obj0 = 0 ;
994141e6 6100 PyObject * obj1 = 0 ;
d14a1e28
RD
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "width", NULL
6103 };
6104
994141e6 6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 arg2 = (int) SWIG_AsInt(obj1);
6109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 (arg1)->SetBorderSize(arg2);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 Py_INCREF(Py_None); resultobj = Py_None;
6118 return resultobj;
6119 fail:
6120 return NULL;
6121}
6122
6123
6124static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6127 int result;
6128 PyObject * obj0 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
15afbcd0 6143 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
6150static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject *resultobj;
6152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6153 int result;
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
15afbcd0 6169 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6170 return resultobj;
6171 fail:
6172 return NULL;
6173}
6174
6175
6176static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj;
6178 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6179 int arg2 ;
e811c8ce 6180 bool arg3 = (bool) True ;
d14a1e28 6181 PyObject * obj0 = 0 ;
994141e6 6182 PyObject * obj1 = 0 ;
d14a1e28
RD
6183 PyObject * obj2 = 0 ;
6184 char *kwnames[] = {
6185 (char *) "self",(char *) "position",(char *) "redraw", NULL
6186 };
6187
994141e6 6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6191 arg2 = (int) SWIG_AsInt(obj1);
6192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6193 if (obj2) {
15afbcd0
RD
6194 arg3 = (bool) SWIG_AsBool(obj2);
6195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6196 }
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 (arg1)->SetSashPosition(arg2,arg3);
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 Py_INCREF(Py_None); resultobj = Py_None;
6205 return resultobj;
6206 fail:
6207 return NULL;
6208}
6209
6210
6211static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6214 int result;
6215 PyObject * obj0 = 0 ;
6216 char *kwnames[] = {
6217 (char *) "self", NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
15afbcd0 6230 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6231 return resultobj;
6232 fail:
6233 return NULL;
6234}
6235
6236
6237static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj;
6239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6240 int arg2 ;
6241 PyObject * obj0 = 0 ;
994141e6 6242 PyObject * obj1 = 0 ;
d14a1e28
RD
6243 char *kwnames[] = {
6244 (char *) "self",(char *) "min", NULL
6245 };
6246
994141e6 6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6250 arg2 = (int) SWIG_AsInt(obj1);
6251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 (arg1)->SetMinimumPaneSize(arg2);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 Py_INCREF(Py_None); resultobj = Py_None;
6260 return resultobj;
6261 fail:
6262 return NULL;
6263}
6264
6265
6266static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6269 int result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
15afbcd0 6285 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6286 return resultobj;
6287 fail:
6288 return NULL;
6289}
6290
6291
6292static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6295 int arg2 ;
6296 int arg3 ;
6297 int arg4 = (int) 5 ;
6298 bool result;
6299 PyObject * obj0 = 0 ;
994141e6
RD
6300 PyObject * obj1 = 0 ;
6301 PyObject * obj2 = 0 ;
6302 PyObject * obj3 = 0 ;
d14a1e28
RD
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6305 };
6306
994141e6 6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 arg2 = (int) SWIG_AsInt(obj1);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 arg3 = (int) SWIG_AsInt(obj2);
6313 if (PyErr_Occurred()) SWIG_fail;
994141e6 6314 if (obj3) {
15afbcd0
RD
6315 arg4 = (int) SWIG_AsInt(obj3);
6316 if (PyErr_Occurred()) SWIG_fail;
994141e6 6317 }
d14a1e28
RD
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
4f89f6a3
RD
6325 {
6326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6327 }
d14a1e28
RD
6328 return resultobj;
6329 fail:
6330 return NULL;
6331}
6332
6333
6334static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6337 PyObject * obj0 = 0 ;
6338 char *kwnames[] = {
6339 (char *) "self", NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
6343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SizeWindows();
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 return resultobj;
6354 fail:
6355 return NULL;
6356}
6357
6358
6359static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj;
6361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6362 bool arg2 ;
6363 PyObject * obj0 = 0 ;
6364 PyObject * obj1 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self",(char *) "needUpdating", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6372 arg2 = (bool) SWIG_AsBool(obj1);
6373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 (arg1)->SetNeedUpdating(arg2);
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 Py_INCREF(Py_None); resultobj = Py_None;
6382 return resultobj;
6383 fail:
6384 return NULL;
6385}
6386
6387
6388static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6391 bool result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
15afbcd0
RD
6398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
4f89f6a3
RD
6407 {
6408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6409 }
d14a1e28
RD
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
22bfe96c
RD
6416static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj;
6418 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6419 wxVisualAttributes result;
6420 PyObject * obj0 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "variant", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6426 if (obj0) {
6427 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 {
e3b71cb8 6431 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6434
6435 wxPyEndAllowThreads(__tstate);
e3b71cb8 6436 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6437 }
6438 {
6439 wxVisualAttributes * resultptr;
6440 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
d14a1e28
RD
6449static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6450 PyObject *obj;
6451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6453 Py_INCREF(obj);
6454 return Py_BuildValue((char *)"");
6455}
6456static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6459 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6460 wxSplitterEvent *result;
994141e6 6461 PyObject * obj0 = 0 ;
d14a1e28
RD
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "type",(char *) "splitter", NULL
6465 };
6466
994141e6
RD
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6468 if (obj0) {
15afbcd0
RD
6469 arg1 = (wxEventType) SWIG_AsInt(obj0);
6470 if (PyErr_Occurred()) SWIG_fail;
994141e6 6471 }
d14a1e28 6472 if (obj1) {
15afbcd0
RD
6473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6475 }
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
15afbcd0 6483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
6484 return resultobj;
6485 fail:
6486 return NULL;
6487}
6488
6489
6490static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6493 int arg2 ;
6494 PyObject * obj0 = 0 ;
994141e6 6495 PyObject * obj1 = 0 ;
d14a1e28
RD
6496 char *kwnames[] = {
6497 (char *) "self",(char *) "pos", NULL
6498 };
6499
994141e6 6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 arg2 = (int) SWIG_AsInt(obj1);
6504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SetSashPosition(arg2);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 Py_INCREF(Py_None); resultobj = Py_None;
6513 return resultobj;
6514 fail:
6515 return NULL;
6516}
6517
6518
6519static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6522 int result;
6523 PyObject * obj0 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6534
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
15afbcd0 6538 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6539 return resultobj;
6540 fail:
6541 return NULL;
6542}
6543
6544
6545static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6548 wxWindow *result;
6549 PyObject * obj0 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
15afbcd0
RD
6555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 {
6565 resultobj = wxPyMake_wxObject(result);
6566 }
6567 return resultobj;
6568 fail:
6569 return NULL;
6570}
6571
6572
6573static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6576 int result;
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
6583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
15afbcd0 6592 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6593 return resultobj;
6594 fail:
6595 return NULL;
6596}
6597
6598
6599static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6602 int result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
6609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
15afbcd0 6618 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
6625static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6626 PyObject *obj;
6627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6628 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6629 Py_INCREF(obj);
6630 return Py_BuildValue((char *)"");
6631}
b2dc1044
RD
6632static int _wrap_SashNameStr_set(PyObject *_val) {
6633 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6634 return 1;
6635}
6636
6637
6638static PyObject *_wrap_SashNameStr_get() {
6639 PyObject *pyobj;
6640
6641 {
6642#if wxUSE_UNICODE
6643 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6644#else
6645 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6646#endif
6647 }
6648 return pyobj;
6649}
6650
6651
6652static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6653 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6654 return 1;
6655}
6656
6657
6658static PyObject *_wrap_SashLayoutNameStr_get() {
6659 PyObject *pyobj;
6660
6661 {
6662#if wxUSE_UNICODE
6663 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6664#else
6665 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6666#endif
6667 }
6668 return pyobj;
6669}
6670
6671
d14a1e28
RD
6672static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6675 int arg2 ;
d14a1e28
RD
6676 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6677 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6678 wxSize const &arg4_defvalue = wxDefaultSize ;
6679 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6680 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6681 wxString const &arg6_defvalue = wxPySashNameStr ;
6682 wxString *arg6 = (wxString *) &arg6_defvalue ;
6683 wxSashWindow *result;
6684 wxPoint temp3 ;
6685 wxSize temp4 ;
e811c8ce 6686 bool temp6 = False ;
d14a1e28 6687 PyObject * obj0 = 0 ;
994141e6 6688 PyObject * obj1 = 0 ;
d14a1e28
RD
6689 PyObject * obj2 = 0 ;
6690 PyObject * obj3 = 0 ;
994141e6 6691 PyObject * obj4 = 0 ;
d14a1e28
RD
6692 PyObject * obj5 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6695 };
6696
994141e6 6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
6698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6700 arg2 = (int) SWIG_AsInt(obj1);
6701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6702 if (obj2) {
6703 {
6704 arg3 = &temp3;
6705 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6706 }
6707 }
6708 if (obj3) {
6709 {
6710 arg4 = &temp4;
6711 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6712 }
6713 }
994141e6 6714 if (obj4) {
15afbcd0
RD
6715 arg5 = (long) SWIG_AsLong(obj4);
6716 if (PyErr_Occurred()) SWIG_fail;
994141e6 6717 }
d14a1e28
RD
6718 if (obj5) {
6719 {
6720 arg6 = wxString_in_helper(obj5);
6721 if (arg6 == NULL) SWIG_fail;
e811c8ce 6722 temp6 = True;
d14a1e28
RD
6723 }
6724 }
6725 {
e3b71cb8 6726 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6729
6730 wxPyEndAllowThreads(__tstate);
e3b71cb8 6731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6732 }
15afbcd0 6733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
6734 {
6735 if (temp6)
6736 delete arg6;
6737 }
6738 return resultobj;
6739 fail:
6740 {
6741 if (temp6)
6742 delete arg6;
6743 }
6744 return NULL;
6745}
6746
6747
6748static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxSashWindow *result;
6751 char *kwnames[] = {
6752 NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6756 {
e3b71cb8 6757 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 result = (wxSashWindow *)new wxSashWindow();
6760
6761 wxPyEndAllowThreads(__tstate);
e3b71cb8 6762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6763 }
15afbcd0 6764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
6765 return resultobj;
6766 fail:
6767 return NULL;
6768}
6769
6770
6771static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject *resultobj;
6773 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6774 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6775 int arg3 ;
d14a1e28
RD
6776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6778 wxSize const &arg5_defvalue = wxDefaultSize ;
6779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6780 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6781 wxString const &arg7_defvalue = wxPySashNameStr ;
6782 wxString *arg7 = (wxString *) &arg7_defvalue ;
6783 bool result;
6784 wxPoint temp4 ;
6785 wxSize temp5 ;
e811c8ce 6786 bool temp7 = False ;
d14a1e28
RD
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
994141e6 6789 PyObject * obj2 = 0 ;
d14a1e28
RD
6790 PyObject * obj3 = 0 ;
6791 PyObject * obj4 = 0 ;
994141e6 6792 PyObject * obj5 = 0 ;
d14a1e28
RD
6793 PyObject * obj6 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6796 };
6797
994141e6 6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
6799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6803 arg3 = (int) SWIG_AsInt(obj2);
6804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6805 if (obj3) {
6806 {
6807 arg4 = &temp4;
6808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6809 }
6810 }
6811 if (obj4) {
6812 {
6813 arg5 = &temp5;
6814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6815 }
6816 }
994141e6 6817 if (obj5) {
15afbcd0
RD
6818 arg6 = (long) SWIG_AsLong(obj5);
6819 if (PyErr_Occurred()) SWIG_fail;
994141e6 6820 }
d14a1e28
RD
6821 if (obj6) {
6822 {
6823 arg7 = wxString_in_helper(obj6);
6824 if (arg7 == NULL) SWIG_fail;
e811c8ce 6825 temp7 = True;
d14a1e28
RD
6826 }
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
4f89f6a3
RD
6835 {
6836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6837 }
d14a1e28
RD
6838 {
6839 if (temp7)
6840 delete arg7;
6841 }
6842 return resultobj;
6843 fail:
6844 {
6845 if (temp7)
6846 delete arg7;
6847 }
6848 return NULL;
6849}
6850
6851
6852static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6855 int arg2 ;
6856 bool arg3 ;
6857 PyObject * obj0 = 0 ;
994141e6 6858 PyObject * obj1 = 0 ;
d14a1e28
RD
6859 PyObject * obj2 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self",(char *) "edge",(char *) "sash", NULL
6862 };
6863
994141e6 6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6867 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 arg3 = (bool) SWIG_AsBool(obj2);
6870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 Py_INCREF(Py_None); resultobj = Py_None;
6879 return resultobj;
6880 fail:
6881 return NULL;
6882}
6883
6884
6885static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6888 int arg2 ;
6889 bool result;
6890 PyObject * obj0 = 0 ;
994141e6 6891 PyObject * obj1 = 0 ;
d14a1e28
RD
6892 char *kwnames[] = {
6893 (char *) "self",(char *) "edge", NULL
6894 };
6895
994141e6 6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6899 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
4f89f6a3
RD
6908 {
6909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6910 }
d14a1e28
RD
6911 return resultobj;
6912 fail:
6913 return NULL;
6914}
6915
6916
6917static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6920 int arg2 ;
6921 bool arg3 ;
6922 PyObject * obj0 = 0 ;
994141e6 6923 PyObject * obj1 = 0 ;
d14a1e28
RD
6924 PyObject * obj2 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "edge",(char *) "border", NULL
6927 };
6928
994141e6 6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6932 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 arg3 = (bool) SWIG_AsBool(obj2);
6935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 Py_INCREF(Py_None); resultobj = Py_None;
6944 return resultobj;
6945 fail:
6946 return NULL;
6947}
6948
6949
6950static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6953 int arg2 ;
6954 bool result;
6955 PyObject * obj0 = 0 ;
994141e6 6956 PyObject * obj1 = 0 ;
d14a1e28
RD
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "edge", NULL
6959 };
6960
994141e6 6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6964 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
4f89f6a3
RD
6973 {
6974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6975 }
d14a1e28
RD
6976 return resultobj;
6977 fail:
6978 return NULL;
6979}
6980
6981
6982static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6985 int arg2 ;
6986 int result;
6987 PyObject * obj0 = 0 ;
994141e6 6988 PyObject * obj1 = 0 ;
d14a1e28
RD
6989 char *kwnames[] = {
6990 (char *) "self",(char *) "edge", NULL
6991 };
6992
994141e6 6993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6996 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
15afbcd0 7005 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7006 return resultobj;
7007 fail:
7008 return NULL;
7009}
7010
7011
7012static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7015 int arg2 ;
7016 PyObject * obj0 = 0 ;
994141e6 7017 PyObject * obj1 = 0 ;
d14a1e28
RD
7018 char *kwnames[] = {
7019 (char *) "self",(char *) "width", NULL
7020 };
7021
994141e6 7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7025 arg2 = (int) SWIG_AsInt(obj1);
7026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 (arg1)->SetDefaultBorderSize(arg2);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 Py_INCREF(Py_None); resultobj = Py_None;
7035 return resultobj;
7036 fail:
7037 return NULL;
7038}
7039
7040
7041static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7044 int result;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
15afbcd0 7060 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7061 return resultobj;
7062 fail:
7063 return NULL;
7064}
7065
7066
7067static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7070 int arg2 ;
7071 PyObject * obj0 = 0 ;
994141e6 7072 PyObject * obj1 = 0 ;
d14a1e28
RD
7073 char *kwnames[] = {
7074 (char *) "self",(char *) "width", NULL
7075 };
7076
994141e6 7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7080 arg2 = (int) SWIG_AsInt(obj1);
7081 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 (arg1)->SetExtraBorderSize(arg2);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 Py_INCREF(Py_None); resultobj = Py_None;
7090 return resultobj;
7091 fail:
7092 return NULL;
7093}
7094
7095
7096static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7099 int result;
7100 PyObject * obj0 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
15afbcd0 7115 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7116 return resultobj;
7117 fail:
7118 return NULL;
7119}
7120
7121
7122static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7125 int arg2 ;
7126 PyObject * obj0 = 0 ;
994141e6 7127 PyObject * obj1 = 0 ;
d14a1e28
RD
7128 char *kwnames[] = {
7129 (char *) "self",(char *) "min", NULL
7130 };
7131
994141e6 7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7135 arg2 = (int) SWIG_AsInt(obj1);
7136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 (arg1)->SetMinimumSizeX(arg2);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 Py_INCREF(Py_None); resultobj = Py_None;
7145 return resultobj;
7146 fail:
7147 return NULL;
7148}
7149
7150
7151static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7154 int arg2 ;
7155 PyObject * obj0 = 0 ;
994141e6 7156 PyObject * obj1 = 0 ;
d14a1e28
RD
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "min", NULL
7159 };
7160
994141e6 7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7164 arg2 = (int) SWIG_AsInt(obj1);
7165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->SetMinimumSizeY(arg2);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 Py_INCREF(Py_None); resultobj = Py_None;
7174 return resultobj;
7175 fail:
7176 return NULL;
7177}
7178
7179
7180static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7183 int result;
7184 PyObject * obj0 = 0 ;
7185 char *kwnames[] = {
7186 (char *) "self", NULL
7187 };
7188
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
15afbcd0 7199 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7200 return resultobj;
7201 fail:
7202 return NULL;
7203}
7204
7205
7206static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7209 int result;
7210 PyObject * obj0 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
15afbcd0 7225 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7226 return resultobj;
7227 fail:
7228 return NULL;
7229}
7230
7231
7232static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj;
7234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7235 int arg2 ;
7236 PyObject * obj0 = 0 ;
994141e6 7237 PyObject * obj1 = 0 ;
d14a1e28
RD
7238 char *kwnames[] = {
7239 (char *) "self",(char *) "max", NULL
7240 };
7241
994141e6 7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7245 arg2 = (int) SWIG_AsInt(obj1);
7246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 (arg1)->SetMaximumSizeX(arg2);
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 Py_INCREF(Py_None); resultobj = Py_None;
7255 return resultobj;
7256 fail:
7257 return NULL;
7258}
7259
7260
7261static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7262 PyObject *resultobj;
7263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7264 int arg2 ;
7265 PyObject * obj0 = 0 ;
994141e6 7266 PyObject * obj1 = 0 ;
d14a1e28
RD
7267 char *kwnames[] = {
7268 (char *) "self",(char *) "max", NULL
7269 };
7270
994141e6 7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7274 arg2 = (int) SWIG_AsInt(obj1);
7275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 (arg1)->SetMaximumSizeY(arg2);
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 Py_INCREF(Py_None); resultobj = Py_None;
7284 return resultobj;
7285 fail:
7286 return NULL;
7287}
7288
7289
7290static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7293 int result;
7294 PyObject * obj0 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "self", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
15afbcd0 7309 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7310 return resultobj;
7311 fail:
7312 return NULL;
7313}
7314
7315
7316static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7319 int result;
7320 PyObject * obj0 = 0 ;
7321 char *kwnames[] = {
7322 (char *) "self", NULL
7323 };
7324
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
15afbcd0 7335 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7336 return resultobj;
7337 fail:
7338 return NULL;
7339}
7340
7341
7342static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj;
7344 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7345 int arg2 ;
7346 int arg3 ;
7347 int arg4 = (int) 2 ;
7348 int result;
7349 PyObject * obj0 = 0 ;
994141e6
RD
7350 PyObject * obj1 = 0 ;
7351 PyObject * obj2 = 0 ;
7352 PyObject * obj3 = 0 ;
d14a1e28
RD
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7355 };
7356
994141e6 7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7360 arg2 = (int) SWIG_AsInt(obj1);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 arg3 = (int) SWIG_AsInt(obj2);
7363 if (PyErr_Occurred()) SWIG_fail;
994141e6 7364 if (obj3) {
15afbcd0
RD
7365 arg4 = (int) SWIG_AsInt(obj3);
7366 if (PyErr_Occurred()) SWIG_fail;
994141e6 7367 }
d14a1e28
RD
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
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 *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7385 PyObject * obj0 = 0 ;
7386 char *kwnames[] = {
7387 (char *) "self", NULL
7388 };
7389
7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
7391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 (arg1)->SizeWindows();
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 Py_INCREF(Py_None); resultobj = Py_None;
7401 return resultobj;
7402 fail:
7403 return NULL;
7404}
7405
7406
7407static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7408 PyObject *obj;
7409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7410 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7411 Py_INCREF(obj);
7412 return Py_BuildValue((char *)"");
7413}
7414static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 int arg1 = (int) 0 ;
7417 int arg2 = (int) wxSASH_NONE ;
7418 wxSashEvent *result;
994141e6
RD
7419 PyObject * obj0 = 0 ;
7420 PyObject * obj1 = 0 ;
d14a1e28
RD
7421 char *kwnames[] = {
7422 (char *) "id",(char *) "edge", NULL
7423 };
7424
994141e6
RD
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7426 if (obj0) {
15afbcd0
RD
7427 arg1 = (int) SWIG_AsInt(obj0);
7428 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7429 }
7430 if (obj1) {
15afbcd0
RD
7431 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7432 if (PyErr_Occurred()) SWIG_fail;
994141e6 7433 }
d14a1e28
RD
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
15afbcd0 7441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
7442 return resultobj;
7443 fail:
7444 return NULL;
7445}
7446
7447
7448static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj;
7450 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7451 int arg2 ;
7452 PyObject * obj0 = 0 ;
994141e6 7453 PyObject * obj1 = 0 ;
d14a1e28
RD
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "edge", NULL
7456 };
7457
994141e6 7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7461 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 return resultobj;
7472 fail:
7473 return NULL;
7474}
7475
7476
7477static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj;
7479 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7480 int result;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
7487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
15afbcd0 7496 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
7503static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7506 wxRect *arg2 = 0 ;
7507 wxRect temp2 ;
7508 PyObject * obj0 = 0 ;
7509 PyObject * obj1 = 0 ;
7510 char *kwnames[] = {
7511 (char *) "self",(char *) "rect", NULL
7512 };
7513
7514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7517 {
7518 arg2 = &temp2;
7519 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7520 }
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 (arg1)->SetDragRect((wxRect const &)*arg2);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 Py_INCREF(Py_None); resultobj = Py_None;
7529 return resultobj;
7530 fail:
7531 return NULL;
7532}
7533
7534
7535static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7538 wxRect result;
7539 PyObject * obj0 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
7545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 result = ((wxSashEvent const *)arg1)->GetDragRect();
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 {
7555 wxRect * resultptr;
7556 resultptr = new wxRect((wxRect &) result);
15afbcd0 7557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
7558 }
7559 return resultobj;
7560 fail:
7561 return NULL;
7562}
7563
7564
7565static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7568 int arg2 ;
7569 PyObject * obj0 = 0 ;
994141e6 7570 PyObject * obj1 = 0 ;
d14a1e28
RD
7571 char *kwnames[] = {
7572 (char *) "self",(char *) "status", NULL
7573 };
7574
994141e6 7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7578 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
7594static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7597 int result;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
15afbcd0
RD
7604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
15afbcd0 7613 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
7620static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7621 PyObject *obj;
7622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7623 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7624 Py_INCREF(obj);
7625 return Py_BuildValue((char *)"");
7626}
7627static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
e811c8ce 7629 int arg1 = (int) 0 ;
d14a1e28 7630 wxQueryLayoutInfoEvent *result;
994141e6 7631 PyObject * obj0 = 0 ;
d14a1e28
RD
7632 char *kwnames[] = {
7633 (char *) "id", NULL
7634 };
7635
994141e6
RD
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7637 if (obj0) {
15afbcd0
RD
7638 arg1 = (int) SWIG_AsInt(obj0);
7639 if (PyErr_Occurred()) SWIG_fail;
994141e6 7640 }
d14a1e28
RD
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
15afbcd0 7648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
7649 return resultobj;
7650 fail:
7651 return NULL;
7652}
7653
7654
7655static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7658 int arg2 ;
7659 PyObject * obj0 = 0 ;
994141e6 7660 PyObject * obj1 = 0 ;
d14a1e28
RD
7661 char *kwnames[] = {
7662 (char *) "self",(char *) "length", NULL
7663 };
7664
994141e6 7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7668 arg2 = (int) SWIG_AsInt(obj1);
7669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 (arg1)->SetRequestedLength(arg2);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 Py_INCREF(Py_None); resultobj = Py_None;
7678 return resultobj;
7679 fail:
7680 return NULL;
7681}
7682
7683
7684static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7687 int result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
7694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
15afbcd0 7703 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7704 return resultobj;
7705 fail:
7706 return NULL;
7707}
7708
7709
7710static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7713 int arg2 ;
7714 PyObject * obj0 = 0 ;
994141e6 7715 PyObject * obj1 = 0 ;
d14a1e28
RD
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "flags", NULL
7718 };
7719
994141e6 7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7723 arg2 = (int) SWIG_AsInt(obj1);
7724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->SetFlags(arg2);
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 Py_INCREF(Py_None); resultobj = Py_None;
7733 return resultobj;
7734 fail:
7735 return NULL;
7736}
7737
7738
7739static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7742 int result;
7743 PyObject * obj0 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
15afbcd0 7758 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7759 return resultobj;
7760 fail:
7761 return NULL;
7762}
7763
7764
7765static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7768 wxSize *arg2 = 0 ;
7769 wxSize temp2 ;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "size", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7779 {
7780 arg2 = &temp2;
7781 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 (arg1)->SetSize((wxSize const &)*arg2);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 Py_INCREF(Py_None); resultobj = Py_None;
7791 return resultobj;
7792 fail:
7793 return NULL;
7794}
7795
7796
7797static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7800 wxSize result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 {
7817 wxSize * resultptr;
7818 resultptr = new wxSize((wxSize &) result);
15afbcd0 7819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
7820 }
7821 return resultobj;
7822 fail:
7823 return NULL;
7824}
7825
7826
7827static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7830 int arg2 ;
7831 PyObject * obj0 = 0 ;
994141e6 7832 PyObject * obj1 = 0 ;
d14a1e28
RD
7833 char *kwnames[] = {
7834 (char *) "self",(char *) "orient", NULL
7835 };
7836
994141e6 7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7840 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 Py_INCREF(Py_None); resultobj = Py_None;
7850 return resultobj;
7851 fail:
7852 return NULL;
7853}
7854
7855
7856static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7859 int result;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
7866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
15afbcd0 7875 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
7882static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7885 int arg2 ;
7886 PyObject * obj0 = 0 ;
994141e6 7887 PyObject * obj1 = 0 ;
d14a1e28
RD
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "align", NULL
7890 };
7891
994141e6 7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 Py_INCREF(Py_None); resultobj = Py_None;
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
7911static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7914 int result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
15afbcd0 7930 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7931 return resultobj;
7932 fail:
7933 return NULL;
7934}
7935
7936
7937static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7938 PyObject *obj;
7939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7940 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7941 Py_INCREF(obj);
7942 return Py_BuildValue((char *)"");
7943}
7944static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
e811c8ce 7946 int arg1 = (int) 0 ;
d14a1e28 7947 wxCalculateLayoutEvent *result;
994141e6 7948 PyObject * obj0 = 0 ;
d14a1e28
RD
7949 char *kwnames[] = {
7950 (char *) "id", NULL
7951 };
7952
994141e6
RD
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7954 if (obj0) {
15afbcd0
RD
7955 arg1 = (int) SWIG_AsInt(obj0);
7956 if (PyErr_Occurred()) SWIG_fail;
994141e6 7957 }
d14a1e28
RD
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
15afbcd0 7965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
7966 return resultobj;
7967 fail:
7968 return NULL;
7969}
7970
7971
7972static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7975 int arg2 ;
7976 PyObject * obj0 = 0 ;
994141e6 7977 PyObject * obj1 = 0 ;
d14a1e28
RD
7978 char *kwnames[] = {
7979 (char *) "self",(char *) "flags", NULL
7980 };
7981
994141e6 7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7985 arg2 = (int) SWIG_AsInt(obj1);
7986 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 (arg1)->SetFlags(arg2);
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 Py_INCREF(Py_None); resultobj = Py_None;
7995 return resultobj;
7996 fail:
7997 return NULL;
7998}
7999
8000
8001static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8004 int result;
8005 PyObject * obj0 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
8011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
15afbcd0 8020 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8021 return resultobj;
8022 fail:
8023 return NULL;
8024}
8025
8026
8027static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8030 wxRect *arg2 = 0 ;
8031 wxRect temp2 ;
8032 PyObject * obj0 = 0 ;
8033 PyObject * obj1 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "rect", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8041 {
8042 arg2 = &temp2;
8043 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8044 }
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 (arg1)->SetRect((wxRect const &)*arg2);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 Py_INCREF(Py_None); resultobj = Py_None;
8053 return resultobj;
8054 fail:
8055 return NULL;
8056}
8057
8058
8059static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8062 wxRect result;
8063 PyObject * obj0 = 0 ;
8064 char *kwnames[] = {
8065 (char *) "self", NULL
8066 };
8067
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
8069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 {
8079 wxRect * resultptr;
8080 resultptr = new wxRect((wxRect &) result);
15afbcd0 8081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
8082 }
8083 return resultobj;
8084 fail:
8085 return NULL;
8086}
8087
8088
8089static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8090 PyObject *obj;
8091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8093 Py_INCREF(obj);
8094 return Py_BuildValue((char *)"");
8095}
8096static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8099 int arg2 ;
d14a1e28
RD
8100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8102 wxSize const &arg4_defvalue = wxDefaultSize ;
8103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8104 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8105 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8106 wxString *arg6 = (wxString *) &arg6_defvalue ;
8107 wxSashLayoutWindow *result;
8108 wxPoint temp3 ;
8109 wxSize temp4 ;
e811c8ce 8110 bool temp6 = False ;
d14a1e28 8111 PyObject * obj0 = 0 ;
994141e6 8112 PyObject * obj1 = 0 ;
d14a1e28
RD
8113 PyObject * obj2 = 0 ;
8114 PyObject * obj3 = 0 ;
994141e6 8115 PyObject * obj4 = 0 ;
d14a1e28
RD
8116 PyObject * obj5 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8119 };
8120
994141e6 8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8124 arg2 = (int) SWIG_AsInt(obj1);
8125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8126 if (obj2) {
8127 {
8128 arg3 = &temp3;
8129 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8130 }
8131 }
8132 if (obj3) {
8133 {
8134 arg4 = &temp4;
8135 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8136 }
8137 }
994141e6 8138 if (obj4) {
15afbcd0
RD
8139 arg5 = (long) SWIG_AsLong(obj4);
8140 if (PyErr_Occurred()) SWIG_fail;
994141e6 8141 }
d14a1e28
RD
8142 if (obj5) {
8143 {
8144 arg6 = wxString_in_helper(obj5);
8145 if (arg6 == NULL) SWIG_fail;
e811c8ce 8146 temp6 = True;
d14a1e28
RD
8147 }
8148 }
8149 {
e3b71cb8 8150 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8153
8154 wxPyEndAllowThreads(__tstate);
e3b71cb8 8155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8156 }
15afbcd0 8157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
8158 {
8159 if (temp6)
8160 delete arg6;
8161 }
8162 return resultobj;
8163 fail:
8164 {
8165 if (temp6)
8166 delete arg6;
8167 }
8168 return NULL;
8169}
8170
8171
8172static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxSashLayoutWindow *result;
8175 char *kwnames[] = {
8176 NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8180 {
e3b71cb8 8181 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8184
8185 wxPyEndAllowThreads(__tstate);
e3b71cb8 8186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8187 }
15afbcd0 8188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
8189 return resultobj;
8190 fail:
8191 return NULL;
8192}
8193
8194
8195static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8198 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8199 int arg3 ;
d14a1e28
RD
8200 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8201 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8202 wxSize const &arg5_defvalue = wxDefaultSize ;
8203 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8204 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8205 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8206 wxString *arg7 = (wxString *) &arg7_defvalue ;
8207 bool result;
8208 wxPoint temp4 ;
8209 wxSize temp5 ;
e811c8ce 8210 bool temp7 = False ;
d14a1e28
RD
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
994141e6 8213 PyObject * obj2 = 0 ;
d14a1e28
RD
8214 PyObject * obj3 = 0 ;
8215 PyObject * obj4 = 0 ;
994141e6 8216 PyObject * obj5 = 0 ;
d14a1e28
RD
8217 PyObject * obj6 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8220 };
8221
994141e6 8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8227 arg3 = (int) SWIG_AsInt(obj2);
8228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8229 if (obj3) {
8230 {
8231 arg4 = &temp4;
8232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8233 }
8234 }
8235 if (obj4) {
8236 {
8237 arg5 = &temp5;
8238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8239 }
8240 }
994141e6 8241 if (obj5) {
15afbcd0
RD
8242 arg6 = (long) SWIG_AsLong(obj5);
8243 if (PyErr_Occurred()) SWIG_fail;
994141e6 8244 }
d14a1e28
RD
8245 if (obj6) {
8246 {
8247 arg7 = wxString_in_helper(obj6);
8248 if (arg7 == NULL) SWIG_fail;
e811c8ce 8249 temp7 = True;
d14a1e28
RD
8250 }
8251 }
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
4f89f6a3
RD
8259 {
8260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8261 }
d14a1e28
RD
8262 {
8263 if (temp7)
8264 delete arg7;
8265 }
8266 return resultobj;
8267 fail:
8268 {
8269 if (temp7)
8270 delete arg7;
8271 }
8272 return NULL;
8273}
8274
8275
8276static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8279 int result;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
8286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (int)(arg1)->GetAlignment();
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
15afbcd0 8295 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8296 return resultobj;
8297 fail:
8298 return NULL;
8299}
8300
8301
8302static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8305 int result;
8306 PyObject * obj0 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
8312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 result = (int)(arg1)->GetOrientation();
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
15afbcd0 8321 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
8328static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj;
8330 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8331 int arg2 ;
8332 PyObject * obj0 = 0 ;
994141e6 8333 PyObject * obj1 = 0 ;
d14a1e28
RD
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "alignment", NULL
8336 };
8337
994141e6 8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8341 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8346
8347 wxPyEndAllowThreads(__tstate);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 }
8350 Py_INCREF(Py_None); resultobj = Py_None;
8351 return resultobj;
8352 fail:
8353 return NULL;
8354}
8355
8356
8357static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj;
8359 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8360 wxSize *arg2 = 0 ;
8361 wxSize temp2 ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "self",(char *) "size", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8371 {
8372 arg2 = &temp2;
8373 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8374 }
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 Py_INCREF(Py_None); resultobj = Py_None;
8383 return resultobj;
8384 fail:
8385 return NULL;
8386}
8387
8388
8389static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8392 int arg2 ;
8393 PyObject * obj0 = 0 ;
994141e6 8394 PyObject * obj1 = 0 ;
d14a1e28
RD
8395 char *kwnames[] = {
8396 (char *) "self",(char *) "orientation", NULL
8397 };
8398
994141e6 8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8402 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 Py_INCREF(Py_None); resultobj = Py_None;
8412 return resultobj;
8413 fail:
8414 return NULL;
8415}
8416
8417
8418static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8419 PyObject *obj;
8420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8421 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8422 Py_INCREF(obj);
8423 return Py_BuildValue((char *)"");
8424}
8425static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxLayoutAlgorithm *result;
8428 char *kwnames[] = {
8429 NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
15afbcd0 8440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
8441 return resultobj;
8442 fail:
8443 return NULL;
8444}
8445
8446
8447static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
15afbcd0
RD
8456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 delete arg1;
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 Py_INCREF(Py_None); resultobj = Py_None;
8466 return resultobj;
8467 fail:
8468 return NULL;
8469}
8470
8471
8472static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj;
8474 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8475 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8476 wxRect *arg3 = (wxRect *) NULL ;
8477 bool result;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "frame",(char *) "rect", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8490 if (obj2) {
15afbcd0
RD
8491 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8493 }
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
4f89f6a3
RD
8501 {
8502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8503 }
d14a1e28
RD
8504 return resultobj;
8505 fail:
8506 return NULL;
8507}
8508
8509
8510static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj;
8512 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8513 wxFrame *arg2 = (wxFrame *) 0 ;
8514 wxWindow *arg3 = (wxWindow *) NULL ;
8515 bool result;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8528 if (obj2) {
15afbcd0
RD
8529 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
4f89f6a3
RD
8539 {
8540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8541 }
d14a1e28
RD
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
8548static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8551 wxWindow *arg2 = (wxWindow *) 0 ;
8552 wxWindow *arg3 = (wxWindow *) NULL ;
8553 bool result;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 PyObject * obj2 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8566 if (obj2) {
15afbcd0
RD
8567 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8569 }
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
4f89f6a3
RD
8577 {
8578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8579 }
d14a1e28
RD
8580 return resultobj;
8581 fail:
8582 return NULL;
8583}
8584
8585
8586static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8587 PyObject *obj;
8588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8589 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8590 Py_INCREF(obj);
8591 return Py_BuildValue((char *)"");
8592}
8593static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj;
8595 wxWindow *arg1 = (wxWindow *) 0 ;
8596 int arg2 = (int) wxBORDER_NONE ;
8597 wxPopupWindow *result;
8598 PyObject * obj0 = 0 ;
994141e6 8599 PyObject * obj1 = 0 ;
d14a1e28
RD
8600 char *kwnames[] = {
8601 (char *) "parent",(char *) "flags", NULL
8602 };
8603
994141e6 8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8607 if (obj1) {
15afbcd0
RD
8608 arg2 = (int) SWIG_AsInt(obj1);
8609 if (PyErr_Occurred()) SWIG_fail;
994141e6 8610 }
d14a1e28 8611 {
e3b71cb8 8612 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8615
8616 wxPyEndAllowThreads(__tstate);
e3b71cb8 8617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8618 }
15afbcd0 8619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8620 return resultobj;
8621 fail:
8622 return NULL;
8623}
8624
8625
8626static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxPopupWindow *result;
8629 char *kwnames[] = {
8630 NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8634 {
e3b71cb8 8635 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (wxPopupWindow *)new wxPopupWindow();
8638
8639 wxPyEndAllowThreads(__tstate);
e3b71cb8 8640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8641 }
15afbcd0 8642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8643 return resultobj;
8644 fail:
8645 return NULL;
8646}
8647
8648
8649static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8652 wxWindow *arg2 = (wxWindow *) 0 ;
8653 int arg3 = (int) wxBORDER_NONE ;
8654 bool result;
8655 PyObject * obj0 = 0 ;
8656 PyObject * obj1 = 0 ;
994141e6 8657 PyObject * obj2 = 0 ;
d14a1e28
RD
8658 char *kwnames[] = {
8659 (char *) "self",(char *) "parent",(char *) "flags", NULL
8660 };
8661
994141e6 8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8667 if (obj2) {
15afbcd0
RD
8668 arg3 = (int) SWIG_AsInt(obj2);
8669 if (PyErr_Occurred()) SWIG_fail;
994141e6 8670 }
d14a1e28
RD
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (bool)(arg1)->Create(arg2,arg3);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
4f89f6a3
RD
8678 {
8679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8680 }
d14a1e28
RD
8681 return resultobj;
8682 fail:
8683 return NULL;
8684}
8685
8686
8687static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8690 wxPoint *arg2 = 0 ;
8691 wxSize *arg3 = 0 ;
8692 wxPoint temp2 ;
8693 wxSize temp3 ;
8694 PyObject * obj0 = 0 ;
8695 PyObject * obj1 = 0 ;
8696 PyObject * obj2 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8704 {
8705 arg2 = &temp2;
8706 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8707 }
8708 {
8709 arg3 = &temp3;
8710 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8711 }
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723}
8724
8725
8726static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8727 PyObject *obj;
8728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8729 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8730 Py_INCREF(obj);
8731 return Py_BuildValue((char *)"");
8732}
8733static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxWindow *arg1 = (wxWindow *) 0 ;
8736 int arg2 = (int) wxBORDER_NONE ;
8737 wxPyPopupTransientWindow *result;
8738 PyObject * obj0 = 0 ;
994141e6 8739 PyObject * obj1 = 0 ;
d14a1e28
RD
8740 char *kwnames[] = {
8741 (char *) "parent",(char *) "style", NULL
8742 };
8743
994141e6 8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8747 if (obj1) {
15afbcd0
RD
8748 arg2 = (int) SWIG_AsInt(obj1);
8749 if (PyErr_Occurred()) SWIG_fail;
994141e6 8750 }
d14a1e28 8751 {
e3b71cb8 8752 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8755
8756 wxPyEndAllowThreads(__tstate);
e3b71cb8 8757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8758 }
15afbcd0 8759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
8760 return resultobj;
8761 fail:
8762 return NULL;
8763}
8764
8765
8766static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj;
8768 wxPyPopupTransientWindow *result;
8769 char *kwnames[] = {
8770 NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8774 {
e3b71cb8 8775 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8778
8779 wxPyEndAllowThreads(__tstate);
e3b71cb8 8780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8781 }
15afbcd0 8782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
8783 return resultobj;
8784 fail:
8785 return NULL;
8786}
8787
8788
8789static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8792 PyObject *arg2 = (PyObject *) 0 ;
8793 PyObject *arg3 = (PyObject *) 0 ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj2 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "self",(char *) "_class", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8804 arg2 = obj1;
8805 arg3 = obj2;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 (arg1)->_setCallbackInfo(arg2,arg3);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 Py_INCREF(Py_None); resultobj = Py_None;
8814 return resultobj;
8815 fail:
8816 return NULL;
8817}
8818
8819
8820static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8823 wxWindow *arg2 = (wxWindow *) NULL ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self",(char *) "focus", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8833 if (obj1) {
15afbcd0
RD
8834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8836 }
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 (arg1)->Popup(arg2);
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 Py_INCREF(Py_None); resultobj = Py_None;
8845 return resultobj;
8846 fail:
8847 return NULL;
8848}
8849
8850
8851static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8854 PyObject * obj0 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "self", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
15afbcd0
RD
8860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 (arg1)->Dismiss();
8865
8866 wxPyEndAllowThreads(__tstate);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 Py_INCREF(Py_None); resultobj = Py_None;
8870 return resultobj;
8871 fail:
8872 return NULL;
8873}
8874
8875
8876static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8877 PyObject *obj;
8878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8880 Py_INCREF(obj);
8881 return Py_BuildValue((char *)"");
8882}
8883static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj;
8885 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 8886 wxString *arg2 = 0 ;
e811c8ce 8887 int arg3 = (int) 100 ;
d14a1e28
RD
8888 wxRect *arg4 = (wxRect *) NULL ;
8889 wxTipWindow *result;
fd3f2efe 8890 bool temp2 = False ;
d14a1e28
RD
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
994141e6 8893 PyObject * obj2 = 0 ;
d14a1e28
RD
8894 PyObject * obj3 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8897 };
8898
994141e6 8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fd3f2efe
RD
8902 {
8903 arg2 = wxString_in_helper(obj1);
8904 if (arg2 == NULL) SWIG_fail;
8905 temp2 = True;
8906 }
994141e6 8907 if (obj2) {
15afbcd0
RD
8908 arg3 = (int) SWIG_AsInt(obj2);
8909 if (PyErr_Occurred()) SWIG_fail;
994141e6 8910 }
d14a1e28 8911 if (obj3) {
15afbcd0
RD
8912 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8914 }
8915 {
e3b71cb8 8916 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 8918 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
8919
8920 wxPyEndAllowThreads(__tstate);
e3b71cb8 8921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8922 }
15afbcd0 8923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
8924 {
8925 if (temp2)
8926 delete arg2;
8927 }
d14a1e28
RD
8928 return resultobj;
8929 fail:
fd3f2efe
RD
8930 {
8931 if (temp2)
8932 delete arg2;
8933 }
d14a1e28
RD
8934 return NULL;
8935}
8936
8937
8938static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8941 wxRect *arg2 = 0 ;
8942 wxRect temp2 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self",(char *) "rectBound", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8952 {
8953 arg2 = &temp2;
8954 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8955 }
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 Py_INCREF(Py_None); resultobj = Py_None;
8964 return resultobj;
8965 fail:
8966 return NULL;
8967}
8968
8969
8970static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8973 PyObject * obj0 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "self", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
15afbcd0
RD
8979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 (arg1)->Close();
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 Py_INCREF(Py_None); resultobj = Py_None;
8989 return resultobj;
8990 fail:
8991 return NULL;
8992}
8993
8994
8995static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8996 PyObject *obj;
8997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8998 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8999 Py_INCREF(obj);
9000 return Py_BuildValue((char *)"");
9001}
9002static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9005 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9006 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9007 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9008 wxSize const &arg4_defvalue = wxDefaultSize ;
9009 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9010 long arg5 = (long) 0 ;
9011 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9012 wxString *arg6 = (wxString *) &arg6_defvalue ;
9013 wxPyVScrolledWindow *result;
9014 wxPoint temp3 ;
9015 wxSize temp4 ;
e811c8ce 9016 bool temp6 = False ;
d14a1e28 9017 PyObject * obj0 = 0 ;
994141e6 9018 PyObject * obj1 = 0 ;
d14a1e28
RD
9019 PyObject * obj2 = 0 ;
9020 PyObject * obj3 = 0 ;
994141e6 9021 PyObject * obj4 = 0 ;
d14a1e28
RD
9022 PyObject * obj5 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9025 };
9026
994141e6 9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9030 if (obj1) {
15afbcd0
RD
9031 arg2 = (int) SWIG_AsInt(obj1);
9032 if (PyErr_Occurred()) SWIG_fail;
994141e6 9033 }
d14a1e28
RD
9034 if (obj2) {
9035 {
9036 arg3 = &temp3;
9037 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9038 }
9039 }
9040 if (obj3) {
9041 {
9042 arg4 = &temp4;
9043 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9044 }
9045 }
994141e6 9046 if (obj4) {
15afbcd0
RD
9047 arg5 = (long) SWIG_AsLong(obj4);
9048 if (PyErr_Occurred()) SWIG_fail;
994141e6 9049 }
d14a1e28
RD
9050 if (obj5) {
9051 {
9052 arg6 = wxString_in_helper(obj5);
9053 if (arg6 == NULL) SWIG_fail;
e811c8ce 9054 temp6 = True;
d14a1e28
RD
9055 }
9056 }
9057 {
e3b71cb8 9058 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9061
9062 wxPyEndAllowThreads(__tstate);
e3b71cb8 9063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9064 }
15afbcd0 9065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
9066 {
9067 if (temp6)
9068 delete arg6;
9069 }
9070 return resultobj;
9071 fail:
9072 {
9073 if (temp6)
9074 delete arg6;
9075 }
9076 return NULL;
9077}
9078
9079
9080static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxPyVScrolledWindow *result;
9083 char *kwnames[] = {
9084 NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9088 {
e3b71cb8 9089 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9092
9093 wxPyEndAllowThreads(__tstate);
e3b71cb8 9094 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9095 }
15afbcd0 9096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
9097 return resultobj;
9098 fail:
9099 return NULL;
9100}
9101
9102
9103static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9104 PyObject *resultobj;
9105 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9106 PyObject *arg2 = (PyObject *) 0 ;
9107 PyObject *arg3 = (PyObject *) 0 ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 PyObject * obj2 = 0 ;
9111 char *kwnames[] = {
9112 (char *) "self",(char *) "self",(char *) "_class", NULL
9113 };
9114
9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9118 arg2 = obj1;
9119 arg3 = obj2;
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 (arg1)->_setCallbackInfo(arg2,arg3);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 Py_INCREF(Py_None); resultobj = Py_None;
9128 return resultobj;
9129 fail:
9130 return NULL;
9131}
9132
9133
9134static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9137 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9138 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9141 wxSize const &arg5_defvalue = wxDefaultSize ;
9142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9143 long arg6 = (long) 0 ;
9144 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9145 wxString *arg7 = (wxString *) &arg7_defvalue ;
9146 bool result;
9147 wxPoint temp4 ;
9148 wxSize temp5 ;
e811c8ce 9149 bool temp7 = False ;
d14a1e28
RD
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
994141e6 9152 PyObject * obj2 = 0 ;
d14a1e28
RD
9153 PyObject * obj3 = 0 ;
9154 PyObject * obj4 = 0 ;
994141e6 9155 PyObject * obj5 = 0 ;
d14a1e28
RD
9156 PyObject * obj6 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9159 };
9160
994141e6 9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9166 if (obj2) {
15afbcd0
RD
9167 arg3 = (int) SWIG_AsInt(obj2);
9168 if (PyErr_Occurred()) SWIG_fail;
994141e6 9169 }
d14a1e28
RD
9170 if (obj3) {
9171 {
9172 arg4 = &temp4;
9173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9174 }
9175 }
9176 if (obj4) {
9177 {
9178 arg5 = &temp5;
9179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9180 }
9181 }
994141e6 9182 if (obj5) {
15afbcd0
RD
9183 arg6 = (long) SWIG_AsLong(obj5);
9184 if (PyErr_Occurred()) SWIG_fail;
994141e6 9185 }
d14a1e28
RD
9186 if (obj6) {
9187 {
9188 arg7 = wxString_in_helper(obj6);
9189 if (arg7 == NULL) SWIG_fail;
e811c8ce 9190 temp7 = True;
d14a1e28
RD
9191 }
9192 }
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
4f89f6a3
RD
9200 {
9201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9202 }
d14a1e28
RD
9203 {
9204 if (temp7)
9205 delete arg7;
9206 }
9207 return resultobj;
9208 fail:
9209 {
9210 if (temp7)
9211 delete arg7;
9212 }
9213 return NULL;
9214}
9215
9216
9217static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9218 PyObject *resultobj;
9219 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9220 size_t arg2 ;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self",(char *) "count", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9230 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->SetLineCount(arg2);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
9246static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9249 size_t arg2 ;
9250 bool result;
9251 PyObject * obj0 = 0 ;
9252 PyObject * obj1 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "self",(char *) "line", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9260 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = (bool)(arg1)->ScrollToLine(arg2);
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
4f89f6a3
RD
9269 {
9270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9271 }
d14a1e28
RD
9272 return resultobj;
9273 fail:
9274 return NULL;
9275}
9276
9277
9278static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9281 int arg2 ;
9282 bool result;
9283 PyObject * obj0 = 0 ;
994141e6 9284 PyObject * obj1 = 0 ;
d14a1e28
RD
9285 char *kwnames[] = {
9286 (char *) "self",(char *) "lines", NULL
9287 };
9288
994141e6 9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9292 arg2 = (int) SWIG_AsInt(obj1);
9293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (bool)(arg1)->ScrollLines(arg2);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
4f89f6a3
RD
9301 {
9302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9303 }
d14a1e28
RD
9304 return resultobj;
9305 fail:
9306 return NULL;
9307}
9308
9309
9310static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9313 int arg2 ;
9314 bool result;
9315 PyObject * obj0 = 0 ;
994141e6 9316 PyObject * obj1 = 0 ;
d14a1e28
RD
9317 char *kwnames[] = {
9318 (char *) "self",(char *) "pages", NULL
9319 };
9320
994141e6 9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 arg2 = (int) SWIG_AsInt(obj1);
9325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (bool)(arg1)->ScrollPages(arg2);
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
4f89f6a3
RD
9333 {
9334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9335 }
d14a1e28
RD
9336 return resultobj;
9337 fail:
9338 return NULL;
9339}
9340
9341
9342static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9345 size_t arg2 ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "line", NULL
9350 };
9351
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9355 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->RefreshLine(arg2);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 Py_INCREF(Py_None); resultobj = Py_None;
9365 return resultobj;
9366 fail:
9367 return NULL;
9368}
9369
9370
9371static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9374 size_t arg2 ;
9375 size_t arg3 ;
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 PyObject * obj2 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "from",(char *) "to", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9386 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->RefreshLines(arg2,arg3);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 Py_INCREF(Py_None); resultobj = Py_None;
9398 return resultobj;
9399 fail:
9400 return NULL;
9401}
9402
9403
9404static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
9407 int arg2 ;
9408 int arg3 ;
d14a1e28
RD
9409 int result;
9410 PyObject * obj0 = 0 ;
994141e6
RD
9411 PyObject * obj1 = 0 ;
9412 PyObject * obj2 = 0 ;
d14a1e28
RD
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "x",(char *) "y", NULL
9415 };
9416
994141e6 9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 arg2 = (int) SWIG_AsInt(obj1);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 arg3 = (int) SWIG_AsInt(obj2);
9423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
15afbcd0 9431 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
9438static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9441 wxPoint *arg2 = 0 ;
9442 int result;
9443 wxPoint temp2 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446 char *kwnames[] = {
9447 (char *) "self",(char *) "pt", NULL
9448 };
9449
9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9453 {
9454 arg2 = &temp2;
9455 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9456 }
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
15afbcd0 9464 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
9471static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 (arg1)->RefreshAll();
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 Py_INCREF(Py_None); resultobj = Py_None;
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
9496static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj;
9498 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9499 size_t result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
15afbcd0 9515 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9516 return resultobj;
9517 fail:
9518 return NULL;
9519}
9520
9521
9522static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9525 size_t result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
15afbcd0 9541 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9542 return resultobj;
9543 fail:
9544 return NULL;
9545}
9546
9547
9548static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9551 size_t result;
9552 PyObject * obj0 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
15afbcd0 9567 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9568 return resultobj;
9569 fail:
9570 return NULL;
9571}
9572
9573
9574static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj;
9576 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9577 size_t arg2 ;
9578 bool result;
9579 PyObject * obj0 = 0 ;
9580 PyObject * obj1 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "self",(char *) "line", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9588 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
4f89f6a3
RD
9597 {
9598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9599 }
d14a1e28
RD
9600 return resultobj;
9601 fail:
9602 return NULL;
9603}
9604
9605
9606static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9607 PyObject *obj;
9608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9610 Py_INCREF(obj);
9611 return Py_BuildValue((char *)"");
9612}
b2dc1044
RD
9613static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9614 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9615 return 1;
9616}
9617
9618
9619static PyObject *_wrap_VListBoxNameStr_get() {
9620 PyObject *pyobj;
9621
9622 {
9623#if wxUSE_UNICODE
9624 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9625#else
9626 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9627#endif
9628 }
9629 return pyobj;
9630}
9631
9632
d14a1e28
RD
9633static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9636 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9637 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9638 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9639 wxSize const &arg4_defvalue = wxDefaultSize ;
9640 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9641 long arg5 = (long) 0 ;
9642 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9643 wxString *arg6 = (wxString *) &arg6_defvalue ;
9644 wxPyVListBox *result;
9645 wxPoint temp3 ;
9646 wxSize temp4 ;
e811c8ce 9647 bool temp6 = False ;
d14a1e28 9648 PyObject * obj0 = 0 ;
994141e6 9649 PyObject * obj1 = 0 ;
d14a1e28
RD
9650 PyObject * obj2 = 0 ;
9651 PyObject * obj3 = 0 ;
994141e6 9652 PyObject * obj4 = 0 ;
d14a1e28
RD
9653 PyObject * obj5 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9656 };
9657
994141e6 9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9661 if (obj1) {
15afbcd0
RD
9662 arg2 = (int) SWIG_AsInt(obj1);
9663 if (PyErr_Occurred()) SWIG_fail;
994141e6 9664 }
d14a1e28
RD
9665 if (obj2) {
9666 {
9667 arg3 = &temp3;
9668 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9669 }
9670 }
9671 if (obj3) {
9672 {
9673 arg4 = &temp4;
9674 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9675 }
9676 }
994141e6 9677 if (obj4) {
15afbcd0
RD
9678 arg5 = (long) SWIG_AsLong(obj4);
9679 if (PyErr_Occurred()) SWIG_fail;
994141e6 9680 }
d14a1e28
RD
9681 if (obj5) {
9682 {
9683 arg6 = wxString_in_helper(obj5);
9684 if (arg6 == NULL) SWIG_fail;
e811c8ce 9685 temp6 = True;
d14a1e28
RD
9686 }
9687 }
9688 {
e3b71cb8 9689 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9692
9693 wxPyEndAllowThreads(__tstate);
e3b71cb8 9694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9695 }
15afbcd0 9696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
9697 {
9698 if (temp6)
9699 delete arg6;
9700 }
9701 return resultobj;
9702 fail:
9703 {
9704 if (temp6)
9705 delete arg6;
9706 }
9707 return NULL;
9708}
9709
9710
9711static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxPyVListBox *result;
9714 char *kwnames[] = {
9715 NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9719 {
e3b71cb8 9720 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (wxPyVListBox *)new wxPyVListBox();
9723
9724 wxPyEndAllowThreads(__tstate);
e3b71cb8 9725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9726 }
15afbcd0 9727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
9734static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9737 PyObject *arg2 = (PyObject *) 0 ;
9738 PyObject *arg3 = (PyObject *) 0 ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 PyObject * obj2 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self",(char *) "self",(char *) "_class", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9749 arg2 = obj1;
9750 arg3 = obj2;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 (arg1)->_setCallbackInfo(arg2,arg3);
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 Py_INCREF(Py_None); resultobj = Py_None;
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9768 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9769 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9770 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9771 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9772 wxSize const &arg5_defvalue = wxDefaultSize ;
9773 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9774 long arg6 = (long) 0 ;
9775 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9776 wxString *arg7 = (wxString *) &arg7_defvalue ;
9777 bool result;
9778 wxPoint temp4 ;
9779 wxSize temp5 ;
e811c8ce 9780 bool temp7 = False ;
d14a1e28
RD
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
994141e6 9783 PyObject * obj2 = 0 ;
d14a1e28
RD
9784 PyObject * obj3 = 0 ;
9785 PyObject * obj4 = 0 ;
994141e6 9786 PyObject * obj5 = 0 ;
d14a1e28
RD
9787 PyObject * obj6 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9790 };
9791
994141e6 9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9797 if (obj2) {
15afbcd0
RD
9798 arg3 = (int) SWIG_AsInt(obj2);
9799 if (PyErr_Occurred()) SWIG_fail;
994141e6 9800 }
d14a1e28
RD
9801 if (obj3) {
9802 {
9803 arg4 = &temp4;
9804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9805 }
9806 }
9807 if (obj4) {
9808 {
9809 arg5 = &temp5;
9810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9811 }
9812 }
994141e6 9813 if (obj5) {
15afbcd0
RD
9814 arg6 = (long) SWIG_AsLong(obj5);
9815 if (PyErr_Occurred()) SWIG_fail;
994141e6 9816 }
d14a1e28
RD
9817 if (obj6) {
9818 {
9819 arg7 = wxString_in_helper(obj6);
9820 if (arg7 == NULL) SWIG_fail;
e811c8ce 9821 temp7 = True;
d14a1e28
RD
9822 }
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
4f89f6a3
RD
9831 {
9832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9833 }
d14a1e28
RD
9834 {
9835 if (temp7)
9836 delete arg7;
9837 }
9838 return resultobj;
9839 fail:
9840 {
9841 if (temp7)
9842 delete arg7;
9843 }
9844 return NULL;
9845}
9846
9847
9848static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9851 size_t result;
9852 PyObject * obj0 = 0 ;
9853 char *kwnames[] = {
9854 (char *) "self", NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
15afbcd0 9867 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9868 return resultobj;
9869 fail:
9870 return NULL;
9871}
9872
9873
9874static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj;
9876 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9877 bool result;
9878 PyObject * obj0 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
9884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
4f89f6a3
RD
9893 {
9894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9895 }
d14a1e28
RD
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
9902static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9905 int result;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
15afbcd0 9921 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
9928static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9931 size_t arg2 ;
9932 bool result;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self",(char *) "item", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9942 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
4f89f6a3
RD
9951 {
9952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9953 }
d14a1e28
RD
9954 return resultobj;
9955 fail:
9956 return NULL;
9957}
9958
9959
9960static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9963 size_t arg2 ;
9964 bool result;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "self",(char *) "item", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9974 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
4f89f6a3
RD
9983 {
9984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9985 }
d14a1e28
RD
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
9992static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9995 size_t result;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
10002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
15afbcd0 10011 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
10018static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10021 unsigned long *arg2 = 0 ;
10022 int result;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "cookie", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1)
10034 SWIG_fail;
d14a1e28 10035 if (arg2 == NULL) {
15afbcd0
RD
10036 PyErr_SetString(PyExc_TypeError,"null reference");
10037 SWIG_fail;
d14a1e28
RD
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
15afbcd0 10046 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10047 return resultobj;
10048 fail:
10049 return NULL;
10050}
10051
10052
10053static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10056 unsigned long *arg2 = 0 ;
10057 int result;
10058 PyObject * obj0 = 0 ;
10059 PyObject * obj1 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "cookie", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1)
10069 SWIG_fail;
d14a1e28 10070 if (arg2 == NULL) {
15afbcd0
RD
10071 PyErr_SetString(PyExc_TypeError,"null reference");
10072 SWIG_fail;
d14a1e28
RD
10073 }
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
15afbcd0 10081 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
10088static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10091 wxPoint result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = ((wxPyVListBox const *)arg1)->GetMargins();
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 {
10108 wxPoint * resultptr;
10109 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 10110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10111 }
10112 return resultobj;
10113 fail:
10114 return NULL;
10115}
10116
10117
10118static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10121 wxColour *result;
10122 PyObject * obj0 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 {
10133 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10134 result = (wxColour *) &_result_ref;
10135 }
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
15afbcd0 10140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
10141 return resultobj;
10142 fail:
10143 return NULL;
10144}
10145
10146
10147static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10150 size_t arg2 ;
10151 PyObject * obj0 = 0 ;
10152 PyObject * obj1 = 0 ;
10153 char *kwnames[] = {
10154 (char *) "self",(char *) "count", NULL
10155 };
10156
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10160 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->SetItemCount(arg2);
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 Py_INCREF(Py_None); resultobj = Py_None;
10170 return resultobj;
10171 fail:
10172 return NULL;
10173}
10174
10175
10176static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10179 PyObject * obj0 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 (arg1)->Clear();
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 Py_INCREF(Py_None); resultobj = Py_None;
10195 return resultobj;
10196 fail:
10197 return NULL;
10198}
10199
10200
10201static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10204 int arg2 ;
10205 PyObject * obj0 = 0 ;
994141e6 10206 PyObject * obj1 = 0 ;
d14a1e28
RD
10207 char *kwnames[] = {
10208 (char *) "self",(char *) "selection", NULL
10209 };
10210
994141e6 10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10214 arg2 = (int) SWIG_AsInt(obj1);
10215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->SetSelection(arg2);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 Py_INCREF(Py_None); resultobj = Py_None;
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
10230static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10233 size_t arg2 ;
e811c8ce 10234 bool arg3 = (bool) True ;
d14a1e28
RD
10235 bool result;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238 PyObject * obj2 = 0 ;
10239 char *kwnames[] = {
10240 (char *) "self",(char *) "item",(char *) "select", NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10246 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10247 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10248 if (obj2) {
15afbcd0
RD
10249 arg3 = (bool) SWIG_AsBool(obj2);
10250 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10251 }
d14a1e28
RD
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (bool)(arg1)->Select(arg2,arg3);
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
4f89f6a3
RD
10259 {
10260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10261 }
d14a1e28
RD
10262 return resultobj;
10263 fail:
10264 return NULL;
10265}
10266
10267
10268static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10271 size_t arg2 ;
10272 size_t arg3 ;
10273 bool result;
10274 PyObject * obj0 = 0 ;
10275 PyObject * obj1 = 0 ;
10276 PyObject * obj2 = 0 ;
15afbcd0
RD
10277 char *kwnames[] = {
10278 (char *) "self",(char *) "from",(char *) "to", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10284 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 result = (bool)(arg1)->SelectRange(arg2,arg3);
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
4f89f6a3
RD
10295 {
10296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10297 }
d14a1e28
RD
10298 return resultobj;
10299 fail:
10300 return NULL;
10301}
10302
10303
10304static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10307 size_t arg2 ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self",(char *) "item", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10317 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->Toggle(arg2);
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 Py_INCREF(Py_None); resultobj = Py_None;
10327 return resultobj;
10328 fail:
10329 return NULL;
10330}
10331
10332
10333static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10336 bool result;
10337 PyObject * obj0 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (bool)(arg1)->SelectAll();
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
4f89f6a3
RD
10352 {
10353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10354 }
d14a1e28
RD
10355 return resultobj;
10356 fail:
10357 return NULL;
10358}
10359
10360
10361static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10364 bool result;
10365 PyObject * obj0 = 0 ;
10366 char *kwnames[] = {
10367 (char *) "self", NULL
10368 };
10369
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 result = (bool)(arg1)->DeselectAll();
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
4f89f6a3
RD
10380 {
10381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10382 }
d14a1e28
RD
10383 return resultobj;
10384 fail:
10385 return NULL;
10386}
10387
10388
10389static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10392 wxPoint *arg2 = 0 ;
10393 wxPoint temp2 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "pt", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10403 {
10404 arg2 = &temp2;
10405 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10406 }
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 (arg1)->SetMargins((wxPoint const &)*arg2);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418}
10419
10420
10421static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
10424 int arg2 ;
10425 int arg3 ;
d14a1e28 10426 PyObject * obj0 = 0 ;
994141e6
RD
10427 PyObject * obj1 = 0 ;
10428 PyObject * obj2 = 0 ;
d14a1e28
RD
10429 char *kwnames[] = {
10430 (char *) "self",(char *) "x",(char *) "y", NULL
10431 };
10432
994141e6 10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10436 arg2 = (int) SWIG_AsInt(obj1);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 arg3 = (int) SWIG_AsInt(obj2);
10439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 (arg1)->SetMargins(arg2,arg3);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 Py_INCREF(Py_None); resultobj = Py_None;
10448 return resultobj;
10449 fail:
10450 return NULL;
10451}
10452
10453
10454static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10457 wxColour *arg2 = 0 ;
10458 wxColour temp2 ;
10459 PyObject * obj0 = 0 ;
10460 PyObject * obj1 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "col", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10468 {
10469 arg2 = &temp2;
10470 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10471 }
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 Py_INCREF(Py_None); resultobj = Py_None;
10480 return resultobj;
10481 fail:
10482 return NULL;
10483}
10484
10485
10486static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10487 PyObject *obj;
10488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10489 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10490 Py_INCREF(obj);
10491 return Py_BuildValue((char *)"");
10492}
10493static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj;
10495 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10496 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10497 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10498 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10499 wxSize const &arg4_defvalue = wxDefaultSize ;
10500 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10501 long arg5 = (long) 0 ;
10502 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10503 wxString *arg6 = (wxString *) &arg6_defvalue ;
10504 wxPyHtmlListBox *result;
10505 wxPoint temp3 ;
10506 wxSize temp4 ;
e811c8ce 10507 bool temp6 = False ;
d14a1e28 10508 PyObject * obj0 = 0 ;
994141e6 10509 PyObject * obj1 = 0 ;
d14a1e28
RD
10510 PyObject * obj2 = 0 ;
10511 PyObject * obj3 = 0 ;
994141e6 10512 PyObject * obj4 = 0 ;
d14a1e28
RD
10513 PyObject * obj5 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10516 };
10517
994141e6 10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10521 if (obj1) {
15afbcd0
RD
10522 arg2 = (int) SWIG_AsInt(obj1);
10523 if (PyErr_Occurred()) SWIG_fail;
994141e6 10524 }
d14a1e28
RD
10525 if (obj2) {
10526 {
10527 arg3 = &temp3;
10528 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10529 }
10530 }
10531 if (obj3) {
10532 {
10533 arg4 = &temp4;
10534 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10535 }
10536 }
994141e6 10537 if (obj4) {
15afbcd0
RD
10538 arg5 = (long) SWIG_AsLong(obj4);
10539 if (PyErr_Occurred()) SWIG_fail;
994141e6 10540 }
d14a1e28
RD
10541 if (obj5) {
10542 {
10543 arg6 = wxString_in_helper(obj5);
10544 if (arg6 == NULL) SWIG_fail;
e811c8ce 10545 temp6 = True;
d14a1e28
RD
10546 }
10547 }
10548 {
e3b71cb8 10549 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10552
10553 wxPyEndAllowThreads(__tstate);
e3b71cb8 10554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10555 }
15afbcd0 10556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10557 {
10558 if (temp6)
10559 delete arg6;
10560 }
10561 return resultobj;
10562 fail:
10563 {
10564 if (temp6)
10565 delete arg6;
10566 }
10567 return NULL;
10568}
10569
10570
10571static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxPyHtmlListBox *result;
10574 char *kwnames[] = {
10575 NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10579 {
e3b71cb8 10580 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10583
10584 wxPyEndAllowThreads(__tstate);
e3b71cb8 10585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10586 }
15afbcd0 10587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10588 return resultobj;
10589 fail:
10590 return NULL;
10591}
10592
10593
10594static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10595 PyObject *resultobj;
10596 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10597 PyObject *arg2 = (PyObject *) 0 ;
10598 PyObject *arg3 = (PyObject *) 0 ;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 PyObject * obj2 = 0 ;
10602 char *kwnames[] = {
10603 (char *) "self",(char *) "self",(char *) "_class", NULL
10604 };
10605
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10609 arg2 = obj1;
10610 arg3 = obj2;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 (arg1)->_setCallbackInfo(arg2,arg3);
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 Py_INCREF(Py_None); resultobj = Py_None;
10619 return resultobj;
10620 fail:
10621 return NULL;
10622}
10623
10624
10625static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10628 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10629 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10632 wxSize const &arg5_defvalue = wxDefaultSize ;
10633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10634 long arg6 = (long) 0 ;
10635 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10636 wxString *arg7 = (wxString *) &arg7_defvalue ;
10637 bool result;
10638 wxPoint temp4 ;
10639 wxSize temp5 ;
e811c8ce 10640 bool temp7 = False ;
d14a1e28
RD
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
994141e6 10643 PyObject * obj2 = 0 ;
d14a1e28
RD
10644 PyObject * obj3 = 0 ;
10645 PyObject * obj4 = 0 ;
994141e6 10646 PyObject * obj5 = 0 ;
d14a1e28
RD
10647 PyObject * obj6 = 0 ;
10648 char *kwnames[] = {
10649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10650 };
10651
994141e6 10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10657 if (obj2) {
15afbcd0
RD
10658 arg3 = (int) SWIG_AsInt(obj2);
10659 if (PyErr_Occurred()) SWIG_fail;
994141e6 10660 }
d14a1e28
RD
10661 if (obj3) {
10662 {
10663 arg4 = &temp4;
10664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10665 }
10666 }
10667 if (obj4) {
10668 {
10669 arg5 = &temp5;
10670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10671 }
10672 }
994141e6 10673 if (obj5) {
15afbcd0
RD
10674 arg6 = (long) SWIG_AsLong(obj5);
10675 if (PyErr_Occurred()) SWIG_fail;
994141e6 10676 }
d14a1e28
RD
10677 if (obj6) {
10678 {
10679 arg7 = wxString_in_helper(obj6);
10680 if (arg7 == NULL) SWIG_fail;
e811c8ce 10681 temp7 = True;
d14a1e28
RD
10682 }
10683 }
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
4f89f6a3
RD
10691 {
10692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10693 }
d14a1e28
RD
10694 {
10695 if (temp7)
10696 delete arg7;
10697 }
10698 return resultobj;
10699 fail:
10700 {
10701 if (temp7)
10702 delete arg7;
10703 }
10704 return NULL;
10705}
10706
10707
10708static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj;
10710 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 (arg1)->RefreshAll();
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 Py_INCREF(Py_None); resultobj = Py_None;
10727 return resultobj;
10728 fail:
10729 return NULL;
10730}
10731
10732
10733static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10736 size_t arg2 ;
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self",(char *) "count", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10746 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10747 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetItemCount(arg2);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 Py_INCREF(Py_None); resultobj = Py_None;
10756 return resultobj;
10757 fail:
10758 return NULL;
10759}
10760
10761
7fdaaabe
RD
10762static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10765 wxFileSystem *result;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 {
10777 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10778 result = (wxFileSystem *) &_result_ref;
10779 }
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10785 return resultobj;
10786 fail:
10787 return NULL;
10788}
10789
10790
d14a1e28
RD
10791static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10792 PyObject *obj;
10793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10794 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10795 Py_INCREF(obj);
10796 return Py_BuildValue((char *)"");
10797}
10798static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj;
10800 wxTaskBarIcon *result;
10801 char *kwnames[] = {
10802 NULL
10803 };
10804
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10806 {
e3b71cb8 10807 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10810
10811 wxPyEndAllowThreads(__tstate);
e3b71cb8 10812 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10813 }
15afbcd0 10814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
d14a1e28
RD
10815 return resultobj;
10816 fail:
10817 return NULL;
10818}
10819
10820
10821static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10822 PyObject *resultobj;
10823 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10824 PyObject * obj0 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
10830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 delete arg1;
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843}
10844
10845
74a57fcd
RD
10846static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10849 PyObject * obj0 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 wxTaskBarIcon_Destroy(arg1);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 Py_INCREF(Py_None); resultobj = Py_None;
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
d14a1e28
RD
10871static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10874 bool result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
10881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
4f89f6a3
RD
10890 {
10891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10892 }
d14a1e28
RD
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
10899static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10902 bool result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
15afbcd0
RD
10909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
4f89f6a3
RD
10918 {
10919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10920 }
d14a1e28
RD
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
10927static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10930 wxIcon *arg2 = 0 ;
10931 wxString const &arg3_defvalue = wxPyEmptyString ;
10932 wxString *arg3 = (wxString *) &arg3_defvalue ;
10933 bool result;
e811c8ce 10934 bool temp3 = False ;
d14a1e28
RD
10935 PyObject * obj0 = 0 ;
10936 PyObject * obj1 = 0 ;
10937 PyObject * obj2 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10946 SWIG_POINTER_EXCEPTION | 0)) == -1)
10947 SWIG_fail;
d14a1e28 10948 if (arg2 == NULL) {
15afbcd0
RD
10949 PyErr_SetString(PyExc_TypeError,"null reference");
10950 SWIG_fail;
d14a1e28
RD
10951 }
10952 if (obj2) {
10953 {
10954 arg3 = wxString_in_helper(obj2);
10955 if (arg3 == NULL) SWIG_fail;
e811c8ce 10956 temp3 = True;
d14a1e28
RD
10957 }
10958 }
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
4f89f6a3
RD
10966 {
10967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10968 }
d14a1e28
RD
10969 {
10970 if (temp3)
10971 delete arg3;
10972 }
10973 return resultobj;
10974 fail:
10975 {
10976 if (temp3)
10977 delete arg3;
10978 }
10979 return NULL;
10980}
10981
10982
10983static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10986 bool result;
10987 PyObject * obj0 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "self", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
10993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (bool)(arg1)->RemoveIcon();
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
4f89f6a3
RD
11002 {
11003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11004 }
d14a1e28
RD
11005 return resultobj;
11006 fail:
11007 return NULL;
11008}
11009
11010
11011static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj;
11013 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11014 wxMenu *arg2 = (wxMenu *) 0 ;
11015 bool result;
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "menu", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 result = (bool)(arg1)->PopupMenu(arg2);
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
4f89f6a3
RD
11034 {
11035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11036 }
d14a1e28
RD
11037 return resultobj;
11038 fail:
11039 return NULL;
11040}
11041
11042
11043static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11044 PyObject *obj;
11045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11047 Py_INCREF(obj);
11048 return Py_BuildValue((char *)"");
11049}
11050static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxEventType arg1 ;
11053 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11054 wxTaskBarIconEvent *result;
994141e6 11055 PyObject * obj0 = 0 ;
d14a1e28
RD
11056 PyObject * obj1 = 0 ;
11057 char *kwnames[] = {
11058 (char *) "evtType",(char *) "tbIcon", NULL
11059 };
11060
994141e6 11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11062 arg1 = (wxEventType) SWIG_AsInt(obj0);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11066 {
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11069
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
15afbcd0 11073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
11074 return resultobj;
11075 fail:
11076 return NULL;
11077}
11078
11079
11080static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11081 PyObject *obj;
11082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11083 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11084 Py_INCREF(obj);
11085 return Py_BuildValue((char *)"");
11086}
b2dc1044
RD
11087static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11088 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11089 return 1;
11090}
11091
11092
11093static PyObject *_wrap_FileSelectorPromptStr_get() {
11094 PyObject *pyobj;
11095
11096 {
11097#if wxUSE_UNICODE
11098 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11099#else
11100 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11101#endif
11102 }
11103 return pyobj;
11104}
11105
11106
11107static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11108 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11109 return 1;
11110}
11111
11112
11113static PyObject *_wrap_DirSelectorPromptStr_get() {
11114 PyObject *pyobj;
11115
11116 {
11117#if wxUSE_UNICODE
11118 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11119#else
11120 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11121#endif
11122 }
11123 return pyobj;
11124}
11125
11126
11127static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11128 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11129 return 1;
11130}
11131
11132
11133static PyObject *_wrap_DirDialogNameStr_get() {
11134 PyObject *pyobj;
11135
11136 {
11137#if wxUSE_UNICODE
11138 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11139#else
11140 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11141#endif
11142 }
11143 return pyobj;
11144}
11145
11146
11147static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11148 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11149 return 1;
11150}
11151
11152
11153static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11154 PyObject *pyobj;
11155
11156 {
11157#if wxUSE_UNICODE
11158 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11159#else
11160 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11161#endif
11162 }
11163 return pyobj;
11164}
11165
11166
11167static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11168 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11169 return 1;
11170}
11171
11172
11173static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11174 PyObject *pyobj;
11175
11176 {
11177#if wxUSE_UNICODE
11178 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11179#else
11180 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11181#endif
11182 }
11183 return pyobj;
11184}
11185
11186
11187static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11188 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11189 return 1;
11190}
11191
11192
11193static PyObject *_wrap_MessageBoxCaptionStr_get() {
11194 PyObject *pyobj;
11195
11196 {
11197#if wxUSE_UNICODE
11198 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11199#else
11200 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11201#endif
11202 }
11203 return pyobj;
11204}
11205
11206
d14a1e28
RD
11207static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxColourData *result;
11210 char *kwnames[] = {
11211 NULL
11212 };
11213
11214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (wxColourData *)new wxColourData();
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
15afbcd0 11222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
11223 return resultobj;
11224 fail:
11225 return NULL;
11226}
11227
11228
11229static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxColourData *arg1 = (wxColourData *) 0 ;
11232 PyObject * obj0 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 delete arg1;
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 Py_INCREF(Py_None); resultobj = Py_None;
11248 return resultobj;
11249 fail:
11250 return NULL;
11251}
11252
11253
11254static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxColourData *arg1 = (wxColourData *) 0 ;
11257 bool result;
11258 PyObject * obj0 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
15afbcd0
RD
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (bool)(arg1)->GetChooseFull();
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
4f89f6a3
RD
11273 {
11274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11275 }
d14a1e28
RD
11276 return resultobj;
11277 fail:
11278 return NULL;
11279}
11280
11281
11282static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj;
11284 wxColourData *arg1 = (wxColourData *) 0 ;
11285 wxColour result;
11286 PyObject * obj0 = 0 ;
11287 char *kwnames[] = {
11288 (char *) "self", NULL
11289 };
11290
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 result = (arg1)->GetColour();
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 {
11302 wxColour * resultptr;
11303 resultptr = new wxColour((wxColour &) result);
15afbcd0 11304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11305 }
11306 return resultobj;
11307 fail:
11308 return NULL;
11309}
11310
11311
11312static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11313 PyObject *resultobj;
11314 wxColourData *arg1 = (wxColourData *) 0 ;
11315 int arg2 ;
11316 wxColour result;
11317 PyObject * obj0 = 0 ;
994141e6 11318 PyObject * obj1 = 0 ;
d14a1e28
RD
11319 char *kwnames[] = {
11320 (char *) "self",(char *) "i", NULL
11321 };
11322
994141e6 11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11326 arg2 = (int) SWIG_AsInt(obj1);
11327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (arg1)->GetCustomColour(arg2);
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 wxColour * resultptr;
11337 resultptr = new wxColour((wxColour &) result);
15afbcd0 11338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11339 }
11340 return resultobj;
11341 fail:
11342 return NULL;
11343}
11344
11345
11346static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxColourData *arg1 = (wxColourData *) 0 ;
11349 int arg2 ;
11350 PyObject * obj0 = 0 ;
994141e6 11351 PyObject * obj1 = 0 ;
d14a1e28
RD
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "flag", NULL
11354 };
11355
994141e6 11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11359 arg2 = (int) SWIG_AsInt(obj1);
11360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 (arg1)->SetChooseFull(arg2);
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 Py_INCREF(Py_None); resultobj = Py_None;
11369 return resultobj;
11370 fail:
11371 return NULL;
11372}
11373
11374
11375static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxColourData *arg1 = (wxColourData *) 0 ;
11378 wxColour *arg2 = 0 ;
11379 wxColour temp2 ;
11380 PyObject * obj0 = 0 ;
11381 PyObject * obj1 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self",(char *) "colour", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11389 {
11390 arg2 = &temp2;
11391 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11392 }
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 (arg1)->SetColour((wxColour const &)*arg2);
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 Py_INCREF(Py_None); resultobj = Py_None;
11401 return resultobj;
11402 fail:
11403 return NULL;
11404}
11405
11406
11407static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject *resultobj;
11409 wxColourData *arg1 = (wxColourData *) 0 ;
11410 int arg2 ;
11411 wxColour *arg3 = 0 ;
11412 wxColour temp3 ;
11413 PyObject * obj0 = 0 ;
994141e6 11414 PyObject * obj1 = 0 ;
d14a1e28
RD
11415 PyObject * obj2 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self",(char *) "i",(char *) "colour", NULL
11418 };
11419
994141e6 11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11423 arg2 = (int) SWIG_AsInt(obj1);
11424 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11425 {
11426 arg3 = &temp3;
11427 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11428 }
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 Py_INCREF(Py_None); resultobj = Py_None;
11437 return resultobj;
11438 fail:
11439 return NULL;
11440}
11441
11442
11443static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11444 PyObject *obj;
11445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11446 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11447 Py_INCREF(obj);
11448 return Py_BuildValue((char *)"");
11449}
11450static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxWindow *arg1 = (wxWindow *) 0 ;
11453 wxColourData *arg2 = (wxColourData *) NULL ;
11454 wxColourDialog *result;
11455 PyObject * obj0 = 0 ;
11456 PyObject * obj1 = 0 ;
11457 char *kwnames[] = {
11458 (char *) "parent",(char *) "data", NULL
11459 };
11460
11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11464 if (obj1) {
15afbcd0
RD
11465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11467 }
11468 {
e3b71cb8 11469 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11472
11473 wxPyEndAllowThreads(__tstate);
e3b71cb8 11474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11475 }
15afbcd0 11476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
11477 return resultobj;
11478 fail:
11479 return NULL;
11480}
11481
11482
11483static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11486 wxColourData *result;
11487 PyObject * obj0 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11495 {
11496 PyThreadState* __tstate = wxPyBeginAllowThreads();
11497 {
11498 wxColourData &_result_ref = (arg1)->GetColourData();
11499 result = (wxColourData *) &_result_ref;
11500 }
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
15afbcd0 11505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
11506 return resultobj;
11507 fail:
11508 return NULL;
11509}
11510
11511
d14a1e28
RD
11512static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11513 PyObject *obj;
11514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11515 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11516 Py_INCREF(obj);
11517 return Py_BuildValue((char *)"");
11518}
11519static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject *resultobj;
11521 wxWindow *arg1 = (wxWindow *) 0 ;
11522 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11523 wxString *arg2 = (wxString *) &arg2_defvalue ;
11524 wxString const &arg3_defvalue = wxPyEmptyString ;
11525 wxString *arg3 = (wxString *) &arg3_defvalue ;
11526 long arg4 = (long) 0 ;
11527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11529 wxSize const &arg6_defvalue = wxDefaultSize ;
11530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11531 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11532 wxString *arg7 = (wxString *) &arg7_defvalue ;
11533 wxDirDialog *result;
e811c8ce
RD
11534 bool temp2 = False ;
11535 bool temp3 = False ;
d14a1e28
RD
11536 wxPoint temp5 ;
11537 wxSize temp6 ;
e811c8ce 11538 bool temp7 = False ;
d14a1e28
RD
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 PyObject * obj2 = 0 ;
994141e6 11542 PyObject * obj3 = 0 ;
d14a1e28
RD
11543 PyObject * obj4 = 0 ;
11544 PyObject * obj5 = 0 ;
11545 PyObject * obj6 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11548 };
11549
994141e6 11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11553 if (obj1) {
11554 {
11555 arg2 = wxString_in_helper(obj1);
11556 if (arg2 == NULL) SWIG_fail;
e811c8ce 11557 temp2 = True;
d14a1e28
RD
11558 }
11559 }
11560 if (obj2) {
11561 {
11562 arg3 = wxString_in_helper(obj2);
11563 if (arg3 == NULL) SWIG_fail;
e811c8ce 11564 temp3 = True;
d14a1e28
RD
11565 }
11566 }
994141e6 11567 if (obj3) {
15afbcd0
RD
11568 arg4 = (long) SWIG_AsLong(obj3);
11569 if (PyErr_Occurred()) SWIG_fail;
994141e6 11570 }
d14a1e28
RD
11571 if (obj4) {
11572 {
11573 arg5 = &temp5;
11574 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11575 }
11576 }
11577 if (obj5) {
11578 {
11579 arg6 = &temp6;
11580 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11581 }
11582 }
11583 if (obj6) {
11584 {
11585 arg7 = wxString_in_helper(obj6);
11586 if (arg7 == NULL) SWIG_fail;
e811c8ce 11587 temp7 = True;
d14a1e28
RD
11588 }
11589 }
11590 {
e3b71cb8 11591 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11594
11595 wxPyEndAllowThreads(__tstate);
e3b71cb8 11596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11597 }
15afbcd0 11598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
11599 {
11600 if (temp2)
11601 delete arg2;
11602 }
11603 {
11604 if (temp3)
11605 delete arg3;
11606 }
11607 {
11608 if (temp7)
11609 delete arg7;
11610 }
11611 return resultobj;
11612 fail:
11613 {
11614 if (temp2)
11615 delete arg2;
11616 }
11617 {
11618 if (temp3)
11619 delete arg3;
11620 }
11621 {
11622 if (temp7)
11623 delete arg7;
11624 }
11625 return NULL;
11626}
11627
11628
11629static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11632 wxString result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
11639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (arg1)->GetPath();
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649#if wxUSE_UNICODE
11650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11651#else
11652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11653#endif
11654 }
11655 return resultobj;
11656 fail:
11657 return NULL;
11658}
11659
11660
11661static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11664 wxString result;
11665 PyObject * obj0 = 0 ;
11666 char *kwnames[] = {
11667 (char *) "self", NULL
11668 };
11669
11670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
11671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (arg1)->GetMessage();
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 {
11681#if wxUSE_UNICODE
11682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11683#else
11684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11685#endif
11686 }
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
11693static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11696 long result;
11697 PyObject * obj0 = 0 ;
11698 char *kwnames[] = {
11699 (char *) "self", NULL
11700 };
11701
11702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
11703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 result = (long)(arg1)->GetStyle();
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
15afbcd0 11712 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
11719static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11722 wxString *arg2 = 0 ;
e811c8ce 11723 bool temp2 = False ;
d14a1e28
RD
11724 PyObject * obj0 = 0 ;
11725 PyObject * obj1 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self",(char *) "message", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11733 {
11734 arg2 = wxString_in_helper(obj1);
11735 if (arg2 == NULL) SWIG_fail;
e811c8ce 11736 temp2 = True;
d14a1e28
RD
11737 }
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 (arg1)->SetMessage((wxString const &)*arg2);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 Py_INCREF(Py_None); resultobj = Py_None;
11746 {
11747 if (temp2)
11748 delete arg2;
11749 }
11750 return resultobj;
11751 fail:
11752 {
11753 if (temp2)
11754 delete arg2;
11755 }
11756 return NULL;
11757}
11758
11759
11760static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject *resultobj;
11762 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11763 wxString *arg2 = 0 ;
e811c8ce 11764 bool temp2 = False ;
d14a1e28
RD
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self",(char *) "path", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11774 {
11775 arg2 = wxString_in_helper(obj1);
11776 if (arg2 == NULL) SWIG_fail;
e811c8ce 11777 temp2 = True;
d14a1e28
RD
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->SetPath((wxString const &)*arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 {
11788 if (temp2)
11789 delete arg2;
11790 }
11791 return resultobj;
11792 fail:
11793 {
11794 if (temp2)
11795 delete arg2;
11796 }
11797 return NULL;
11798}
11799
11800
d14a1e28
RD
11801static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11802 PyObject *obj;
11803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11804 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11805 Py_INCREF(obj);
11806 return Py_BuildValue((char *)"");
11807}
11808static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxWindow *arg1 = (wxWindow *) 0 ;
11811 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11812 wxString *arg2 = (wxString *) &arg2_defvalue ;
11813 wxString const &arg3_defvalue = wxPyEmptyString ;
11814 wxString *arg3 = (wxString *) &arg3_defvalue ;
11815 wxString const &arg4_defvalue = wxPyEmptyString ;
11816 wxString *arg4 = (wxString *) &arg4_defvalue ;
11817 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11818 wxString *arg5 = (wxString *) &arg5_defvalue ;
11819 long arg6 = (long) 0 ;
11820 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11821 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11822 wxFileDialog *result;
e811c8ce
RD
11823 bool temp2 = False ;
11824 bool temp3 = False ;
11825 bool temp4 = False ;
11826 bool temp5 = False ;
d14a1e28
RD
11827 wxPoint temp7 ;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 PyObject * obj2 = 0 ;
11831 PyObject * obj3 = 0 ;
11832 PyObject * obj4 = 0 ;
994141e6 11833 PyObject * obj5 = 0 ;
d14a1e28
RD
11834 PyObject * obj6 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11837 };
11838
994141e6 11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11842 if (obj1) {
11843 {
11844 arg2 = wxString_in_helper(obj1);
11845 if (arg2 == NULL) SWIG_fail;
e811c8ce 11846 temp2 = True;
d14a1e28
RD
11847 }
11848 }
11849 if (obj2) {
11850 {
11851 arg3 = wxString_in_helper(obj2);
11852 if (arg3 == NULL) SWIG_fail;
e811c8ce 11853 temp3 = True;
d14a1e28
RD
11854 }
11855 }
11856 if (obj3) {
11857 {
11858 arg4 = wxString_in_helper(obj3);
11859 if (arg4 == NULL) SWIG_fail;
e811c8ce 11860 temp4 = True;
d14a1e28
RD
11861 }
11862 }
11863 if (obj4) {
11864 {
11865 arg5 = wxString_in_helper(obj4);
11866 if (arg5 == NULL) SWIG_fail;
e811c8ce 11867 temp5 = True;
d14a1e28
RD
11868 }
11869 }
994141e6 11870 if (obj5) {
15afbcd0
RD
11871 arg6 = (long) SWIG_AsLong(obj5);
11872 if (PyErr_Occurred()) SWIG_fail;
994141e6 11873 }
d14a1e28
RD
11874 if (obj6) {
11875 {
11876 arg7 = &temp7;
11877 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11878 }
11879 }
11880 {
e3b71cb8 11881 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11884
11885 wxPyEndAllowThreads(__tstate);
e3b71cb8 11886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11887 }
15afbcd0 11888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
11889 {
11890 if (temp2)
11891 delete arg2;
11892 }
11893 {
11894 if (temp3)
11895 delete arg3;
11896 }
11897 {
11898 if (temp4)
11899 delete arg4;
11900 }
11901 {
11902 if (temp5)
11903 delete arg5;
11904 }
11905 return resultobj;
11906 fail:
11907 {
11908 if (temp2)
11909 delete arg2;
11910 }
11911 {
11912 if (temp3)
11913 delete arg3;
11914 }
11915 {
11916 if (temp4)
11917 delete arg4;
11918 }
11919 {
11920 if (temp5)
11921 delete arg5;
11922 }
11923 return NULL;
11924}
11925
11926
11927static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11930 wxString *arg2 = 0 ;
e811c8ce 11931 bool temp2 = False ;
d14a1e28
RD
11932 PyObject * obj0 = 0 ;
11933 PyObject * obj1 = 0 ;
11934 char *kwnames[] = {
11935 (char *) "self",(char *) "message", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11941 {
11942 arg2 = wxString_in_helper(obj1);
11943 if (arg2 == NULL) SWIG_fail;
e811c8ce 11944 temp2 = True;
d14a1e28
RD
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetMessage((wxString const &)*arg2);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 Py_INCREF(Py_None); resultobj = Py_None;
11954 {
11955 if (temp2)
11956 delete arg2;
11957 }
11958 return resultobj;
11959 fail:
11960 {
11961 if (temp2)
11962 delete arg2;
11963 }
11964 return NULL;
11965}
11966
11967
11968static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11971 wxString *arg2 = 0 ;
e811c8ce 11972 bool temp2 = False ;
d14a1e28
RD
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self",(char *) "path", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
e811c8ce 11985 temp2 = True;
d14a1e28
RD
11986 }
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 (arg1)->SetPath((wxString const &)*arg2);
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 Py_INCREF(Py_None); resultobj = Py_None;
11995 {
11996 if (temp2)
11997 delete arg2;
11998 }
11999 return resultobj;
12000 fail:
12001 {
12002 if (temp2)
12003 delete arg2;
12004 }
12005 return NULL;
12006}
12007
12008
12009static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12012 wxString *arg2 = 0 ;
e811c8ce 12013 bool temp2 = False ;
d14a1e28
RD
12014 PyObject * obj0 = 0 ;
12015 PyObject * obj1 = 0 ;
12016 char *kwnames[] = {
12017 (char *) "self",(char *) "dir", NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12023 {
12024 arg2 = wxString_in_helper(obj1);
12025 if (arg2 == NULL) SWIG_fail;
e811c8ce 12026 temp2 = True;
d14a1e28
RD
12027 }
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 (arg1)->SetDirectory((wxString const &)*arg2);
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 Py_INCREF(Py_None); resultobj = Py_None;
12036 {
12037 if (temp2)
12038 delete arg2;
12039 }
12040 return resultobj;
12041 fail:
12042 {
12043 if (temp2)
12044 delete arg2;
12045 }
12046 return NULL;
12047}
12048
12049
12050static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12053 wxString *arg2 = 0 ;
e811c8ce 12054 bool temp2 = False ;
d14a1e28
RD
12055 PyObject * obj0 = 0 ;
12056 PyObject * obj1 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "name", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12064 {
12065 arg2 = wxString_in_helper(obj1);
12066 if (arg2 == NULL) SWIG_fail;
e811c8ce 12067 temp2 = True;
d14a1e28
RD
12068 }
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->SetFilename((wxString const &)*arg2);
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 {
12078 if (temp2)
12079 delete arg2;
12080 }
12081 return resultobj;
12082 fail:
12083 {
12084 if (temp2)
12085 delete arg2;
12086 }
12087 return NULL;
12088}
12089
12090
12091static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12094 wxString *arg2 = 0 ;
e811c8ce 12095 bool temp2 = False ;
d14a1e28
RD
12096 PyObject * obj0 = 0 ;
12097 PyObject * obj1 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self",(char *) "wildCard", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12105 {
12106 arg2 = wxString_in_helper(obj1);
12107 if (arg2 == NULL) SWIG_fail;
e811c8ce 12108 temp2 = True;
d14a1e28
RD
12109 }
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 (arg1)->SetWildcard((wxString const &)*arg2);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 Py_INCREF(Py_None); resultobj = Py_None;
12118 {
12119 if (temp2)
12120 delete arg2;
12121 }
12122 return resultobj;
12123 fail:
12124 {
12125 if (temp2)
12126 delete arg2;
12127 }
12128 return NULL;
12129}
12130
12131
12132static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj;
12134 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12135 long arg2 ;
12136 PyObject * obj0 = 0 ;
994141e6 12137 PyObject * obj1 = 0 ;
d14a1e28
RD
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "style", NULL
12140 };
12141
994141e6 12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12145 arg2 = (long) SWIG_AsLong(obj1);
12146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12147 {
12148 PyThreadState* __tstate = wxPyBeginAllowThreads();
12149 (arg1)->SetStyle(arg2);
12150
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 Py_INCREF(Py_None); resultobj = Py_None;
12155 return resultobj;
12156 fail:
12157 return NULL;
12158}
12159
12160
12161static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj;
12163 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12164 int arg2 ;
12165 PyObject * obj0 = 0 ;
994141e6 12166 PyObject * obj1 = 0 ;
d14a1e28
RD
12167 char *kwnames[] = {
12168 (char *) "self",(char *) "filterIndex", NULL
12169 };
12170
994141e6 12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12174 arg2 = (int) SWIG_AsInt(obj1);
12175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 (arg1)->SetFilterIndex(arg2);
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 Py_INCREF(Py_None); resultobj = Py_None;
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
12190static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12193 wxString result;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = ((wxFileDialog const *)arg1)->GetMessage();
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 {
12210#if wxUSE_UNICODE
12211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12212#else
12213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12214#endif
12215 }
12216 return resultobj;
12217 fail:
12218 return NULL;
12219}
12220
12221
12222static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12225 wxString result;
12226 PyObject * obj0 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "self", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
12232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 result = ((wxFileDialog const *)arg1)->GetPath();
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 {
12242#if wxUSE_UNICODE
12243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12244#else
12245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12246#endif
12247 }
12248 return resultobj;
12249 fail:
12250 return NULL;
12251}
12252
12253
12254static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12255 PyObject *resultobj;
12256 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12257 wxString result;
12258 PyObject * obj0 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
15afbcd0
RD
12264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = ((wxFileDialog const *)arg1)->GetDirectory();
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274#if wxUSE_UNICODE
12275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12276#else
12277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12278#endif
12279 }
12280 return resultobj;
12281 fail:
12282 return NULL;
12283}
12284
12285
12286static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj;
12288 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12289 wxString result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
12296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = ((wxFileDialog const *)arg1)->GetFilename();
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 {
12306#if wxUSE_UNICODE
12307 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12308#else
12309 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12310#endif
12311 }
12312 return resultobj;
12313 fail:
12314 return NULL;
12315}
12316
12317
12318static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12321 wxString result;
12322 PyObject * obj0 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
15afbcd0
RD
12328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = ((wxFileDialog const *)arg1)->GetWildcard();
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 {
12338#if wxUSE_UNICODE
12339 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12340#else
12341 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12342#endif
12343 }
12344 return resultobj;
12345 fail:
12346 return NULL;
12347}
12348
12349
12350static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12353 long result;
12354 PyObject * obj0 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
12360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
15afbcd0 12369 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12370 return resultobj;
12371 fail:
12372 return NULL;
12373}
12374
12375
12376static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj;
12378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12379 int result;
12380 PyObject * obj0 = 0 ;
12381 char *kwnames[] = {
12382 (char *) "self", NULL
12383 };
12384
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
12386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
15afbcd0 12395 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12396 return resultobj;
12397 fail:
12398 return NULL;
12399}
12400
12401
12402static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj;
12404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12405 PyObject *result;
12406 PyObject * obj0 = 0 ;
12407 char *kwnames[] = {
12408 (char *) "self", NULL
12409 };
12410
12411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
12412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12417
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 resultobj = result;
12422 return resultobj;
12423 fail:
12424 return NULL;
12425}
12426
12427
12428static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12429 PyObject *resultobj;
12430 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12431 PyObject *result;
12432 PyObject * obj0 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
15afbcd0
RD
12438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12443
12444 wxPyEndAllowThreads(__tstate);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 }
12447 resultobj = result;
12448 return resultobj;
12449 fail:
12450 return NULL;
12451}
12452
12453
12454static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12455 PyObject *obj;
12456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12457 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12458 Py_INCREF(obj);
12459 return Py_BuildValue((char *)"");
12460}
12461static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxWindow *arg1 = (wxWindow *) 0 ;
12464 wxString *arg2 = 0 ;
12465 wxString *arg3 = 0 ;
4d5c3d91 12466 int arg4 = (int) 0 ;
d14a1e28
RD
12467 wxString *arg5 = (wxString *) 0 ;
12468 long arg6 = (long) wxCHOICEDLG_STYLE ;
12469 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12470 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12471 wxMultiChoiceDialog *result;
e811c8ce
RD
12472 bool temp2 = False ;
12473 bool temp3 = False ;
4d5c3d91 12474 wxPoint temp6 ;
d14a1e28
RD
12475 PyObject * obj0 = 0 ;
12476 PyObject * obj1 = 0 ;
12477 PyObject * obj2 = 0 ;
994141e6 12478 PyObject * obj3 = 0 ;
d14a1e28 12479 PyObject * obj4 = 0 ;
994141e6 12480 PyObject * obj5 = 0 ;
d14a1e28 12481 char *kwnames[] = {
4d5c3d91 12482 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
12483 };
12484
4d5c3d91 12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12488 {
12489 arg2 = wxString_in_helper(obj1);
12490 if (arg2 == NULL) SWIG_fail;
e811c8ce 12491 temp2 = True;
d14a1e28
RD
12492 }
12493 {
12494 arg3 = wxString_in_helper(obj2);
12495 if (arg3 == NULL) SWIG_fail;
e811c8ce 12496 temp3 = True;
d14a1e28 12497 }
4d5c3d91
RD
12498 if (obj3) {
12499 {
12500 arg4 = PyList_Size(obj3);
12501 arg5 = wxString_LIST_helper(obj3);
12502 if (arg5 == NULL) SWIG_fail;
12503 }
7eae615b 12504 }
4d5c3d91 12505 if (obj4) {
15afbcd0
RD
12506 arg6 = (long) SWIG_AsLong(obj4);
12507 if (PyErr_Occurred()) SWIG_fail;
994141e6 12508 }
4d5c3d91 12509 if (obj5) {
d14a1e28 12510 {
4d5c3d91
RD
12511 arg7 = &temp6;
12512 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
12513 }
12514 }
12515 {
e3b71cb8 12516 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12519
12520 wxPyEndAllowThreads(__tstate);
e3b71cb8 12521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12522 }
15afbcd0 12523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
12524 {
12525 if (temp2)
12526 delete arg2;
12527 }
12528 {
12529 if (temp3)
12530 delete arg3;
12531 }
7eae615b 12532 {
4d5c3d91 12533 if (arg5) delete [] arg5;
7eae615b 12534 }
d14a1e28
RD
12535 return resultobj;
12536 fail:
12537 {
12538 if (temp2)
12539 delete arg2;
12540 }
12541 {
12542 if (temp3)
12543 delete arg3;
12544 }
7eae615b 12545 {
4d5c3d91 12546 if (arg5) delete [] arg5;
7eae615b 12547 }
d14a1e28
RD
12548 return NULL;
12549}
12550
12551
12552static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12555 wxArrayInt *arg2 = 0 ;
3adfb63b 12556 bool temp2 = False ;
d14a1e28
RD
12557 PyObject * obj0 = 0 ;
12558 PyObject * obj1 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self",(char *) "selections", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12566 {
12567 if (! PySequence_Check(obj1)) {
12568 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12569 SWIG_fail;
12570 }
12571 arg2 = new wxArrayInt;
3adfb63b 12572 temp2 = True;
d14a1e28
RD
12573 int i, len=PySequence_Length(obj1);
12574 for (i=0; i<len; i++) {
12575 PyObject* item = PySequence_GetItem(obj1, i);
12576 PyObject* number = PyNumber_Int(item);
12577 arg2->Add(PyInt_AS_LONG(number));
12578 Py_DECREF(item);
12579 Py_DECREF(number);
12580 }
12581 }
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 {
3adfb63b 12591 if (temp2) delete arg2;
d14a1e28
RD
12592 }
12593 return resultobj;
12594 fail:
12595 {
3adfb63b 12596 if (temp2) delete arg2;
d14a1e28
RD
12597 }
12598 return NULL;
12599}
12600
12601
12602static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12605 PyObject *result;
12606 PyObject * obj0 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
12612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12614 {
12615 PyThreadState* __tstate = wxPyBeginAllowThreads();
12616 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12617
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 resultobj = result;
12622 return resultobj;
12623 fail:
12624 return NULL;
12625}
12626
12627
12628static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12629 PyObject *obj;
12630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12631 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12632 Py_INCREF(obj);
12633 return Py_BuildValue((char *)"");
12634}
12635static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12636 PyObject *resultobj;
12637 wxWindow *arg1 = (wxWindow *) 0 ;
12638 wxString *arg2 = 0 ;
12639 wxString *arg3 = 0 ;
12640 int arg4 ;
12641 wxString *arg5 = (wxString *) 0 ;
12642 long arg6 = (long) wxCHOICEDLG_STYLE ;
12643 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12644 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12645 wxSingleChoiceDialog *result;
e811c8ce
RD
12646 bool temp2 = False ;
12647 bool temp3 = False ;
d14a1e28
RD
12648 wxPoint temp6 ;
12649 PyObject * obj0 = 0 ;
12650 PyObject * obj1 = 0 ;
12651 PyObject * obj2 = 0 ;
12652 PyObject * obj3 = 0 ;
994141e6 12653 PyObject * obj4 = 0 ;
d14a1e28
RD
12654 PyObject * obj5 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12657 };
12658
994141e6 12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12662 {
12663 arg2 = wxString_in_helper(obj1);
12664 if (arg2 == NULL) SWIG_fail;
e811c8ce 12665 temp2 = True;
d14a1e28
RD
12666 }
12667 {
12668 arg3 = wxString_in_helper(obj2);
12669 if (arg3 == NULL) SWIG_fail;
e811c8ce 12670 temp3 = True;
d14a1e28
RD
12671 }
12672 {
12673 arg4 = PyList_Size(obj3);
12674 arg5 = wxString_LIST_helper(obj3);
12675 if (arg5 == NULL) SWIG_fail;
12676 }
994141e6 12677 if (obj4) {
15afbcd0
RD
12678 arg6 = (long) SWIG_AsLong(obj4);
12679 if (PyErr_Occurred()) SWIG_fail;
994141e6 12680 }
d14a1e28
RD
12681 if (obj5) {
12682 {
12683 arg7 = &temp6;
12684 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12685 }
12686 }
12687 {
e3b71cb8 12688 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12691
12692 wxPyEndAllowThreads(__tstate);
e3b71cb8 12693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12694 }
15afbcd0 12695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
12696 {
12697 if (temp2)
12698 delete arg2;
12699 }
12700 {
12701 if (temp3)
12702 delete arg3;
12703 }
12704 {
12705 if (arg5) delete [] arg5;
12706 }
12707 return resultobj;
12708 fail:
12709 {
12710 if (temp2)
12711 delete arg2;
12712 }
12713 {
12714 if (temp3)
12715 delete arg3;
12716 }
12717 {
12718 if (arg5) delete [] arg5;
12719 }
12720 return NULL;
12721}
12722
12723
12724static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12725 PyObject *resultobj;
12726 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12727 int result;
12728 PyObject * obj0 = 0 ;
12729 char *kwnames[] = {
12730 (char *) "self", NULL
12731 };
12732
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (int)(arg1)->GetSelection();
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
15afbcd0 12743 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12744 return resultobj;
12745 fail:
12746 return NULL;
12747}
12748
12749
12750static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12753 wxString result;
12754 PyObject * obj0 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (arg1)->GetStringSelection();
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 {
12770#if wxUSE_UNICODE
12771 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12772#else
12773 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12774#endif
12775 }
12776 return resultobj;
12777 fail:
12778 return NULL;
12779}
12780
12781
12782static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj;
12784 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12785 int arg2 ;
12786 PyObject * obj0 = 0 ;
994141e6 12787 PyObject * obj1 = 0 ;
d14a1e28
RD
12788 char *kwnames[] = {
12789 (char *) "self",(char *) "sel", NULL
12790 };
12791
994141e6 12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12795 arg2 = (int) SWIG_AsInt(obj1);
12796 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 (arg1)->SetSelection(arg2);
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 Py_INCREF(Py_None); resultobj = Py_None;
12805 return resultobj;
12806 fail:
12807 return NULL;
12808}
12809
12810
d14a1e28
RD
12811static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12812 PyObject *obj;
12813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12814 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12815 Py_INCREF(obj);
12816 return Py_BuildValue((char *)"");
12817}
12818static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxWindow *arg1 = (wxWindow *) 0 ;
12821 wxString *arg2 = 0 ;
12822 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12823 wxString *arg3 = (wxString *) &arg3_defvalue ;
12824 wxString const &arg4_defvalue = wxPyEmptyString ;
12825 wxString *arg4 = (wxString *) &arg4_defvalue ;
12826 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12827 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12828 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12829 wxTextEntryDialog *result;
e811c8ce
RD
12830 bool temp2 = False ;
12831 bool temp3 = False ;
12832 bool temp4 = False ;
d14a1e28
RD
12833 wxPoint temp6 ;
12834 PyObject * obj0 = 0 ;
12835 PyObject * obj1 = 0 ;
12836 PyObject * obj2 = 0 ;
12837 PyObject * obj3 = 0 ;
994141e6 12838 PyObject * obj4 = 0 ;
d14a1e28
RD
12839 PyObject * obj5 = 0 ;
12840 char *kwnames[] = {
12841 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12842 };
12843
994141e6 12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12847 {
12848 arg2 = wxString_in_helper(obj1);
12849 if (arg2 == NULL) SWIG_fail;
e811c8ce 12850 temp2 = True;
d14a1e28
RD
12851 }
12852 if (obj2) {
12853 {
12854 arg3 = wxString_in_helper(obj2);
12855 if (arg3 == NULL) SWIG_fail;
e811c8ce 12856 temp3 = True;
d14a1e28
RD
12857 }
12858 }
12859 if (obj3) {
12860 {
12861 arg4 = wxString_in_helper(obj3);
12862 if (arg4 == NULL) SWIG_fail;
e811c8ce 12863 temp4 = True;
d14a1e28
RD
12864 }
12865 }
994141e6 12866 if (obj4) {
15afbcd0
RD
12867 arg5 = (long) SWIG_AsLong(obj4);
12868 if (PyErr_Occurred()) SWIG_fail;
994141e6 12869 }
d14a1e28
RD
12870 if (obj5) {
12871 {
12872 arg6 = &temp6;
12873 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12874 }
12875 }
12876 {
e3b71cb8 12877 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12880
12881 wxPyEndAllowThreads(__tstate);
e3b71cb8 12882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12883 }
15afbcd0 12884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
12885 {
12886 if (temp2)
12887 delete arg2;
12888 }
12889 {
12890 if (temp3)
12891 delete arg3;
12892 }
12893 {
12894 if (temp4)
12895 delete arg4;
12896 }
12897 return resultobj;
12898 fail:
12899 {
12900 if (temp2)
12901 delete arg2;
12902 }
12903 {
12904 if (temp3)
12905 delete arg3;
12906 }
12907 {
12908 if (temp4)
12909 delete arg4;
12910 }
12911 return NULL;
12912}
12913
12914
12915static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12918 wxString result;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 result = (arg1)->GetValue();
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 {
12935#if wxUSE_UNICODE
12936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12937#else
12938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12939#endif
12940 }
12941 return resultobj;
12942 fail:
12943 return NULL;
12944}
12945
12946
12947static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12948 PyObject *resultobj;
12949 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12950 wxString *arg2 = 0 ;
e811c8ce 12951 bool temp2 = False ;
d14a1e28
RD
12952 PyObject * obj0 = 0 ;
12953 PyObject * obj1 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self",(char *) "value", NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12961 {
12962 arg2 = wxString_in_helper(obj1);
12963 if (arg2 == NULL) SWIG_fail;
e811c8ce 12964 temp2 = True;
d14a1e28
RD
12965 }
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 (arg1)->SetValue((wxString const &)*arg2);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 Py_INCREF(Py_None); resultobj = Py_None;
12974 {
12975 if (temp2)
12976 delete arg2;
12977 }
12978 return resultobj;
12979 fail:
12980 {
12981 if (temp2)
12982 delete arg2;
12983 }
12984 return NULL;
12985}
12986
12987
d14a1e28
RD
12988static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12989 PyObject *obj;
12990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12991 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12992 Py_INCREF(obj);
12993 return Py_BuildValue((char *)"");
12994}
12995static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxFontData *result;
12998 char *kwnames[] = {
12999 NULL
13000 };
13001
13002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (wxFontData *)new wxFontData();
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
15afbcd0 13010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
13011 return resultobj;
13012 fail:
13013 return NULL;
13014}
13015
13016
13017static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxFontData *arg1 = (wxFontData *) 0 ;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 delete arg1;
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039}
13040
13041
13042static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxFontData *arg1 = (wxFontData *) 0 ;
13045 bool arg2 ;
13046 PyObject * obj0 = 0 ;
13047 PyObject * obj1 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "enable", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13055 arg2 = (bool) SWIG_AsBool(obj1);
13056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13057 {
13058 PyThreadState* __tstate = wxPyBeginAllowThreads();
13059 (arg1)->EnableEffects(arg2);
13060
13061 wxPyEndAllowThreads(__tstate);
13062 if (PyErr_Occurred()) SWIG_fail;
13063 }
13064 Py_INCREF(Py_None); resultobj = Py_None;
13065 return resultobj;
13066 fail:
13067 return NULL;
13068}
13069
13070
13071static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13072 PyObject *resultobj;
13073 wxFontData *arg1 = (wxFontData *) 0 ;
13074 bool result;
13075 PyObject * obj0 = 0 ;
13076 char *kwnames[] = {
13077 (char *) "self", NULL
13078 };
13079
13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15afbcd0
RD
13081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 result = (bool)(arg1)->GetAllowSymbols();
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
4f89f6a3
RD
13090 {
13091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13092 }
d14a1e28
RD
13093 return resultobj;
13094 fail:
13095 return NULL;
13096}
13097
13098
13099static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj;
13101 wxFontData *arg1 = (wxFontData *) 0 ;
13102 wxColour result;
13103 PyObject * obj0 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
13109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (arg1)->GetColour();
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 {
13119 wxColour * resultptr;
13120 resultptr = new wxColour((wxColour &) result);
15afbcd0 13121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13122 }
13123 return resultobj;
13124 fail:
13125 return NULL;
13126}
13127
13128
13129static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxFontData *arg1 = (wxFontData *) 0 ;
13132 wxFont result;
13133 PyObject * obj0 = 0 ;
13134 char *kwnames[] = {
13135 (char *) "self", NULL
13136 };
13137
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 result = (arg1)->GetChosenFont();
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 {
13149 wxFont * resultptr;
13150 resultptr = new wxFont((wxFont &) result);
15afbcd0 13151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13152 }
13153 return resultobj;
13154 fail:
13155 return NULL;
13156}
13157
13158
13159static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13160 PyObject *resultobj;
13161 wxFontData *arg1 = (wxFontData *) 0 ;
13162 bool result;
13163 PyObject * obj0 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15afbcd0
RD
13169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 result = (bool)(arg1)->GetEnableEffects();
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
4f89f6a3
RD
13178 {
13179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13180 }
d14a1e28
RD
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
13187static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxFontData *arg1 = (wxFontData *) 0 ;
13190 wxFont result;
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (arg1)->GetInitialFont();
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 wxFont * resultptr;
13208 resultptr = new wxFont((wxFont &) result);
15afbcd0 13209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13210 }
13211 return resultobj;
13212 fail:
13213 return NULL;
13214}
13215
13216
13217static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxFontData *arg1 = (wxFontData *) 0 ;
13220 bool result;
13221 PyObject * obj0 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (bool)(arg1)->GetShowHelp();
13232
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
4f89f6a3
RD
13236 {
13237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13238 }
d14a1e28
RD
13239 return resultobj;
13240 fail:
13241 return NULL;
13242}
13243
13244
13245static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13246 PyObject *resultobj;
13247 wxFontData *arg1 = (wxFontData *) 0 ;
13248 bool arg2 ;
13249 PyObject * obj0 = 0 ;
13250 PyObject * obj1 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "self",(char *) "allowSymbols", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 arg2 = (bool) SWIG_AsBool(obj1);
13259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 (arg1)->SetAllowSymbols(arg2);
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 Py_INCREF(Py_None); resultobj = Py_None;
13268 return resultobj;
13269 fail:
13270 return NULL;
13271}
13272
13273
13274static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxFontData *arg1 = (wxFontData *) 0 ;
13277 wxFont *arg2 = 0 ;
13278 PyObject * obj0 = 0 ;
13279 PyObject * obj1 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "self",(char *) "font", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13288 SWIG_POINTER_EXCEPTION | 0)) == -1)
13289 SWIG_fail;
d14a1e28 13290 if (arg2 == NULL) {
15afbcd0
RD
13291 PyErr_SetString(PyExc_TypeError,"null reference");
13292 SWIG_fail;
d14a1e28
RD
13293 }
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 (arg1)->SetChosenFont((wxFont const &)*arg2);
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 Py_INCREF(Py_None); resultobj = Py_None;
13302 return resultobj;
13303 fail:
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxFontData *arg1 = (wxFontData *) 0 ;
13311 wxColour *arg2 = 0 ;
13312 wxColour temp2 ;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "colour", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13322 {
13323 arg2 = &temp2;
13324 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 (arg1)->SetColour((wxColour const &)*arg2);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 Py_INCREF(Py_None); resultobj = Py_None;
13334 return resultobj;
13335 fail:
13336 return NULL;
13337}
13338
13339
13340static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13341 PyObject *resultobj;
13342 wxFontData *arg1 = (wxFontData *) 0 ;
13343 wxFont *arg2 = 0 ;
13344 PyObject * obj0 = 0 ;
13345 PyObject * obj1 = 0 ;
13346 char *kwnames[] = {
13347 (char *) "self",(char *) "font", NULL
13348 };
13349
13350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13354 SWIG_POINTER_EXCEPTION | 0)) == -1)
13355 SWIG_fail;
d14a1e28 13356 if (arg2 == NULL) {
15afbcd0
RD
13357 PyErr_SetString(PyExc_TypeError,"null reference");
13358 SWIG_fail;
d14a1e28
RD
13359 }
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 (arg1)->SetInitialFont((wxFont const &)*arg2);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 return resultobj;
13369 fail:
13370 return NULL;
13371}
13372
13373
13374static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxFontData *arg1 = (wxFontData *) 0 ;
13377 int arg2 ;
13378 int arg3 ;
13379 PyObject * obj0 = 0 ;
994141e6
RD
13380 PyObject * obj1 = 0 ;
13381 PyObject * obj2 = 0 ;
d14a1e28
RD
13382 char *kwnames[] = {
13383 (char *) "self",(char *) "min",(char *) "max", NULL
13384 };
13385
994141e6 13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 arg2 = (int) SWIG_AsInt(obj1);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 arg3 = (int) SWIG_AsInt(obj2);
13392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 (arg1)->SetRange(arg2,arg3);
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 Py_INCREF(Py_None); resultobj = Py_None;
13401 return resultobj;
13402 fail:
13403 return NULL;
13404}
13405
13406
13407static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj;
13409 wxFontData *arg1 = (wxFontData *) 0 ;
13410 bool arg2 ;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "self",(char *) "showHelp", NULL
13415 };
13416
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13420 arg2 = (bool) SWIG_AsBool(obj1);
13421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 (arg1)->SetShowHelp(arg2);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 Py_INCREF(Py_None); resultobj = Py_None;
13430 return resultobj;
13431 fail:
13432 return NULL;
13433}
13434
13435
13436static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13437 PyObject *obj;
13438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13439 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13440 Py_INCREF(obj);
13441 return Py_BuildValue((char *)"");
13442}
15afbcd0 13443static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 13444 PyObject *resultobj;
e498079e
RD
13445 wxWindow *arg1 = (wxWindow *) 0 ;
13446 wxFontData *arg2 = 0 ;
13447 wxFontDialog *result;
d14a1e28 13448 PyObject * obj0 = 0 ;
e498079e 13449 PyObject * obj1 = 0 ;
15afbcd0
RD
13450 char *kwnames[] = {
13451 (char *) "parent",(char *) "data", NULL
13452 };
d14a1e28 13453
15afbcd0
RD
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13458 SWIG_POINTER_EXCEPTION | 0)) == -1)
13459 SWIG_fail;
e498079e 13460 if (arg2 == NULL) {
15afbcd0
RD
13461 PyErr_SetString(PyExc_TypeError,"null reference");
13462 SWIG_fail;
e498079e 13463 }
d14a1e28 13464 {
e3b71cb8 13465 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 13467 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
13468
13469 wxPyEndAllowThreads(__tstate);
e3b71cb8 13470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13471 }
15afbcd0 13472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
13473 return resultobj;
13474 fail:
13475 return NULL;
13476}
13477
13478
e498079e 13479static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13480 PyObject *resultobj;
13481 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 13482 wxFontData *result;
d14a1e28
RD
13483 PyObject * obj0 = 0 ;
13484 char *kwnames[] = {
13485 (char *) "self", NULL
13486 };
13487
e498079e 13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
13493 {
13494 wxFontData &_result_ref = (arg1)->GetFontData();
13495 result = (wxFontData *) &_result_ref;
13496 }
d14a1e28
RD
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
15afbcd0 13501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
13502 return resultobj;
13503 fail:
13504 return NULL;
13505}
13506
13507
13508static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13509 PyObject *obj;
13510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13511 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13512 Py_INCREF(obj);
13513 return Py_BuildValue((char *)"");
13514}
13515static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxWindow *arg1 = (wxWindow *) 0 ;
13518 wxString *arg2 = 0 ;
13519 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13520 wxString *arg3 = (wxString *) &arg3_defvalue ;
13521 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13522 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13523 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13524 wxMessageDialog *result;
e811c8ce
RD
13525 bool temp2 = False ;
13526 bool temp3 = False ;
d14a1e28
RD
13527 wxPoint temp5 ;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 PyObject * obj2 = 0 ;
994141e6 13531 PyObject * obj3 = 0 ;
d14a1e28
RD
13532 PyObject * obj4 = 0 ;
13533 char *kwnames[] = {
13534 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13535 };
13536
994141e6 13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13540 {
13541 arg2 = wxString_in_helper(obj1);
13542 if (arg2 == NULL) SWIG_fail;
e811c8ce 13543 temp2 = True;
d14a1e28
RD
13544 }
13545 if (obj2) {
13546 {
13547 arg3 = wxString_in_helper(obj2);
13548 if (arg3 == NULL) SWIG_fail;
e811c8ce 13549 temp3 = True;
d14a1e28
RD
13550 }
13551 }
994141e6 13552 if (obj3) {
15afbcd0
RD
13553 arg4 = (long) SWIG_AsLong(obj3);
13554 if (PyErr_Occurred()) SWIG_fail;
994141e6 13555 }
d14a1e28
RD
13556 if (obj4) {
13557 {
13558 arg5 = &temp5;
13559 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13560 }
13561 }
13562 {
e3b71cb8 13563 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13566
13567 wxPyEndAllowThreads(__tstate);
e3b71cb8 13568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13569 }
15afbcd0 13570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
13571 {
13572 if (temp2)
13573 delete arg2;
13574 }
13575 {
13576 if (temp3)
13577 delete arg3;
13578 }
13579 return resultobj;
13580 fail:
13581 {
13582 if (temp2)
13583 delete arg2;
13584 }
13585 {
13586 if (temp3)
13587 delete arg3;
13588 }
13589 return NULL;
13590}
13591
13592
d14a1e28
RD
13593static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13594 PyObject *obj;
13595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13597 Py_INCREF(obj);
13598 return Py_BuildValue((char *)"");
13599}
13600static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxString *arg1 = 0 ;
13603 wxString *arg2 = 0 ;
13604 int arg3 = (int) 100 ;
13605 wxWindow *arg4 = (wxWindow *) NULL ;
13606 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13607 wxProgressDialog *result;
e811c8ce
RD
13608 bool temp1 = False ;
13609 bool temp2 = False ;
d14a1e28
RD
13610 PyObject * obj0 = 0 ;
13611 PyObject * obj1 = 0 ;
994141e6 13612 PyObject * obj2 = 0 ;
d14a1e28 13613 PyObject * obj3 = 0 ;
994141e6 13614 PyObject * obj4 = 0 ;
d14a1e28
RD
13615 char *kwnames[] = {
13616 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13617 };
13618
994141e6 13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
13620 {
13621 arg1 = wxString_in_helper(obj0);
13622 if (arg1 == NULL) SWIG_fail;
e811c8ce 13623 temp1 = True;
d14a1e28
RD
13624 }
13625 {
13626 arg2 = wxString_in_helper(obj1);
13627 if (arg2 == NULL) SWIG_fail;
e811c8ce 13628 temp2 = True;
d14a1e28 13629 }
994141e6 13630 if (obj2) {
15afbcd0
RD
13631 arg3 = (int) SWIG_AsInt(obj2);
13632 if (PyErr_Occurred()) SWIG_fail;
994141e6 13633 }
d14a1e28 13634 if (obj3) {
15afbcd0
RD
13635 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 13637 }
994141e6 13638 if (obj4) {
15afbcd0
RD
13639 arg5 = (int) SWIG_AsInt(obj4);
13640 if (PyErr_Occurred()) SWIG_fail;
994141e6 13641 }
d14a1e28 13642 {
e3b71cb8 13643 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13646
13647 wxPyEndAllowThreads(__tstate);
e3b71cb8 13648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13649 }
15afbcd0 13650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
13651 {
13652 if (temp1)
13653 delete arg1;
13654 }
13655 {
13656 if (temp2)
13657 delete arg2;
13658 }
13659 return resultobj;
13660 fail:
13661 {
13662 if (temp1)
13663 delete arg1;
13664 }
13665 {
13666 if (temp2)
13667 delete arg2;
13668 }
13669 return NULL;
13670}
13671
13672
13673static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13676 int arg2 ;
13677 wxString const &arg3_defvalue = wxPyEmptyString ;
13678 wxString *arg3 = (wxString *) &arg3_defvalue ;
13679 bool result;
e811c8ce 13680 bool temp3 = False ;
d14a1e28 13681 PyObject * obj0 = 0 ;
994141e6 13682 PyObject * obj1 = 0 ;
d14a1e28
RD
13683 PyObject * obj2 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13686 };
13687
994141e6 13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13691 arg2 = (int) SWIG_AsInt(obj1);
13692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13693 if (obj2) {
13694 {
13695 arg3 = wxString_in_helper(obj2);
13696 if (arg3 == NULL) SWIG_fail;
e811c8ce 13697 temp3 = True;
d14a1e28
RD
13698 }
13699 }
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
4f89f6a3
RD
13707 {
13708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13709 }
d14a1e28
RD
13710 {
13711 if (temp3)
13712 delete arg3;
13713 }
13714 return resultobj;
13715 fail:
13716 {
13717 if (temp3)
13718 delete arg3;
13719 }
13720 return NULL;
13721}
13722
13723
13724static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13725 PyObject *resultobj;
13726 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13727 PyObject * obj0 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15afbcd0
RD
13733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 (arg1)->Resume();
13738
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
13742 Py_INCREF(Py_None); resultobj = Py_None;
13743 return resultobj;
13744 fail:
13745 return NULL;
13746}
13747
13748
13749static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13750 PyObject *obj;
13751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13752 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13753 Py_INCREF(obj);
13754 return Py_BuildValue((char *)"");
13755}
13756static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13759 int arg2 = (int) 0 ;
13760 wxFindDialogEvent *result;
994141e6
RD
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
d14a1e28
RD
13763 char *kwnames[] = {
13764 (char *) "commandType",(char *) "id", NULL
13765 };
13766
994141e6
RD
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13768 if (obj0) {
15afbcd0
RD
13769 arg1 = (wxEventType) SWIG_AsInt(obj0);
13770 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13771 }
13772 if (obj1) {
15afbcd0
RD
13773 arg2 = (int) SWIG_AsInt(obj1);
13774 if (PyErr_Occurred()) SWIG_fail;
994141e6 13775 }
d14a1e28
RD
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13779
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
15afbcd0 13783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
13784 return resultobj;
13785 fail:
13786 return NULL;
13787}
13788
13789
13790static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj;
13792 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13793 int result;
13794 PyObject * obj0 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
13800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13802 {
13803 PyThreadState* __tstate = wxPyBeginAllowThreads();
13804 result = (int)(arg1)->GetFlags();
13805
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
15afbcd0 13809 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13810 return resultobj;
13811 fail:
13812 return NULL;
13813}
13814
13815
13816static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 13819 wxString *result;
d14a1e28
RD
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
13830 {
13831 wxString const &_result_ref = (arg1)->GetFindString();
13832 result = (wxString *) &_result_ref;
13833 }
d14a1e28
RD
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 {
13839#if wxUSE_UNICODE
cc6dd355 13840 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 13841#else
cc6dd355 13842 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
13843#endif
13844 }
13845 return resultobj;
13846 fail:
13847 return NULL;
13848}
13849
13850
13851static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj;
13853 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13854 wxString *result;
13855 PyObject * obj0 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "self", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 {
13866 wxString const &_result_ref = (arg1)->GetReplaceString();
13867 result = (wxString *) &_result_ref;
13868 }
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
cc6dd355
RD
13873 {
13874#if wxUSE_UNICODE
13875 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13876#else
13877 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13878#endif
13879 }
d14a1e28
RD
13880 return resultobj;
13881 fail:
13882 return NULL;
13883}
13884
13885
13886static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13889 wxFindReplaceDialog *result;
13890 PyObject * obj0 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
15afbcd0 13905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
13906 return resultobj;
13907 fail:
13908 return NULL;
13909}
13910
13911
13912static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj;
13914 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13915 int arg2 ;
13916 PyObject * obj0 = 0 ;
994141e6 13917 PyObject * obj1 = 0 ;
d14a1e28
RD
13918 char *kwnames[] = {
13919 (char *) "self",(char *) "flags", NULL
13920 };
13921
994141e6 13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13925 arg2 = (int) SWIG_AsInt(obj1);
13926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13927 {
13928 PyThreadState* __tstate = wxPyBeginAllowThreads();
13929 (arg1)->SetFlags(arg2);
13930
13931 wxPyEndAllowThreads(__tstate);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 Py_INCREF(Py_None); resultobj = Py_None;
13935 return resultobj;
13936 fail:
13937 return NULL;
13938}
13939
13940
13941static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj;
13943 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13944 wxString *arg2 = 0 ;
e811c8ce 13945 bool temp2 = False ;
d14a1e28
RD
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "self",(char *) "str", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13955 {
13956 arg2 = wxString_in_helper(obj1);
13957 if (arg2 == NULL) SWIG_fail;
e811c8ce 13958 temp2 = True;
d14a1e28
RD
13959 }
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->SetFindString((wxString const &)*arg2);
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 Py_INCREF(Py_None); resultobj = Py_None;
13968 {
13969 if (temp2)
13970 delete arg2;
13971 }
13972 return resultobj;
13973 fail:
13974 {
13975 if (temp2)
13976 delete arg2;
13977 }
13978 return NULL;
13979}
13980
13981
13982static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13985 wxString *arg2 = 0 ;
e811c8ce 13986 bool temp2 = False ;
d14a1e28
RD
13987 PyObject * obj0 = 0 ;
13988 PyObject * obj1 = 0 ;
13989 char *kwnames[] = {
13990 (char *) "self",(char *) "str", NULL
13991 };
13992
13993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13996 {
13997 arg2 = wxString_in_helper(obj1);
13998 if (arg2 == NULL) SWIG_fail;
e811c8ce 13999 temp2 = True;
d14a1e28
RD
14000 }
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->SetReplaceString((wxString const &)*arg2);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 return resultobj;
14014 fail:
14015 {
14016 if (temp2)
14017 delete arg2;
14018 }
14019 return NULL;
14020}
14021
14022
14023static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14024 PyObject *obj;
14025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14027 Py_INCREF(obj);
14028 return Py_BuildValue((char *)"");
14029}
14030static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj;
14032 int arg1 = (int) 0 ;
14033 wxFindReplaceData *result;
994141e6 14034 PyObject * obj0 = 0 ;
d14a1e28
RD
14035 char *kwnames[] = {
14036 (char *) "flags", NULL
14037 };
14038
994141e6
RD
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14040 if (obj0) {
15afbcd0
RD
14041 arg1 = (int) SWIG_AsInt(obj0);
14042 if (PyErr_Occurred()) SWIG_fail;
994141e6 14043 }
d14a1e28
RD
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
15afbcd0 14051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
14052 return resultobj;
14053 fail:
14054 return NULL;
14055}
14056
14057
14058static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14059 PyObject *resultobj;
14060 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14061 PyObject * obj0 = 0 ;
14062 char *kwnames[] = {
14063 (char *) "self", NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 delete arg1;
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080}
14081
14082
14083static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14086 wxString *result;
14087 PyObject * obj0 = 0 ;
14088 char *kwnames[] = {
14089 (char *) "self", NULL
14090 };
14091
14092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14095 {
14096 PyThreadState* __tstate = wxPyBeginAllowThreads();
14097 {
14098 wxString const &_result_ref = (arg1)->GetFindString();
14099 result = (wxString *) &_result_ref;
14100 }
14101
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
cc6dd355
RD
14105 {
14106#if wxUSE_UNICODE
14107 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14108#else
14109 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14110#endif
14111 }
d14a1e28
RD
14112 return resultobj;
14113 fail:
14114 return NULL;
14115}
14116
14117
14118static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14121 wxString *result;
14122 PyObject * obj0 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 {
14133 wxString const &_result_ref = (arg1)->GetReplaceString();
14134 result = (wxString *) &_result_ref;
14135 }
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
cc6dd355
RD
14140 {
14141#if wxUSE_UNICODE
14142 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14143#else
14144 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14145#endif
14146 }
d14a1e28
RD
14147 return resultobj;
14148 fail:
14149 return NULL;
14150}
14151
14152
14153static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14156 int result;
14157 PyObject * obj0 = 0 ;
14158 char *kwnames[] = {
14159 (char *) "self", NULL
14160 };
14161
14162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
14163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 result = (int)(arg1)->GetFlags();
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
15afbcd0 14172 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14173 return resultobj;
14174 fail:
14175 return NULL;
14176}
14177
14178
14179static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14180 PyObject *resultobj;
14181 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14182 int arg2 ;
14183 PyObject * obj0 = 0 ;
994141e6 14184 PyObject * obj1 = 0 ;
d14a1e28
RD
14185 char *kwnames[] = {
14186 (char *) "self",(char *) "flags", NULL
14187 };
14188
994141e6 14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14192 arg2 = (int) SWIG_AsInt(obj1);
14193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 (arg1)->SetFlags(arg2);
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 Py_INCREF(Py_None); resultobj = Py_None;
14202 return resultobj;
14203 fail:
14204 return NULL;
14205}
14206
14207
14208static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14211 wxString *arg2 = 0 ;
e811c8ce 14212 bool temp2 = False ;
d14a1e28
RD
14213 PyObject * obj0 = 0 ;
14214 PyObject * obj1 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self",(char *) "str", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14222 {
14223 arg2 = wxString_in_helper(obj1);
14224 if (arg2 == NULL) SWIG_fail;
e811c8ce 14225 temp2 = True;
d14a1e28
RD
14226 }
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 (arg1)->SetFindString((wxString const &)*arg2);
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 Py_INCREF(Py_None); resultobj = Py_None;
14235 {
14236 if (temp2)
14237 delete arg2;
14238 }
14239 return resultobj;
14240 fail:
14241 {
14242 if (temp2)
14243 delete arg2;
14244 }
14245 return NULL;
14246}
14247
14248
14249static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14252 wxString *arg2 = 0 ;
e811c8ce 14253 bool temp2 = False ;
d14a1e28
RD
14254 PyObject * obj0 = 0 ;
14255 PyObject * obj1 = 0 ;
14256 char *kwnames[] = {
14257 (char *) "self",(char *) "str", NULL
14258 };
14259
14260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14263 {
14264 arg2 = wxString_in_helper(obj1);
14265 if (arg2 == NULL) SWIG_fail;
e811c8ce 14266 temp2 = True;
d14a1e28
RD
14267 }
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 (arg1)->SetReplaceString((wxString const &)*arg2);
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 Py_INCREF(Py_None); resultobj = Py_None;
14276 {
14277 if (temp2)
14278 delete arg2;
14279 }
14280 return resultobj;
14281 fail:
14282 {
14283 if (temp2)
14284 delete arg2;
14285 }
14286 return NULL;
14287}
14288
14289
14290static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14291 PyObject *obj;
14292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14293 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14294 Py_INCREF(obj);
14295 return Py_BuildValue((char *)"");
14296}
14297static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxWindow *arg1 = (wxWindow *) 0 ;
14300 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14301 wxString *arg3 = 0 ;
14302 int arg4 = (int) 0 ;
14303 wxFindReplaceDialog *result;
e811c8ce 14304 bool temp3 = False ;
d14a1e28
RD
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 PyObject * obj2 = 0 ;
994141e6 14308 PyObject * obj3 = 0 ;
d14a1e28
RD
14309 char *kwnames[] = {
14310 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14311 };
14312
994141e6 14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14318 {
14319 arg3 = wxString_in_helper(obj2);
14320 if (arg3 == NULL) SWIG_fail;
e811c8ce 14321 temp3 = True;
d14a1e28 14322 }
994141e6 14323 if (obj3) {
15afbcd0
RD
14324 arg4 = (int) SWIG_AsInt(obj3);
14325 if (PyErr_Occurred()) SWIG_fail;
994141e6 14326 }
d14a1e28 14327 {
e3b71cb8 14328 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14331
14332 wxPyEndAllowThreads(__tstate);
e3b71cb8 14333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14334 }
15afbcd0 14335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14336 {
14337 if (temp3)
14338 delete arg3;
14339 }
14340 return resultobj;
14341 fail:
14342 {
14343 if (temp3)
14344 delete arg3;
14345 }
14346 return NULL;
14347}
14348
14349
14350static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxFindReplaceDialog *result;
14353 char *kwnames[] = {
14354 NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14358 {
e3b71cb8 14359 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14362
14363 wxPyEndAllowThreads(__tstate);
e3b71cb8 14364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14365 }
15afbcd0 14366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14367 return resultobj;
14368 fail:
14369 return NULL;
14370}
14371
14372
14373static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14376 wxWindow *arg2 = (wxWindow *) 0 ;
14377 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14378 wxString *arg4 = 0 ;
14379 int arg5 = (int) 0 ;
14380 bool result;
e811c8ce 14381 bool temp4 = False ;
d14a1e28
RD
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 PyObject * obj2 = 0 ;
14385 PyObject * obj3 = 0 ;
994141e6 14386 PyObject * obj4 = 0 ;
d14a1e28
RD
14387 char *kwnames[] = {
14388 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14389 };
14390
994141e6 14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14396 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14398 {
14399 arg4 = wxString_in_helper(obj3);
14400 if (arg4 == NULL) SWIG_fail;
e811c8ce 14401 temp4 = True;
d14a1e28 14402 }
994141e6 14403 if (obj4) {
15afbcd0
RD
14404 arg5 = (int) SWIG_AsInt(obj4);
14405 if (PyErr_Occurred()) SWIG_fail;
994141e6 14406 }
d14a1e28
RD
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
4f89f6a3
RD
14414 {
14415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14416 }
d14a1e28
RD
14417 {
14418 if (temp4)
14419 delete arg4;
14420 }
14421 return resultobj;
14422 fail:
14423 {
14424 if (temp4)
14425 delete arg4;
14426 }
14427 return NULL;
14428}
14429
14430
14431static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14434 wxFindReplaceData *result;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 result = (wxFindReplaceData *)(arg1)->GetData();
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
15afbcd0 14450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
14451 return resultobj;
14452 fail:
14453 return NULL;
14454}
14455
14456
14457static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14460 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14461 PyObject * obj0 = 0 ;
14462 PyObject * obj1 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self",(char *) "data", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 (arg1)->SetData(arg2);
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 * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14487 PyObject *obj;
14488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14489 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14490 Py_INCREF(obj);
14491 return Py_BuildValue((char *)"");
14492}
14493static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 14496 int arg2 ;
d14a1e28
RD
14497 wxString *arg3 = 0 ;
14498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14500 wxSize const &arg5_defvalue = wxDefaultSize ;
14501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14502 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14503 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14504 wxString *arg7 = (wxString *) &arg7_defvalue ;
14505 wxMDIParentFrame *result;
e811c8ce 14506 bool temp3 = False ;
d14a1e28
RD
14507 wxPoint temp4 ;
14508 wxSize temp5 ;
e811c8ce 14509 bool temp7 = False ;
d14a1e28 14510 PyObject * obj0 = 0 ;
994141e6 14511 PyObject * obj1 = 0 ;
d14a1e28
RD
14512 PyObject * obj2 = 0 ;
14513 PyObject * obj3 = 0 ;
14514 PyObject * obj4 = 0 ;
994141e6 14515 PyObject * obj5 = 0 ;
d14a1e28
RD
14516 PyObject * obj6 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14519 };
14520
994141e6 14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14524 arg2 = (int const) SWIG_AsInt(obj1);
14525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14526 {
14527 arg3 = wxString_in_helper(obj2);
14528 if (arg3 == NULL) SWIG_fail;
e811c8ce 14529 temp3 = True;
d14a1e28
RD
14530 }
14531 if (obj3) {
14532 {
14533 arg4 = &temp4;
14534 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14535 }
14536 }
14537 if (obj4) {
14538 {
14539 arg5 = &temp5;
14540 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14541 }
14542 }
994141e6 14543 if (obj5) {
15afbcd0
RD
14544 arg6 = (long) SWIG_AsLong(obj5);
14545 if (PyErr_Occurred()) SWIG_fail;
994141e6 14546 }
d14a1e28
RD
14547 if (obj6) {
14548 {
14549 arg7 = wxString_in_helper(obj6);
14550 if (arg7 == NULL) SWIG_fail;
e811c8ce 14551 temp7 = True;
d14a1e28
RD
14552 }
14553 }
14554 {
e3b71cb8 14555 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14558
14559 wxPyEndAllowThreads(__tstate);
e3b71cb8 14560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14561 }
15afbcd0 14562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14563 {
14564 if (temp3)
14565 delete arg3;
14566 }
14567 {
14568 if (temp7)
14569 delete arg7;
14570 }
14571 return resultobj;
14572 fail:
14573 {
14574 if (temp3)
14575 delete arg3;
14576 }
14577 {
14578 if (temp7)
14579 delete arg7;
14580 }
14581 return NULL;
14582}
14583
14584
14585static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj;
14587 wxMDIParentFrame *result;
14588 char *kwnames[] = {
14589 NULL
14590 };
14591
14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14593 {
e3b71cb8 14594 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14597
14598 wxPyEndAllowThreads(__tstate);
e3b71cb8 14599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14600 }
15afbcd0 14601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14602 return resultobj;
14603 fail:
14604 return NULL;
14605}
14606
14607
14608static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14611 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14612 int arg3 ;
d14a1e28
RD
14613 wxString *arg4 = 0 ;
14614 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14615 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14616 wxSize const &arg6_defvalue = wxDefaultSize ;
14617 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14618 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14619 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14620 wxString *arg8 = (wxString *) &arg8_defvalue ;
14621 bool result;
e811c8ce 14622 bool temp4 = False ;
d14a1e28
RD
14623 wxPoint temp5 ;
14624 wxSize temp6 ;
e811c8ce 14625 bool temp8 = False ;
d14a1e28
RD
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
994141e6 14628 PyObject * obj2 = 0 ;
d14a1e28
RD
14629 PyObject * obj3 = 0 ;
14630 PyObject * obj4 = 0 ;
14631 PyObject * obj5 = 0 ;
994141e6 14632 PyObject * obj6 = 0 ;
d14a1e28
RD
14633 PyObject * obj7 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14636 };
14637
994141e6 14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14643 arg3 = (int const) SWIG_AsInt(obj2);
14644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14645 {
14646 arg4 = wxString_in_helper(obj3);
14647 if (arg4 == NULL) SWIG_fail;
e811c8ce 14648 temp4 = True;
d14a1e28
RD
14649 }
14650 if (obj4) {
14651 {
14652 arg5 = &temp5;
14653 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14654 }
14655 }
14656 if (obj5) {
14657 {
14658 arg6 = &temp6;
14659 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14660 }
14661 }
994141e6 14662 if (obj6) {
15afbcd0
RD
14663 arg7 = (long) SWIG_AsLong(obj6);
14664 if (PyErr_Occurred()) SWIG_fail;
994141e6 14665 }
d14a1e28
RD
14666 if (obj7) {
14667 {
14668 arg8 = wxString_in_helper(obj7);
14669 if (arg8 == NULL) SWIG_fail;
e811c8ce 14670 temp8 = True;
d14a1e28
RD
14671 }
14672 }
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
4f89f6a3
RD
14680 {
14681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14682 }
d14a1e28
RD
14683 {
14684 if (temp4)
14685 delete arg4;
14686 }
14687 {
14688 if (temp8)
14689 delete arg8;
14690 }
14691 return resultobj;
14692 fail:
14693 {
14694 if (temp4)
14695 delete arg4;
14696 }
14697 {
14698 if (temp8)
14699 delete arg8;
14700 }
14701 return NULL;
14702}
14703
14704
14705static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14708 PyObject * obj0 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
14714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 (arg1)->ActivateNext();
14719
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 Py_INCREF(Py_None); resultobj = Py_None;
14724 return resultobj;
14725 fail:
14726 return NULL;
14727}
14728
14729
14730static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
14739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 (arg1)->ActivatePrevious();
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 Py_INCREF(Py_None); resultobj = Py_None;
14749 return resultobj;
14750 fail:
14751 return NULL;
14752}
14753
14754
14755static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj;
14757 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14758 PyObject * obj0 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15afbcd0
RD
14764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 (arg1)->ArrangeIcons();
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 Py_INCREF(Py_None); resultobj = Py_None;
14774 return resultobj;
14775 fail:
14776 return NULL;
14777}
14778
14779
14780static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14783 PyObject * obj0 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15afbcd0
RD
14789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 (arg1)->Cascade();
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 Py_INCREF(Py_None); resultobj = Py_None;
14799 return resultobj;
14800 fail:
14801 return NULL;
14802}
14803
14804
14805static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14808 wxMDIChildFrame *result;
14809 PyObject * obj0 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15afbcd0
RD
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 {
14825 resultobj = wxPyMake_wxObject(result);
14826 }
14827 return resultobj;
14828 fail:
14829 return NULL;
14830}
14831
14832
14833static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj;
14835 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14836 wxMDIClientWindow *result;
14837 PyObject * obj0 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 {
14853 resultobj = wxPyMake_wxObject(result);
14854 }
14855 return resultobj;
14856 fail:
14857 return NULL;
14858}
14859
14860
14861static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14864 wxWindow *result;
14865 PyObject * obj0 = 0 ;
14866 char *kwnames[] = {
14867 (char *) "self", NULL
14868 };
14869
14870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
14871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 result = (wxWindow *)(arg1)->GetToolBar();
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 {
14881 resultobj = wxPyMake_wxObject(result);
14882 }
14883 return resultobj;
14884 fail:
14885 return NULL;
14886}
14887
14888
14889static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15afbcd0
RD
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 (arg1)->Tile();
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 Py_INCREF(Py_None); resultobj = Py_None;
14908 return resultobj;
14909 fail:
14910 return NULL;
14911}
14912
14913
14914static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14915 PyObject *obj;
14916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14917 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14918 Py_INCREF(obj);
14919 return Py_BuildValue((char *)"");
14920}
14921static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
e811c8ce 14924 int arg2 ;
d14a1e28
RD
14925 wxString *arg3 = 0 ;
14926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14928 wxSize const &arg5_defvalue = wxDefaultSize ;
14929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14930 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14931 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14932 wxString *arg7 = (wxString *) &arg7_defvalue ;
14933 wxMDIChildFrame *result;
e811c8ce 14934 bool temp3 = False ;
d14a1e28
RD
14935 wxPoint temp4 ;
14936 wxSize temp5 ;
e811c8ce 14937 bool temp7 = False ;
d14a1e28 14938 PyObject * obj0 = 0 ;
994141e6 14939 PyObject * obj1 = 0 ;
d14a1e28
RD
14940 PyObject * obj2 = 0 ;
14941 PyObject * obj3 = 0 ;
14942 PyObject * obj4 = 0 ;
994141e6 14943 PyObject * obj5 = 0 ;
d14a1e28
RD
14944 PyObject * obj6 = 0 ;
14945 char *kwnames[] = {
14946 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14947 };
14948
994141e6 14949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14952 arg2 = (int const) SWIG_AsInt(obj1);
14953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14954 {
14955 arg3 = wxString_in_helper(obj2);
14956 if (arg3 == NULL) SWIG_fail;
e811c8ce 14957 temp3 = True;
d14a1e28
RD
14958 }
14959 if (obj3) {
14960 {
14961 arg4 = &temp4;
14962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14963 }
14964 }
14965 if (obj4) {
14966 {
14967 arg5 = &temp5;
14968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14969 }
14970 }
994141e6 14971 if (obj5) {
15afbcd0
RD
14972 arg6 = (long) SWIG_AsLong(obj5);
14973 if (PyErr_Occurred()) SWIG_fail;
994141e6 14974 }
d14a1e28
RD
14975 if (obj6) {
14976 {
14977 arg7 = wxString_in_helper(obj6);
14978 if (arg7 == NULL) SWIG_fail;
e811c8ce 14979 temp7 = True;
d14a1e28
RD
14980 }
14981 }
14982 {
e3b71cb8 14983 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14986
14987 wxPyEndAllowThreads(__tstate);
e3b71cb8 14988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14989 }
14990 {
14991 resultobj = wxPyMake_wxObject(result);
14992 }
14993 {
14994 if (temp3)
14995 delete arg3;
14996 }
14997 {
14998 if (temp7)
14999 delete arg7;
15000 }
15001 return resultobj;
15002 fail:
15003 {
15004 if (temp3)
15005 delete arg3;
15006 }
15007 {
15008 if (temp7)
15009 delete arg7;
15010 }
15011 return NULL;
15012}
15013
15014
15015static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxMDIChildFrame *result;
15018 char *kwnames[] = {
15019 NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15023 {
e3b71cb8 15024 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15027
15028 wxPyEndAllowThreads(__tstate);
e3b71cb8 15029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15030 }
15031 {
15032 resultobj = wxPyMake_wxObject(result);
15033 }
15034 return resultobj;
15035 fail:
15036 return NULL;
15037}
15038
15039
15040static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj;
15042 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15043 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
e811c8ce 15044 int arg3 ;
d14a1e28
RD
15045 wxString *arg4 = 0 ;
15046 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15047 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15048 wxSize const &arg6_defvalue = wxDefaultSize ;
15049 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15050 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15051 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15052 wxString *arg8 = (wxString *) &arg8_defvalue ;
15053 bool result;
e811c8ce 15054 bool temp4 = False ;
d14a1e28
RD
15055 wxPoint temp5 ;
15056 wxSize temp6 ;
e811c8ce 15057 bool temp8 = False ;
d14a1e28
RD
15058 PyObject * obj0 = 0 ;
15059 PyObject * obj1 = 0 ;
994141e6 15060 PyObject * obj2 = 0 ;
d14a1e28
RD
15061 PyObject * obj3 = 0 ;
15062 PyObject * obj4 = 0 ;
15063 PyObject * obj5 = 0 ;
994141e6 15064 PyObject * obj6 = 0 ;
d14a1e28
RD
15065 PyObject * obj7 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15068 };
15069
994141e6 15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
15071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15075 arg3 = (int const) SWIG_AsInt(obj2);
15076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15077 {
15078 arg4 = wxString_in_helper(obj3);
15079 if (arg4 == NULL) SWIG_fail;
e811c8ce 15080 temp4 = True;
d14a1e28
RD
15081 }
15082 if (obj4) {
15083 {
15084 arg5 = &temp5;
15085 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15086 }
15087 }
15088 if (obj5) {
15089 {
15090 arg6 = &temp6;
15091 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15092 }
15093 }
994141e6 15094 if (obj6) {
15afbcd0
RD
15095 arg7 = (long) SWIG_AsLong(obj6);
15096 if (PyErr_Occurred()) SWIG_fail;
994141e6 15097 }
d14a1e28
RD
15098 if (obj7) {
15099 {
15100 arg8 = wxString_in_helper(obj7);
15101 if (arg8 == NULL) SWIG_fail;
e811c8ce 15102 temp8 = True;
d14a1e28
RD
15103 }
15104 }
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
4f89f6a3
RD
15112 {
15113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15114 }
d14a1e28
RD
15115 {
15116 if (temp4)
15117 delete arg4;
15118 }
15119 {
15120 if (temp8)
15121 delete arg8;
15122 }
15123 return resultobj;
15124 fail:
15125 {
15126 if (temp4)
15127 delete arg4;
15128 }
15129 {
15130 if (temp8)
15131 delete arg8;
15132 }
15133 return NULL;
15134}
15135
15136
15137static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15140 PyObject * obj0 = 0 ;
15141 char *kwnames[] = {
15142 (char *) "self", NULL
15143 };
15144
15145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15afbcd0
RD
15146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 (arg1)->Activate();
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 Py_INCREF(Py_None); resultobj = Py_None;
15156 return resultobj;
15157 fail:
15158 return NULL;
15159}
15160
15161
15162static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15165 bool arg2 ;
15166 PyObject * obj0 = 0 ;
15167 PyObject * obj1 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "maximize", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15175 arg2 = (bool) SWIG_AsBool(obj1);
15176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 (arg1)->Maximize(arg2);
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 Py_INCREF(Py_None); resultobj = Py_None;
15185 return resultobj;
15186 fail:
15187 return NULL;
15188}
15189
15190
15191static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15194 PyObject * obj0 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
15200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 (arg1)->Restore();
15205
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 Py_INCREF(Py_None); resultobj = Py_None;
15210 return resultobj;
15211 fail:
15212 return NULL;
15213}
15214
15215
15216static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15217 PyObject *obj;
15218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15219 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15220 Py_INCREF(obj);
15221 return Py_BuildValue((char *)"");
15222}
15223static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15226 long arg2 = (long) 0 ;
15227 wxMDIClientWindow *result;
15228 PyObject * obj0 = 0 ;
994141e6 15229 PyObject * obj1 = 0 ;
d14a1e28
RD
15230 char *kwnames[] = {
15231 (char *) "parent",(char *) "style", NULL
15232 };
15233
994141e6 15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15237 if (obj1) {
15afbcd0
RD
15238 arg2 = (long) SWIG_AsLong(obj1);
15239 if (PyErr_Occurred()) SWIG_fail;
994141e6 15240 }
d14a1e28 15241 {
e3b71cb8 15242 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15245
15246 wxPyEndAllowThreads(__tstate);
e3b71cb8 15247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15248 }
15249 {
15250 resultobj = wxPyMake_wxObject(result);
15251 }
15252 return resultobj;
15253 fail:
15254 return NULL;
15255}
15256
15257
15258static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxMDIClientWindow *result;
15261 char *kwnames[] = {
15262 NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15266 {
e3b71cb8 15267 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15270
15271 wxPyEndAllowThreads(__tstate);
e3b71cb8 15272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15273 }
15274 {
15275 resultobj = wxPyMake_wxObject(result);
15276 }
15277 return resultobj;
15278 fail:
15279 return NULL;
15280}
15281
15282
15283static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15286 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15287 long arg3 = (long) 0 ;
15288 bool result;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
994141e6 15291 PyObject * obj2 = 0 ;
d14a1e28
RD
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "parent",(char *) "style", NULL
15294 };
15295
994141e6 15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15301 if (obj2) {
15afbcd0
RD
15302 arg3 = (long) SWIG_AsLong(obj2);
15303 if (PyErr_Occurred()) SWIG_fail;
994141e6 15304 }
d14a1e28
RD
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 result = (bool)(arg1)->Create(arg2,arg3);
15308
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
4f89f6a3
RD
15312 {
15313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15314 }
d14a1e28
RD
15315 return resultobj;
15316 fail:
15317 return NULL;
15318}
15319
15320
15321static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15322 PyObject *obj;
15323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15324 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15325 Py_INCREF(obj);
15326 return Py_BuildValue((char *)"");
15327}
15328static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 15331 int arg2 ;
d14a1e28
RD
15332 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15333 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15334 wxSize const &arg4_defvalue = wxDefaultSize ;
15335 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15336 long arg5 = (long) 0 ;
15337 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15338 wxString *arg6 = (wxString *) &arg6_defvalue ;
15339 wxPyWindow *result;
15340 wxPoint temp3 ;
15341 wxSize temp4 ;
e811c8ce 15342 bool temp6 = False ;
d14a1e28 15343 PyObject * obj0 = 0 ;
994141e6 15344 PyObject * obj1 = 0 ;
d14a1e28
RD
15345 PyObject * obj2 = 0 ;
15346 PyObject * obj3 = 0 ;
994141e6 15347 PyObject * obj4 = 0 ;
d14a1e28
RD
15348 PyObject * obj5 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15351 };
15352
994141e6 15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15356 arg2 = (int const) SWIG_AsInt(obj1);
15357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15358 if (obj2) {
15359 {
15360 arg3 = &temp3;
15361 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15362 }
15363 }
15364 if (obj3) {
15365 {
15366 arg4 = &temp4;
15367 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15368 }
15369 }
994141e6 15370 if (obj4) {
15afbcd0
RD
15371 arg5 = (long) SWIG_AsLong(obj4);
15372 if (PyErr_Occurred()) SWIG_fail;
994141e6 15373 }
d14a1e28
RD
15374 if (obj5) {
15375 {
15376 arg6 = wxString_in_helper(obj5);
15377 if (arg6 == NULL) SWIG_fail;
e811c8ce 15378 temp6 = True;
d14a1e28
RD
15379 }
15380 }
15381 {
e3b71cb8 15382 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15385
15386 wxPyEndAllowThreads(__tstate);
e3b71cb8 15387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15388 }
15afbcd0 15389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
15390 {
15391 if (temp6)
15392 delete arg6;
15393 }
15394 return resultobj;
15395 fail:
15396 {
15397 if (temp6)
15398 delete arg6;
15399 }
15400 return NULL;
15401}
15402
15403
1cb4a8aa
RD
15404static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxPyWindow *result;
15407 char *kwnames[] = {
15408 NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15412 {
e3b71cb8 15413 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (wxPyWindow *)new wxPyWindow();
15416
15417 wxPyEndAllowThreads(__tstate);
e3b71cb8 15418 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
15419 }
15420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15421 return resultobj;
15422 fail:
15423 return NULL;
15424}
15425
15426
d14a1e28
RD
15427static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15430 PyObject *arg2 = (PyObject *) 0 ;
15431 PyObject *arg3 = (PyObject *) 0 ;
15432 PyObject * obj0 = 0 ;
15433 PyObject * obj1 = 0 ;
15434 PyObject * obj2 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "self",(char *) "_class", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15442 arg2 = obj1;
15443 arg3 = obj2;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 (arg1)->_setCallbackInfo(arg2,arg3);
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 Py_INCREF(Py_None); resultobj = Py_None;
15452 return resultobj;
15453 fail:
15454 return NULL;
15455}
15456
15457
db3e571a
RD
15458static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15461 wxSize *arg2 = 0 ;
15462 wxSize temp2 ;
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "size", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15472 {
15473 arg2 = &temp2;
15474 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15475 }
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->SetBestSize((wxSize const &)*arg2);
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 Py_INCREF(Py_None); resultobj = Py_None;
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
d14a1e28
RD
15490static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15493 int arg2 ;
15494 int arg3 ;
15495 int arg4 ;
15496 int arg5 ;
15497 PyObject * obj0 = 0 ;
994141e6
RD
15498 PyObject * obj1 = 0 ;
15499 PyObject * obj2 = 0 ;
15500 PyObject * obj3 = 0 ;
15501 PyObject * obj4 = 0 ;
d14a1e28
RD
15502 char *kwnames[] = {
15503 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15504 };
15505
994141e6 15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15509 arg2 = (int) SWIG_AsInt(obj1);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 arg3 = (int) SWIG_AsInt(obj2);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 arg4 = (int) SWIG_AsInt(obj3);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 arg5 = (int) SWIG_AsInt(obj4);
15516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15520
15521 wxPyEndAllowThreads(__tstate);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 Py_INCREF(Py_None); resultobj = Py_None;
15525 return resultobj;
15526 fail:
15527 return NULL;
15528}
15529
15530
15531static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15534 int arg2 ;
15535 int arg3 ;
15536 int arg4 ;
15537 int arg5 ;
15538 int arg6 = (int) wxSIZE_AUTO ;
15539 PyObject * obj0 = 0 ;
994141e6
RD
15540 PyObject * obj1 = 0 ;
15541 PyObject * obj2 = 0 ;
15542 PyObject * obj3 = 0 ;
15543 PyObject * obj4 = 0 ;
15544 PyObject * obj5 = 0 ;
d14a1e28
RD
15545 char *kwnames[] = {
15546 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15547 };
15548
994141e6 15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15552 arg2 = (int) SWIG_AsInt(obj1);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 arg3 = (int) SWIG_AsInt(obj2);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 arg4 = (int) SWIG_AsInt(obj3);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 arg5 = (int) SWIG_AsInt(obj4);
15559 if (PyErr_Occurred()) SWIG_fail;
994141e6 15560 if (obj5) {
15afbcd0
RD
15561 arg6 = (int) SWIG_AsInt(obj5);
15562 if (PyErr_Occurred()) SWIG_fail;
994141e6 15563 }
d14a1e28
RD
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 Py_INCREF(Py_None); resultobj = Py_None;
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
15578static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15581 int arg2 ;
15582 int arg3 ;
15583 PyObject * obj0 = 0 ;
994141e6
RD
15584 PyObject * obj1 = 0 ;
15585 PyObject * obj2 = 0 ;
d14a1e28
RD
15586 char *kwnames[] = {
15587 (char *) "self",(char *) "width",(char *) "height", NULL
15588 };
15589
994141e6 15590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15593 arg2 = (int) SWIG_AsInt(obj1);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 arg3 = (int) SWIG_AsInt(obj2);
15596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15597 {
15598 PyThreadState* __tstate = wxPyBeginAllowThreads();
15599 (arg1)->base_DoSetClientSize(arg2,arg3);
15600
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 Py_INCREF(Py_None); resultobj = Py_None;
15605 return resultobj;
15606 fail:
15607 return NULL;
15608}
15609
15610
15611static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj;
15613 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15614 int arg2 ;
15615 int arg3 ;
15616 PyObject * obj0 = 0 ;
994141e6
RD
15617 PyObject * obj1 = 0 ;
15618 PyObject * obj2 = 0 ;
d14a1e28 15619 char *kwnames[] = {
15afbcd0
RD
15620 (char *) "self",(char *) "x",(char *) "y", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15626 arg2 = (int) SWIG_AsInt(obj1);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 arg3 = (int) SWIG_AsInt(obj2);
15629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 Py_INCREF(Py_None); resultobj = Py_None;
15638 return resultobj;
15639 fail:
15640 return NULL;
15641}
15642
15643
15644static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15645 PyObject *resultobj;
15646 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15647 int *arg2 = (int *) 0 ;
15648 int *arg3 = (int *) 0 ;
15649 int temp2 ;
15650 int temp3 ;
15651 PyObject * obj0 = 0 ;
15652 char *kwnames[] = {
15653 (char *) "self", NULL
15654 };
15655
15656 arg2 = &temp2;
15657 arg3 = &temp3;
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 Py_INCREF(Py_None); resultobj = Py_None;
15669 {
15670 PyObject *o = PyInt_FromLong((long) (*arg2));
15671 resultobj = t_output_helper(resultobj,o);
15672 }
15673 {
15674 PyObject *o = PyInt_FromLong((long) (*arg3));
15675 resultobj = t_output_helper(resultobj,o);
15676 }
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
15683static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15686 int *arg2 = (int *) 0 ;
15687 int *arg3 = (int *) 0 ;
15688 int temp2 ;
15689 int temp3 ;
15690 PyObject * obj0 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self", NULL
15693 };
15694
15695 arg2 = &temp2;
15696 arg3 = &temp3;
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15700 {
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15703
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 Py_INCREF(Py_None); resultobj = Py_None;
15708 {
15709 PyObject *o = PyInt_FromLong((long) (*arg2));
15710 resultobj = t_output_helper(resultobj,o);
15711 }
15712 {
15713 PyObject *o = PyInt_FromLong((long) (*arg3));
15714 resultobj = t_output_helper(resultobj,o);
15715 }
15716 return resultobj;
15717 fail:
15718 return NULL;
15719}
15720
15721
15722static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15725 int *arg2 = (int *) 0 ;
15726 int *arg3 = (int *) 0 ;
15727 int temp2 ;
15728 int temp3 ;
15729 PyObject * obj0 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self", NULL
15732 };
15733
15734 arg2 = &temp2;
15735 arg3 = &temp3;
15736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 {
15748 PyObject *o = PyInt_FromLong((long) (*arg2));
15749 resultobj = t_output_helper(resultobj,o);
15750 }
15751 {
15752 PyObject *o = PyInt_FromLong((long) (*arg3));
15753 resultobj = t_output_helper(resultobj,o);
15754 }
15755 return resultobj;
15756 fail:
15757 return NULL;
15758}
15759
15760
15761static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15764 wxSize result;
15765 PyObject * obj0 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 {
15781 wxSize * resultptr;
15782 resultptr = new wxSize((wxSize &) result);
15afbcd0 15783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15784 }
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
15791static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15794 wxSize result;
15795 PyObject * obj0 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 {
15811 wxSize * resultptr;
15812 resultptr = new wxSize((wxSize &) result);
15afbcd0 15813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15814 }
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
15821static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15824 PyObject * obj0 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
15830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15832 {
15833 PyThreadState* __tstate = wxPyBeginAllowThreads();
15834 (arg1)->base_InitDialog();
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 Py_INCREF(Py_None); resultobj = Py_None;
15840 return resultobj;
15841 fail:
15842 return NULL;
15843}
15844
15845
15846static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15849 bool result;
15850 PyObject * obj0 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "self", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (bool)(arg1)->base_TransferDataToWindow();
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
4f89f6a3
RD
15865 {
15866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15867 }
d14a1e28
RD
15868 return resultobj;
15869 fail:
15870 return NULL;
15871}
15872
15873
15874static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15877 bool result;
15878 PyObject * obj0 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 result = (bool)(arg1)->base_TransferDataFromWindow();
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
4f89f6a3
RD
15893 {
15894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15895 }
d14a1e28
RD
15896 return resultobj;
15897 fail:
15898 return NULL;
15899}
15900
15901
15902static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15903 PyObject *resultobj;
15904 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15905 bool result;
15906 PyObject * obj0 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
15912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (bool)(arg1)->base_Validate();
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
4f89f6a3
RD
15921 {
15922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15923 }
d14a1e28
RD
15924 return resultobj;
15925 fail:
15926 return NULL;
15927}
15928
15929
15930static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15931 PyObject *resultobj;
15932 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15933 bool result;
15934 PyObject * obj0 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
15940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15945
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
4f89f6a3
RD
15949 {
15950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15951 }
d14a1e28
RD
15952 return resultobj;
15953 fail:
15954 return NULL;
15955}
15956
15957
15958static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15961 bool result;
15962 PyObject * obj0 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "self", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
15968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
4f89f6a3
RD
15977 {
15978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15979 }
d14a1e28
RD
15980 return resultobj;
15981 fail:
15982 return NULL;
15983}
15984
15985
15986static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15989 wxSize result;
15990 PyObject * obj0 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 {
16006 wxSize * resultptr;
16007 resultptr = new wxSize((wxSize &) result);
15afbcd0 16008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16009 }
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
16016static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16019 wxWindow *arg2 = (wxWindow *) 0 ;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "child", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 (arg1)->base_AddChild(arg2);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 Py_INCREF(Py_None); resultobj = Py_None;
16039 return resultobj;
16040 fail:
16041 return NULL;
16042}
16043
16044
16045static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16048 wxWindow *arg2 = (wxWindow *) 0 ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "child", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 (arg1)->base_RemoveChild(arg2);
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 Py_INCREF(Py_None); resultobj = Py_None;
16068 return resultobj;
16069 fail:
16070 return NULL;
16071}
16072
16073
1cb4a8aa
RD
16074static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj;
16076 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16077 bool result;
16078 PyObject * obj0 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 16088 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 {
16094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16095 }
16096 return resultobj;
16097 fail:
16098 return NULL;
16099}
16100
16101
16102static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16105 wxColour *arg2 = 0 ;
16106 wxColour temp2 ;
16107 PyObject * obj0 = 0 ;
16108 PyObject * obj1 = 0 ;
16109 char *kwnames[] = {
16110 (char *) "self",(char *) "c", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16116 {
16117 arg2 = &temp2;
16118 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16119 }
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 Py_INCREF(Py_None); resultobj = Py_None;
16128 return resultobj;
16129 fail:
16130 return NULL;
16131}
16132
16133
db3e571a
RD
16134static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16137 wxVisualAttributes result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (arg1)->base_GetDefaultAttributes();
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 {
16154 wxVisualAttributes * resultptr;
16155 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16157 }
16158 return resultobj;
16159 fail:
16160 return NULL;
16161}
16162
16163
d14a1e28
RD
16164static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16165 PyObject *obj;
16166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16167 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16168 Py_INCREF(obj);
16169 return Py_BuildValue((char *)"");
16170}
16171static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 16174 int arg2 ;
d14a1e28
RD
16175 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16176 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16177 wxSize const &arg4_defvalue = wxDefaultSize ;
16178 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16179 long arg5 = (long) 0 ;
16180 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16181 wxString *arg6 = (wxString *) &arg6_defvalue ;
16182 wxPyPanel *result;
16183 wxPoint temp3 ;
16184 wxSize temp4 ;
e811c8ce 16185 bool temp6 = False ;
d14a1e28 16186 PyObject * obj0 = 0 ;
994141e6 16187 PyObject * obj1 = 0 ;
d14a1e28
RD
16188 PyObject * obj2 = 0 ;
16189 PyObject * obj3 = 0 ;
994141e6 16190 PyObject * obj4 = 0 ;
d14a1e28
RD
16191 PyObject * obj5 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16194 };
16195
994141e6 16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 arg2 = (int const) SWIG_AsInt(obj1);
16200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16201 if (obj2) {
16202 {
16203 arg3 = &temp3;
16204 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16205 }
16206 }
16207 if (obj3) {
16208 {
16209 arg4 = &temp4;
16210 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16211 }
16212 }
994141e6 16213 if (obj4) {
15afbcd0
RD
16214 arg5 = (long) SWIG_AsLong(obj4);
16215 if (PyErr_Occurred()) SWIG_fail;
994141e6 16216 }
d14a1e28
RD
16217 if (obj5) {
16218 {
16219 arg6 = wxString_in_helper(obj5);
16220 if (arg6 == NULL) SWIG_fail;
e811c8ce 16221 temp6 = True;
d14a1e28
RD
16222 }
16223 }
16224 {
e3b71cb8 16225 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16228
16229 wxPyEndAllowThreads(__tstate);
e3b71cb8 16230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16231 }
15afbcd0 16232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
16233 {
16234 if (temp6)
16235 delete arg6;
16236 }
16237 return resultobj;
16238 fail:
16239 {
16240 if (temp6)
16241 delete arg6;
16242 }
16243 return NULL;
16244}
16245
16246
1cb4a8aa
RD
16247static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxPyPanel *result;
16250 char *kwnames[] = {
16251 NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16255 {
e3b71cb8 16256 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = (wxPyPanel *)new wxPyPanel();
16259
16260 wxPyEndAllowThreads(__tstate);
e3b71cb8 16261 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
16262 }
16263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16264 return resultobj;
16265 fail:
16266 return NULL;
16267}
16268
16269
d14a1e28
RD
16270static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16273 PyObject *arg2 = (PyObject *) 0 ;
16274 PyObject *arg3 = (PyObject *) 0 ;
16275 PyObject * obj0 = 0 ;
16276 PyObject * obj1 = 0 ;
16277 PyObject * obj2 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "self",(char *) "_class", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16285 arg2 = obj1;
16286 arg3 = obj2;
16287 {
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 (arg1)->_setCallbackInfo(arg2,arg3);
16290
16291 wxPyEndAllowThreads(__tstate);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
16294 Py_INCREF(Py_None); resultobj = Py_None;
16295 return resultobj;
16296 fail:
16297 return NULL;
16298}
16299
16300
db3e571a
RD
16301static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16304 wxSize *arg2 = 0 ;
16305 wxSize temp2 ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308 char *kwnames[] = {
16309 (char *) "self",(char *) "size", NULL
16310 };
16311
16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16315 {
16316 arg2 = &temp2;
16317 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16318 }
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 (arg1)->SetBestSize((wxSize const &)*arg2);
16322
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 Py_INCREF(Py_None); resultobj = Py_None;
16327 return resultobj;
16328 fail:
16329 return NULL;
16330}
16331
16332
d14a1e28
RD
16333static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16336 int arg2 ;
16337 int arg3 ;
16338 int arg4 ;
16339 int arg5 ;
16340 PyObject * obj0 = 0 ;
994141e6
RD
16341 PyObject * obj1 = 0 ;
16342 PyObject * obj2 = 0 ;
16343 PyObject * obj3 = 0 ;
16344 PyObject * obj4 = 0 ;
d14a1e28
RD
16345 char *kwnames[] = {
16346 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16347 };
16348
994141e6 16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
16350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16352 arg2 = (int) SWIG_AsInt(obj1);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 arg3 = (int) SWIG_AsInt(obj2);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 arg4 = (int) SWIG_AsInt(obj3);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 arg5 = (int) SWIG_AsInt(obj4);
16359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 return resultobj;
16369 fail:
16370 return NULL;
16371}
16372
16373
16374static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16377 int arg2 ;
16378 int arg3 ;
16379 int arg4 ;
16380 int arg5 ;
16381 int arg6 = (int) wxSIZE_AUTO ;
16382 PyObject * obj0 = 0 ;
994141e6
RD
16383 PyObject * obj1 = 0 ;
16384 PyObject * obj2 = 0 ;
16385 PyObject * obj3 = 0 ;
16386 PyObject * obj4 = 0 ;
16387 PyObject * obj5 = 0 ;
d14a1e28
RD
16388 char *kwnames[] = {
16389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16390 };
16391
994141e6 16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
16393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16395 arg2 = (int) SWIG_AsInt(obj1);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 arg3 = (int) SWIG_AsInt(obj2);
16398 if (PyErr_Occurred()) SWIG_fail;
16399 arg4 = (int) SWIG_AsInt(obj3);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 arg5 = (int) SWIG_AsInt(obj4);
16402 if (PyErr_Occurred()) SWIG_fail;
994141e6 16403 if (obj5) {
15afbcd0
RD
16404 arg6 = (int) SWIG_AsInt(obj5);
16405 if (PyErr_Occurred()) SWIG_fail;
994141e6 16406 }
d14a1e28
RD
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 Py_INCREF(Py_None); resultobj = Py_None;
16415 return resultobj;
16416 fail:
16417 return NULL;
16418}
16419
16420
16421static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16424 int arg2 ;
16425 int arg3 ;
16426 PyObject * obj0 = 0 ;
994141e6
RD
16427 PyObject * obj1 = 0 ;
16428 PyObject * obj2 = 0 ;
d14a1e28
RD
16429 char *kwnames[] = {
16430 (char *) "self",(char *) "width",(char *) "height", NULL
16431 };
16432
994141e6 16433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16436 arg2 = (int) SWIG_AsInt(obj1);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 arg3 = (int) SWIG_AsInt(obj2);
16439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 (arg1)->base_DoSetClientSize(arg2,arg3);
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 Py_INCREF(Py_None); resultobj = Py_None;
16448 return resultobj;
16449 fail:
16450 return NULL;
16451}
16452
16453
16454static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16457 int arg2 ;
16458 int arg3 ;
16459 PyObject * obj0 = 0 ;
994141e6
RD
16460 PyObject * obj1 = 0 ;
16461 PyObject * obj2 = 0 ;
d14a1e28
RD
16462 char *kwnames[] = {
16463 (char *) "self",(char *) "x",(char *) "y", NULL
16464 };
16465
994141e6 16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16469 arg2 = (int) SWIG_AsInt(obj1);
16470 if (PyErr_Occurred()) SWIG_fail;
16471 arg3 = (int) SWIG_AsInt(obj2);
16472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16476
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 Py_INCREF(Py_None); resultobj = Py_None;
16481 return resultobj;
16482 fail:
16483 return NULL;
16484}
16485
16486
16487static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj;
16489 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16490 int *arg2 = (int *) 0 ;
16491 int *arg3 = (int *) 0 ;
16492 int temp2 ;
16493 int temp3 ;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 arg2 = &temp2;
16500 arg3 = &temp3;
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 {
16513 PyObject *o = PyInt_FromLong((long) (*arg2));
16514 resultobj = t_output_helper(resultobj,o);
16515 }
16516 {
16517 PyObject *o = PyInt_FromLong((long) (*arg3));
16518 resultobj = t_output_helper(resultobj,o);
16519 }
16520 return resultobj;
16521 fail:
16522 return NULL;
16523}
16524
16525
16526static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16529 int *arg2 = (int *) 0 ;
16530 int *arg3 = (int *) 0 ;
16531 int temp2 ;
16532 int temp3 ;
16533 PyObject * obj0 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self", NULL
16536 };
16537
16538 arg2 = &temp2;
16539 arg3 = &temp3;
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 Py_INCREF(Py_None); resultobj = Py_None;
16551 {
16552 PyObject *o = PyInt_FromLong((long) (*arg2));
16553 resultobj = t_output_helper(resultobj,o);
16554 }
16555 {
16556 PyObject *o = PyInt_FromLong((long) (*arg3));
16557 resultobj = t_output_helper(resultobj,o);
16558 }
16559 return resultobj;
16560 fail:
16561 return NULL;
16562}
16563
16564
16565static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16568 int *arg2 = (int *) 0 ;
16569 int *arg3 = (int *) 0 ;
16570 int temp2 ;
16571 int temp3 ;
16572 PyObject * obj0 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self", NULL
16575 };
16576
16577 arg2 = &temp2;
16578 arg3 = &temp3;
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 Py_INCREF(Py_None); resultobj = Py_None;
16590 {
16591 PyObject *o = PyInt_FromLong((long) (*arg2));
16592 resultobj = t_output_helper(resultobj,o);
16593 }
16594 {
16595 PyObject *o = PyInt_FromLong((long) (*arg3));
16596 resultobj = t_output_helper(resultobj,o);
16597 }
16598 return resultobj;
16599 fail:
16600 return NULL;
16601}
16602
16603
16604static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16607 wxSize result;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 wxSize * resultptr;
16625 resultptr = new wxSize((wxSize &) result);
15afbcd0 16626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16627 }
16628 return resultobj;
16629 fail:
16630 return NULL;
16631}
16632
16633
16634static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16637 wxSize result;
16638 PyObject * obj0 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654 wxSize * resultptr;
16655 resultptr = new wxSize((wxSize &) result);
15afbcd0 16656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16657 }
16658 return resultobj;
16659 fail:
16660 return NULL;
16661}
16662
16663
16664static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj;
16666 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 (arg1)->base_InitDialog();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 Py_INCREF(Py_None); resultobj = Py_None;
16683 return resultobj;
16684 fail:
16685 return NULL;
16686}
16687
16688
16689static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj;
16691 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16692 bool result;
16693 PyObject * obj0 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (bool)(arg1)->base_TransferDataToWindow();
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
4f89f6a3
RD
16708 {
16709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16710 }
d14a1e28
RD
16711 return resultobj;
16712 fail:
16713 return NULL;
16714}
16715
16716
16717static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16718 PyObject *resultobj;
16719 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16720 bool result;
16721 PyObject * obj0 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)(arg1)->base_TransferDataFromWindow();
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
4f89f6a3
RD
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
d14a1e28
RD
16739 return resultobj;
16740 fail:
16741 return NULL;
16742}
16743
16744
16745static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16748 bool result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
16755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (bool)(arg1)->base_Validate();
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
4f89f6a3
RD
16764 {
16765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16766 }
d14a1e28
RD
16767 return resultobj;
16768 fail:
16769 return NULL;
16770}
16771
16772
16773static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16776 bool result;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
16783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
4f89f6a3
RD
16792 {
16793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16794 }
d14a1e28
RD
16795 return resultobj;
16796 fail:
16797 return NULL;
16798}
16799
16800
16801static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16802 PyObject *resultobj;
16803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16804 bool result;
16805 PyObject * obj0 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
16811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
4f89f6a3
RD
16820 {
16821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16822 }
d14a1e28
RD
16823 return resultobj;
16824 fail:
16825 return NULL;
16826}
16827
16828
16829static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16832 wxSize result;
16833 PyObject * obj0 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
16848 {
16849 wxSize * resultptr;
16850 resultptr = new wxSize((wxSize &) result);
15afbcd0 16851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16852 }
16853 return resultobj;
16854 fail:
16855 return NULL;
16856}
16857
16858
16859static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16862 wxWindow *arg2 = (wxWindow *) 0 ;
16863 PyObject * obj0 = 0 ;
16864 PyObject * obj1 = 0 ;
16865 char *kwnames[] = {
16866 (char *) "self",(char *) "child", NULL
16867 };
16868
16869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 (arg1)->base_AddChild(arg2);
16877
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 Py_INCREF(Py_None); resultobj = Py_None;
16882 return resultobj;
16883 fail:
16884 return NULL;
16885}
16886
16887
16888static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16889 PyObject *resultobj;
16890 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16891 wxWindow *arg2 = (wxWindow *) 0 ;
16892 PyObject * obj0 = 0 ;
16893 PyObject * obj1 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "self",(char *) "child", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 (arg1)->base_RemoveChild(arg2);
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 Py_INCREF(Py_None); resultobj = Py_None;
16911 return resultobj;
16912 fail:
16913 return NULL;
16914}
16915
16916
1cb4a8aa 16917static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 16918 PyObject *resultobj;
1cb4a8aa
RD
16919 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16920 bool result;
16921 PyObject * obj0 = 0 ;
d14a1e28 16922 char *kwnames[] = {
1cb4a8aa 16923 (char *) "self", NULL
d14a1e28
RD
16924 };
16925
1cb4a8aa
RD
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 16931 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
1cb4a8aa
RD
16936 {
16937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16938 }
d14a1e28
RD
16939 return resultobj;
16940 fail:
16941 return NULL;
16942}
16943
16944
1cb4a8aa 16945static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 16946 PyObject *resultobj;
1cb4a8aa
RD
16947 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16948 wxColour *arg2 = 0 ;
16949 wxColour temp2 ;
d14a1e28 16950 PyObject * obj0 = 0 ;
1cb4a8aa 16951 PyObject * obj1 = 0 ;
d14a1e28 16952 char *kwnames[] = {
1cb4a8aa 16953 (char *) "self",(char *) "c", NULL
d14a1e28
RD
16954 };
16955
1cb4a8aa
RD
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15afbcd0 16958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1cb4a8aa
RD
16959 {
16960 arg2 = &temp2;
16961 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16962 }
d14a1e28
RD
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 16965 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
d14a1e28
RD
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 Py_INCREF(Py_None); resultobj = Py_None;
16971 return resultobj;
16972 fail:
16973 return NULL;
16974}
16975
16976
db3e571a
RD
16977static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16980 wxVisualAttributes result;
16981 PyObject * obj0 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 result = (arg1)->base_GetDefaultAttributes();
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 {
16997 wxVisualAttributes * resultptr;
16998 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17000 }
17001 return resultobj;
17002 fail:
17003 return NULL;
17004}
17005
17006
1cb4a8aa
RD
17007static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
17008 PyObject *obj;
17009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17011 Py_INCREF(obj);
17012 return Py_BuildValue((char *)"");
17013}
17014static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17015 PyObject *resultobj;
1cb4a8aa
RD
17016 wxWindow *arg1 = (wxWindow *) 0 ;
17017 int arg2 ;
17018 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17019 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17020 wxSize const &arg4_defvalue = wxDefaultSize ;
17021 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17022 long arg5 = (long) 0 ;
17023 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17024 wxString *arg6 = (wxString *) &arg6_defvalue ;
17025 wxPyScrolledWindow *result;
17026 wxPoint temp3 ;
17027 wxSize temp4 ;
17028 bool temp6 = False ;
d14a1e28 17029 PyObject * obj0 = 0 ;
1cb4a8aa
RD
17030 PyObject * obj1 = 0 ;
17031 PyObject * obj2 = 0 ;
17032 PyObject * obj3 = 0 ;
17033 PyObject * obj4 = 0 ;
17034 PyObject * obj5 = 0 ;
d14a1e28 17035 char *kwnames[] = {
1cb4a8aa 17036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
17037 };
17038
1cb4a8aa
RD
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15afbcd0 17041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1cb4a8aa
RD
17042 arg2 = (int const) SWIG_AsInt(obj1);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 if (obj2) {
17045 {
17046 arg3 = &temp3;
17047 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17048 }
17049 }
17050 if (obj3) {
17051 {
17052 arg4 = &temp4;
17053 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17054 }
17055 }
17056 if (obj4) {
17057 arg5 = (long) SWIG_AsLong(obj4);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 if (obj5) {
17061 {
17062 arg6 = wxString_in_helper(obj5);
17063 if (arg6 == NULL) SWIG_fail;
17064 temp6 = True;
17065 }
17066 }
17067 {
e3b71cb8 17068 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17071
17072 wxPyEndAllowThreads(__tstate);
e3b71cb8 17073 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17074 }
17075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17076 {
17077 if (temp6)
17078 delete arg6;
17079 }
17080 return resultobj;
17081 fail:
17082 {
17083 if (temp6)
17084 delete arg6;
17085 }
17086 return NULL;
17087}
17088
17089
17090static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxPyScrolledWindow *result;
17093 char *kwnames[] = {
17094 NULL
17095 };
17096
17097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17098 {
e3b71cb8 17099 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17100 PyThreadState* __tstate = wxPyBeginAllowThreads();
17101 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17102
17103 wxPyEndAllowThreads(__tstate);
e3b71cb8 17104 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17105 }
17106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17107 return resultobj;
17108 fail:
17109 return NULL;
17110}
17111
17112
17113static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj;
17115 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17116 PyObject *arg2 = (PyObject *) 0 ;
17117 PyObject *arg3 = (PyObject *) 0 ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self",(char *) "self",(char *) "_class", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17128 arg2 = obj1;
17129 arg3 = obj2;
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 (arg1)->_setCallbackInfo(arg2,arg3);
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 Py_INCREF(Py_None); resultobj = Py_None;
17138 return resultobj;
17139 fail:
17140 return NULL;
17141}
17142
17143
db3e571a
RD
17144static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17147 wxSize *arg2 = 0 ;
17148 wxSize temp2 ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "size", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17158 {
17159 arg2 = &temp2;
17160 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetBestSize((wxSize const &)*arg2);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 Py_INCREF(Py_None); resultobj = Py_None;
17170 return resultobj;
17171 fail:
17172 return NULL;
17173}
17174
17175
1cb4a8aa
RD
17176static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17177 PyObject *resultobj;
17178 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17179 int arg2 ;
17180 int arg3 ;
17181 int arg4 ;
17182 int arg5 ;
17183 PyObject * obj0 = 0 ;
17184 PyObject * obj1 = 0 ;
17185 PyObject * obj2 = 0 ;
17186 PyObject * obj3 = 0 ;
17187 PyObject * obj4 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17195 arg2 = (int) SWIG_AsInt(obj1);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 arg3 = (int) SWIG_AsInt(obj2);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 arg4 = (int) SWIG_AsInt(obj3);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 arg5 = (int) SWIG_AsInt(obj4);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 Py_INCREF(Py_None); resultobj = Py_None;
17211 return resultobj;
17212 fail:
17213 return NULL;
17214}
17215
17216
17217static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17220 int arg2 ;
17221 int arg3 ;
17222 int arg4 ;
17223 int arg5 ;
17224 int arg6 = (int) wxSIZE_AUTO ;
17225 PyObject * obj0 = 0 ;
17226 PyObject * obj1 = 0 ;
17227 PyObject * obj2 = 0 ;
17228 PyObject * obj3 = 0 ;
17229 PyObject * obj4 = 0 ;
17230 PyObject * obj5 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17238 arg2 = (int) SWIG_AsInt(obj1);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 arg3 = (int) SWIG_AsInt(obj2);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 arg4 = (int) SWIG_AsInt(obj3);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 arg5 = (int) SWIG_AsInt(obj4);
17245 if (PyErr_Occurred()) SWIG_fail;
17246 if (obj5) {
17247 arg6 = (int) SWIG_AsInt(obj5);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 return resultobj;
17259 fail:
17260 return NULL;
17261}
17262
17263
17264static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17267 int arg2 ;
17268 int arg3 ;
17269 PyObject * obj0 = 0 ;
17270 PyObject * obj1 = 0 ;
17271 PyObject * obj2 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "width",(char *) "height", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17279 arg2 = (int) SWIG_AsInt(obj1);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 arg3 = (int) SWIG_AsInt(obj2);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 (arg1)->base_DoSetClientSize(arg2,arg3);
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 Py_INCREF(Py_None); resultobj = Py_None;
17291 return resultobj;
17292 fail:
17293 return NULL;
17294}
17295
17296
17297static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17300 int arg2 ;
17301 int arg3 ;
17302 PyObject * obj0 = 0 ;
17303 PyObject * obj1 = 0 ;
17304 PyObject * obj2 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "self",(char *) "x",(char *) "y", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17312 arg2 = (int) SWIG_AsInt(obj1);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 arg3 = (int) SWIG_AsInt(obj2);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 Py_INCREF(Py_None); resultobj = Py_None;
17324 return resultobj;
17325 fail:
17326 return NULL;
17327}
17328
17329
17330static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17333 int *arg2 = (int *) 0 ;
17334 int *arg3 = (int *) 0 ;
17335 int temp2 ;
17336 int temp3 ;
17337 PyObject * obj0 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self", NULL
17340 };
17341
17342 arg2 = &temp2;
17343 arg3 = &temp3;
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17347 {
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17350
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 Py_INCREF(Py_None); resultobj = Py_None;
17355 {
17356 PyObject *o = PyInt_FromLong((long) (*arg2));
17357 resultobj = t_output_helper(resultobj,o);
17358 }
17359 {
17360 PyObject *o = PyInt_FromLong((long) (*arg3));
17361 resultobj = t_output_helper(resultobj,o);
17362 }
17363 return resultobj;
17364 fail:
17365 return NULL;
17366}
17367
17368
17369static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17372 int *arg2 = (int *) 0 ;
17373 int *arg3 = (int *) 0 ;
17374 int temp2 ;
17375 int temp3 ;
17376 PyObject * obj0 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self", NULL
17379 };
17380
17381 arg2 = &temp2;
17382 arg3 = &temp3;
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 {
17395 PyObject *o = PyInt_FromLong((long) (*arg2));
17396 resultobj = t_output_helper(resultobj,o);
17397 }
17398 {
17399 PyObject *o = PyInt_FromLong((long) (*arg3));
17400 resultobj = t_output_helper(resultobj,o);
17401 }
17402 return resultobj;
17403 fail:
17404 return NULL;
17405}
17406
17407
17408static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17411 int *arg2 = (int *) 0 ;
17412 int *arg3 = (int *) 0 ;
17413 int temp2 ;
17414 int temp3 ;
17415 PyObject * obj0 = 0 ;
17416 char *kwnames[] = {
17417 (char *) "self", NULL
17418 };
17419
17420 arg2 = &temp2;
17421 arg3 = &temp3;
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17428
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 Py_INCREF(Py_None); resultobj = Py_None;
17433 {
17434 PyObject *o = PyInt_FromLong((long) (*arg2));
17435 resultobj = t_output_helper(resultobj,o);
17436 }
17437 {
17438 PyObject *o = PyInt_FromLong((long) (*arg3));
17439 resultobj = t_output_helper(resultobj,o);
17440 }
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
17447static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17450 wxSize result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 {
17467 wxSize * resultptr;
17468 resultptr = new wxSize((wxSize &) result);
17469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17470 }
17471 return resultobj;
17472 fail:
17473 return NULL;
17474}
17475
17476
17477static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17478 PyObject *resultobj;
17479 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17480 wxSize result;
17481 PyObject * obj0 = 0 ;
17482 char *kwnames[] = {
17483 (char *) "self", NULL
17484 };
17485
17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 {
17497 wxSize * resultptr;
17498 resultptr = new wxSize((wxSize &) result);
17499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17500 }
17501 return resultobj;
17502 fail:
17503 return NULL;
17504}
17505
17506
17507static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17510 PyObject * obj0 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 (arg1)->base_InitDialog();
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 Py_INCREF(Py_None); resultobj = Py_None;
17526 return resultobj;
17527 fail:
17528 return NULL;
17529}
17530
17531
17532static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17535 bool result;
17536 PyObject * obj0 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17544 {
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 result = (bool)(arg1)->base_TransferDataToWindow();
17547
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 {
17552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17553 }
17554 return resultobj;
17555 fail:
17556 return NULL;
17557}
17558
17559
17560static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17561 PyObject *resultobj;
17562 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17563 bool result;
17564 PyObject * obj0 = 0 ;
17565 char *kwnames[] = {
17566 (char *) "self", NULL
17567 };
17568
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = (bool)(arg1)->base_TransferDataFromWindow();
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 {
17580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17581 }
17582 return resultobj;
17583 fail:
17584 return NULL;
17585}
17586
17587
17588static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17591 bool result;
17592 PyObject * obj0 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 result = (bool)(arg1)->base_Validate();
17603
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 {
17608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17609 }
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
17616static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17619 bool result;
17620 PyObject * obj0 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 {
17636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17637 }
17638 return resultobj;
17639 fail:
17640 return NULL;
17641}
17642
17643
17644static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17647 bool result;
17648 PyObject * obj0 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 {
17664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17665 }
17666 return resultobj;
17667 fail:
17668 return NULL;
17669}
17670
17671
17672static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17673 PyObject *resultobj;
17674 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17675 wxSize result;
17676 PyObject * obj0 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17684 {
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17687
17688 wxPyEndAllowThreads(__tstate);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 {
17692 wxSize * resultptr;
17693 resultptr = new wxSize((wxSize &) result);
17694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17695 }
17696 return resultobj;
17697 fail:
17698 return NULL;
17699}
17700
17701
17702static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17705 wxWindow *arg2 = (wxWindow *) 0 ;
17706 PyObject * obj0 = 0 ;
17707 PyObject * obj1 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "child", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 (arg1)->base_AddChild(arg2);
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 Py_INCREF(Py_None); resultobj = Py_None;
17725 return resultobj;
17726 fail:
17727 return NULL;
17728}
17729
17730
17731static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17734 wxWindow *arg2 = (wxWindow *) 0 ;
17735 PyObject * obj0 = 0 ;
17736 PyObject * obj1 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "child", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 (arg1)->base_RemoveChild(arg2);
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 Py_INCREF(Py_None); resultobj = Py_None;
17754 return resultobj;
17755 fail:
17756 return NULL;
17757}
17758
17759
17760static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj;
17762 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17763 bool result;
17764 PyObject * obj0 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self", NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 17774 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17781 }
17782 return resultobj;
17783 fail:
17784 return NULL;
17785}
17786
17787
17788static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17791 wxColour *arg2 = 0 ;
17792 wxColour temp2 ;
17793 PyObject * obj0 = 0 ;
17794 PyObject * obj1 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self",(char *) "c", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17802 {
17803 arg2 = &temp2;
17804 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17805 }
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 Py_INCREF(Py_None); resultobj = Py_None;
17814 return resultobj;
17815 fail:
17816 return NULL;
17817}
17818
17819
db3e571a
RD
17820static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17823 wxVisualAttributes result;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = (arg1)->base_GetDefaultAttributes();
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxVisualAttributes * resultptr;
17841 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
1cb4a8aa
RD
17850static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17851 PyObject *obj;
17852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17853 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17854 Py_INCREF(obj);
17855 return Py_BuildValue((char *)"");
17856}
17857static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17858 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17859 return 1;
17860}
17861
17862
17863static PyObject *_wrap_PrintoutTitleStr_get() {
17864 PyObject *pyobj;
17865
17866 {
17867#if wxUSE_UNICODE
17868 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17869#else
17870 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17871#endif
17872 }
17873 return pyobj;
17874}
17875
17876
17877static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17878 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17879 return 1;
17880}
17881
17882
17883static PyObject *_wrap_PreviewCanvasNameStr_get() {
17884 PyObject *pyobj;
17885
17886 {
17887#if wxUSE_UNICODE
17888 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17889#else
17890 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17891#endif
17892 }
17893 return pyobj;
17894}
17895
17896
17897static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxPrintData *result;
17900 char *kwnames[] = {
17901 NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (wxPrintData *)new wxPrintData();
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17913 return resultobj;
17914 fail:
17915 return NULL;
17916}
17917
17918
17919static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxPrintData *arg1 = (wxPrintData *) 0 ;
17922 PyObject * obj0 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 delete arg1;
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 Py_INCREF(Py_None); resultobj = Py_None;
17938 return resultobj;
17939 fail:
17940 return NULL;
17941}
17942
17943
17944static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17945 PyObject *resultobj;
17946 wxPrintData *arg1 = (wxPrintData *) 0 ;
17947 int result;
17948 PyObject * obj0 = 0 ;
17949 char *kwnames[] = {
17950 (char *) "self", NULL
17951 };
17952
17953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17956 {
17957 PyThreadState* __tstate = wxPyBeginAllowThreads();
17958 result = (int)(arg1)->GetNoCopies();
17959
17960 wxPyEndAllowThreads(__tstate);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 resultobj = SWIG_FromInt((int)result);
17964 return resultobj;
17965 fail:
d14a1e28
RD
17966 return NULL;
17967}
17968
17969
17970static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17971 PyObject *resultobj;
17972 wxPrintData *arg1 = (wxPrintData *) 0 ;
17973 bool result;
17974 PyObject * obj0 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
17980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 result = (bool)(arg1)->GetCollate();
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
4f89f6a3
RD
17989 {
17990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17991 }
d14a1e28
RD
17992 return resultobj;
17993 fail:
17994 return NULL;
17995}
17996
17997
17998static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxPrintData *arg1 = (wxPrintData *) 0 ;
18001 int result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (int)(arg1)->GetOrientation();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
15afbcd0 18017 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18018 return resultobj;
18019 fail:
18020 return NULL;
18021}
18022
18023
18024static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxPrintData *arg1 = (wxPrintData *) 0 ;
18027 bool result;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
18034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = (bool)(arg1)->Ok();
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
4f89f6a3
RD
18043 {
18044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18045 }
d14a1e28
RD
18046 return resultobj;
18047 fail:
18048 return NULL;
18049}
18050
18051
18052static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPrintData *arg1 = (wxPrintData *) 0 ;
18055 wxString *result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15afbcd0
RD
18062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 {
18067 wxString const &_result_ref = (arg1)->GetPrinterName();
18068 result = (wxString *) &_result_ref;
18069 }
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
cc6dd355
RD
18074 {
18075#if wxUSE_UNICODE
18076 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18077#else
18078 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18079#endif
18080 }
d14a1e28
RD
18081 return resultobj;
18082 fail:
18083 return NULL;
18084}
18085
18086
18087static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxPrintData *arg1 = (wxPrintData *) 0 ;
18090 bool result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (bool)(arg1)->GetColour();
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
4f89f6a3
RD
18106 {
18107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18108 }
d14a1e28
RD
18109 return resultobj;
18110 fail:
18111 return NULL;
18112}
18113
18114
18115static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18116 PyObject *resultobj;
18117 wxPrintData *arg1 = (wxPrintData *) 0 ;
18118 int result;
18119 PyObject * obj0 = 0 ;
18120 char *kwnames[] = {
18121 (char *) "self", NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15afbcd0
RD
18125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 result = (int)(arg1)->GetDuplex();
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
15afbcd0 18134 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18135 return resultobj;
18136 fail:
18137 return NULL;
18138}
18139
18140
18141static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPrintData *arg1 = (wxPrintData *) 0 ;
18144 int result;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
18151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 result = (int)(arg1)->GetPaperId();
18156
18157 wxPyEndAllowThreads(__tstate);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
15afbcd0 18160 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
18167static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj;
18169 wxPrintData *arg1 = (wxPrintData *) 0 ;
18170 wxSize *result;
18171 PyObject * obj0 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 {
18182 wxSize const &_result_ref = (arg1)->GetPaperSize();
18183 result = (wxSize *) &_result_ref;
18184 }
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
15afbcd0 18189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
18190 return resultobj;
18191 fail:
18192 return NULL;
18193}
18194
18195
18196static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 18199 int result;
d14a1e28
RD
18200 PyObject * obj0 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15afbcd0
RD
18206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 18210 result = (int)(arg1)->GetQuality();
d14a1e28
RD
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
15afbcd0 18215 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18216 return resultobj;
18217 fail:
18218 return NULL;
18219}
18220
18221
18222static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18223 PyObject *resultobj;
18224 wxPrintData *arg1 = (wxPrintData *) 0 ;
18225 int arg2 ;
18226 PyObject * obj0 = 0 ;
994141e6 18227 PyObject * obj1 = 0 ;
d14a1e28
RD
18228 char *kwnames[] = {
18229 (char *) "self",(char *) "v", NULL
18230 };
18231
994141e6 18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18235 arg2 = (int) SWIG_AsInt(obj1);
18236 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 (arg1)->SetNoCopies(arg2);
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 Py_INCREF(Py_None); resultobj = Py_None;
18245 return resultobj;
18246 fail:
18247 return NULL;
18248}
18249
18250
18251static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxPrintData *arg1 = (wxPrintData *) 0 ;
18254 bool arg2 ;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self",(char *) "flag", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18264 arg2 = (bool) SWIG_AsBool(obj1);
18265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 (arg1)->SetCollate(arg2);
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 Py_INCREF(Py_None); resultobj = Py_None;
18274 return resultobj;
18275 fail:
18276 return NULL;
18277}
18278
18279
18280static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPrintData *arg1 = (wxPrintData *) 0 ;
18283 int arg2 ;
18284 PyObject * obj0 = 0 ;
994141e6 18285 PyObject * obj1 = 0 ;
d14a1e28
RD
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "orient", NULL
18288 };
18289
994141e6 18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18293 arg2 = (int) SWIG_AsInt(obj1);
18294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 (arg1)->SetOrientation(arg2);
18298
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 Py_INCREF(Py_None); resultobj = Py_None;
18303 return resultobj;
18304 fail:
18305 return NULL;
18306}
18307
18308
18309static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18310 PyObject *resultobj;
18311 wxPrintData *arg1 = (wxPrintData *) 0 ;
18312 wxString *arg2 = 0 ;
e811c8ce 18313 bool temp2 = False ;
d14a1e28
RD
18314 PyObject * obj0 = 0 ;
18315 PyObject * obj1 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self",(char *) "name", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18323 {
18324 arg2 = wxString_in_helper(obj1);
18325 if (arg2 == NULL) SWIG_fail;
e811c8ce 18326 temp2 = True;
d14a1e28
RD
18327 }
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 (arg1)->SetPrinterName((wxString const &)*arg2);
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 Py_INCREF(Py_None); resultobj = Py_None;
18336 {
18337 if (temp2)
18338 delete arg2;
18339 }
18340 return resultobj;
18341 fail:
18342 {
18343 if (temp2)
18344 delete arg2;
18345 }
18346 return NULL;
18347}
18348
18349
18350static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj;
18352 wxPrintData *arg1 = (wxPrintData *) 0 ;
18353 bool arg2 ;
18354 PyObject * obj0 = 0 ;
18355 PyObject * obj1 = 0 ;
18356 char *kwnames[] = {
18357 (char *) "self",(char *) "colour", NULL
18358 };
18359
18360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18363 arg2 = (bool) SWIG_AsBool(obj1);
18364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 (arg1)->SetColour(arg2);
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 Py_INCREF(Py_None); resultobj = Py_None;
18373 return resultobj;
18374 fail:
18375 return NULL;
18376}
18377
18378
18379static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 wxPrintData *arg1 = (wxPrintData *) 0 ;
18382 int arg2 ;
18383 PyObject * obj0 = 0 ;
994141e6 18384 PyObject * obj1 = 0 ;
d14a1e28
RD
18385 char *kwnames[] = {
18386 (char *) "self",(char *) "duplex", NULL
18387 };
18388
994141e6 18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18392 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 (arg1)->SetDuplex((wxDuplexMode )arg2);
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 Py_INCREF(Py_None); resultobj = Py_None;
18402 return resultobj;
18403 fail:
18404 return NULL;
18405}
18406
18407
18408static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxPrintData *arg1 = (wxPrintData *) 0 ;
18411 int arg2 ;
18412 PyObject * obj0 = 0 ;
994141e6 18413 PyObject * obj1 = 0 ;
d14a1e28
RD
18414 char *kwnames[] = {
18415 (char *) "self",(char *) "sizeId", NULL
18416 };
18417
994141e6 18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18421 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 (arg1)->SetPaperId((wxPaperSize )arg2);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 Py_INCREF(Py_None); resultobj = Py_None;
18431 return resultobj;
18432 fail:
18433 return NULL;
18434}
18435
18436
18437static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18438 PyObject *resultobj;
18439 wxPrintData *arg1 = (wxPrintData *) 0 ;
18440 wxSize *arg2 = 0 ;
18441 wxSize temp2 ;
18442 PyObject * obj0 = 0 ;
18443 PyObject * obj1 = 0 ;
18444 char *kwnames[] = {
18445 (char *) "self",(char *) "sz", NULL
18446 };
18447
18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18451 {
18452 arg2 = &temp2;
18453 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18454 }
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 (arg1)->SetPaperSize((wxSize const &)*arg2);
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 Py_INCREF(Py_None); resultobj = Py_None;
18463 return resultobj;
18464 fail:
18465 return NULL;
18466}
18467
18468
18469static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj;
18471 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 18472 int arg2 ;
d14a1e28 18473 PyObject * obj0 = 0 ;
994141e6 18474 PyObject * obj1 = 0 ;
d14a1e28
RD
18475 char *kwnames[] = {
18476 (char *) "self",(char *) "quality", NULL
18477 };
18478
994141e6 18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18482 arg2 = (int) SWIG_AsInt(obj1);
18483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18484 {
18485 PyThreadState* __tstate = wxPyBeginAllowThreads();
18486 (arg1)->SetQuality(arg2);
18487
18488 wxPyEndAllowThreads(__tstate);
18489 if (PyErr_Occurred()) SWIG_fail;
18490 }
18491 Py_INCREF(Py_None); resultobj = Py_None;
18492 return resultobj;
18493 fail:
18494 return NULL;
18495}
18496
18497
18498static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxPrintData *arg1 = (wxPrintData *) 0 ;
18501 wxString *result;
18502 PyObject * obj0 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 {
18513 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18514 result = (wxString *) &_result_ref;
18515 }
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
cc6dd355
RD
18520 {
18521#if wxUSE_UNICODE
18522 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18523#else
18524 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18525#endif
18526 }
d14a1e28
RD
18527 return resultobj;
18528 fail:
18529 return NULL;
18530}
18531
18532
18533static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxPrintData *arg1 = (wxPrintData *) 0 ;
18536 wxString *result;
18537 PyObject * obj0 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15afbcd0
RD
18543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 {
18548 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18549 result = (wxString *) &_result_ref;
18550 }
18551
18552 wxPyEndAllowThreads(__tstate);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 }
cc6dd355
RD
18555 {
18556#if wxUSE_UNICODE
18557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18558#else
18559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18560#endif
18561 }
d14a1e28
RD
18562 return resultobj;
18563 fail:
18564 return NULL;
18565}
18566
18567
18568static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj;
18570 wxPrintData *arg1 = (wxPrintData *) 0 ;
18571 wxString *result;
18572 PyObject * obj0 = 0 ;
18573 char *kwnames[] = {
18574 (char *) "self", NULL
18575 };
18576
18577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 {
18583 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18584 result = (wxString *) &_result_ref;
18585 }
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
cc6dd355
RD
18590 {
18591#if wxUSE_UNICODE
18592 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18593#else
18594 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18595#endif
18596 }
d14a1e28
RD
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
18603static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPrintData *arg1 = (wxPrintData *) 0 ;
18606 wxString *result;
18607 PyObject * obj0 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
18613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 {
18618 wxString const &_result_ref = (arg1)->GetFilename();
18619 result = (wxString *) &_result_ref;
18620 }
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
cc6dd355
RD
18625 {
18626#if wxUSE_UNICODE
18627 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18628#else
18629 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18630#endif
18631 }
d14a1e28
RD
18632 return resultobj;
18633 fail:
18634 return NULL;
18635}
18636
18637
18638static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPrintData *arg1 = (wxPrintData *) 0 ;
18641 wxString *result;
18642 PyObject * obj0 = 0 ;
18643 char *kwnames[] = {
18644 (char *) "self", NULL
18645 };
18646
18647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
18648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 {
18653 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18654 result = (wxString *) &_result_ref;
18655 }
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
cc6dd355
RD
18660 {
18661#if wxUSE_UNICODE
18662 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18663#else
18664 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18665#endif
18666 }
d14a1e28
RD
18667 return resultobj;
18668 fail:
18669 return NULL;
18670}
18671
18672
18673static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxPrintData *arg1 = (wxPrintData *) 0 ;
18676 double result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
18683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 result = (double)(arg1)->GetPrinterScaleX();
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
15afbcd0 18692 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18693 return resultobj;
18694 fail:
18695 return NULL;
18696}
18697
18698
18699static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxPrintData *arg1 = (wxPrintData *) 0 ;
18702 double result;
18703 PyObject * obj0 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 result = (double)(arg1)->GetPrinterScaleY();
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
15afbcd0 18718 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18719 return resultobj;
18720 fail:
18721 return NULL;
18722}
18723
18724
18725static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxPrintData *arg1 = (wxPrintData *) 0 ;
18728 long result;
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15afbcd0
RD
18735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (long)(arg1)->GetPrinterTranslateX();
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
15afbcd0 18744 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18745 return resultobj;
18746 fail:
18747 return NULL;
18748}
18749
18750
18751static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxPrintData *arg1 = (wxPrintData *) 0 ;
18754 long result;
18755 PyObject * obj0 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15afbcd0
RD
18761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 result = (long)(arg1)->GetPrinterTranslateY();
18766
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
15afbcd0 18770 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18771 return resultobj;
18772 fail:
18773 return NULL;
18774}
18775
18776
18777static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18778 PyObject *resultobj;
18779 wxPrintData *arg1 = (wxPrintData *) 0 ;
18780 int result;
18781 PyObject * obj0 = 0 ;
18782 char *kwnames[] = {
18783 (char *) "self", NULL
18784 };
18785
18786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 result = (int)(arg1)->GetPrintMode();
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
15afbcd0 18796 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18797 return resultobj;
18798 fail:
18799 return NULL;
18800}
18801
18802
18803static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPrintData *arg1 = (wxPrintData *) 0 ;
18806 wxString *arg2 = 0 ;
e811c8ce 18807 bool temp2 = False ;
d14a1e28
RD
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "command", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18817 {
18818 arg2 = wxString_in_helper(obj1);
18819 if (arg2 == NULL) SWIG_fail;
e811c8ce 18820 temp2 = True;
d14a1e28
RD
18821 }
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 Py_INCREF(Py_None); resultobj = Py_None;
18830 {
18831 if (temp2)
18832 delete arg2;
18833 }
18834 return resultobj;
18835 fail:
18836 {
18837 if (temp2)
18838 delete arg2;
18839 }
18840 return NULL;
18841}
18842
18843
18844static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxPrintData *arg1 = (wxPrintData *) 0 ;
18847 wxString *arg2 = 0 ;
e811c8ce 18848 bool temp2 = False ;
d14a1e28
RD
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self",(char *) "options", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18858 {
18859 arg2 = wxString_in_helper(obj1);
18860 if (arg2 == NULL) SWIG_fail;
e811c8ce 18861 temp2 = True;
d14a1e28
RD
18862 }
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 Py_INCREF(Py_None); resultobj = Py_None;
18871 {
18872 if (temp2)
18873 delete arg2;
18874 }
18875 return resultobj;
18876 fail:
18877 {
18878 if (temp2)
18879 delete arg2;
18880 }
18881 return NULL;
18882}
18883
18884
18885static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxPrintData *arg1 = (wxPrintData *) 0 ;
18888 wxString *arg2 = 0 ;
e811c8ce 18889 bool temp2 = False ;
d14a1e28
RD
18890 PyObject * obj0 = 0 ;
18891 PyObject * obj1 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "command", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18899 {
18900 arg2 = wxString_in_helper(obj1);
18901 if (arg2 == NULL) SWIG_fail;
e811c8ce 18902 temp2 = True;
d14a1e28
RD
18903 }
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 Py_INCREF(Py_None); resultobj = Py_None;
18912 {
18913 if (temp2)
18914 delete arg2;
18915 }
18916 return resultobj;
18917 fail:
18918 {
18919 if (temp2)
18920 delete arg2;
18921 }
18922 return NULL;
18923}
18924
18925
18926static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxPrintData *arg1 = (wxPrintData *) 0 ;
18929 wxString *arg2 = 0 ;
e811c8ce 18930 bool temp2 = False ;
d14a1e28
RD
18931 PyObject * obj0 = 0 ;
18932 PyObject * obj1 = 0 ;
18933 char *kwnames[] = {
18934 (char *) "self",(char *) "filename", NULL
18935 };
18936
18937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18940 {
18941 arg2 = wxString_in_helper(obj1);
18942 if (arg2 == NULL) SWIG_fail;
e811c8ce 18943 temp2 = True;
d14a1e28
RD
18944 }
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 (arg1)->SetFilename((wxString const &)*arg2);
18948
18949 wxPyEndAllowThreads(__tstate);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 Py_INCREF(Py_None); resultobj = Py_None;
18953 {
18954 if (temp2)
18955 delete arg2;
18956 }
18957 return resultobj;
18958 fail:
18959 {
18960 if (temp2)
18961 delete arg2;
18962 }
18963 return NULL;
18964}
18965
18966
18967static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxPrintData *arg1 = (wxPrintData *) 0 ;
18970 wxString *arg2 = 0 ;
e811c8ce 18971 bool temp2 = False ;
d14a1e28
RD
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "path", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18981 {
18982 arg2 = wxString_in_helper(obj1);
18983 if (arg2 == NULL) SWIG_fail;
e811c8ce 18984 temp2 = True;
d14a1e28
RD
18985 }
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18989
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 Py_INCREF(Py_None); resultobj = Py_None;
18994 {
18995 if (temp2)
18996 delete arg2;
18997 }
18998 return resultobj;
18999 fail:
19000 {
19001 if (temp2)
19002 delete arg2;
19003 }
19004 return NULL;
19005}
19006
19007
19008static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxPrintData *arg1 = (wxPrintData *) 0 ;
19011 double arg2 ;
19012 PyObject * obj0 = 0 ;
994141e6 19013 PyObject * obj1 = 0 ;
d14a1e28
RD
19014 char *kwnames[] = {
19015 (char *) "self",(char *) "x", NULL
19016 };
19017
994141e6 19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19021 arg2 = (double) SWIG_AsDouble(obj1);
19022 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 (arg1)->SetPrinterScaleX(arg2);
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 Py_INCREF(Py_None); resultobj = Py_None;
19031 return resultobj;
19032 fail:
19033 return NULL;
19034}
19035
19036
19037static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxPrintData *arg1 = (wxPrintData *) 0 ;
19040 double arg2 ;
19041 PyObject * obj0 = 0 ;
994141e6 19042 PyObject * obj1 = 0 ;
d14a1e28
RD
19043 char *kwnames[] = {
19044 (char *) "self",(char *) "y", NULL
19045 };
19046
994141e6 19047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19050 arg2 = (double) SWIG_AsDouble(obj1);
19051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 (arg1)->SetPrinterScaleY(arg2);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 Py_INCREF(Py_None); resultobj = Py_None;
19060 return resultobj;
19061 fail:
19062 return NULL;
19063}
19064
19065
19066static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxPrintData *arg1 = (wxPrintData *) 0 ;
19069 double arg2 ;
19070 double arg3 ;
19071 PyObject * obj0 = 0 ;
994141e6
RD
19072 PyObject * obj1 = 0 ;
19073 PyObject * obj2 = 0 ;
d14a1e28
RD
19074 char *kwnames[] = {
19075 (char *) "self",(char *) "x",(char *) "y", NULL
19076 };
19077
994141e6 19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19081 arg2 = (double) SWIG_AsDouble(obj1);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 arg3 = (double) SWIG_AsDouble(obj2);
19084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 (arg1)->SetPrinterScaling(arg2,arg3);
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 Py_INCREF(Py_None); resultobj = Py_None;
19093 return resultobj;
19094 fail:
19095 return NULL;
19096}
19097
19098
19099static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxPrintData *arg1 = (wxPrintData *) 0 ;
19102 long arg2 ;
19103 PyObject * obj0 = 0 ;
994141e6 19104 PyObject * obj1 = 0 ;
d14a1e28
RD
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "x", NULL
19107 };
19108
994141e6 19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19112 arg2 = (long) SWIG_AsLong(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 (arg1)->SetPrinterTranslateX(arg2);
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 Py_INCREF(Py_None); resultobj = Py_None;
19122 return resultobj;
19123 fail:
19124 return NULL;
19125}
19126
19127
19128static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj;
19130 wxPrintData *arg1 = (wxPrintData *) 0 ;
19131 long arg2 ;
19132 PyObject * obj0 = 0 ;
994141e6 19133 PyObject * obj1 = 0 ;
d14a1e28
RD
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "y", NULL
19136 };
19137
994141e6 19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19141 arg2 = (long) SWIG_AsLong(obj1);
19142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->SetPrinterTranslateY(arg2);
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154}
19155
19156
19157static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxPrintData *arg1 = (wxPrintData *) 0 ;
19160 long arg2 ;
19161 long arg3 ;
19162 PyObject * obj0 = 0 ;
994141e6
RD
19163 PyObject * obj1 = 0 ;
19164 PyObject * obj2 = 0 ;
d14a1e28
RD
19165 char *kwnames[] = {
19166 (char *) "self",(char *) "x",(char *) "y", NULL
19167 };
19168
994141e6 19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19172 arg2 = (long) SWIG_AsLong(obj1);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 arg3 = (long) SWIG_AsLong(obj2);
19175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->SetPrinterTranslation(arg2,arg3);
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187}
19188
19189
19190static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPrintData *arg1 = (wxPrintData *) 0 ;
19193 int arg2 ;
19194 PyObject * obj0 = 0 ;
994141e6 19195 PyObject * obj1 = 0 ;
d14a1e28
RD
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "printMode", NULL
19198 };
19199
994141e6 19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19203 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 (arg1)->SetPrintMode((wxPrintMode )arg2);
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 Py_INCREF(Py_None); resultobj = Py_None;
19213 return resultobj;
19214 fail:
19215 return NULL;
19216}
19217
19218
db914595
RD
19219static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxPrintData *arg1 = (wxPrintData *) 0 ;
19222 wxOutputStream *result;
19223 PyObject * obj0 = 0 ;
19224 char *kwnames[] = {
19225 (char *) "self", NULL
19226 };
19227
19228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
19229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 result = (wxOutputStream *)(arg1)->GetOutputStream();
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
15afbcd0 19238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
db914595
RD
19239 return resultobj;
19240 fail:
19241 return NULL;
19242}
19243
19244
19245static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPrintData *arg1 = (wxPrintData *) 0 ;
19248 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self",(char *) "outputstream", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 (arg1)->SetOutputStream(arg2);
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 Py_INCREF(Py_None); resultobj = Py_None;
19268 return resultobj;
19269 fail:
19270 return NULL;
19271}
19272
19273
d14a1e28
RD
19274static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19275 PyObject *obj;
19276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19277 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19278 Py_INCREF(obj);
19279 return Py_BuildValue((char *)"");
19280}
19281static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj;
19283 wxPageSetupDialogData *result;
19284 char *kwnames[] = {
19285 NULL
19286 };
19287
19288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
15afbcd0 19296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
19297 return resultobj;
19298 fail:
19299 return NULL;
19300}
19301
19302
19303static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19306 PyObject * obj0 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 delete arg1;
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 Py_INCREF(Py_None); resultobj = Py_None;
19322 return resultobj;
19323 fail:
19324 return NULL;
19325}
19326
19327
19328static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19331 bool arg2 ;
19332 PyObject * obj0 = 0 ;
19333 PyObject * obj1 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self",(char *) "flag", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19341 arg2 = (bool) SWIG_AsBool(obj1);
19342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 (arg1)->EnableHelp(arg2);
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 Py_INCREF(Py_None); resultobj = Py_None;
19351 return resultobj;
19352 fail:
19353 return NULL;
19354}
19355
19356
19357static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19360 bool arg2 ;
19361 PyObject * obj0 = 0 ;
19362 PyObject * obj1 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self",(char *) "flag", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19370 arg2 = (bool) SWIG_AsBool(obj1);
19371 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 (arg1)->EnableMargins(arg2);
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 Py_INCREF(Py_None); resultobj = Py_None;
19380 return resultobj;
19381 fail:
19382 return NULL;
19383}
19384
19385
19386static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19387 PyObject *resultobj;
19388 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19389 bool arg2 ;
19390 PyObject * obj0 = 0 ;
19391 PyObject * obj1 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self",(char *) "flag", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19399 arg2 = (bool) SWIG_AsBool(obj1);
19400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 (arg1)->EnableOrientation(arg2);
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 Py_INCREF(Py_None); resultobj = Py_None;
19409 return resultobj;
19410 fail:
19411 return NULL;
19412}
19413
19414
19415static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19418 bool arg2 ;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self",(char *) "flag", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19428 arg2 = (bool) SWIG_AsBool(obj1);
19429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 (arg1)->EnablePaper(arg2);
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 Py_INCREF(Py_None); resultobj = Py_None;
19438 return resultobj;
19439 fail:
19440 return NULL;
19441}
19442
19443
19444static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19447 bool arg2 ;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self",(char *) "flag", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19457 arg2 = (bool) SWIG_AsBool(obj1);
19458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 (arg1)->EnablePrinter(arg2);
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 Py_INCREF(Py_None); resultobj = Py_None;
19467 return resultobj;
19468 fail:
19469 return NULL;
19470}
19471
19472
19473static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19476 bool result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (bool)(arg1)->GetDefaultMinMargins();
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
4f89f6a3
RD
19492 {
19493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19494 }
d14a1e28
RD
19495 return resultobj;
19496 fail:
19497 return NULL;
19498}
19499
19500
19501static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19504 bool result;
19505 PyObject * obj0 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
19511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (bool)(arg1)->GetEnableMargins();
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
4f89f6a3
RD
19520 {
19521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19522 }
d14a1e28
RD
19523 return resultobj;
19524 fail:
19525 return NULL;
19526}
19527
19528
19529static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19530 PyObject *resultobj;
19531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19532 bool result;
19533 PyObject * obj0 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
19539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 result = (bool)(arg1)->GetEnableOrientation();
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
4f89f6a3
RD
19548 {
19549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19550 }
d14a1e28
RD
19551 return resultobj;
19552 fail:
19553 return NULL;
19554}
19555
19556
19557static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19560 bool result;
19561 PyObject * obj0 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
15afbcd0
RD
19567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 result = (bool)(arg1)->GetEnablePaper();
19572
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
4f89f6a3
RD
19576 {
19577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19578 }
d14a1e28
RD
19579 return resultobj;
19580 fail:
19581 return NULL;
19582}
19583
19584
19585static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19586 PyObject *resultobj;
19587 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19588 bool result;
19589 PyObject * obj0 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
19595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 result = (bool)(arg1)->GetEnablePrinter();
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
4f89f6a3
RD
19604 {
19605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19606 }
d14a1e28
RD
19607 return resultobj;
19608 fail:
19609 return NULL;
19610}
19611
19612
19613static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19616 bool result;
19617 PyObject * obj0 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (bool)(arg1)->GetEnableHelp();
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
4f89f6a3
RD
19632 {
19633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19634 }
d14a1e28
RD
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
19641static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19644 bool result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 result = (bool)(arg1)->GetDefaultInfo();
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
4f89f6a3
RD
19660 {
19661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19662 }
d14a1e28
RD
19663 return resultobj;
19664 fail:
19665 return NULL;
19666}
19667
19668
19669static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19670 PyObject *resultobj;
19671 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19672 wxPoint result;
19673 PyObject * obj0 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
19679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 result = (arg1)->GetMarginTopLeft();
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 {
19689 wxPoint * resultptr;
19690 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19692 }
19693 return resultobj;
19694 fail:
19695 return NULL;
19696}
19697
19698
19699static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19700 PyObject *resultobj;
19701 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19702 wxPoint result;
19703 PyObject * obj0 = 0 ;
19704 char *kwnames[] = {
19705 (char *) "self", NULL
19706 };
19707
19708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
19709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 result = (arg1)->GetMarginBottomRight();
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 {
19719 wxPoint * resultptr;
19720 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19722 }
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
19729static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19732 wxPoint result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
19739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (arg1)->GetMinMarginTopLeft();
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 {
19749 wxPoint * resultptr;
19750 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19752 }
19753 return resultobj;
19754 fail:
19755 return NULL;
19756}
19757
19758
19759static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19762 wxPoint result;
19763 PyObject * obj0 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
19769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 result = (arg1)->GetMinMarginBottomRight();
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 {
19779 wxPoint * resultptr;
19780 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19782 }
19783 return resultobj;
19784 fail:
19785 return NULL;
19786}
19787
19788
19789static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19790 PyObject *resultobj;
19791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19792 int result;
19793 PyObject * obj0 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
19799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19801 {
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 result = (int)(arg1)->GetPaperId();
19804
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
15afbcd0 19808 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19809 return resultobj;
19810 fail:
19811 return NULL;
19812}
19813
19814
19815static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19816 PyObject *resultobj;
19817 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19818 wxSize result;
19819 PyObject * obj0 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
19825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (arg1)->GetPaperSize();
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 {
19835 wxSize * resultptr;
19836 resultptr = new wxSize((wxSize &) result);
15afbcd0 19837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19838 }
19839 return resultobj;
19840 fail:
19841 return NULL;
19842}
19843
19844
19845static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj;
19847 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19848 wxPrintData *result;
19849 PyObject * obj0 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "self", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 {
19860 wxPrintData &_result_ref = (arg1)->GetPrintData();
19861 result = (wxPrintData *) &_result_ref;
19862 }
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
15afbcd0 19867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
19868 return resultobj;
19869 fail:
19870 return NULL;
19871}
19872
19873
19874static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19877 bool result;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
19884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (bool)(arg1)->Ok();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
4f89f6a3
RD
19893 {
19894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19895 }
d14a1e28
RD
19896 return resultobj;
19897 fail:
19898 return NULL;
19899}
19900
19901
19902static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19905 bool arg2 ;
19906 PyObject * obj0 = 0 ;
19907 PyObject * obj1 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self",(char *) "flag", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19915 arg2 = (bool) SWIG_AsBool(obj1);
19916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 (arg1)->SetDefaultInfo(arg2);
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 Py_INCREF(Py_None); resultobj = Py_None;
19925 return resultobj;
19926 fail:
19927 return NULL;
19928}
19929
19930
19931static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19934 bool arg2 ;
19935 PyObject * obj0 = 0 ;
19936 PyObject * obj1 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self",(char *) "flag", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19944 arg2 = (bool) SWIG_AsBool(obj1);
19945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 (arg1)->SetDefaultMinMargins(arg2);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 Py_INCREF(Py_None); resultobj = Py_None;
19954 return resultobj;
19955 fail:
19956 return NULL;
19957}
19958
19959
19960static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19963 wxPoint *arg2 = 0 ;
19964 wxPoint temp2 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "pt", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19974 {
19975 arg2 = &temp2;
19976 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19977 }
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19981
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 Py_INCREF(Py_None); resultobj = Py_None;
19986 return resultobj;
19987 fail:
19988 return NULL;
19989}
19990
19991
19992static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19995 wxPoint *arg2 = 0 ;
19996 wxPoint temp2 ;
19997 PyObject * obj0 = 0 ;
19998 PyObject * obj1 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "pt", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20006 {
20007 arg2 = &temp2;
20008 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20009 }
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 Py_INCREF(Py_None); resultobj = Py_None;
20018 return resultobj;
20019 fail:
20020 return NULL;
20021}
20022
20023
20024static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20027 wxPoint *arg2 = 0 ;
20028 wxPoint temp2 ;
20029 PyObject * obj0 = 0 ;
20030 PyObject * obj1 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self",(char *) "pt", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20038 {
20039 arg2 = &temp2;
20040 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20041 }
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 Py_INCREF(Py_None); resultobj = Py_None;
20050 return resultobj;
20051 fail:
20052 return NULL;
20053}
20054
20055
20056static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20059 wxPoint *arg2 = 0 ;
20060 wxPoint temp2 ;
20061 PyObject * obj0 = 0 ;
20062 PyObject * obj1 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self",(char *) "pt", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20070 {
20071 arg2 = &temp2;
20072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20073 }
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 Py_INCREF(Py_None); resultobj = Py_None;
20082 return resultobj;
20083 fail:
20084 return NULL;
20085}
20086
20087
20088static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20091 int arg2 ;
20092 PyObject * obj0 = 0 ;
994141e6 20093 PyObject * obj1 = 0 ;
d14a1e28
RD
20094 char *kwnames[] = {
20095 (char *) "self",(char *) "id", NULL
20096 };
20097
994141e6 20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20101 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 (arg1)->SetPaperId((wxPaperSize )arg2);
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 Py_INCREF(Py_None); resultobj = Py_None;
20111 return resultobj;
20112 fail:
20113 return NULL;
20114}
20115
20116
20117static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20120 wxSize *arg2 = 0 ;
20121 wxSize temp2 ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self",(char *) "size", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20131 {
20132 arg2 = &temp2;
20133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20134 }
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 (arg1)->SetPaperSize((wxSize const &)*arg2);
20138
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 Py_INCREF(Py_None); resultobj = Py_None;
20143 return resultobj;
20144 fail:
20145 return NULL;
20146}
20147
20148
20149static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20150 PyObject *resultobj;
20151 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20152 wxPrintData *arg2 = 0 ;
20153 PyObject * obj0 = 0 ;
20154 PyObject * obj1 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self",(char *) "printData", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20163 SWIG_POINTER_EXCEPTION | 0)) == -1)
20164 SWIG_fail;
d14a1e28 20165 if (arg2 == NULL) {
15afbcd0
RD
20166 PyErr_SetString(PyExc_TypeError,"null reference");
20167 SWIG_fail;
d14a1e28
RD
20168 }
20169 {
20170 PyThreadState* __tstate = wxPyBeginAllowThreads();
20171 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20172
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 Py_INCREF(Py_None); resultobj = Py_None;
20177 return resultobj;
20178 fail:
20179 return NULL;
20180}
20181
20182
20183static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20184 PyObject *obj;
20185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20186 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20187 Py_INCREF(obj);
20188 return Py_BuildValue((char *)"");
20189}
20190static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxWindow *arg1 = (wxWindow *) 0 ;
20193 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20194 wxPageSetupDialog *result;
20195 PyObject * obj0 = 0 ;
20196 PyObject * obj1 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "parent",(char *) "data", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 20204 if (obj1) {
15afbcd0
RD
20205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20207 }
20208 {
e3b71cb8 20209 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20212
20213 wxPyEndAllowThreads(__tstate);
e3b71cb8 20214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 20215 }
15afbcd0 20216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
20217 return resultobj;
20218 fail:
20219 return NULL;
20220}
20221
20222
20223static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20226 wxPageSetupDialogData *result;
20227 PyObject * obj0 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self", NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 {
20238 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20239 result = (wxPageSetupDialogData *) &_result_ref;
20240 }
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
15afbcd0 20245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
20246 return resultobj;
20247 fail:
20248 return NULL;
20249}
20250
20251
20252static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20255 int result;
20256 PyObject * obj0 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "self", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
20262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (int)(arg1)->ShowModal();
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
15afbcd0 20271 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20272 return resultobj;
20273 fail:
20274 return NULL;
20275}
20276
20277
20278static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20279 PyObject *obj;
20280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20281 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20282 Py_INCREF(obj);
20283 return Py_BuildValue((char *)"");
20284}
4276dc52 20285static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
20286 PyObject *resultobj;
20287 wxPrintDialogData *result;
d14a1e28 20288
4276dc52 20289 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (wxPrintDialogData *)new wxPrintDialogData();
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
15afbcd0 20297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
20298 return resultobj;
20299 fail:
20300 return NULL;
20301}
20302
20303
4276dc52
RD
20304static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20305 PyObject *resultobj;
20306 wxPrintData *arg1 = 0 ;
20307 wxPrintDialogData *result;
20308 PyObject * obj0 = 0 ;
20309
20310 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20312 SWIG_POINTER_EXCEPTION | 0)) == -1)
20313 SWIG_fail;
20314 if (arg1 == NULL) {
20315 PyErr_SetString(PyExc_TypeError,"null reference");
20316 SWIG_fail;
20317 }
20318 {
20319 PyThreadState* __tstate = wxPyBeginAllowThreads();
20320 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20321
20322 wxPyEndAllowThreads(__tstate);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 }
20325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20326 return resultobj;
20327 fail:
20328 return NULL;
20329}
20330
20331
20332static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20333 int argc;
20334 PyObject *argv[2];
20335 int ii;
20336
20337 argc = PyObject_Length(args);
20338 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20339 argv[ii] = PyTuple_GetItem(args,ii);
20340 }
20341 if (argc == 0) {
20342 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20343 }
20344 if (argc == 1) {
20345 int _v;
20346 {
20347 void *ptr;
20348 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20349 _v = 0;
20350 PyErr_Clear();
20351 } else {
20352 _v = 1;
20353 }
20354 }
20355 if (_v) {
20356 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20357 }
20358 }
20359
20360 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20361 return NULL;
20362}
20363
20364
d14a1e28
RD
20365static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20366 PyObject *resultobj;
20367 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20368 PyObject * obj0 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 delete arg1;
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 Py_INCREF(Py_None); resultobj = Py_None;
20384 return resultobj;
20385 fail:
20386 return NULL;
20387}
20388
20389
20390static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20393 int result;
20394 PyObject * obj0 = 0 ;
20395 char *kwnames[] = {
20396 (char *) "self", NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
15afbcd0 20409 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20410 return resultobj;
20411 fail:
20412 return NULL;
20413}
20414
20415
20416static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20419 int result;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
15afbcd0 20435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20436 return resultobj;
20437 fail:
20438 return NULL;
20439}
20440
20441
20442static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20445 int result;
20446 PyObject * obj0 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20457
20458 wxPyEndAllowThreads(__tstate);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 }
15afbcd0 20461 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20462 return resultobj;
20463 fail:
20464 return NULL;
20465}
20466
20467
20468static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20469 PyObject *resultobj;
20470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20471 int result;
20472 PyObject * obj0 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
15afbcd0 20487 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20488 return resultobj;
20489 fail:
20490 return NULL;
20491}
20492
20493
20494static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj;
20496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20497 int result;
20498 PyObject * obj0 = 0 ;
20499 char *kwnames[] = {
20500 (char *) "self", NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
15afbcd0
RD
20504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
15afbcd0 20513 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20514 return resultobj;
20515 fail:
20516 return NULL;
20517}
20518
20519
20520static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20523 bool result;
20524 PyObject * obj0 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
4f89f6a3
RD
20539 {
20540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20541 }
d14a1e28
RD
20542 return resultobj;
20543 fail:
20544 return NULL;
20545}
20546
20547
20548static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20551 bool result;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
20558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
4f89f6a3
RD
20567 {
20568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20569 }
d14a1e28
RD
20570 return resultobj;
20571 fail:
20572 return NULL;
20573}
20574
20575
20576static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20579 bool result;
20580 PyObject * obj0 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
20586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
4f89f6a3
RD
20595 {
20596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20597 }
d14a1e28
RD
20598 return resultobj;
20599 fail:
20600 return NULL;
20601}
20602
20603
20604static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20605 PyObject *resultobj;
20606 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20607 bool result;
20608 PyObject * obj0 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
20614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
4f89f6a3
RD
20623 {
20624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20625 }
d14a1e28
RD
20626 return resultobj;
20627 fail:
20628 return NULL;
20629}
20630
20631
20632static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20635 bool result;
20636 PyObject * obj0 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "self", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
20642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
4f89f6a3
RD
20651 {
20652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20653 }
d14a1e28
RD
20654 return resultobj;
20655 fail:
20656 return NULL;
20657}
20658
20659
20660static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20661 PyObject *resultobj;
20662 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20663 int arg2 ;
20664 PyObject * obj0 = 0 ;
994141e6 20665 PyObject * obj1 = 0 ;
d14a1e28
RD
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "v", NULL
20668 };
20669
994141e6 20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20673 arg2 = (int) SWIG_AsInt(obj1);
20674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 (arg1)->SetFromPage(arg2);
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
20689static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20692 int arg2 ;
20693 PyObject * obj0 = 0 ;
994141e6 20694 PyObject * obj1 = 0 ;
d14a1e28
RD
20695 char *kwnames[] = {
20696 (char *) "self",(char *) "v", NULL
20697 };
20698
994141e6 20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20702 arg2 = (int) SWIG_AsInt(obj1);
20703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 (arg1)->SetToPage(arg2);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
20718static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20721 int arg2 ;
20722 PyObject * obj0 = 0 ;
994141e6 20723 PyObject * obj1 = 0 ;
d14a1e28
RD
20724 char *kwnames[] = {
20725 (char *) "self",(char *) "v", NULL
20726 };
20727
994141e6 20728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20731 arg2 = (int) SWIG_AsInt(obj1);
20732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 (arg1)->SetMinPage(arg2);
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 Py_INCREF(Py_None); resultobj = Py_None;
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
20747static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20750 int arg2 ;
20751 PyObject * obj0 = 0 ;
994141e6 20752 PyObject * obj1 = 0 ;
d14a1e28
RD
20753 char *kwnames[] = {
20754 (char *) "self",(char *) "v", NULL
20755 };
20756
994141e6 20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20760 arg2 = (int) SWIG_AsInt(obj1);
20761 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 (arg1)->SetMaxPage(arg2);
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 Py_INCREF(Py_None); resultobj = Py_None;
20770 return resultobj;
20771 fail:
20772 return NULL;
20773}
20774
20775
20776static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj;
20778 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20779 int arg2 ;
20780 PyObject * obj0 = 0 ;
994141e6 20781 PyObject * obj1 = 0 ;
d14a1e28
RD
20782 char *kwnames[] = {
20783 (char *) "self",(char *) "v", NULL
20784 };
20785
994141e6 20786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20789 arg2 = (int) SWIG_AsInt(obj1);
20790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 (arg1)->SetNoCopies(arg2);
20794
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 Py_INCREF(Py_None); resultobj = Py_None;
20799 return resultobj;
20800 fail:
20801 return NULL;
20802}
20803
20804
20805static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20806 PyObject *resultobj;
20807 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20808 bool arg2 ;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self",(char *) "flag", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20818 arg2 = (bool) SWIG_AsBool(obj1);
20819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 (arg1)->SetAllPages(arg2);
20823
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 Py_INCREF(Py_None); resultobj = Py_None;
20828 return resultobj;
20829 fail:
20830 return NULL;
20831}
20832
20833
20834static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20837 bool arg2 ;
20838 PyObject * obj0 = 0 ;
20839 PyObject * obj1 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self",(char *) "flag", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20847 arg2 = (bool) SWIG_AsBool(obj1);
20848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 (arg1)->SetSelection(arg2);
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 Py_INCREF(Py_None); resultobj = Py_None;
20857 return resultobj;
20858 fail:
20859 return NULL;
20860}
20861
20862
20863static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20866 bool arg2 ;
20867 PyObject * obj0 = 0 ;
20868 PyObject * obj1 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "self",(char *) "flag", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20876 arg2 = (bool) SWIG_AsBool(obj1);
20877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 (arg1)->SetCollate(arg2);
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 Py_INCREF(Py_None); resultobj = Py_None;
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
20892static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20895 bool arg2 ;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self",(char *) "flag", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20905 arg2 = (bool) SWIG_AsBool(obj1);
20906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->SetPrintToFile(arg2);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 Py_INCREF(Py_None); resultobj = Py_None;
20915 return resultobj;
20916 fail:
20917 return NULL;
20918}
20919
20920
20921static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20922 PyObject *resultobj;
20923 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20924 bool arg2 ;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "flag", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20934 arg2 = (bool) SWIG_AsBool(obj1);
20935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 (arg1)->SetSetupDialog(arg2);
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 Py_INCREF(Py_None); resultobj = Py_None;
20944 return resultobj;
20945 fail:
20946 return NULL;
20947}
20948
20949
20950static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20953 bool arg2 ;
20954 PyObject * obj0 = 0 ;
20955 PyObject * obj1 = 0 ;
20956 char *kwnames[] = {
20957 (char *) "self",(char *) "flag", NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20963 arg2 = (bool) SWIG_AsBool(obj1);
20964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 (arg1)->EnablePrintToFile(arg2);
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 Py_INCREF(Py_None); resultobj = Py_None;
20973 return resultobj;
20974 fail:
20975 return NULL;
20976}
20977
20978
20979static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20982 bool arg2 ;
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 char *kwnames[] = {
20986 (char *) "self",(char *) "flag", NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20992 arg2 = (bool) SWIG_AsBool(obj1);
20993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 (arg1)->EnableSelection(arg2);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 Py_INCREF(Py_None); resultobj = Py_None;
21002 return resultobj;
21003 fail:
21004 return NULL;
21005}
21006
21007
21008static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21011 bool arg2 ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "flag", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21021 arg2 = (bool) SWIG_AsBool(obj1);
21022 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 (arg1)->EnablePageNumbers(arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 Py_INCREF(Py_None); resultobj = Py_None;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034}
21035
21036
21037static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21040 bool arg2 ;
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self",(char *) "flag", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21050 arg2 = (bool) SWIG_AsBool(obj1);
21051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 (arg1)->EnableHelp(arg2);
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 Py_INCREF(Py_None); resultobj = Py_None;
21060 return resultobj;
21061 fail:
21062 return NULL;
21063}
21064
21065
21066static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21067 PyObject *resultobj;
21068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21069 bool result;
21070 PyObject * obj0 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
4f89f6a3
RD
21085 {
21086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21087 }
d14a1e28
RD
21088 return resultobj;
21089 fail:
21090 return NULL;
21091}
21092
21093
21094static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21097 bool result;
21098 PyObject * obj0 = 0 ;
21099 char *kwnames[] = {
21100 (char *) "self", NULL
21101 };
21102
21103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
21104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
4f89f6a3
RD
21113 {
21114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21115 }
d14a1e28
RD
21116 return resultobj;
21117 fail:
21118 return NULL;
21119}
21120
21121
21122static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj;
21124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21125 bool result;
21126 PyObject * obj0 = 0 ;
21127 char *kwnames[] = {
21128 (char *) "self", NULL
21129 };
21130
21131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
15afbcd0
RD
21132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
4f89f6a3
RD
21141 {
21142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21143 }
d14a1e28
RD
21144 return resultobj;
21145 fail:
21146 return NULL;
21147}
21148
21149
21150static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21151 PyObject *resultobj;
21152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21153 bool result;
21154 PyObject * obj0 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
21160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21162 {
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21165
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
4f89f6a3
RD
21169 {
21170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21171 }
d14a1e28
RD
21172 return resultobj;
21173 fail:
21174 return NULL;
21175}
21176
21177
21178static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21181 bool result;
21182 PyObject * obj0 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21193
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
4f89f6a3
RD
21197 {
21198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21199 }
d14a1e28
RD
21200 return resultobj;
21201 fail:
21202 return NULL;
21203}
21204
21205
21206static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21209 wxPrintData *result;
21210 PyObject * obj0 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21218 {
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 {
21221 wxPrintData &_result_ref = (arg1)->GetPrintData();
21222 result = (wxPrintData *) &_result_ref;
21223 }
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
15afbcd0 21228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
21229 return resultobj;
21230 fail:
21231 return NULL;
21232}
21233
21234
21235static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21238 wxPrintData *arg2 = 0 ;
21239 PyObject * obj0 = 0 ;
21240 PyObject * obj1 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self",(char *) "printData", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21249 SWIG_POINTER_EXCEPTION | 0)) == -1)
21250 SWIG_fail;
d14a1e28 21251 if (arg2 == NULL) {
15afbcd0
RD
21252 PyErr_SetString(PyExc_TypeError,"null reference");
21253 SWIG_fail;
d14a1e28
RD
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266}
21267
21268
21269static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21270 PyObject *obj;
21271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21272 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21273 Py_INCREF(obj);
21274 return Py_BuildValue((char *)"");
21275}
21276static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxWindow *arg1 = (wxWindow *) 0 ;
21279 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21280 wxPrintDialog *result;
21281 PyObject * obj0 = 0 ;
21282 PyObject * obj1 = 0 ;
21283 char *kwnames[] = {
21284 (char *) "parent",(char *) "data", NULL
21285 };
21286
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21290 if (obj1) {
15afbcd0
RD
21291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21293 }
21294 {
e3b71cb8 21295 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21298
21299 wxPyEndAllowThreads(__tstate);
e3b71cb8 21300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21301 }
15afbcd0 21302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
21303 return resultobj;
21304 fail:
21305 return NULL;
21306}
21307
21308
21309static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj;
21311 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21312 wxPrintDialogData *result;
21313 PyObject * obj0 = 0 ;
21314 char *kwnames[] = {
21315 (char *) "self", NULL
21316 };
21317
21318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21321 {
21322 PyThreadState* __tstate = wxPyBeginAllowThreads();
21323 {
21324 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21325 result = (wxPrintDialogData *) &_result_ref;
21326 }
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
15afbcd0 21331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
21332 return resultobj;
21333 fail:
21334 return NULL;
21335}
21336
21337
21338static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21341 wxDC *result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (wxDC *)(arg1)->GetPrintDC();
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 {
21358 resultobj = wxPyMake_wxObject(result);
21359 }
21360 return resultobj;
21361 fail:
21362 return NULL;
21363}
21364
21365
21366static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21369 int result;
21370 PyObject * obj0 = 0 ;
21371 char *kwnames[] = {
21372 (char *) "self", NULL
21373 };
21374
21375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
21376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 result = (int)(arg1)->ShowModal();
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
15afbcd0 21385 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21386 return resultobj;
21387 fail:
21388 return NULL;
21389}
21390
21391
21392static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21393 PyObject *obj;
21394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21395 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21396 Py_INCREF(obj);
21397 return Py_BuildValue((char *)"");
21398}
21399static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21402 wxPrinter *result;
21403 PyObject * obj0 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "data", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21409 if (obj0) {
15afbcd0
RD
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21412 }
21413 {
e3b71cb8 21414 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (wxPrinter *)new wxPrinter(arg1);
21417
21418 wxPyEndAllowThreads(__tstate);
e3b71cb8 21419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21420 }
15afbcd0 21421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
21422 return resultobj;
21423 fail:
21424 return NULL;
21425}
21426
21427
21428static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj;
21430 wxPrinter *arg1 = (wxPrinter *) 0 ;
21431 PyObject * obj0 = 0 ;
21432 char *kwnames[] = {
21433 (char *) "self", NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
15afbcd0
RD
21437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 delete arg1;
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 Py_INCREF(Py_None); resultobj = Py_None;
21447 return resultobj;
21448 fail:
21449 return NULL;
21450}
21451
21452
21453static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21454 PyObject *resultobj;
21455 wxPrinter *arg1 = (wxPrinter *) 0 ;
21456 wxWindow *arg2 = (wxWindow *) 0 ;
21457 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21458 PyObject * obj0 = 0 ;
21459 PyObject * obj1 = 0 ;
21460 PyObject * obj2 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "parent",(char *) "printout", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21470 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 (arg1)->CreateAbortWindow(arg2,arg3);
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 Py_INCREF(Py_None); resultobj = Py_None;
21480 return resultobj;
21481 fail:
21482 return NULL;
21483}
21484
21485
21486static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPrinter *arg1 = (wxPrinter *) 0 ;
21489 wxPrintDialogData *result;
21490 PyObject * obj0 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 {
21501 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21502 result = (wxPrintDialogData *) &_result_ref;
21503 }
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
15afbcd0 21508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
21509 return resultobj;
21510 fail:
21511 return NULL;
21512}
21513
21514
21515static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxPrinter *arg1 = (wxPrinter *) 0 ;
21518 wxWindow *arg2 = (wxWindow *) 0 ;
21519 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
e811c8ce 21520 int arg4 = (int) True ;
d14a1e28
RD
21521 bool result;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 PyObject * obj2 = 0 ;
994141e6 21525 PyObject * obj3 = 0 ;
d14a1e28
RD
21526 char *kwnames[] = {
21527 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21528 };
21529
994141e6 21530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21537 if (obj3) {
15afbcd0
RD
21538 arg4 = (int) SWIG_AsInt(obj3);
21539 if (PyErr_Occurred()) SWIG_fail;
994141e6 21540 }
d14a1e28
RD
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
4f89f6a3
RD
21548 {
21549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21550 }
d14a1e28
RD
21551 return resultobj;
21552 fail:
21553 return NULL;
21554}
21555
21556
21557static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj;
21559 wxPrinter *arg1 = (wxPrinter *) 0 ;
21560 wxWindow *arg2 = (wxWindow *) 0 ;
21561 wxDC *result;
21562 PyObject * obj0 = 0 ;
21563 PyObject * obj1 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self",(char *) "parent", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 result = (wxDC *)(arg1)->PrintDialog(arg2);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 {
21581 resultobj = wxPyMake_wxObject(result);
21582 }
21583 return resultobj;
21584 fail:
21585 return NULL;
21586}
21587
21588
21589static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21590 PyObject *resultobj;
21591 wxPrinter *arg1 = (wxPrinter *) 0 ;
21592 wxWindow *arg2 = (wxWindow *) 0 ;
21593 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21594 wxString *arg4 = 0 ;
e811c8ce 21595 bool temp4 = False ;
d14a1e28
RD
21596 PyObject * obj0 = 0 ;
21597 PyObject * obj1 = 0 ;
21598 PyObject * obj2 = 0 ;
21599 PyObject * obj3 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21609 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21611 {
21612 arg4 = wxString_in_helper(obj3);
21613 if (arg4 == NULL) SWIG_fail;
e811c8ce 21614 temp4 = True;
d14a1e28
RD
21615 }
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 {
21625 if (temp4)
21626 delete arg4;
21627 }
21628 return resultobj;
21629 fail:
21630 {
21631 if (temp4)
21632 delete arg4;
21633 }
21634 return NULL;
21635}
21636
21637
21638static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj;
21640 wxPrinter *arg1 = (wxPrinter *) 0 ;
21641 wxWindow *arg2 = (wxWindow *) 0 ;
21642 bool result;
21643 PyObject * obj0 = 0 ;
21644 PyObject * obj1 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "parent", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
21656 result = (bool)(arg1)->Setup(arg2);
21657
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
4f89f6a3
RD
21661 {
21662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21663 }
d14a1e28
RD
21664 return resultobj;
21665 fail:
21666 return NULL;
21667}
21668
21669
21670static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxPrinter *arg1 = (wxPrinter *) 0 ;
21673 bool result;
21674 PyObject * obj0 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
15afbcd0
RD
21680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (bool)(arg1)->GetAbort();
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
4f89f6a3
RD
21689 {
21690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21691 }
d14a1e28
RD
21692 return resultobj;
21693 fail:
21694 return NULL;
21695}
21696
21697
21698static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 int result;
21701 char *kwnames[] = {
21702 NULL
21703 };
21704
21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (int)wxPrinter::GetLastError();
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
15afbcd0 21713 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21714 return resultobj;
21715 fail:
21716 return NULL;
21717}
21718
21719
21720static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21721 PyObject *obj;
21722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21723 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21724 Py_INCREF(obj);
21725 return Py_BuildValue((char *)"");
21726}
21727static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21728 PyObject *resultobj;
21729 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21730 wxString *arg1 = (wxString *) &arg1_defvalue ;
21731 wxPyPrintout *result;
e811c8ce 21732 bool temp1 = False ;
d14a1e28
RD
21733 PyObject * obj0 = 0 ;
21734 char *kwnames[] = {
21735 (char *) "title", NULL
21736 };
21737
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21739 if (obj0) {
21740 {
21741 arg1 = wxString_in_helper(obj0);
21742 if (arg1 == NULL) SWIG_fail;
e811c8ce 21743 temp1 = True;
d14a1e28
RD
21744 }
21745 }
21746 {
e3b71cb8 21747 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21750
21751 wxPyEndAllowThreads(__tstate);
e3b71cb8 21752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21753 }
21754 {
21755 resultobj = wxPyMake_wxObject(result);
21756 }
21757 {
21758 if (temp1)
21759 delete arg1;
21760 }
21761 return resultobj;
21762 fail:
21763 {
21764 if (temp1)
21765 delete arg1;
21766 }
21767 return NULL;
21768}
21769
21770
21771static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21774 PyObject *arg2 = (PyObject *) 0 ;
21775 PyObject *arg3 = (PyObject *) 0 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 PyObject * obj2 = 0 ;
21779 char *kwnames[] = {
21780 (char *) "self",(char *) "self",(char *) "_class", NULL
21781 };
21782
21783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21786 arg2 = obj1;
21787 arg3 = obj2;
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 (arg1)->_setCallbackInfo(arg2,arg3);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
21795 Py_INCREF(Py_None); resultobj = Py_None;
21796 return resultobj;
21797 fail:
21798 return NULL;
21799}
21800
21801
21802static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21805 wxString result;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",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 result = ((wxPyPrintout const *)arg1)->GetTitle();
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822#if wxUSE_UNICODE
21823 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21824#else
21825 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21826#endif
21827 }
21828 return resultobj;
21829 fail:
21830 return NULL;
21831}
21832
21833
21834static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21835 PyObject *resultobj;
21836 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21837 wxDC *result;
21838 PyObject * obj0 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
21844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21846 {
21847 PyThreadState* __tstate = wxPyBeginAllowThreads();
21848 result = (wxDC *)(arg1)->GetDC();
21849
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 {
21854 resultobj = wxPyMake_wxObject(result);
21855 }
21856 return resultobj;
21857 fail:
21858 return NULL;
21859}
21860
21861
21862static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21865 wxDC *arg2 = (wxDC *) 0 ;
21866 PyObject * obj0 = 0 ;
21867 PyObject * obj1 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self",(char *) "dc", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21877 {
21878 PyThreadState* __tstate = wxPyBeginAllowThreads();
21879 (arg1)->SetDC(arg2);
21880
21881 wxPyEndAllowThreads(__tstate);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 Py_INCREF(Py_None); resultobj = Py_None;
21885 return resultobj;
21886 fail:
21887 return NULL;
21888}
21889
21890
322913ce 21891static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21892 PyObject *resultobj;
21893 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
21894 int arg2 ;
21895 int arg3 ;
d14a1e28 21896 PyObject * obj0 = 0 ;
994141e6
RD
21897 PyObject * obj1 = 0 ;
21898 PyObject * obj2 = 0 ;
d14a1e28 21899 char *kwnames[] = {
322913ce 21900 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
21901 };
21902
994141e6 21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21906 arg2 = (int) SWIG_AsInt(obj1);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 arg3 = (int) SWIG_AsInt(obj2);
21909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21912 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
21918 return resultobj;
21919 fail:
21920 return NULL;
21921}
21922
21923
322913ce 21924static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21925 PyObject *resultobj;
21926 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
21927 int *arg2 = (int *) 0 ;
21928 int *arg3 = (int *) 0 ;
21929 int temp2 ;
21930 int temp3 ;
d14a1e28
RD
21931 PyObject * obj0 = 0 ;
21932 char *kwnames[] = {
322913ce 21933 (char *) "self", NULL
d14a1e28
RD
21934 };
21935
322913ce
RD
21936 arg2 = &temp2;
21937 arg3 = &temp3;
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
15afbcd0
RD
21939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21943 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 Py_INCREF(Py_None); resultobj = Py_None;
322913ce
RD
21949 {
21950 PyObject *o = PyInt_FromLong((long) (*arg2));
21951 resultobj = t_output_helper(resultobj,o);
21952 }
21953 {
21954 PyObject *o = PyInt_FromLong((long) (*arg3));
21955 resultobj = t_output_helper(resultobj,o);
21956 }
d14a1e28
RD
21957 return resultobj;
21958 fail:
21959 return NULL;
21960}
21961
21962
21963static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21966 int arg2 ;
21967 int arg3 ;
21968 PyObject * obj0 = 0 ;
994141e6
RD
21969 PyObject * obj1 = 0 ;
21970 PyObject * obj2 = 0 ;
d14a1e28
RD
21971 char *kwnames[] = {
21972 (char *) "self",(char *) "w",(char *) "h", NULL
21973 };
21974
994141e6 21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21978 arg2 = (int) SWIG_AsInt(obj1);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 arg3 = (int) SWIG_AsInt(obj2);
21981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->SetPageSizeMM(arg2,arg3);
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 Py_INCREF(Py_None); resultobj = Py_None;
21990 return resultobj;
21991 fail:
21992 return NULL;
21993}
21994
21995
21996static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21999 int *arg2 = (int *) 0 ;
22000 int *arg3 = (int *) 0 ;
22001 int temp2 ;
22002 int temp3 ;
22003 PyObject * obj0 = 0 ;
22004 char *kwnames[] = {
22005 (char *) "self", NULL
22006 };
22007
22008 arg2 = &temp2;
22009 arg3 = &temp3;
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
22011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 (arg1)->GetPageSizeMM(arg2,arg3);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 Py_INCREF(Py_None); resultobj = Py_None;
22021 {
22022 PyObject *o = PyInt_FromLong((long) (*arg2));
22023 resultobj = t_output_helper(resultobj,o);
22024 }
22025 {
22026 PyObject *o = PyInt_FromLong((long) (*arg3));
22027 resultobj = t_output_helper(resultobj,o);
22028 }
22029 return resultobj;
22030 fail:
22031 return NULL;
22032}
22033
22034
22035static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22036 PyObject *resultobj;
22037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22038 int arg2 ;
22039 int arg3 ;
22040 PyObject * obj0 = 0 ;
994141e6
RD
22041 PyObject * obj1 = 0 ;
22042 PyObject * obj2 = 0 ;
d14a1e28
RD
22043 char *kwnames[] = {
22044 (char *) "self",(char *) "x",(char *) "y", NULL
22045 };
22046
994141e6 22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22050 arg2 = (int) SWIG_AsInt(obj1);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 arg3 = (int) SWIG_AsInt(obj2);
22053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 (arg1)->SetPPIScreen(arg2,arg3);
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 Py_INCREF(Py_None); resultobj = Py_None;
22062 return resultobj;
22063 fail:
22064 return NULL;
22065}
22066
22067
22068static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22071 int *arg2 = (int *) 0 ;
22072 int *arg3 = (int *) 0 ;
22073 int temp2 ;
22074 int temp3 ;
22075 PyObject * obj0 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self", NULL
22078 };
22079
22080 arg2 = &temp2;
22081 arg3 = &temp3;
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
22083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 (arg1)->GetPPIScreen(arg2,arg3);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 Py_INCREF(Py_None); resultobj = Py_None;
22093 {
22094 PyObject *o = PyInt_FromLong((long) (*arg2));
22095 resultobj = t_output_helper(resultobj,o);
22096 }
22097 {
22098 PyObject *o = PyInt_FromLong((long) (*arg3));
22099 resultobj = t_output_helper(resultobj,o);
22100 }
22101 return resultobj;
22102 fail:
22103 return NULL;
22104}
22105
22106
22107static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22108 PyObject *resultobj;
22109 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22110 int arg2 ;
22111 int arg3 ;
22112 PyObject * obj0 = 0 ;
994141e6
RD
22113 PyObject * obj1 = 0 ;
22114 PyObject * obj2 = 0 ;
d14a1e28
RD
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "x",(char *) "y", NULL
22117 };
22118
994141e6 22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22122 arg2 = (int) SWIG_AsInt(obj1);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 arg3 = (int) SWIG_AsInt(obj2);
22125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->SetPPIPrinter(arg2,arg3);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137}
22138
22139
22140static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22143 int *arg2 = (int *) 0 ;
22144 int *arg3 = (int *) 0 ;
22145 int temp2 ;
22146 int temp3 ;
22147 PyObject * obj0 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self", NULL
22150 };
22151
22152 arg2 = &temp2;
22153 arg3 = &temp3;
22154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
22155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 (arg1)->GetPPIPrinter(arg2,arg3);
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 Py_INCREF(Py_None); resultobj = Py_None;
22165 {
22166 PyObject *o = PyInt_FromLong((long) (*arg2));
22167 resultobj = t_output_helper(resultobj,o);
22168 }
22169 {
22170 PyObject *o = PyInt_FromLong((long) (*arg3));
22171 resultobj = t_output_helper(resultobj,o);
22172 }
22173 return resultobj;
22174 fail:
22175 return NULL;
22176}
22177
22178
22179static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj;
22181 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22182 bool result;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
22189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = (bool)(arg1)->IsPreview();
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
4f89f6a3
RD
22198 {
22199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22200 }
d14a1e28
RD
22201 return resultobj;
22202 fail:
22203 return NULL;
22204}
22205
22206
22207static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22210 bool arg2 ;
22211 PyObject * obj0 = 0 ;
22212 PyObject * obj1 = 0 ;
22213 char *kwnames[] = {
22214 (char *) "self",(char *) "p", NULL
22215 };
22216
22217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22220 arg2 = (bool) SWIG_AsBool(obj1);
22221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22222 {
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 (arg1)->SetIsPreview(arg2);
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 Py_INCREF(Py_None); resultobj = Py_None;
22230 return resultobj;
22231 fail:
22232 return NULL;
22233}
22234
22235
22236static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22237 PyObject *resultobj;
22238 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22239 int arg2 ;
22240 int arg3 ;
22241 bool result;
22242 PyObject * obj0 = 0 ;
994141e6
RD
22243 PyObject * obj1 = 0 ;
22244 PyObject * obj2 = 0 ;
d14a1e28
RD
22245 char *kwnames[] = {
22246 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22247 };
22248
994141e6 22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22252 arg2 = (int) SWIG_AsInt(obj1);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 arg3 = (int) SWIG_AsInt(obj2);
22255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
4f89f6a3
RD
22263 {
22264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22265 }
d14a1e28
RD
22266 return resultobj;
22267 fail:
22268 return NULL;
22269}
22270
22271
22272static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22275 PyObject * obj0 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
15afbcd0
RD
22281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 (arg1)->base_OnEndDocument();
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 Py_INCREF(Py_None); resultobj = Py_None;
22291 return resultobj;
22292 fail:
22293 return NULL;
22294}
22295
22296
22297static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22298 PyObject *resultobj;
22299 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22300 PyObject * obj0 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 (arg1)->base_OnBeginPrinting();
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 Py_INCREF(Py_None); resultobj = Py_None;
22316 return resultobj;
22317 fail:
22318 return NULL;
22319}
22320
22321
22322static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22325 PyObject * obj0 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 (arg1)->base_OnEndPrinting();
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 Py_INCREF(Py_None); resultobj = Py_None;
22341 return resultobj;
22342 fail:
22343 return NULL;
22344}
22345
22346
22347static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22350 PyObject * obj0 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 (arg1)->base_OnPreparePrinting();
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 Py_INCREF(Py_None); resultobj = Py_None;
22366 return resultobj;
22367 fail:
22368 return NULL;
22369}
22370
22371
322913ce
RD
22372static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj;
22374 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22375 int arg2 ;
22376 bool result;
22377 PyObject * obj0 = 0 ;
994141e6 22378 PyObject * obj1 = 0 ;
322913ce
RD
22379 char *kwnames[] = {
22380 (char *) "self",(char *) "page", NULL
22381 };
22382
994141e6 22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22386 arg2 = (int) SWIG_AsInt(obj1);
22387 if (PyErr_Occurred()) SWIG_fail;
322913ce
RD
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (bool)(arg1)->base_HasPage(arg2);
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
4f89f6a3
RD
22395 {
22396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22397 }
322913ce
RD
22398 return resultobj;
22399 fail:
22400 return NULL;
22401}
22402
22403
d14a1e28
RD
22404static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22407 int *arg2 = (int *) 0 ;
22408 int *arg3 = (int *) 0 ;
22409 int *arg4 = (int *) 0 ;
22410 int *arg5 = (int *) 0 ;
22411 int temp2 ;
22412 int temp3 ;
22413 int temp4 ;
22414 int temp5 ;
22415 PyObject * obj0 = 0 ;
22416 char *kwnames[] = {
22417 (char *) "self", NULL
22418 };
22419
22420 arg2 = &temp2;
22421 arg3 = &temp3;
22422 arg4 = &temp4;
22423 arg5 = &temp5;
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22427 {
22428 PyThreadState* __tstate = wxPyBeginAllowThreads();
22429 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22430
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 Py_INCREF(Py_None); resultobj = Py_None;
22435 {
22436 PyObject *o = PyInt_FromLong((long) (*arg2));
22437 resultobj = t_output_helper(resultobj,o);
22438 }
22439 {
22440 PyObject *o = PyInt_FromLong((long) (*arg3));
22441 resultobj = t_output_helper(resultobj,o);
22442 }
22443 {
22444 PyObject *o = PyInt_FromLong((long) (*arg4));
22445 resultobj = t_output_helper(resultobj,o);
22446 }
22447 {
22448 PyObject *o = PyInt_FromLong((long) (*arg5));
22449 resultobj = t_output_helper(resultobj,o);
22450 }
22451 return resultobj;
22452 fail:
22453 return NULL;
22454}
22455
22456
d14a1e28
RD
22457static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22458 PyObject *obj;
22459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22461 Py_INCREF(obj);
22462 return Py_BuildValue((char *)"");
22463}
22464static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22467 wxWindow *arg2 = (wxWindow *) 0 ;
22468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22470 wxSize const &arg4_defvalue = wxDefaultSize ;
22471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22472 long arg5 = (long) 0 ;
22473 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22474 wxString *arg6 = (wxString *) &arg6_defvalue ;
22475 wxPreviewCanvas *result;
22476 wxPoint temp3 ;
22477 wxSize temp4 ;
e811c8ce 22478 bool temp6 = False ;
d14a1e28
RD
22479 PyObject * obj0 = 0 ;
22480 PyObject * obj1 = 0 ;
22481 PyObject * obj2 = 0 ;
22482 PyObject * obj3 = 0 ;
994141e6 22483 PyObject * obj4 = 0 ;
d14a1e28
RD
22484 PyObject * obj5 = 0 ;
22485 char *kwnames[] = {
22486 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22487 };
22488
994141e6 22489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22494 if (obj2) {
22495 {
22496 arg3 = &temp3;
22497 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22498 }
22499 }
22500 if (obj3) {
22501 {
22502 arg4 = &temp4;
22503 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22504 }
22505 }
994141e6 22506 if (obj4) {
15afbcd0
RD
22507 arg5 = (long) SWIG_AsLong(obj4);
22508 if (PyErr_Occurred()) SWIG_fail;
994141e6 22509 }
d14a1e28
RD
22510 if (obj5) {
22511 {
22512 arg6 = wxString_in_helper(obj5);
22513 if (arg6 == NULL) SWIG_fail;
e811c8ce 22514 temp6 = True;
d14a1e28
RD
22515 }
22516 }
22517 {
e3b71cb8 22518 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22521
22522 wxPyEndAllowThreads(__tstate);
e3b71cb8 22523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22524 }
15afbcd0 22525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
22526 {
22527 if (temp6)
22528 delete arg6;
22529 }
22530 return resultobj;
22531 fail:
22532 {
22533 if (temp6)
22534 delete arg6;
22535 }
22536 return NULL;
22537}
22538
22539
22540static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22541 PyObject *obj;
22542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22543 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22544 Py_INCREF(obj);
22545 return Py_BuildValue((char *)"");
22546}
22547static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22550 wxFrame *arg2 = (wxFrame *) 0 ;
22551 wxString *arg3 = 0 ;
22552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22554 wxSize const &arg5_defvalue = wxDefaultSize ;
22555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22556 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22557 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22558 wxString *arg7 = (wxString *) &arg7_defvalue ;
22559 wxPreviewFrame *result;
e811c8ce 22560 bool temp3 = False ;
d14a1e28
RD
22561 wxPoint temp4 ;
22562 wxSize temp5 ;
e811c8ce 22563 bool temp7 = False ;
d14a1e28
RD
22564 PyObject * obj0 = 0 ;
22565 PyObject * obj1 = 0 ;
22566 PyObject * obj2 = 0 ;
22567 PyObject * obj3 = 0 ;
22568 PyObject * obj4 = 0 ;
994141e6 22569 PyObject * obj5 = 0 ;
d14a1e28
RD
22570 PyObject * obj6 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22573 };
22574
994141e6 22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22580 {
22581 arg3 = wxString_in_helper(obj2);
22582 if (arg3 == NULL) SWIG_fail;
e811c8ce 22583 temp3 = True;
d14a1e28
RD
22584 }
22585 if (obj3) {
22586 {
22587 arg4 = &temp4;
22588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22589 }
22590 }
22591 if (obj4) {
22592 {
22593 arg5 = &temp5;
22594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22595 }
22596 }
994141e6 22597 if (obj5) {
15afbcd0
RD
22598 arg6 = (long) SWIG_AsLong(obj5);
22599 if (PyErr_Occurred()) SWIG_fail;
994141e6 22600 }
d14a1e28
RD
22601 if (obj6) {
22602 {
22603 arg7 = wxString_in_helper(obj6);
22604 if (arg7 == NULL) SWIG_fail;
e811c8ce 22605 temp7 = True;
d14a1e28
RD
22606 }
22607 }
22608 {
e3b71cb8 22609 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22612
22613 wxPyEndAllowThreads(__tstate);
e3b71cb8 22614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22615 }
15afbcd0 22616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
22617 {
22618 if (temp3)
22619 delete arg3;
22620 }
22621 {
22622 if (temp7)
22623 delete arg7;
22624 }
22625 return resultobj;
22626 fail:
22627 {
22628 if (temp3)
22629 delete arg3;
22630 }
22631 {
22632 if (temp7)
22633 delete arg7;
22634 }
22635 return NULL;
22636}
22637
22638
22639static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj;
22641 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22642 PyObject * obj0 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 (arg1)->Initialize();
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 Py_INCREF(Py_None); resultobj = Py_None;
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
22664static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj;
22666 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22667 PyObject * obj0 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
22673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 (arg1)->CreateControlBar();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 Py_INCREF(Py_None); resultobj = Py_None;
22683 return resultobj;
22684 fail:
22685 return NULL;
22686}
22687
22688
22689static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 (arg1)->CreateCanvas();
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 Py_INCREF(Py_None); resultobj = Py_None;
22708 return resultobj;
22709 fail:
22710 return NULL;
22711}
22712
22713
22714static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj;
22716 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22717 wxPreviewControlBar *result;
22718 PyObject * obj0 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22726 {
22727 PyThreadState* __tstate = wxPyBeginAllowThreads();
22728 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22729
22730 wxPyEndAllowThreads(__tstate);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 }
15afbcd0 22733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
22734 return resultobj;
22735 fail:
22736 return NULL;
22737}
22738
22739
22740static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22741 PyObject *obj;
22742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22743 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22744 Py_INCREF(obj);
22745 return Py_BuildValue((char *)"");
22746}
22747static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22748 PyObject *resultobj;
22749 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22750 long arg2 ;
22751 wxWindow *arg3 = (wxWindow *) 0 ;
22752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22754 wxSize const &arg5_defvalue = wxDefaultSize ;
22755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22756 long arg6 = (long) wxTAB_TRAVERSAL ;
22757 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22758 wxString *arg7 = (wxString *) &arg7_defvalue ;
22759 wxPreviewControlBar *result;
22760 wxPoint temp4 ;
22761 wxSize temp5 ;
e811c8ce 22762 bool temp7 = False ;
d14a1e28 22763 PyObject * obj0 = 0 ;
994141e6 22764 PyObject * obj1 = 0 ;
d14a1e28
RD
22765 PyObject * obj2 = 0 ;
22766 PyObject * obj3 = 0 ;
22767 PyObject * obj4 = 0 ;
994141e6 22768 PyObject * obj5 = 0 ;
d14a1e28
RD
22769 PyObject * obj6 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22772 };
22773
994141e6 22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22777 arg2 = (long) SWIG_AsLong(obj1);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22781 if (obj3) {
22782 {
22783 arg4 = &temp4;
22784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22785 }
22786 }
22787 if (obj4) {
22788 {
22789 arg5 = &temp5;
22790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22791 }
22792 }
994141e6 22793 if (obj5) {
15afbcd0
RD
22794 arg6 = (long) SWIG_AsLong(obj5);
22795 if (PyErr_Occurred()) SWIG_fail;
994141e6 22796 }
d14a1e28
RD
22797 if (obj6) {
22798 {
22799 arg7 = wxString_in_helper(obj6);
22800 if (arg7 == NULL) SWIG_fail;
e811c8ce 22801 temp7 = True;
d14a1e28
RD
22802 }
22803 }
22804 {
e3b71cb8 22805 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22808
22809 wxPyEndAllowThreads(__tstate);
e3b71cb8 22810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22811 }
15afbcd0 22812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
22813 {
22814 if (temp7)
22815 delete arg7;
22816 }
22817 return resultobj;
22818 fail:
22819 {
22820 if (temp7)
22821 delete arg7;
22822 }
22823 return NULL;
22824}
22825
22826
22827static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22828 PyObject *resultobj;
22829 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22830 int result;
22831 PyObject * obj0 = 0 ;
22832 char *kwnames[] = {
22833 (char *) "self", NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
22837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = (int)(arg1)->GetZoomControl();
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
15afbcd0 22846 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22847 return resultobj;
22848 fail:
22849 return NULL;
22850}
22851
22852
22853static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22854 PyObject *resultobj;
22855 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22856 int arg2 ;
22857 PyObject * obj0 = 0 ;
994141e6 22858 PyObject * obj1 = 0 ;
d14a1e28
RD
22859 char *kwnames[] = {
22860 (char *) "self",(char *) "zoom", NULL
22861 };
22862
994141e6 22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22866 arg2 = (int) SWIG_AsInt(obj1);
22867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 (arg1)->SetZoomControl(arg2);
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 Py_INCREF(Py_None); resultobj = Py_None;
22876 return resultobj;
22877 fail:
22878 return NULL;
22879}
22880
22881
22882static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj;
22884 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22885 wxPrintPreview *result;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
15afbcd0 22901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
22902 return resultobj;
22903 fail:
22904 return NULL;
22905}
22906
22907
22908static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22911 PyObject * obj0 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
22917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 (arg1)->OnNext();
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 Py_INCREF(Py_None); resultobj = Py_None;
22927 return resultobj;
22928 fail:
22929 return NULL;
22930}
22931
22932
22933static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22934 PyObject *resultobj;
22935 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22936 PyObject * obj0 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
22942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 (arg1)->OnPrevious();
22947
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 Py_INCREF(Py_None); resultobj = Py_None;
22952 return resultobj;
22953 fail:
22954 return NULL;
22955}
22956
22957
22958static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22961 PyObject * obj0 = 0 ;
22962 char *kwnames[] = {
22963 (char *) "self", NULL
22964 };
22965
22966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
15afbcd0
RD
22967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22969 {
22970 PyThreadState* __tstate = wxPyBeginAllowThreads();
22971 (arg1)->OnFirst();
22972
22973 wxPyEndAllowThreads(__tstate);
22974 if (PyErr_Occurred()) SWIG_fail;
22975 }
22976 Py_INCREF(Py_None); resultobj = Py_None;
22977 return resultobj;
22978 fail:
22979 return NULL;
22980}
22981
22982
22983static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22984 PyObject *resultobj;
22985 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22986 PyObject * obj0 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
15afbcd0
RD
22992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 (arg1)->OnLast();
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 Py_INCREF(Py_None); resultobj = Py_None;
23002 return resultobj;
23003 fail:
23004 return NULL;
23005}
23006
23007
23008static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23011 PyObject * obj0 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
15afbcd0
RD
23017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 (arg1)->OnGoto();
23022
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 Py_INCREF(Py_None); resultobj = Py_None;
23027 return resultobj;
23028 fail:
23029 return NULL;
23030}
23031
23032
23033static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23034 PyObject *obj;
23035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23036 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23037 Py_INCREF(obj);
23038 return Py_BuildValue((char *)"");
23039}
4276dc52 23040static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23041 PyObject *resultobj;
23042 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23043 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 23044 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
23045 wxPrintPreview *result;
23046 PyObject * obj0 = 0 ;
23047 PyObject * obj1 = 0 ;
23048 PyObject * obj2 = 0 ;
d14a1e28 23049
4276dc52 23050 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23055 if (obj2) {
4276dc52 23056 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 23057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23058 }
23059 {
e3b71cb8 23060 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23063
23064 wxPyEndAllowThreads(__tstate);
e3b71cb8 23065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23066 }
15afbcd0 23067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
23068 return resultobj;
23069 fail:
23070 return NULL;
23071}
23072
23073
4276dc52
RD
23074static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23075 PyObject *resultobj;
23076 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23077 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23078 wxPrintData *arg3 = (wxPrintData *) 0 ;
23079 wxPrintPreview *result;
23080 PyObject * obj0 = 0 ;
23081 PyObject * obj1 = 0 ;
23082 PyObject * obj2 = 0 ;
23083
23084 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23091 {
e3b71cb8 23092 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23095
23096 wxPyEndAllowThreads(__tstate);
e3b71cb8 23097 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
23098 }
23099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23100 return resultobj;
23101 fail:
23102 return NULL;
23103}
23104
23105
23106static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23107 int argc;
23108 PyObject *argv[4];
23109 int ii;
23110
23111 argc = PyObject_Length(args);
23112 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23113 argv[ii] = PyTuple_GetItem(args,ii);
23114 }
23115 if ((argc >= 2) && (argc <= 3)) {
23116 int _v;
23117 {
23118 void *ptr;
23119 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23120 _v = 0;
23121 PyErr_Clear();
23122 } else {
23123 _v = 1;
23124 }
23125 }
23126 if (_v) {
23127 {
23128 void *ptr;
23129 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23130 _v = 0;
23131 PyErr_Clear();
23132 } else {
23133 _v = 1;
23134 }
23135 }
23136 if (_v) {
23137 if (argc <= 2) {
23138 return _wrap_new_PrintPreview__SWIG_0(self,args);
23139 }
23140 {
23141 void *ptr;
23142 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23143 _v = 0;
23144 PyErr_Clear();
23145 } else {
23146 _v = 1;
23147 }
23148 }
23149 if (_v) {
23150 return _wrap_new_PrintPreview__SWIG_0(self,args);
23151 }
23152 }
23153 }
23154 }
23155 if (argc == 3) {
23156 int _v;
23157 {
23158 void *ptr;
23159 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23160 _v = 0;
23161 PyErr_Clear();
23162 } else {
23163 _v = 1;
23164 }
23165 }
23166 if (_v) {
23167 {
23168 void *ptr;
23169 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23170 _v = 0;
23171 PyErr_Clear();
23172 } else {
23173 _v = 1;
23174 }
23175 }
23176 if (_v) {
23177 {
23178 void *ptr;
23179 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23180 _v = 0;
23181 PyErr_Clear();
23182 } else {
23183 _v = 1;
23184 }
23185 }
23186 if (_v) {
23187 return _wrap_new_PrintPreview__SWIG_1(self,args);
23188 }
23189 }
23190 }
23191 }
23192
23193 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23194 return NULL;
23195}
23196
23197
d14a1e28
RD
23198static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23199 PyObject *resultobj;
23200 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23201 int arg2 ;
23202 bool result;
23203 PyObject * obj0 = 0 ;
994141e6 23204 PyObject * obj1 = 0 ;
d14a1e28
RD
23205 char *kwnames[] = {
23206 (char *) "self",(char *) "pageNum", NULL
23207 };
23208
994141e6 23209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23212 arg2 = (int) SWIG_AsInt(obj1);
23213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (bool)(arg1)->SetCurrentPage(arg2);
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
4f89f6a3
RD
23221 {
23222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23223 }
d14a1e28
RD
23224 return resultobj;
23225 fail:
23226 return NULL;
23227}
23228
23229
23230static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23233 int result;
23234 PyObject * obj0 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (int)(arg1)->GetCurrentPage();
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
15afbcd0 23249 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23250 return resultobj;
23251 fail:
23252 return NULL;
23253}
23254
23255
23256static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23259 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "printout", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->SetPrintout(arg2);
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
23285static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj;
23287 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23288 wxPyPrintout *result;
23289 PyObject * obj0 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
15afbcd0
RD
23295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 result = (wxPyPrintout *)(arg1)->GetPrintout();
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 {
23305 resultobj = wxPyMake_wxObject(result);
23306 }
23307 return resultobj;
23308 fail:
23309 return NULL;
23310}
23311
23312
23313static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23314 PyObject *resultobj;
23315 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23316 wxPyPrintout *result;
23317 PyObject * obj0 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
23323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23325 {
23326 PyThreadState* __tstate = wxPyBeginAllowThreads();
23327 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23328
23329 wxPyEndAllowThreads(__tstate);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 {
23333 resultobj = wxPyMake_wxObject(result);
23334 }
23335 return resultobj;
23336 fail:
23337 return NULL;
23338}
23339
23340
23341static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23342 PyObject *resultobj;
23343 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23344 wxFrame *arg2 = (wxFrame *) 0 ;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self",(char *) "frame", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 (arg1)->SetFrame(arg2);
23359
23360 wxPyEndAllowThreads(__tstate);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 }
23363 Py_INCREF(Py_None); resultobj = Py_None;
23364 return resultobj;
23365 fail:
23366 return NULL;
23367}
23368
23369
23370static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23371 PyObject *resultobj;
23372 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23373 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23374 PyObject * obj0 = 0 ;
23375 PyObject * obj1 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self",(char *) "canvas", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 (arg1)->SetCanvas(arg2);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 Py_INCREF(Py_None); resultobj = Py_None;
23393 return resultobj;
23394 fail:
23395 return NULL;
23396}
23397
23398
23399static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23402 wxFrame *result;
23403 PyObject * obj0 = 0 ;
23404 char *kwnames[] = {
23405 (char *) "self", NULL
23406 };
23407
23408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
23409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 result = (wxFrame *)(arg1)->GetFrame();
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 {
23419 resultobj = wxPyMake_wxObject(result);
23420 }
23421 return resultobj;
23422 fail:
23423 return NULL;
23424}
23425
23426
23427static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23428 PyObject *resultobj;
23429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23430 wxPreviewCanvas *result;
23431 PyObject * obj0 = 0 ;
23432 char *kwnames[] = {
23433 (char *) "self", NULL
23434 };
23435
23436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
23437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
15afbcd0 23446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
23447 return resultobj;
23448 fail:
23449 return NULL;
23450}
23451
23452
23453static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23456 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23457 wxDC *arg3 = 0 ;
23458 bool result;
23459 PyObject * obj0 = 0 ;
23460 PyObject * obj1 = 0 ;
23461 PyObject * obj2 = 0 ;
23462 char *kwnames[] = {
23463 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23464 };
23465
23466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23471 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1)
23473 SWIG_fail;
d14a1e28 23474 if (arg3 == NULL) {
15afbcd0
RD
23475 PyErr_SetString(PyExc_TypeError,"null reference");
23476 SWIG_fail;
d14a1e28
RD
23477 }
23478 {
23479 PyThreadState* __tstate = wxPyBeginAllowThreads();
23480 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23481
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
4f89f6a3
RD
23485 {
23486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23487 }
d14a1e28
RD
23488 return resultobj;
23489 fail:
23490 return NULL;
23491}
23492
23493
23494static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23495 PyObject *resultobj;
23496 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23497 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23498 wxDC *arg3 = 0 ;
23499 bool result;
23500 PyObject * obj0 = 0 ;
23501 PyObject * obj1 = 0 ;
23502 PyObject * obj2 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23512 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1)
23514 SWIG_fail;
d14a1e28 23515 if (arg3 == NULL) {
15afbcd0
RD
23516 PyErr_SetString(PyExc_TypeError,"null reference");
23517 SWIG_fail;
d14a1e28
RD
23518 }
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
4f89f6a3
RD
23526 {
23527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23528 }
d14a1e28
RD
23529 return resultobj;
23530 fail:
23531 return NULL;
23532}
23533
23534
23535static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23536 PyObject *resultobj;
23537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23538 int arg2 ;
23539 bool result;
23540 PyObject * obj0 = 0 ;
994141e6 23541 PyObject * obj1 = 0 ;
d14a1e28
RD
23542 char *kwnames[] = {
23543 (char *) "self",(char *) "pageNum", NULL
23544 };
23545
994141e6 23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23549 arg2 = (int) SWIG_AsInt(obj1);
23550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (bool)(arg1)->RenderPage(arg2);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
4f89f6a3
RD
23558 {
23559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23560 }
d14a1e28
RD
23561 return resultobj;
23562 fail:
23563 return NULL;
23564}
23565
23566
23567static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23570 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "canvas", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 (arg1)->AdjustScrollbars(arg2);
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 Py_INCREF(Py_None); resultobj = Py_None;
23590 return resultobj;
23591 fail:
23592 return NULL;
23593}
23594
23595
23596static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23599 wxPrintDialogData *result;
23600 PyObject * obj0 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self", NULL
23603 };
23604
23605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
23606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 {
23611 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23612 result = (wxPrintDialogData *) &_result_ref;
23613 }
23614
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
15afbcd0 23618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
23619 return resultobj;
23620 fail:
23621 return NULL;
23622}
23623
23624
23625static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23626 PyObject *resultobj;
23627 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23628 int arg2 ;
23629 PyObject * obj0 = 0 ;
994141e6 23630 PyObject * obj1 = 0 ;
d14a1e28
RD
23631 char *kwnames[] = {
23632 (char *) "self",(char *) "percent", NULL
23633 };
23634
994141e6 23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23638 arg2 = (int) SWIG_AsInt(obj1);
23639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->SetZoom(arg2);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 return resultobj;
23649 fail:
23650 return NULL;
23651}
23652
23653
23654static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj;
23656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23657 int result;
23658 PyObject * obj0 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
15afbcd0
RD
23664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 result = (int)(arg1)->GetZoom();
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
15afbcd0 23673 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23674 return resultobj;
23675 fail:
23676 return NULL;
23677}
23678
23679
23680static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23683 int result;
23684 PyObject * obj0 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "self", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23692 {
23693 PyThreadState* __tstate = wxPyBeginAllowThreads();
23694 result = (int)(arg1)->GetMaxPage();
23695
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
15afbcd0 23699 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23700 return resultobj;
23701 fail:
23702 return NULL;
23703}
23704
23705
23706static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23707 PyObject *resultobj;
23708 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23709 int result;
23710 PyObject * obj0 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 result = (int)(arg1)->GetMinPage();
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
15afbcd0 23725 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23726 return resultobj;
23727 fail:
23728 return NULL;
23729}
23730
23731
23732static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23735 bool result;
23736 PyObject * obj0 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 result = (bool)(arg1)->Ok();
23747
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
4f89f6a3
RD
23751 {
23752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23753 }
d14a1e28
RD
23754 return resultobj;
23755 fail:
23756 return NULL;
23757}
23758
23759
23760static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj;
23762 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23763 bool arg2 ;
23764 PyObject * obj0 = 0 ;
23765 PyObject * obj1 = 0 ;
23766 char *kwnames[] = {
23767 (char *) "self",(char *) "ok", NULL
23768 };
23769
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23773 arg2 = (bool) SWIG_AsBool(obj1);
23774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23775 {
23776 PyThreadState* __tstate = wxPyBeginAllowThreads();
23777 (arg1)->SetOk(arg2);
23778
23779 wxPyEndAllowThreads(__tstate);
23780 if (PyErr_Occurred()) SWIG_fail;
23781 }
23782 Py_INCREF(Py_None); resultobj = Py_None;
23783 return resultobj;
23784 fail:
23785 return NULL;
23786}
23787
23788
23789static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23790 PyObject *resultobj;
23791 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23792 bool arg2 ;
23793 bool result;
23794 PyObject * obj0 = 0 ;
23795 PyObject * obj1 = 0 ;
23796 char *kwnames[] = {
23797 (char *) "self",(char *) "interactive", NULL
23798 };
23799
23800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23803 arg2 = (bool) SWIG_AsBool(obj1);
23804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 result = (bool)(arg1)->Print(arg2);
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
4f89f6a3
RD
23812 {
23813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23814 }
d14a1e28
RD
23815 return resultobj;
23816 fail:
23817 return NULL;
23818}
23819
23820
23821static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj;
23823 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23824 PyObject * obj0 = 0 ;
23825 char *kwnames[] = {
23826 (char *) "self", NULL
23827 };
23828
23829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
23830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 (arg1)->DetermineScaling();
23835
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 Py_INCREF(Py_None); resultobj = Py_None;
23840 return resultobj;
23841 fail:
23842 return NULL;
23843}
23844
23845
23846static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23847 PyObject *obj;
23848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23849 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23850 Py_INCREF(obj);
23851 return Py_BuildValue((char *)"");
23852}
4276dc52 23853static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23854 PyObject *resultobj;
23855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23856 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 23857 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
23858 wxPyPrintPreview *result;
23859 PyObject * obj0 = 0 ;
23860 PyObject * obj1 = 0 ;
23861 PyObject * obj2 = 0 ;
d14a1e28 23862
4276dc52 23863 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23868 if (obj2) {
4276dc52 23869 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 23870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23871 }
23872 {
e3b71cb8 23873 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23876
23877 wxPyEndAllowThreads(__tstate);
e3b71cb8 23878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23879 }
15afbcd0 23880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
23881 return resultobj;
23882 fail:
23883 return NULL;
23884}
23885
23886
4276dc52
RD
23887static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23888 PyObject *resultobj;
23889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23890 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23891 wxPrintData *arg3 = (wxPrintData *) 0 ;
23892 wxPyPrintPreview *result;
23893 PyObject * obj0 = 0 ;
23894 PyObject * obj1 = 0 ;
23895 PyObject * obj2 = 0 ;
23896
23897 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23904 {
e3b71cb8 23905 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23908
23909 wxPyEndAllowThreads(__tstate);
e3b71cb8 23910 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
23911 }
23912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23913 return resultobj;
23914 fail:
23915 return NULL;
23916}
23917
23918
23919static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23920 int argc;
23921 PyObject *argv[4];
23922 int ii;
23923
23924 argc = PyObject_Length(args);
23925 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23926 argv[ii] = PyTuple_GetItem(args,ii);
23927 }
23928 if ((argc >= 2) && (argc <= 3)) {
23929 int _v;
23930 {
23931 void *ptr;
23932 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23933 _v = 0;
23934 PyErr_Clear();
23935 } else {
23936 _v = 1;
23937 }
23938 }
23939 if (_v) {
23940 {
23941 void *ptr;
23942 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23943 _v = 0;
23944 PyErr_Clear();
23945 } else {
23946 _v = 1;
23947 }
23948 }
23949 if (_v) {
23950 if (argc <= 2) {
23951 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23952 }
23953 {
23954 void *ptr;
23955 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23956 _v = 0;
23957 PyErr_Clear();
23958 } else {
23959 _v = 1;
23960 }
23961 }
23962 if (_v) {
23963 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23964 }
23965 }
23966 }
23967 }
23968 if (argc == 3) {
23969 int _v;
23970 {
23971 void *ptr;
23972 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23973 _v = 0;
23974 PyErr_Clear();
23975 } else {
23976 _v = 1;
23977 }
23978 }
23979 if (_v) {
23980 {
23981 void *ptr;
23982 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23983 _v = 0;
23984 PyErr_Clear();
23985 } else {
23986 _v = 1;
23987 }
23988 }
23989 if (_v) {
23990 {
23991 void *ptr;
23992 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23993 _v = 0;
23994 PyErr_Clear();
23995 } else {
23996 _v = 1;
23997 }
23998 }
23999 if (_v) {
24000 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24001 }
24002 }
24003 }
24004 }
24005
24006 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24007 return NULL;
24008}
24009
24010
d14a1e28
RD
24011static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24014 PyObject *arg2 = (PyObject *) 0 ;
24015 PyObject *arg3 = (PyObject *) 0 ;
24016 PyObject * obj0 = 0 ;
24017 PyObject * obj1 = 0 ;
24018 PyObject * obj2 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self",(char *) "self",(char *) "_class", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24026 arg2 = obj1;
24027 arg3 = obj2;
24028 {
24029 PyThreadState* __tstate = wxPyBeginAllowThreads();
24030 (arg1)->_setCallbackInfo(arg2,arg3);
24031
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
24035 Py_INCREF(Py_None); resultobj = Py_None;
24036 return resultobj;
24037 fail:
24038 return NULL;
24039}
24040
24041
24042static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24045 int arg2 ;
24046 bool result;
24047 PyObject * obj0 = 0 ;
994141e6 24048 PyObject * obj1 = 0 ;
d14a1e28
RD
24049 char *kwnames[] = {
24050 (char *) "self",(char *) "pageNum", NULL
24051 };
24052
994141e6 24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24056 arg2 = (int) SWIG_AsInt(obj1);
24057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24061
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
4f89f6a3
RD
24065 {
24066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24067 }
d14a1e28
RD
24068 return resultobj;
24069 fail:
24070 return NULL;
24071}
24072
24073
24074static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24075 PyObject *resultobj;
24076 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24077 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24078 wxDC *arg3 = 0 ;
24079 bool result;
24080 PyObject * obj0 = 0 ;
24081 PyObject * obj1 = 0 ;
24082 PyObject * obj2 = 0 ;
24083 char *kwnames[] = {
24084 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24085 };
24086
24087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24092 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24093 SWIG_POINTER_EXCEPTION | 0)) == -1)
24094 SWIG_fail;
d14a1e28 24095 if (arg3 == NULL) {
15afbcd0
RD
24096 PyErr_SetString(PyExc_TypeError,"null reference");
24097 SWIG_fail;
d14a1e28
RD
24098 }
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
4f89f6a3
RD
24106 {
24107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24108 }
d14a1e28
RD
24109 return resultobj;
24110 fail:
24111 return NULL;
24112}
24113
24114
24115static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24118 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24119 wxDC *arg3 = 0 ;
24120 bool result;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 PyObject * obj2 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24133 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24134 SWIG_POINTER_EXCEPTION | 0)) == -1)
24135 SWIG_fail;
d14a1e28 24136 if (arg3 == NULL) {
15afbcd0
RD
24137 PyErr_SetString(PyExc_TypeError,"null reference");
24138 SWIG_fail;
d14a1e28
RD
24139 }
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
4f89f6a3
RD
24147 {
24148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24149 }
d14a1e28
RD
24150 return resultobj;
24151 fail:
24152 return NULL;
24153}
24154
24155
24156static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24157 PyObject *resultobj;
24158 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24159 int arg2 ;
24160 bool result;
24161 PyObject * obj0 = 0 ;
994141e6 24162 PyObject * obj1 = 0 ;
d14a1e28
RD
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "pageNum", NULL
24165 };
24166
994141e6 24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24170 arg2 = (int) SWIG_AsInt(obj1);
24171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 result = (bool)(arg1)->base_RenderPage(arg2);
24175
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
4f89f6a3
RD
24179 {
24180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24181 }
d14a1e28
RD
24182 return resultobj;
24183 fail:
24184 return NULL;
24185}
24186
24187
24188static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24191 int arg2 ;
24192 PyObject * obj0 = 0 ;
994141e6 24193 PyObject * obj1 = 0 ;
d14a1e28
RD
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "percent", NULL
24196 };
24197
994141e6 24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24201 arg2 = (int) SWIG_AsInt(obj1);
24202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->base_SetZoom(arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214}
24215
24216
24217static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24220 bool arg2 ;
24221 bool result;
24222 PyObject * obj0 = 0 ;
24223 PyObject * obj1 = 0 ;
24224 char *kwnames[] = {
24225 (char *) "self",(char *) "interactive", NULL
24226 };
24227
24228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24231 arg2 = (bool) SWIG_AsBool(obj1);
24232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24233 {
24234 PyThreadState* __tstate = wxPyBeginAllowThreads();
24235 result = (bool)(arg1)->base_Print(arg2);
24236
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
4f89f6a3
RD
24240 {
24241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24242 }
d14a1e28
RD
24243 return resultobj;
24244 fail:
24245 return NULL;
24246}
24247
24248
24249static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24250 PyObject *resultobj;
24251 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24252 PyObject * obj0 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 (arg1)->base_DetermineScaling();
24263
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 Py_INCREF(Py_None); resultobj = Py_None;
24268 return resultobj;
24269 fail:
24270 return NULL;
24271}
24272
24273
24274static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24275 PyObject *obj;
24276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24277 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24278 Py_INCREF(obj);
24279 return Py_BuildValue((char *)"");
24280}
24281static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24284 wxFrame *arg2 = (wxFrame *) 0 ;
24285 wxString *arg3 = 0 ;
24286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24288 wxSize const &arg5_defvalue = wxDefaultSize ;
24289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24290 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24291 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24292 wxString *arg7 = (wxString *) &arg7_defvalue ;
24293 wxPyPreviewFrame *result;
e811c8ce 24294 bool temp3 = False ;
d14a1e28
RD
24295 wxPoint temp4 ;
24296 wxSize temp5 ;
e811c8ce 24297 bool temp7 = False ;
d14a1e28
RD
24298 PyObject * obj0 = 0 ;
24299 PyObject * obj1 = 0 ;
24300 PyObject * obj2 = 0 ;
24301 PyObject * obj3 = 0 ;
24302 PyObject * obj4 = 0 ;
994141e6 24303 PyObject * obj5 = 0 ;
d14a1e28
RD
24304 PyObject * obj6 = 0 ;
24305 char *kwnames[] = {
24306 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24307 };
24308
994141e6 24309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24314 {
24315 arg3 = wxString_in_helper(obj2);
24316 if (arg3 == NULL) SWIG_fail;
e811c8ce 24317 temp3 = True;
d14a1e28
RD
24318 }
24319 if (obj3) {
24320 {
24321 arg4 = &temp4;
24322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24323 }
24324 }
24325 if (obj4) {
24326 {
24327 arg5 = &temp5;
24328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24329 }
24330 }
994141e6 24331 if (obj5) {
15afbcd0
RD
24332 arg6 = (long) SWIG_AsLong(obj5);
24333 if (PyErr_Occurred()) SWIG_fail;
994141e6 24334 }
d14a1e28
RD
24335 if (obj6) {
24336 {
24337 arg7 = wxString_in_helper(obj6);
24338 if (arg7 == NULL) SWIG_fail;
e811c8ce 24339 temp7 = True;
d14a1e28
RD
24340 }
24341 }
24342 {
e3b71cb8 24343 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24346
24347 wxPyEndAllowThreads(__tstate);
e3b71cb8 24348 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24349 }
15afbcd0 24350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
24351 {
24352 if (temp3)
24353 delete arg3;
24354 }
24355 {
24356 if (temp7)
24357 delete arg7;
24358 }
24359 return resultobj;
24360 fail:
24361 {
24362 if (temp3)
24363 delete arg3;
24364 }
24365 {
24366 if (temp7)
24367 delete arg7;
24368 }
24369 return NULL;
24370}
24371
24372
24373static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj;
24375 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24376 PyObject *arg2 = (PyObject *) 0 ;
24377 PyObject *arg3 = (PyObject *) 0 ;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 PyObject * obj2 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self",(char *) "self",(char *) "_class", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24388 arg2 = obj1;
24389 arg3 = obj2;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 (arg1)->_setCallbackInfo(arg2,arg3);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 Py_INCREF(Py_None); resultobj = Py_None;
24398 return resultobj;
24399 fail:
24400 return NULL;
24401}
24402
24403
24404static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj;
24406 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24407 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410 char *kwnames[] = {
24411 (char *) "self",(char *) "canvas", NULL
24412 };
24413
24414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 (arg1)->SetPreviewCanvas(arg2);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 Py_INCREF(Py_None); resultobj = Py_None;
24427 return resultobj;
24428 fail:
24429 return NULL;
24430}
24431
24432
24433static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24436 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24437 PyObject * obj0 = 0 ;
24438 PyObject * obj1 = 0 ;
24439 char *kwnames[] = {
24440 (char *) "self",(char *) "bar", NULL
24441 };
24442
24443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 (arg1)->SetControlBar(arg2);
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 Py_INCREF(Py_None); resultobj = Py_None;
24456 return resultobj;
24457 fail:
24458 return NULL;
24459}
24460
24461
24462static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj;
24464 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24465 PyObject * obj0 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 (arg1)->base_Initialize();
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 Py_INCREF(Py_None); resultobj = Py_None;
24481 return resultobj;
24482 fail:
24483 return NULL;
24484}
24485
24486
24487static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24488 PyObject *resultobj;
24489 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24490 PyObject * obj0 = 0 ;
24491 char *kwnames[] = {
24492 (char *) "self", NULL
24493 };
24494
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
24496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 (arg1)->base_CreateCanvas();
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 Py_INCREF(Py_None); resultobj = Py_None;
24506 return resultobj;
24507 fail:
24508 return NULL;
24509}
24510
24511
24512static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj;
24514 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24515 PyObject * obj0 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
24521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 (arg1)->base_CreateControlBar();
24526
24527 wxPyEndAllowThreads(__tstate);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 }
24530 Py_INCREF(Py_None); resultobj = Py_None;
24531 return resultobj;
24532 fail:
24533 return NULL;
24534}
24535
24536
24537static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24538 PyObject *obj;
24539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24540 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24541 Py_INCREF(obj);
24542 return Py_BuildValue((char *)"");
24543}
24544static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj;
24546 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24547 long arg2 ;
24548 wxWindow *arg3 = (wxWindow *) 0 ;
24549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24551 wxSize const &arg5_defvalue = wxDefaultSize ;
24552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24553 long arg6 = (long) 0 ;
24554 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24555 wxString *arg7 = (wxString *) &arg7_defvalue ;
24556 wxPyPreviewControlBar *result;
24557 wxPoint temp4 ;
24558 wxSize temp5 ;
e811c8ce 24559 bool temp7 = False ;
d14a1e28 24560 PyObject * obj0 = 0 ;
994141e6 24561 PyObject * obj1 = 0 ;
d14a1e28
RD
24562 PyObject * obj2 = 0 ;
24563 PyObject * obj3 = 0 ;
24564 PyObject * obj4 = 0 ;
994141e6 24565 PyObject * obj5 = 0 ;
d14a1e28
RD
24566 PyObject * obj6 = 0 ;
24567 char *kwnames[] = {
24568 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24569 };
24570
994141e6 24571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24574 arg2 = (long) SWIG_AsLong(obj1);
24575 if (PyErr_Occurred()) SWIG_fail;
24576 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24578 if (obj3) {
24579 {
24580 arg4 = &temp4;
24581 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24582 }
24583 }
24584 if (obj4) {
24585 {
24586 arg5 = &temp5;
24587 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24588 }
24589 }
994141e6 24590 if (obj5) {
15afbcd0
RD
24591 arg6 = (long) SWIG_AsLong(obj5);
24592 if (PyErr_Occurred()) SWIG_fail;
994141e6 24593 }
d14a1e28
RD
24594 if (obj6) {
24595 {
24596 arg7 = wxString_in_helper(obj6);
24597 if (arg7 == NULL) SWIG_fail;
e811c8ce 24598 temp7 = True;
d14a1e28
RD
24599 }
24600 }
24601 {
e3b71cb8 24602 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24605
24606 wxPyEndAllowThreads(__tstate);
e3b71cb8 24607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24608 }
15afbcd0 24609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
24610 {
24611 if (temp7)
24612 delete arg7;
24613 }
24614 return resultobj;
24615 fail:
24616 {
24617 if (temp7)
24618 delete arg7;
24619 }
24620 return NULL;
24621}
24622
24623
24624static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj;
24626 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24627 PyObject *arg2 = (PyObject *) 0 ;
24628 PyObject *arg3 = (PyObject *) 0 ;
24629 PyObject * obj0 = 0 ;
24630 PyObject * obj1 = 0 ;
24631 PyObject * obj2 = 0 ;
24632 char *kwnames[] = {
24633 (char *) "self",(char *) "self",(char *) "_class", NULL
24634 };
24635
24636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24639 arg2 = obj1;
24640 arg3 = obj2;
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 (arg1)->_setCallbackInfo(arg2,arg3);
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 Py_INCREF(Py_None); resultobj = Py_None;
24649 return resultobj;
24650 fail:
24651 return NULL;
24652}
24653
24654
24655static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24656 PyObject *resultobj;
24657 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24658 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24659 PyObject * obj0 = 0 ;
24660 PyObject * obj1 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "preview", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 (arg1)->SetPrintPreview(arg2);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 Py_INCREF(Py_None); resultobj = Py_None;
24678 return resultobj;
24679 fail:
24680 return NULL;
24681}
24682
24683
24684static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24687 PyObject * obj0 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 (arg1)->base_CreateButtons();
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 Py_INCREF(Py_None); resultobj = Py_None;
24703 return resultobj;
24704 fail:
24705 return NULL;
24706}
24707
24708
24709static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj;
24711 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24712 int arg2 ;
24713 PyObject * obj0 = 0 ;
994141e6 24714 PyObject * obj1 = 0 ;
d14a1e28
RD
24715 char *kwnames[] = {
24716 (char *) "self",(char *) "zoom", NULL
24717 };
24718
994141e6 24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24722 arg2 = (int) SWIG_AsInt(obj1);
24723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 (arg1)->base_SetZoomControl(arg2);
24727
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
24731 Py_INCREF(Py_None); resultobj = Py_None;
24732 return resultobj;
24733 fail:
24734 return NULL;
24735}
24736
24737
24738static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24739 PyObject *obj;
24740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24741 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24742 Py_INCREF(obj);
24743 return Py_BuildValue((char *)"");
24744}
24745static PyMethodDef SwigMethods[] = {
24746 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22bfe96c 24750 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24751 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24752 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24767 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24768 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22bfe96c 24772 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24773 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
24774 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24788 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22bfe96c 24810 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24811 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24812 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24819 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22bfe96c 24822 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24823 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24824 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24828 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24832 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24837 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22bfe96c 24851 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24852 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24853 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
d00d1b88 24865 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24866 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22bfe96c 24879 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24880 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24881 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24888 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24911 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24919 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24931 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24937 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24946 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24952 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24957 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24963 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24967 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24985 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25011 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
7fdaaabe 25017 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25018 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25019 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
74a57fcd 25021 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25022 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25028 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25030 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25039 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25041 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25042 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25048 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25049 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25067 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25071 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25075 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25076 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25079 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25080 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
15afbcd0 25096 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28 25097 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25098 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25099 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25100 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25101 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25105 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25114 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25123 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25129 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25141 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25148 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25152 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 25153 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
d14a1e28 25154 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
db3e571a 25155 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25156 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
25174 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
db3e571a 25176 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25177 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25178 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 25179 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
d14a1e28 25180 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
db3e571a 25181 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25182 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
25200 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
db3e571a 25202 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 25203 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
1cb4a8aa
RD
25204 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
db3e571a 25207 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
25208 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
db3e571a 25228 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 25229 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
25230 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
db914595
RD
25273 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25275 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25276 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25308 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
4276dc52 25312 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
d14a1e28
RD
25313 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25346 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25351 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25362 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 25367 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
322913ce 25368 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25369 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 25382 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
322913ce 25383 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25384 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25385 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25387 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25393 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
4276dc52 25403 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
d14a1e28
RD
25404 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
4276dc52 25427 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
d14a1e28
RD
25428 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25437 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25445 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25451 { NULL, NULL }
25452};
25453
25454
25455/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25456
25457static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25458 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25459}
25460static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25461 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25462}
25463static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25464 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25465}
25466static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25467 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25468}
25469static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25470 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25471}
25472static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25473 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25474}
25475static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25476 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25477}
25478static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25479 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25480}
25481static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25482 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25483}
25484static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25485 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25486}
25487static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25489}
25490static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25491 return (void *)((wxEvent *) ((wxPyEvent *) x));
25492}
25493static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25494 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25495}
25496static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25497 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25498}
25499static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25500 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25501}
25502static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25503 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25504}
25505static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25506 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25507}
25508static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25509 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25510}
25511static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25512 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25513}
25514static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25515 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25516}
25517static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25518 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25519}
25520static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25521 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25522}
25523static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25524 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25525}
25526static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25527 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25528}
25529static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25530 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25531}
25532static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25533 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25534}
25535static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25536 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25537}
25538static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25539 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25540}
25541static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25542 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25543}
25544static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25545 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25546}
25547static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25548 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25549}
25550static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25552}
25553static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25555}
25556static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25557 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25558}
25559static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25560 return (void *)((wxEvent *) ((wxShowEvent *) x));
25561}
25562static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25563 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25564}
25565static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25567}
25568static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25569 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25570}
25571static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25572 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25573}
25574static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25575 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25576}
25577static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25578 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25579}
25580static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25581 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25582}
25583static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25584 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25585}
25586static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25587 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25588}
25589static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25591}
25592static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25593 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25594}
25595static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25596 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25597}
25598static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25599 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25600}
25601static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25602 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25603}
25604static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25605 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25606}
25607static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25608 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25609}
25610static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25612}
25613static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25615}
25616static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25618}
25619static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25621}
25622static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25624}
25625static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25627}
25628static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25629 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25630}
25631static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25632 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25633}
25634static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25635 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25636}
25637static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25638 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25639}
25640static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25641 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25642}
25643static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25644 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25645}
25646static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25647 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25648}
25649static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25650 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25651}
25652static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25654}
25655static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25656 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25657}
25658static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25659 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25660}
25661static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25662 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25663}
25664static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25666}
25667static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25668 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25669}
1cb4a8aa
RD
25670static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25671 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25672}
d14a1e28
RD
25673static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25674 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25675}
25676static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25677 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25678}
25679static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25680 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25681}
25682static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25683 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25684}
25685static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25686 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25687}
25688static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25689 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25690}
25691static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25692 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25693}
25694static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25695 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25696}
25697static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25698 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25699}
25700static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25701 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25702}
25703static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25704 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25705}
25706static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25707 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25708}
25709static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25710 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25711}
25712static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25713 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25714}
25715static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25716 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25717}
25718static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25719 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25720}
25721static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25722 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25723}
25724static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25725 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25726}
25727static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25728 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25729}
25730static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25732}
25733static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25735}
25736static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25737 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25738}
25739static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25740 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25741}
25742static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25743 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25744}
25745static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25746 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25747}
25748static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25749 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25750}
25751static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25752 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25753}
25754static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25755 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25756}
25757static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25758 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25759}
25760static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25761 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25762}
25763static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25764 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25765}
25766static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25768}
25769static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25771}
25772static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25773 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25774}
25775static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25776 return (void *)((wxObject *) ((wxSizerItem *) x));
25777}
25778static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25780}
25781static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25782 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25783}
25784static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25785 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25786}
25787static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25788 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25789}
25790static void *_p_wxSizerTo_p_wxObject(void *x) {
25791 return (void *)((wxObject *) ((wxSizer *) x));
25792}
25793static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25794 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25795}
25796static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25798}
25799static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25801}
25802static void *_p_wxEventTo_p_wxObject(void *x) {
25803 return (void *)((wxObject *) ((wxEvent *) x));
25804}
25805static void *_p_wxFontDataTo_p_wxObject(void *x) {
25806 return (void *)((wxObject *) ((wxFontData *) x));
25807}
25808static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25809 return (void *)((wxObject *) ((wxPrintData *) x));
25810}
25811static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25812 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25813}
25814static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25815 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25816}
25817static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25818 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25819}
25820static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25821 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25822}
25823static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25824 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25825}
25826static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25828}
25829static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25830 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25831}
25832static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25833 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25834}
25835static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25836 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25837}
25838static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25839 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25840}
25841static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25842 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25843}
25844static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25845 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25846}
25847static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25849}
25850static void *_p_wxControlTo_p_wxObject(void *x) {
25851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25852}
25853static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25854 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25855}
25856static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25857 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25858}
25859static void *_p_wxFSFileTo_p_wxObject(void *x) {
25860 return (void *)((wxObject *) ((wxFSFile *) x));
25861}
25862static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25863 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25864}
25865static void *_p_wxPySizerTo_p_wxObject(void *x) {
25866 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25867}
25868static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25870}
25871static void *_p_wxColourDataTo_p_wxObject(void *x) {
25872 return (void *)((wxObject *) ((wxColourData *) x));
25873}
25874static void *_p_wxPyEventTo_p_wxObject(void *x) {
25875 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25876}
25877static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25879}
25880static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25882}
25883static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25885}
25886static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25888}
25889static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25891}
25892static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25894}
25895static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25897}
25898static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25900}
25901static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25903}
25904static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25906}
25907static void *_p_wxShowEventTo_p_wxObject(void *x) {
25908 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25909}
25910static void *_p_wxPrinterTo_p_wxObject(void *x) {
25911 return (void *)((wxObject *) ((wxPrinter *) x));
25912}
25913static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25914 return (void *)((wxObject *) ((wxMenuItem *) x));
25915}
25916static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25917 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25918}
25919static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25921}
25922static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25923 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25924}
25925static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25926 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25927}
25928static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25929 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25930}
25931static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25932 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25933}
25934static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25935 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25936}
25937static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25938 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25939}
25940static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25941 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25942}
25943static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25944 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25945}
25946static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25947 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25948}
25949static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25950 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25951}
25952static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25953 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25954}
25955static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25956 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25957}
25958static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25959 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25960}
25961static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25962 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25963}
25964static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25965 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25966}
25967static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25968 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25969}
25970static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25971 return (void *)((wxObject *) ((wxImageHandler *) x));
25972}
25973static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25974 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25975}
25976static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25977 return (void *)((wxObject *) ((wxEvtHandler *) x));
25978}
25979static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25980 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25981}
25982static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25984}
25985static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25987}
25988static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25989 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25990}
25991static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25993}
25994static void *_p_wxImageTo_p_wxObject(void *x) {
25995 return (void *)((wxObject *) ((wxImage *) x));
25996}
25997static void *_p_wxFrameTo_p_wxObject(void *x) {
25998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25999}
26000static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26001 return (void *)((wxObject *) ((wxPyPrintout *) x));
26002}
26003static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26004 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26005}
26006static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26007 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26008}
26009static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26011}
26012static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26014}
26015static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26016 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26017}
26018static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26019 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26020}
26021static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26022 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26023}
d14a1e28
RD
26024static void *_p_wxWindowTo_p_wxObject(void *x) {
26025 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26026}
26027static void *_p_wxMenuTo_p_wxObject(void *x) {
26028 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26029}
26030static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26032}
1e0c8722
RD
26033static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26035}
d14a1e28
RD
26036static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26038}
26039static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26041}
26042static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26044}
26045static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26047}
26048static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26050}
26051static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26053}
26054static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26056}
26057static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26059}
26060static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26062}
26063static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26065}
1cb4a8aa
RD
26066static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26068}
d14a1e28
RD
26069static void *_p_wxSashEventTo_p_wxObject(void *x) {
26070 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26071}
26072static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26073 return (void *)((wxObject *) ((wxPrintPreview *) x));
26074}
26075static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26076 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26077}
26078static void *_p_wxPanelTo_p_wxObject(void *x) {
26079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26080}
26081static void *_p_wxDialogTo_p_wxObject(void *x) {
26082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26083}
26084static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26086}
26087static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26089}
26090static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26092}
26093static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26095}
26096static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26098}
26099static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26100 return (void *)((wxObject *) ((wxFileSystem *) x));
26101}
26102static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26103 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26104}
26105static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26106 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26107}
26108static void *_p_wxPyAppTo_p_wxObject(void *x) {
26109 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26110}
26111static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26112 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26113}
26114static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26115 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26116}
26117static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26118 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26119}
26120static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26121 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26122}
26123static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26124 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26125}
26126static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26128}
26129static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26131}
26132static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26133 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26134}
26135static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26136 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26137}
26138static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26139 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26140}
26141static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26143}
26144static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26145 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26146}
26147static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26148 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26149}
26150static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26151 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26152}
26153static void *_p_wxValidatorTo_p_wxObject(void *x) {
26154 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26155}
26156static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26157 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26158}
26159static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26160 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26161}
26162static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26163 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26164}
26165static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26166 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26167}
26168static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26169 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26170}
26171static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26172 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26173}
26174static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26175 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26176}
26177static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26178 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26179}
26180static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26181 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26182}
26183static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26184 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26185}
26186static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26187 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26188}
26189static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26190 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26191}
26192static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26193 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26194}
26195static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26196 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26197}
26198static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26199 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26200}
26201static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26202 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26203}
26204static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26205 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26206}
26207static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26208 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26209}
26210static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26211 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26212}
26213static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26214 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26215}
26216static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26217 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26218}
26219static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26220 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26221}
26222static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26223 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26224}
26225static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26226 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26227}
26228static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26229 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26230}
26231static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26232 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26233}
26234static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26235 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26236}
26237static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26238 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26239}
26240static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26241 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26242}
26243static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26244 return (void *)((wxWindow *) ((wxMenuBar *) x));
26245}
26246static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26248}
26249static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26251}
26252static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26254}
26255static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26257}
26258static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26260}
26261static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26262 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26263}
26264static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26266}
26267static void *_p_wxPanelTo_p_wxWindow(void *x) {
26268 return (void *)((wxWindow *) ((wxPanel *) x));
26269}
26270static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26271 return (void *)((wxWindow *) ((wxStatusBar *) x));
26272}
26273static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26274 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26275}
26276static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26277 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26278}
26279static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26280 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26281}
26282static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26283 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26284}
26285static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26286 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26287}
26288static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26289 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26290}
26291static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26292 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26293}
26294static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26295 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26296}
26297static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26298 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26299}
26300static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26301 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26302}
26303static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26304 return (void *)((wxWindow *) ((wxSashWindow *) x));
26305}
1cb4a8aa
RD
26306static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26307 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26308}
d14a1e28
RD
26309static void *_p_wxControlTo_p_wxWindow(void *x) {
26310 return (void *)((wxWindow *) ((wxControl *) x));
26311}
26312static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26313 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26314}
26315static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26316 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26317}
26318static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26319 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26320}
26321static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26322 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26323}
26324static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26325 return (void *)((wxWindow *) ((wxPyWindow *) x));
26326}
26327static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26328 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26329}
26330static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26331 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26332}
26333static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26334 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26335}
26336static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26337 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26338}
26339static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26340 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26341}
26342static void *_p_wxFrameTo_p_wxWindow(void *x) {
26343 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26344}
26345static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26346 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26347}
26348static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26350}
26351static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26352 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26353}
26354static void *_p_wxDialogTo_p_wxWindow(void *x) {
26355 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26356}
26357static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26358 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26359}
26360static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26362}
26363static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26365}
1cb4a8aa
RD
26366static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26367 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26368}
d14a1e28
RD
26369static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26370 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26371}
26372static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26373 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26374}
26375static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26376 return (void *)((wxDialog *) ((wxColourDialog *) x));
26377}
26378static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26379 return (void *)((wxDialog *) ((wxDirDialog *) x));
26380}
26381static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26382 return (void *)((wxDialog *) ((wxFontDialog *) x));
26383}
26384static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26385 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26386}
26387static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26388 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26389}
26390static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26391 return (void *)((wxDialog *) ((wxFileDialog *) x));
26392}
26393static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26394 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26395}
26396static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26397 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26398}
26399static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26400 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26401}
26402static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26403 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26404}
26405static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26406 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26407}
26408static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26409 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26410}
26411static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26412 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26413}
1cb4a8aa
RD
26414static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26415 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26416}
d14a1e28
RD
26417static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26418 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26419}
26420static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26421 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26422}
26423static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26424 return (void *)((wxPanel *) ((wxPyPanel *) x));
26425}
26426static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26427 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26428}
26429static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26430 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26431}
26432static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26433 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26434}
26435static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26436 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26437}
26438static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26439 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26440}
26441static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26442 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26443}
26444static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26445 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26446}
26447static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26448 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26449}
26450static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26451 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26452}
26453static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26454 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26455}
26456static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26457 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26458}
26459static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26460 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26461}
26462static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26463 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26464}
26465static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26466 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26467}
26468static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26469 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26470}
15afbcd0
RD
26471static 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}};
26472static 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}};
26473static 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}};
26474static 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}};
26475static 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}};
15afbcd0
RD
26476static 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}};
26477static 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}};
22bfe96c 26478static 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}};
15afbcd0
RD
26479static 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}};
26480static 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}};
26481static 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}};
26482static 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}};
26483static 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}};
26484static 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}};
26485static 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}};
26486static 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}};
26487static 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}};
26488static 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}};
26489static 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}};
26490static 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}};
26491static 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}};
22bfe96c 26492static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
26493static 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}};
26494static 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}};
26495static 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}};
26496static 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}};
26497static 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}};
26498static 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}};
26499static 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}};
26500static 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}};
26501static 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}};
26502static 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}};
26503static 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}};
26504static 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}};
26505static 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}};
26506static 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 26507static 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
26508static 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}};
26509static 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}};
26510static 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}};
26511static 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}};
26512static 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}};
26513static 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}};
26514static 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}};
26515static 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}};
26516static 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}};
26517static 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}};
26518static 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}};
26519static 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}};
26520static 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 26521static 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
26522static 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}};
26523static 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 26524static 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
26525static 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}};
26526static 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}};
26527static 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}};
26528static 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}};
26529static 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}};
26530static 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}};
26531static 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}};
26532static 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}};
26533static 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
26534static 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}};
26535static 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
26536static 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}};
26537static 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}};
26538static 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}};
26539static 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}};
26540static 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}};
26541static 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}};
26542static 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}};
26543static 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}};
26544static 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}};
26545static 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 26546static 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
26547static 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}};
26548static 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}};
7fdaaabe 26549static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
26550static 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}};
26551static 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}};
26552static 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}};
26553static 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}};
26554static 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}};
26555static 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}};
26556static 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}};
26557static 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
26558
26559static swig_type_info *swig_types_initial[] = {
26560_swigt__p_wxQueryLayoutInfoEvent,
26561_swigt__p_wxPreviewFrame,
26562_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
26563_swigt__p_wxPyPanel,
26564_swigt__p_wxMenu,
d14a1e28
RD
26565_swigt__p_wxFontData,
26566_swigt__p_wxEvent,
22bfe96c 26567_swigt__p_wxPrintData,
d14a1e28
RD
26568_swigt__p_wxTaskBarIcon,
26569_swigt__p_wxIconBundle,
26570_swigt__p_wxLayoutAlgorithm,
26571_swigt__p_wxFindDialogEvent,
26572_swigt__p_wxPreviewCanvas,
26573_swigt__p_wxFont,
26574_swigt__p_wxSplitterEvent,
26575_swigt__p_wxRegion,
26576_swigt__p_wxFindReplaceData,
26577_swigt__p_int,
26578_swigt__p_wxSize,
26579_swigt__p_wxDC,
26580_swigt__p_wxIcon,
22bfe96c 26581_swigt__p_wxVisualAttributes,
d14a1e28
RD
26582_swigt__p_wxMDIChildFrame,
26583_swigt__p_wxColourData,
26584_swigt__p_wxNotifyEvent,
26585_swigt__p_wxPyWindow,
26586_swigt__p_wxSplashScreen,
26587_swigt__p_wxFindReplaceDialog,
26588_swigt__p_wxProgressDialog,
26589_swigt__p_wxMessageDialog,
26590_swigt__p_wxTextEntryDialog,
26591_swigt__p_wxSingleChoiceDialog,
26592_swigt__p_wxMultiChoiceDialog,
26593_swigt__p_wxFileDialog,
26594_swigt__p_wxPrinter,
d14a1e28
RD
26595_swigt__p_wxArrayInt,
26596_swigt__p_wxEvtHandler,
26597_swigt__p_wxCalculateLayoutEvent,
26598_swigt__p_wxPyHtmlListBox,
26599_swigt__p_wxPyVListBox,
26600_swigt__p_wxRect,
994141e6 26601_swigt__p_char,
d14a1e28
RD
26602_swigt__p_wxMiniFrame,
26603_swigt__p_wxFrame,
26604_swigt__p_wxPyPrintout,
26605_swigt__p_wxTaskBarIconEvent,
26606_swigt__p_wxScrollWinEvent,
26607_swigt__p_wxStatusBar,
26608_swigt__p_wxMDIParentFrame,
26609_swigt__p_wxPoint,
26610_swigt__p_wxObject,
db914595 26611_swigt__p_wxOutputStream,
d14a1e28 26612_swigt__p_unsigned_long,
1cb4a8aa 26613_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
26614_swigt__p_wxMDIClientWindow,
26615_swigt__p_wxTipWindow,
26616_swigt__p_wxSashLayoutWindow,
26617_swigt__p_wxSplitterWindow,
d14a1e28
RD
26618_swigt__p_wxPyVScrolledWindow,
26619_swigt__p_wxPyPopupTransientWindow,
26620_swigt__p_wxPopupWindow,
26621_swigt__p_wxSashWindow,
26622_swigt__p_wxTopLevelWindow,
26623_swigt__p_wxWindow,
26624_swigt__p_wxScrolledWindow,
1e0c8722 26625_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
26626_swigt__p_wxMenuBar,
26627_swigt__p_wxPrintPreview,
26628_swigt__p_wxSashEvent,
26629_swigt__p_wxString,
26630_swigt__p_wxPyPrintPreview,
26631_swigt__p_wxFontDialog,
26632_swigt__p_wxDirDialog,
26633_swigt__p_wxColourDialog,
26634_swigt__p_wxDialog,
26635_swigt__p_wxPanel,
db914595 26636_swigt__p_wxPageSetupDialog,
d14a1e28 26637_swigt__p_wxPrintDialog,
7fdaaabe 26638_swigt__p_wxFileSystem,
d14a1e28
RD
26639_swigt__p_wxBitmap,
26640_swigt__p_wxCommandEvent,
d14a1e28
RD
26641_swigt__p_wxPreviewControlBar,
26642_swigt__p_wxPyPreviewControlBar,
26643_swigt__p_wxColour,
26644_swigt__p_wxToolBar,
b2dc1044 26645_swigt__p_wxPageSetupDialogData,
994141e6 26646_swigt__p_wxPrintDialogData,
d14a1e28
RD
266470
26648};
26649
26650
26651/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26652
26653static swig_const_info swig_const_table[] = {
d14a1e28
RD
26654{0}};
26655
26656#ifdef __cplusplus
26657}
26658#endif
26659
26660#ifdef __cplusplus
26661extern "C"
26662#endif
26663SWIGEXPORT(void) SWIG_init(void) {
26664 static PyObject *SWIG_globals = 0;
26665 static int typeinit = 0;
26666 PyObject *m, *d;
26667 int i;
26668 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26669 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26670 d = PyModule_GetDict(m);
26671
26672 if (!typeinit) {
26673 for (i = 0; swig_types_initial[i]; i++) {
26674 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26675 }
26676 typeinit = 1;
26677 }
26678 SWIG_InstallConstants(d,swig_const_table);
26679
b2dc1044
RD
26680 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26681 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26682 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26683 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26684 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
b2df227b
RD
26685 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26686 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26687 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26688 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26689 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26690 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26691 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26692 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26693 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26694 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26695 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26696 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26697 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26698 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26699 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26700 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26701 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26702 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26703 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26704 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26705 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
a95a7133
RD
26706 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26707 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26708 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26709 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
15afbcd0
RD
26710 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26711 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26712 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26713 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26714 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26715 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26716 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26717 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26718 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26719 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26720 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26721 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
b2dc1044 26722 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
15afbcd0
RD
26723 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26724 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26725 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26726 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26727 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26728 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
4276dc52 26729 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
15afbcd0
RD
26730 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26731 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26732 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26733 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26734 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26735 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26736 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
d14a1e28
RD
26737 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26738 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26739 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26740 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
26741 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26742 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
15afbcd0
RD
26743 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26744 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26745 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26746 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26747 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26748 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26749 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26750 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26751 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26752 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26753 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26754 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26755 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26756 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26757 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
d14a1e28 26758 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
15afbcd0
RD
26759 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26760 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26761 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26762 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26763 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26764 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26765 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26766 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26767 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26768 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26769 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
d14a1e28
RD
26770 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26771 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 26772 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
26773
26774 // Map renamed classes back to their common name for OOR
26775 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26776 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26777 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26778
26779 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26780 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26781 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26782 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26783 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26784 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26785 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
26786 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26787 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26788 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26789 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26790 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26791 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
15afbcd0
RD
26792 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26793 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26794 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26795 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26796 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26797 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26798 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26799 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
d14a1e28
RD
26800 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26801 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26802 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26803 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26804 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
15afbcd0
RD
26805 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26806 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26807 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26808 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26809 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26810 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26811 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26812 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
b2dc1044
RD
26813 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26814 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
15afbcd0
RD
26815 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26816 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26817 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26818 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26819 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26820 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26821 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26822 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26823 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26824 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26825 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26826 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26827 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26828 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26829 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26830 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26831 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26832 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26833 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26834 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26835 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26836 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26837 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26838 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
d14a1e28
RD
26839
26840 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26841
26842}
26843