]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Add some refreshes to try and workaround a display glitch
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212#define SWIGTYPE_p_wxPyPanel swig_types[3]
213#define SWIGTYPE_p_wxMenu swig_types[4]
09c21d3b
RD
214#define SWIGTYPE_p_wxPrintData swig_types[5]
215#define SWIGTYPE_p_wxFontData swig_types[6]
216#define SWIGTYPE_p_wxEvent swig_types[7]
d55e5bfc
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]
f20a2e1f
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]
09c21d3b
RD
261#define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262#define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263#define SWIGTYPE_p_wxTipWindow swig_types[54]
264#define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265#define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266#define SWIGTYPE_p_wxSplashScreenWindow 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_wxMenuBar swig_types[65]
275#define SWIGTYPE_p_wxPrintPreview swig_types[66]
276#define SWIGTYPE_p_wxSashEvent swig_types[67]
277#define SWIGTYPE_p_wxString swig_types[68]
278#define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279#define SWIGTYPE_p_wxFontDialog swig_types[70]
280#define SWIGTYPE_p_wxDirDialog swig_types[71]
281#define SWIGTYPE_p_wxColourDialog swig_types[72]
282#define SWIGTYPE_p_wxDialog swig_types[73]
283#define SWIGTYPE_p_wxPanel swig_types[74]
284#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285#define SWIGTYPE_p_wxPrintDialog swig_types[76]
286#define SWIGTYPE_p_wxFileSystem swig_types[77]
287#define SWIGTYPE_p_wxBitmap swig_types[78]
288#define SWIGTYPE_p_wxCommandEvent swig_types[79]
289#define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291#define SWIGTYPE_p_wxColour swig_types[82]
292#define SWIGTYPE_p_wxToolBar swig_types[83]
293#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294#define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295static swig_type_info *swig_types[87];
d55e5bfc
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303#define SWIG_init init_windows_
304
305#define SWIG_name "_windows_"
306
307/* Auxiliar swig macros */
308
309#ifdef __cplusplus
310#define SWIGSTATICINLINE(a) static inline a
311#define SWIGSTATIC(a) static a
312#define swig_new_array(type, size) (new type[(size)])
313#define swig_delete_array(cptr) delete[] cptr
314#define swig_const_cast(type,a) const_cast<type>(a)
315#define swig_static_cast(type,a) static_cast<type>(a)
316#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318#ifdef HAVE_NUMERIC_CAST
319#define swig_numeric_cast(type,a) numeric_cast<type>(a)
320#else
321#define swig_numeric_cast(type,a) static_cast<type>(a)
322#endif
323
324#else /* C case */
325
326#define SWIGSTATICINLINE(a) static a
327#define SWIGSTATIC(a) static a
328#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329#define swig_delete_array(cptr) free((char*)cptr)
330#define swig_const_cast(type,a) (type)(a)
331#define swig_static_cast(type,a) (type)(a)
332#define swig_reinterpret_cast(type,a) (type)(a)
333#define swig_numeric_cast(type,a) (type)(a)
334
335#endif /* __cplusplus */
336
337
338#define SWIG_FromSignedChar PyInt_FromLong
339#define SWIG_FromUnsignedChar PyInt_FromLong
340#define SWIG_FromShort PyInt_FromLong
341#define SWIG_FromUnsignedShort PyInt_FromLong
342#define SWIG_FromInt PyInt_FromLong
343#define SWIG_FromLong PyInt_FromLong
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
346#define SWIG_FromFloat PyFloat_FromDouble
347#define SWIG_FromDouble PyFloat_FromDouble
348
349
350#include "wx/wxPython/wxPython.h"
351#include "wx/wxPython/pyclasses.h"
352
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355 static const wxString wxPyPanelNameStr(wxPanelNameStr);
356
357
358
359#include <limits.h>
360
361
362SWIGSTATICINLINE(long)
363SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365{
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383}
384
385
386SWIGSTATICINLINE(long)
387SWIG_AsLong(PyObject * obj)
388{
389 if (PyNumber_Check(obj))
390 return PyInt_AsLong(obj);
391 else {
392 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
393 obj->ob_type->tp_name);
394 PyErr_SetObject(PyExc_TypeError, errmsg);
395 Py_DECREF(errmsg);
396 return 0;
397 }
398}
399
400
401#if INT_MAX != LONG_MAX
402SWIGSTATICINLINE(int)
403SWIG_AsInt(PyObject *obj)
404{
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj),
407 "int", INT_MIN, INT_MAX));
408}
409#else
410#define SWIG_AsInt SWIG_AsLong
411#endif
412
413
414SWIGSTATICINLINE(int)
415SWIG_CheckInt(PyObject* obj)
416{
417 SWIG_AsInt(obj);
418 if (PyErr_Occurred()) {
419 PyErr_Clear();
420 return 0;
421 } else {
422 return 1;
423 }
424}
425
426
427SWIGSTATICINLINE(int)
428SWIG_CheckLong(PyObject* obj)
429{
430 SWIG_AsLong(obj);
431 if (PyErr_Occurred()) {
432 PyErr_Clear();
433 return 0;
434 } else {
435 return 1;
436 }
437}
438
439
440SWIGSTATICINLINE(bool)
441SWIG_AsBool(PyObject *obj)
442{
443 return PyObject_IsTrue(obj) ? true : false;
444}
445
446
447SWIGSTATICINLINE(int)
448SWIG_CheckBool(PyObject* obj)
449{
450 SWIG_AsBool(obj);
451 if (PyErr_Occurred()) {
452 PyErr_Clear();
453 return 0;
454 } else {
455 return 1;
456 }
457}
458
459
460static PyObject* t_output_helper(PyObject* target, PyObject* o) {
461 PyObject* o2;
462 PyObject* o3;
463
464 if (!target) {
465 target = o;
466 } else if (target == Py_None) {
467 Py_DECREF(Py_None);
468 target = o;
469 } else {
470 if (!PyTuple_Check(target)) {
471 o2 = target;
472 target = PyTuple_New(1);
473 PyTuple_SetItem(target, 0, o2);
474 }
475 o3 = PyTuple_New(1);
476 PyTuple_SetItem(o3, 0, o);
477
478 o2 = target;
479 target = PySequence_Concat(o2, o3);
480 Py_DECREF(o2);
481 Py_DECREF(o3);
482 }
483 return target;
484}
485
486
487SWIGSTATICINLINE(double)
488SWIG_AsDouble(PyObject *obj)
489{
490 if (PyNumber_Check(obj))
491 return PyFloat_AsDouble(obj);
492 else {
493 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
494 obj->ob_type->tp_name);
495 PyErr_SetObject(PyExc_TypeError, errmsg);
496 Py_DECREF(errmsg);
497 return 0;
498 }
499}
500
501
502SWIGSTATICINLINE(int)
503SWIG_CheckDouble(PyObject* obj)
504{
505 SWIG_AsDouble(obj);
506 if (PyErr_Occurred()) {
507 PyErr_Clear();
508 return 0;
509 } else {
510 return 1;
511 }
512}
513
514 static const wxString wxPyFrameNameStr(wxFrameNameStr);
515 static const wxString wxPyDialogNameStr(wxDialogNameStr);
516 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
517 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
518
519
520wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529#include <wx/popupwin.h>
530
531
532class wxPyPopupTransientWindow : public wxPopupTransientWindow
533{
534public:
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
537 : wxPopupTransientWindow(parent, style) {}
538
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
540 DEC_PYCALLBACK__(OnDismiss);
541 DEC_PYCALLBACK_BOOL_(CanDismiss);
542 PYPRIVATE;
543};
544
545
546IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
547IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
548IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
549
550
551#include <wx/tipwin.h>
552
553wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
554 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
555 }
556
557#include <wx/tipwin.h>
558
559
560#include <wx/vscroll.h>
561
562
563class wxPyVScrolledWindow : public wxVScrolledWindow
564{
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
566public:
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568
569 wxPyVScrolledWindow(wxWindow *parent,
570 wxWindowID id = wxID_ANY,
571 const wxPoint& pos = wxDefaultPosition,
572 const wxSize& size = wxDefaultSize,
573 long style = 0,
574 const wxString& name = wxPyPanelNameStr)
575 : wxVScrolledWindow(parent, id, pos, size, style, name)
576 {}
577
578 // Overridable virtuals
579
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
583
584
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
588 // once
589 //
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
595 //
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 // usual
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
599
600
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
605 // its own logic
606 //
607 // this function should return the best guess for the total height it may
608 // make
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
610
611
612 // Also expose some other interesting protected methods
613
614
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
619
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
624
625
626 PYPRIVATE;
627};
628
629IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
630
631IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
632IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
633IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
634
635
636SWIGSTATICINLINE(unsigned long)
637SWIG_AsUnsignedLong(PyObject * obj)
638{
639 if (PyLong_Check(obj)) {
640 return PyLong_AsUnsignedLong(obj);
641 } else {
642 long i = SWIG_AsLong(obj);
643 if ( !PyErr_Occurred() && (i < 0)) {
644 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
645 }
646 return i;
647 }
648}
649
650
651SWIGSTATICINLINE(int)
652SWIG_CheckUnsignedLong(PyObject* obj)
653{
654 SWIG_AsUnsignedLong(obj);
655 if (PyErr_Occurred()) {
656 PyErr_Clear();
657 return 0;
658 } else {
659 return 1;
660 }
661}
662
663
664SWIGSTATICINLINE(PyObject* )
665SWIG_FromUnsignedLong(unsigned long value)
666{
667 return (value > LONG_MAX) ?
668 PyLong_FromUnsignedLong(value)
669 : PyInt_FromLong(swig_numeric_cast(long,value));
670}
671
672
673#include <wx/vlbox.h>
674
675 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
676
677class wxPyVListBox : public wxVListBox
678{
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
680public:
681 wxPyVListBox() : wxVListBox() {}
682
683 wxPyVListBox(wxWindow *parent,
684 wxWindowID id = wxID_ANY,
685 const wxPoint& pos = wxDefaultPosition,
686 const wxSize& size = wxDefaultSize,
687 long style = 0,
688 const wxString& name = wxPyVListBoxNameStr)
689 : wxVListBox(parent, id, pos, size, style, name)
690 {}
691
692 // Overridable virtuals
693
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
698
699
700 // the derived class must implement this method to return the height of the
701 // specified item
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
704
705
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
709 //
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
713
714
715 // this method is used to draw the items background and, maybe, a border
716 // around it
717 //
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
721 // current
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
724
725
726 PYPRIVATE;
727};
728
729IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
730
731IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
732IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
733IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
734IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
735
736
09c21d3b
RD
737PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
738 unsigned long cookie = 0;
739 int selected = self->GetFirstSelected(cookie);
740 bool blocked = wxPyBeginBlockThreads();
741 PyObject* tup = PyTuple_New(2);
742 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
743 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
744 wxPyEndBlockThreads(blocked);
745 return tup;
746 }
747PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
748 int selected = self->GetNextSelected(cookie);
749 bool blocked = wxPyBeginBlockThreads();
750 PyObject* tup = PyTuple_New(2);
751 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
752 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
753 wxPyEndBlockThreads(blocked);
754 return tup;
755 }
d55e5bfc
RD
756
757#include <wx/htmllbox.h>
758
759
760class wxPyHtmlListBox : public wxHtmlListBox
761{
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
763public:
764 wxPyHtmlListBox() : wxHtmlListBox() {}
765
766 wxPyHtmlListBox(wxWindow *parent,
767 wxWindowID id = wxID_ANY,
768 const wxPoint& pos = wxDefaultPosition,
769 const wxSize& size = wxDefaultSize,
770 long style = 0,
771 const wxString& name = wxPyVListBoxNameStr)
772 : wxHtmlListBox(parent, id, pos, size, style, name)
773 {}
774
775 // Overridable virtuals
776
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
780
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
783
784// TODO:
785// // this method allows to customize the selection appearance: it may be used
786// // to specify the colour of the text which normally has the given colour
787// // colFg when it is inside the selection
788// //
789// // by default, the original colour is not used at all and all text has the
790// // same (default for this system) colour inside selection
791// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
792
793// // this is the same as GetSelectedTextColour() but allows to customize the
794// // background colour -- this is even more rarely used as you can change it
795// // globally using SetSelectionBackground()
796// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
797
798
799 PYPRIVATE;
800};
801
802
803IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
804
805IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
806IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
807
808
809
810
811
812#ifdef __WXMAC__
813// implement dummy classes and such for wxMac
814
815class wxTaskBarIcon : public wxEvtHandler
816{
817public:
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
819};
09c21d3b 820
d55e5bfc
RD
821
822class wxTaskBarIconEvent : public wxEvent
823{
824public:
825 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent* Clone() const { return NULL; }
828};
829
830enum {
831 wxEVT_TASKBAR_MOVE = 0,
832 wxEVT_TASKBAR_LEFT_DOWN = 0,
833 wxEVT_TASKBAR_LEFT_UP = 0,
834 wxEVT_TASKBAR_RIGHT_DOWN = 0,
835 wxEVT_TASKBAR_RIGHT_UP = 0,
836 wxEVT_TASKBAR_LEFT_DCLICK = 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
838};
09c21d3b
RD
839
840
841#else
842// // Otherwise make a class that can virtualize CreatePopupMenu
843// class wxPyTaskBarIcon : public wxTaskBarIcon
844// {
845// DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
846// public:
847// wxPyTaskBarIcon() : wxTaskBarIcon()
848// {}
849
850// wxMenu* CreatePopupMenu() {
851// wxMenu *rval = NULL;
852// bool found;
853// bool blocked = wxPyBeginBlockThreads();
854// if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
855// PyObject* ro;
856// wxMenu* ptr;
857// ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
858// if (ro) {
859// if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
860// rval = ptr;
861// Py_DECREF(ro);
862// }
863// }
864// wxPyEndBlockThreads(blocked);
865// if (! found)
866// rval = wxTaskBarIcon::CreatePopupMenu();
867// return rval;
868// }
869
870// PYPRIVATE;
871// };
872
873// IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
874
d55e5bfc
RD
875#endif
876
877void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
878
879 self->RemoveIcon();
880
881 }
882 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
883 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
884 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
885 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
886 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
887 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
888PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
889 wxArrayString arr;
890 self->GetFilenames(arr);
891 return wxArrayString2PyList_helper(arr);
892 }
893PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
894 wxArrayString arr;
895 self->GetPaths(arr);
896 return wxArrayString2PyList_helper(arr);
897 }
898PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
899 return wxArrayInt2PyList_helper(self->GetSelections());
900 }
901wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
902 return new wxSingleChoiceDialog(parent, message, caption,
903 choices, choices_array, NULL, style, pos);
904 }
905
906#include <wx/mdi.h>
907
908 // C++ version of Python aware wxWindow
909class wxPyWindow : public wxWindow
910{
911 DECLARE_DYNAMIC_CLASS(wxPyWindow)
912public:
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow* parent, const wxWindowID id,
915 const wxPoint& pos = wxDefaultPosition,
916 const wxSize& size = wxDefaultSize,
917 long style = 0,
918 const wxString& name = wxPyPanelNameStr)
919 : wxWindow(parent, id, pos, size, style, name) {}
920
caef1a4d 921 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
922
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
927
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
931
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
934
935 DEC_PYCALLBACK__(InitDialog);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
938 DEC_PYCALLBACK_BOOL_(Validate);
939
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
943
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
946
caef1a4d 947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
950
951 PYPRIVATE;
952};
953
954IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
955
956IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
957IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
958IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
959IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
960
961IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
962IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
963IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
964
965IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
966IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
967
968IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
969IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
970IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
971IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
972
973IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
974IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
975IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
976
977IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
978IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
979
caef1a4d 980IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 981IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
caef1a4d 982IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
d55e5bfc
RD
983
984
985 // C++ version of Python aware wxPanel
986class wxPyPanel : public wxPanel
987{
988 DECLARE_DYNAMIC_CLASS(wxPyPanel)
989public:
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow* parent, const wxWindowID id,
992 const wxPoint& pos = wxDefaultPosition,
993 const wxSize& size = wxDefaultSize,
994 long style = 0,
995 const wxString& name = wxPyPanelNameStr)
996 : wxPanel(parent, id, pos, size, style, name) {}
997
caef1a4d
RD
998 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
999
d55e5bfc
RD
1000
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1005
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1009
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1012
1013 DEC_PYCALLBACK__(InitDialog);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1016 DEC_PYCALLBACK_BOOL_(Validate);
1017
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1021
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1024
caef1a4d 1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1028
1029 PYPRIVATE;
1030};
1031
1032IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1033
1034IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1035IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1036IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1037IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1038
1039IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1040IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1041IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1042
1043IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1044IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1045
1046IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1047IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1048IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1049IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1050
1051IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1052IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1053IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1054
1055IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1056IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1057
caef1a4d 1058IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 1059IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
caef1a4d 1060IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 1061
caef1a4d 1062
d55e5bfc
RD
1063 // C++ version of Python aware wxScrolledWindow
1064class wxPyScrolledWindow : public wxScrolledWindow
1065{
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1067public:
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1070 const wxPoint& pos = wxDefaultPosition,
1071 const wxSize& size = wxDefaultSize,
1072 long style = 0,
1073 const wxString& name = wxPyPanelNameStr)
1074 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1075
caef1a4d 1076 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
1077
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1082
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1086
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1089
1090 DEC_PYCALLBACK__(InitDialog);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1093 DEC_PYCALLBACK_BOOL_(Validate);
1094
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1098
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1101
caef1a4d 1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1105
1106 PYPRIVATE;
1107};
1108
1109IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1110
1111IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1112IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1113IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1114IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1115
1116IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1117IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1118IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1119
1120IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1121IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1122
1123IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1124IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1125IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1126IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1127
1128IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1129IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1130IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1131
1132IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1133IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1134
caef1a4d 1135IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 1136IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
caef1a4d
RD
1137IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1138
d55e5bfc
RD
1139
1140
1141#include "wx/wxPython/printfw.h"
1142
1143
1144 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1146
1147
1148
1149// Since this one would be tough and ugly to do with the Macros...
1150void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1151 bool hadErr = False;
1152 bool found;
1153
1154 bool blocked = wxPyBeginBlockThreads();
1155 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1156 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1157 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1158 PyObject* val;
1159
1160 val = PyTuple_GetItem(result, 0);
1161 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1162 else hadErr = True;
1163
1164 val = PyTuple_GetItem(result, 1);
1165 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1166 else hadErr = True;
1167
1168 val = PyTuple_GetItem(result, 2);
1169 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1170 else hadErr = True;
1171
1172 val = PyTuple_GetItem(result, 3);
1173 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1174 else hadErr = True;
1175 }
1176 else
1177 hadErr = True;
1178
1179 if (hadErr) {
1180 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1181 PyErr_Print();
1182 }
1183 Py_DECREF(result);
1184 }
1185 wxPyEndBlockThreads(blocked);
1186 if (! found)
1187 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1188}
1189
1190void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1191 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1192}
1193
1194
1195IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1196IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1197IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1198IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1199IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1200IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1201IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1202
1203
1204
1205
1206
1207#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1210
1211
1212#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1214 bool rval=False; \
1215 bool found; \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a); \
1219 PyObject* dc = wxPyMake_wxObject(&b); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1221 Py_DECREF(win); \
1222 Py_DECREF(dc); \
1223 } \
1224 wxPyEndBlockThreads(blocked); \
1225 if (! found) \
1226 rval = PCLASS::CBNAME(a, b); \
1227 return rval; \
1228 } \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1231 }
1232
1233
1234
1235
1236class wxPyPrintPreview : public wxPrintPreview
1237{
1238 DECLARE_CLASS(wxPyPrintPreview)
1239public:
1240 wxPyPrintPreview(wxPyPrintout* printout,
1241 wxPyPrintout* printoutForPrinting,
1242 wxPrintDialogData* data=NULL)
1243 : wxPrintPreview(printout, printoutForPrinting, data)
1244 {}
1245 wxPyPrintPreview(wxPyPrintout* printout,
1246 wxPyPrintout* printoutForPrinting,
1247 wxPrintData* data=NULL)
1248 : wxPrintPreview(printout, printoutForPrinting, data)
1249 {}
1250
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling);
1258
1259 PYPRIVATE;
1260};
1261
1262// Stupid renamed classes... Fix this in 2.5...
1263#if defined(__WXMSW__)
1264IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1265#elif defined(__WXMAC__)
1266IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1267#else
1268IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1269#endif
1270
1271IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1272IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1273IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1274IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1275IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1276IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1277IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1278
1279
1280class wxPyPreviewFrame : public wxPreviewFrame
1281{
1282 DECLARE_CLASS(wxPyPreviewFrame);
1283public:
1284 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1285 const wxString& title,
1286 const wxPoint& pos = wxDefaultPosition,
1287 const wxSize& size = wxDefaultSize,
1288 long style = wxDEFAULT_FRAME_STYLE,
1289 const wxString& name = wxPyFrameNameStr)
1290 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1291 {}
1292
1293 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1294 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1295
1296 DEC_PYCALLBACK_VOID_(Initialize);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar);
1299
1300 PYPRIVATE;
1301};
1302
1303IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1304
1305IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1306IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1307IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1308
1309
1310class wxPyPreviewControlBar : public wxPreviewControlBar
1311{
1312 DECLARE_CLASS(wxPyPreviewControlBar);
1313public:
1314 wxPyPreviewControlBar(wxPrintPreview *preview,
1315 long buttons,
1316 wxWindow *parent,
1317 const wxPoint& pos = wxDefaultPosition,
1318 const wxSize& size = wxDefaultSize,
1319 long style = 0,
1320 const wxString& name = wxPyPanelNameStr)
1321 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1322 {}
1323
1324 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1325
1326 DEC_PYCALLBACK_VOID_(CreateButtons);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1328
1329 PYPRIVATE;
1330};
1331
1332IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1333IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1334IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1335
1336#ifdef __cplusplus
1337extern "C" {
1338#endif
1339static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxWindow *arg1 = (wxWindow *) 0 ;
1342 int arg2 = (int) (int)-1 ;
1343 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1344 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1345 wxSize const &arg4_defvalue = wxDefaultSize ;
1346 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1347 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1348 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1349 wxString *arg6 = (wxString *) &arg6_defvalue ;
1350 wxPanel *result;
1351 wxPoint temp3 ;
1352 wxSize temp4 ;
1353 bool temp6 = False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 PyObject * obj2 = 0 ;
1357 PyObject * obj3 = 0 ;
1358 PyObject * obj4 = 0 ;
1359 PyObject * obj5 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1367 if (obj1) {
1368 arg2 = (int const) SWIG_AsInt(obj1);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 if (obj2) {
1372 {
1373 arg3 = &temp3;
1374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1375 }
1376 }
1377 if (obj3) {
1378 {
1379 arg4 = &temp4;
1380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1381 }
1382 }
1383 if (obj4) {
1384 arg5 = (long) SWIG_AsLong(obj4);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 if (obj5) {
1388 {
1389 arg6 = wxString_in_helper(obj5);
1390 if (arg6 == NULL) SWIG_fail;
1391 temp6 = True;
1392 }
1393 }
1394 {
0439c23b 1395 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
1397 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1398
1399 wxPyEndAllowThreads(__tstate);
0439c23b 1400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1401 }
e058867b
RD
1402 {
1403 resultobj = wxPyMake_wxObject(result);
1404 }
d55e5bfc
RD
1405 {
1406 if (temp6)
1407 delete arg6;
1408 }
1409 return resultobj;
1410 fail:
1411 {
1412 if (temp6)
1413 delete arg6;
1414 }
1415 return NULL;
1416}
1417
1418
1419static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject *resultobj;
1421 wxPanel *result;
1422 char *kwnames[] = {
1423 NULL
1424 };
1425
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1427 {
0439c23b 1428 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 result = (wxPanel *)new wxPanel();
1431
1432 wxPyEndAllowThreads(__tstate);
0439c23b 1433 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1434 }
e058867b
RD
1435 {
1436 resultobj = wxPyMake_wxObject(result);
1437 }
d55e5bfc
RD
1438 return resultobj;
1439 fail:
1440 return NULL;
1441}
1442
1443
1444static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1445 PyObject *resultobj;
1446 wxPanel *arg1 = (wxPanel *) 0 ;
1447 wxWindow *arg2 = (wxWindow *) 0 ;
1448 int arg3 = (int) (int)-1 ;
1449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1451 wxSize const &arg5_defvalue = wxDefaultSize ;
1452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1453 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1454 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1455 wxString *arg7 = (wxString *) &arg7_defvalue ;
1456 bool result;
1457 wxPoint temp4 ;
1458 wxSize temp5 ;
1459 bool temp7 = False ;
1460 PyObject * obj0 = 0 ;
1461 PyObject * obj1 = 0 ;
1462 PyObject * obj2 = 0 ;
1463 PyObject * obj3 = 0 ;
1464 PyObject * obj4 = 0 ;
1465 PyObject * obj5 = 0 ;
1466 PyObject * obj6 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 if (obj2) {
1477 arg3 = (int const) SWIG_AsInt(obj2);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 if (obj3) {
1481 {
1482 arg4 = &temp4;
1483 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1484 }
1485 }
1486 if (obj4) {
1487 {
1488 arg5 = &temp5;
1489 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1490 }
1491 }
1492 if (obj5) {
1493 arg6 = (long) SWIG_AsLong(obj5);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 if (obj6) {
1497 {
1498 arg7 = wxString_in_helper(obj6);
1499 if (arg7 == NULL) SWIG_fail;
1500 temp7 = True;
1501 }
1502 }
1503 {
1504 PyThreadState* __tstate = wxPyBeginAllowThreads();
1505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1506
1507 wxPyEndAllowThreads(__tstate);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 {
1511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1512 }
1513 {
1514 if (temp7)
1515 delete arg7;
1516 }
1517 return resultobj;
1518 fail:
1519 {
1520 if (temp7)
1521 delete arg7;
1522 }
1523 return NULL;
1524}
1525
1526
1527static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1528 PyObject *resultobj;
1529 wxPanel *arg1 = (wxPanel *) 0 ;
1530 PyObject * obj0 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 (arg1)->InitDialog();
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 Py_INCREF(Py_None); resultobj = Py_None;
1546 return resultobj;
1547 fail:
1548 return NULL;
1549}
1550
1551
f20a2e1f
RD
1552static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1555 wxVisualAttributes result;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "variant", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1562 if (obj0) {
1563 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 {
0439c23b 1567 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1568 PyThreadState* __tstate = wxPyBeginAllowThreads();
1569 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1570
1571 wxPyEndAllowThreads(__tstate);
0439c23b 1572 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1573 }
1574 {
1575 wxVisualAttributes * resultptr;
1576 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1578 }
1579 return resultobj;
1580 fail:
1581 return NULL;
1582}
1583
1584
d55e5bfc
RD
1585static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1586 PyObject *obj;
1587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1588 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1589 Py_INCREF(obj);
1590 return Py_BuildValue((char *)"");
1591}
1592static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxWindow *arg1 = (wxWindow *) 0 ;
1595 int arg2 = (int) (int)-1 ;
1596 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1597 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1598 wxSize const &arg4_defvalue = wxDefaultSize ;
1599 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1600 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1601 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1602 wxString *arg6 = (wxString *) &arg6_defvalue ;
1603 wxScrolledWindow *result;
1604 wxPoint temp3 ;
1605 wxSize temp4 ;
1606 bool temp6 = False ;
1607 PyObject * obj0 = 0 ;
1608 PyObject * obj1 = 0 ;
1609 PyObject * obj2 = 0 ;
1610 PyObject * obj3 = 0 ;
1611 PyObject * obj4 = 0 ;
1612 PyObject * obj5 = 0 ;
1613 char *kwnames[] = {
1614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1620 if (obj1) {
1621 arg2 = (int const) SWIG_AsInt(obj1);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 if (obj2) {
1625 {
1626 arg3 = &temp3;
1627 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1628 }
1629 }
1630 if (obj3) {
1631 {
1632 arg4 = &temp4;
1633 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1634 }
1635 }
1636 if (obj4) {
1637 arg5 = (long) SWIG_AsLong(obj4);
1638 if (PyErr_Occurred()) SWIG_fail;
1639 }
1640 if (obj5) {
1641 {
1642 arg6 = wxString_in_helper(obj5);
1643 if (arg6 == NULL) SWIG_fail;
1644 temp6 = True;
1645 }
1646 }
1647 {
0439c23b 1648 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1651
1652 wxPyEndAllowThreads(__tstate);
0439c23b 1653 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1654 }
1655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1656 {
1657 if (temp6)
1658 delete arg6;
1659 }
1660 return resultobj;
1661 fail:
1662 {
1663 if (temp6)
1664 delete arg6;
1665 }
1666 return NULL;
1667}
1668
1669
1670static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject *resultobj;
1672 wxScrolledWindow *result;
1673 char *kwnames[] = {
1674 NULL
1675 };
1676
1677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1678 {
0439c23b 1679 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 result = (wxScrolledWindow *)new wxScrolledWindow();
1682
1683 wxPyEndAllowThreads(__tstate);
0439c23b 1684 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1685 }
1686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1687 return resultobj;
1688 fail:
1689 return NULL;
1690}
1691
1692
1693static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1694 PyObject *resultobj;
1695 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1696 wxWindow *arg2 = (wxWindow *) 0 ;
1697 int arg3 = (int) (int)-1 ;
1698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1700 wxSize const &arg5_defvalue = wxDefaultSize ;
1701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1702 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1703 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1704 wxString *arg7 = (wxString *) &arg7_defvalue ;
1705 bool result;
1706 wxPoint temp4 ;
1707 wxSize temp5 ;
1708 bool temp7 = False ;
1709 PyObject * obj0 = 0 ;
1710 PyObject * obj1 = 0 ;
1711 PyObject * obj2 = 0 ;
1712 PyObject * obj3 = 0 ;
1713 PyObject * obj4 = 0 ;
1714 PyObject * obj5 = 0 ;
1715 PyObject * obj6 = 0 ;
1716 char *kwnames[] = {
1717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1718 };
1719
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1725 if (obj2) {
1726 arg3 = (int const) SWIG_AsInt(obj2);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 if (obj3) {
1730 {
1731 arg4 = &temp4;
1732 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1733 }
1734 }
1735 if (obj4) {
1736 {
1737 arg5 = &temp5;
1738 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1739 }
1740 }
1741 if (obj5) {
1742 arg6 = (long) SWIG_AsLong(obj5);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 if (obj6) {
1746 {
1747 arg7 = wxString_in_helper(obj6);
1748 if (arg7 == NULL) SWIG_fail;
1749 temp7 = True;
1750 }
1751 }
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 {
1760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1761 }
1762 {
1763 if (temp7)
1764 delete arg7;
1765 }
1766 return resultobj;
1767 fail:
1768 {
1769 if (temp7)
1770 delete arg7;
1771 }
1772 return NULL;
1773}
1774
1775
1776static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1779 int arg2 ;
1780 int arg3 ;
1781 int arg4 ;
1782 int arg5 ;
1783 int arg6 = (int) 0 ;
1784 int arg7 = (int) 0 ;
1785 bool arg8 = (bool) False ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 PyObject * obj2 = 0 ;
1789 PyObject * obj3 = 0 ;
1790 PyObject * obj4 = 0 ;
1791 PyObject * obj5 = 0 ;
1792 PyObject * obj6 = 0 ;
1793 PyObject * obj7 = 0 ;
1794 char *kwnames[] = {
1795 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1796 };
1797
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1801 arg2 = (int) SWIG_AsInt(obj1);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 arg3 = (int) SWIG_AsInt(obj2);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 arg4 = (int) SWIG_AsInt(obj3);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 arg5 = (int) SWIG_AsInt(obj4);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 if (obj5) {
1810 arg6 = (int) SWIG_AsInt(obj5);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 if (obj6) {
1814 arg7 = (int) SWIG_AsInt(obj6);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 if (obj7) {
1818 arg8 = (bool) SWIG_AsBool(obj7);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 Py_INCREF(Py_None); resultobj = Py_None;
1829 return resultobj;
1830 fail:
1831 return NULL;
1832}
1833
1834
1835static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject *resultobj;
1837 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1838 int arg2 ;
1839 int arg3 ;
1840 PyObject * obj0 = 0 ;
1841 PyObject * obj1 = 0 ;
1842 PyObject * obj2 = 0 ;
1843 char *kwnames[] = {
1844 (char *) "self",(char *) "x",(char *) "y", NULL
1845 };
1846
1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1850 arg2 = (int) SWIG_AsInt(obj1);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 arg3 = (int) SWIG_AsInt(obj2);
1853 if (PyErr_Occurred()) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 (arg1)->Scroll(arg2,arg3);
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 Py_INCREF(Py_None); resultobj = Py_None;
1862 return resultobj;
1863 fail:
1864 return NULL;
1865}
1866
1867
1868static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1871 int arg2 ;
1872 int result;
1873 PyObject * obj0 = 0 ;
1874 PyObject * obj1 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self",(char *) "orient", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1882 arg2 = (int) SWIG_AsInt(obj1);
1883 if (PyErr_Occurred()) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = SWIG_FromInt((int)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895}
1896
1897
1898static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject *resultobj;
1900 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1901 int arg2 ;
1902 int arg3 ;
1903 PyObject * obj0 = 0 ;
1904 PyObject * obj1 = 0 ;
1905 PyObject * obj2 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1913 arg2 = (int) SWIG_AsInt(obj1);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 arg3 = (int) SWIG_AsInt(obj2);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 {
1918 PyThreadState* __tstate = wxPyBeginAllowThreads();
1919 (arg1)->SetScrollPageSize(arg2,arg3);
1920
1921 wxPyEndAllowThreads(__tstate);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 }
1924 Py_INCREF(Py_None); resultobj = Py_None;
1925 return resultobj;
1926 fail:
1927 return NULL;
1928}
1929
1930
1931static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject *resultobj;
1933 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1934 int arg2 ;
1935 int arg3 ;
1936 PyObject * obj0 = 0 ;
1937 PyObject * obj1 = 0 ;
1938 PyObject * obj2 = 0 ;
1939 char *kwnames[] = {
1940 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1946 arg2 = (int) SWIG_AsInt(obj1);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 arg3 = (int) SWIG_AsInt(obj2);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 (arg1)->SetScrollRate(arg2,arg3);
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 Py_INCREF(Py_None); resultobj = Py_None;
1958 return resultobj;
1959 fail:
1960 return NULL;
1961}
1962
1963
1964static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject *resultobj;
1966 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1967 int *arg2 = (int *) 0 ;
1968 int *arg3 = (int *) 0 ;
1969 int temp2 ;
1970 int temp3 ;
1971 PyObject * obj0 = 0 ;
1972 char *kwnames[] = {
1973 (char *) "self", NULL
1974 };
1975
1976 arg2 = &temp2;
1977 arg3 = &temp3;
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 {
1982 PyThreadState* __tstate = wxPyBeginAllowThreads();
1983 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1984
1985 wxPyEndAllowThreads(__tstate);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
1988 Py_INCREF(Py_None); resultobj = Py_None;
1989 {
1990 PyObject *o = PyInt_FromLong((long) (*arg2));
1991 resultobj = t_output_helper(resultobj,o);
1992 }
1993 {
1994 PyObject *o = PyInt_FromLong((long) (*arg3));
1995 resultobj = t_output_helper(resultobj,o);
1996 }
1997 return resultobj;
1998 fail:
1999 return NULL;
2000}
2001
2002
2003static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2006 bool arg2 ;
2007 bool arg3 ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj1 = 0 ;
2010 PyObject * obj2 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 arg2 = (bool) SWIG_AsBool(obj1);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 arg3 = (bool) SWIG_AsBool(obj2);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 (arg1)->EnableScrolling(arg2,arg3);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033}
2034
2035
2036static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2039 int *arg2 = (int *) 0 ;
2040 int *arg3 = (int *) 0 ;
2041 int temp2 ;
2042 int temp3 ;
2043 PyObject * obj0 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self", NULL
2046 };
2047
2048 arg2 = &temp2;
2049 arg3 = &temp3;
2050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
2055 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
2060 Py_INCREF(Py_None); resultobj = Py_None;
2061 {
2062 PyObject *o = PyInt_FromLong((long) (*arg2));
2063 resultobj = t_output_helper(resultobj,o);
2064 }
2065 {
2066 PyObject *o = PyInt_FromLong((long) (*arg3));
2067 resultobj = t_output_helper(resultobj,o);
2068 }
2069 return resultobj;
2070 fail:
2071 return NULL;
2072}
2073
2074
2075static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject *resultobj;
2077 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2078 double arg2 ;
2079 double arg3 ;
2080 PyObject * obj0 = 0 ;
2081 PyObject * obj1 = 0 ;
2082 PyObject * obj2 = 0 ;
2083 char *kwnames[] = {
2084 (char *) "self",(char *) "xs",(char *) "ys", NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2090 arg2 = (double) SWIG_AsDouble(obj1);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 arg3 = (double) SWIG_AsDouble(obj2);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 {
2095 PyThreadState* __tstate = wxPyBeginAllowThreads();
2096 (arg1)->SetScale(arg2,arg3);
2097
2098 wxPyEndAllowThreads(__tstate);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 }
2101 Py_INCREF(Py_None); resultobj = Py_None;
2102 return resultobj;
2103 fail:
2104 return NULL;
2105}
2106
2107
2108static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject *resultobj;
2110 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2111 double result;
2112 PyObject * obj0 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "self", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 resultobj = SWIG_FromDouble((double)result);
2128 return resultobj;
2129 fail:
2130 return NULL;
2131}
2132
2133
2134static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2137 double result;
2138 PyObject * obj0 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2146 {
2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
2148 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2149
2150 wxPyEndAllowThreads(__tstate);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 }
2153 resultobj = SWIG_FromDouble((double)result);
2154 return resultobj;
2155 fail:
2156 return NULL;
2157}
2158
2159
2160static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2161 PyObject *resultobj;
2162 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2163 wxPoint *arg2 = 0 ;
2164 wxPoint result;
2165 wxPoint temp2 ;
2166 PyObject * obj0 = 0 ;
2167 PyObject * obj1 = 0 ;
2168
2169 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2172 {
2173 arg2 = &temp2;
2174 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 {
2184 wxPoint * resultptr;
2185 resultptr = new wxPoint((wxPoint &) result);
2186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2187 }
2188 return resultobj;
2189 fail:
2190 return NULL;
2191}
2192
2193
2194static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2195 PyObject *resultobj;
2196 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2197 int arg2 ;
2198 int arg3 ;
2199 int *arg4 = (int *) 0 ;
2200 int *arg5 = (int *) 0 ;
2201 int temp4 ;
2202 int temp5 ;
2203 PyObject * obj0 = 0 ;
2204 PyObject * obj1 = 0 ;
2205 PyObject * obj2 = 0 ;
2206
2207 arg4 = &temp4;
2208 arg5 = &temp5;
2209 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2212 arg2 = (int) SWIG_AsInt(obj1);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 arg3 = (int) SWIG_AsInt(obj2);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 Py_INCREF(Py_None); resultobj = Py_None;
2224 {
2225 PyObject *o = PyInt_FromLong((long) (*arg4));
2226 resultobj = t_output_helper(resultobj,o);
2227 }
2228 {
2229 PyObject *o = PyInt_FromLong((long) (*arg5));
2230 resultobj = t_output_helper(resultobj,o);
2231 }
2232 return resultobj;
2233 fail:
2234 return NULL;
2235}
2236
2237
2238static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2239 int argc;
2240 PyObject *argv[4];
2241 int ii;
2242
2243 argc = PyObject_Length(args);
2244 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2245 argv[ii] = PyTuple_GetItem(args,ii);
2246 }
2247 if (argc == 2) {
2248 int _v;
2249 {
2250 void *ptr;
2251 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2252 _v = 0;
2253 PyErr_Clear();
2254 } else {
2255 _v = 1;
2256 }
2257 }
2258 if (_v) {
2259 {
2260 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2261 }
2262 if (_v) {
2263 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2264 }
2265 }
2266 }
2267 if (argc == 3) {
2268 int _v;
2269 {
2270 void *ptr;
2271 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2272 _v = 0;
2273 PyErr_Clear();
2274 } else {
2275 _v = 1;
2276 }
2277 }
2278 if (_v) {
2279 _v = SWIG_CheckInt(argv[1]);
2280 if (_v) {
2281 _v = SWIG_CheckInt(argv[2]);
2282 if (_v) {
2283 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2284 }
2285 }
2286 }
2287 }
2288
2289 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2290 return NULL;
2291}
2292
2293
2294static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2295 PyObject *resultobj;
2296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2297 wxPoint *arg2 = 0 ;
2298 wxPoint result;
2299 wxPoint temp2 ;
2300 PyObject * obj0 = 0 ;
2301 PyObject * obj1 = 0 ;
2302
2303 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2306 {
2307 arg2 = &temp2;
2308 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2309 }
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 {
2318 wxPoint * resultptr;
2319 resultptr = new wxPoint((wxPoint &) result);
2320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2321 }
2322 return resultobj;
2323 fail:
2324 return NULL;
2325}
2326
2327
2328static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2329 PyObject *resultobj;
2330 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2331 int arg2 ;
2332 int arg3 ;
2333 int *arg4 = (int *) 0 ;
2334 int *arg5 = (int *) 0 ;
2335 int temp4 ;
2336 int temp5 ;
2337 PyObject * obj0 = 0 ;
2338 PyObject * obj1 = 0 ;
2339 PyObject * obj2 = 0 ;
2340
2341 arg4 = &temp4;
2342 arg5 = &temp5;
2343 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2346 arg2 = (int) SWIG_AsInt(obj1);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 arg3 = (int) SWIG_AsInt(obj2);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 {
2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
2352 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2353
2354 wxPyEndAllowThreads(__tstate);
2355 if (PyErr_Occurred()) SWIG_fail;
2356 }
2357 Py_INCREF(Py_None); resultobj = Py_None;
2358 {
2359 PyObject *o = PyInt_FromLong((long) (*arg4));
2360 resultobj = t_output_helper(resultobj,o);
2361 }
2362 {
2363 PyObject *o = PyInt_FromLong((long) (*arg5));
2364 resultobj = t_output_helper(resultobj,o);
2365 }
2366 return resultobj;
2367 fail:
2368 return NULL;
2369}
2370
2371
2372static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2373 int argc;
2374 PyObject *argv[4];
2375 int ii;
2376
2377 argc = PyObject_Length(args);
2378 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2379 argv[ii] = PyTuple_GetItem(args,ii);
2380 }
2381 if (argc == 2) {
2382 int _v;
2383 {
2384 void *ptr;
2385 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2386 _v = 0;
2387 PyErr_Clear();
2388 } else {
2389 _v = 1;
2390 }
2391 }
2392 if (_v) {
2393 {
2394 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2395 }
2396 if (_v) {
2397 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2398 }
2399 }
2400 }
2401 if (argc == 3) {
2402 int _v;
2403 {
2404 void *ptr;
2405 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2406 _v = 0;
2407 PyErr_Clear();
2408 } else {
2409 _v = 1;
2410 }
2411 }
2412 if (_v) {
2413 _v = SWIG_CheckInt(argv[1]);
2414 if (_v) {
2415 _v = SWIG_CheckInt(argv[2]);
2416 if (_v) {
2417 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2418 }
2419 }
2420 }
2421 }
2422
2423 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2424 return NULL;
2425}
2426
2427
2428static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject *resultobj;
2430 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2431 PyObject * obj0 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "self", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2439 {
2440 PyThreadState* __tstate = wxPyBeginAllowThreads();
2441 (arg1)->AdjustScrollbars();
2442
2443 wxPyEndAllowThreads(__tstate);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 }
2446 Py_INCREF(Py_None); resultobj = Py_None;
2447 return resultobj;
2448 fail:
2449 return NULL;
2450}
2451
2452
2453static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2456 wxScrollWinEvent *arg2 = 0 ;
2457 int result;
2458 PyObject * obj0 = 0 ;
2459 PyObject * obj1 = 0 ;
2460 char *kwnames[] = {
2461 (char *) "self",(char *) "event", NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2468 SWIG_POINTER_EXCEPTION | 0)) == -1)
2469 SWIG_fail;
2470 if (arg2 == NULL) {
2471 PyErr_SetString(PyExc_TypeError,"null reference");
2472 SWIG_fail;
2473 }
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 result = (int)(arg1)->CalcScrollInc(*arg2);
2477
2478 wxPyEndAllowThreads(__tstate);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 resultobj = SWIG_FromInt((int)result);
2482 return resultobj;
2483 fail:
2484 return NULL;
2485}
2486
2487
2488static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2489 PyObject *resultobj;
2490 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2491 wxWindow *arg2 = (wxWindow *) 0 ;
2492 PyObject * obj0 = 0 ;
2493 PyObject * obj1 = 0 ;
2494 char *kwnames[] = {
2495 (char *) "self",(char *) "target", NULL
2496 };
2497
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 (arg1)->SetTargetWindow(arg2);
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 Py_INCREF(Py_None); resultobj = Py_None;
2511 return resultobj;
2512 fail:
2513 return NULL;
2514}
2515
2516
2517static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2520 wxWindow *result;
2521 PyObject * obj0 = 0 ;
2522 char *kwnames[] = {
2523 (char *) "self", NULL
2524 };
2525
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 {
2537 resultobj = wxPyMake_wxObject(result);
2538 }
2539 return resultobj;
2540 fail:
2541 return NULL;
2542}
2543
2544
2545static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject *resultobj;
2547 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2548 wxRect *arg2 = 0 ;
2549 wxRect temp2 ;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 char *kwnames[] = {
2553 (char *) "self",(char *) "rect", NULL
2554 };
2555
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2559 {
2560 arg2 = &temp2;
2561 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2562 }
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 (arg1)->SetTargetRect((wxRect const &)*arg2);
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 Py_INCREF(Py_None); resultobj = Py_None;
2571 return resultobj;
2572 fail:
2573 return NULL;
2574}
2575
2576
2577static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2578 PyObject *resultobj;
2579 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2580 wxRect result;
2581 PyObject * obj0 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 {
2597 wxRect * resultptr;
2598 resultptr = new wxRect((wxRect &) result);
2599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2600 }
2601 return resultobj;
2602 fail:
2603 return NULL;
2604}
2605
2606
f20a2e1f
RD
2607static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject *resultobj;
2609 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2610 wxVisualAttributes result;
2611 PyObject * obj0 = 0 ;
2612 char *kwnames[] = {
2613 (char *) "variant", NULL
2614 };
2615
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2617 if (obj0) {
2618 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 {
0439c23b 2622 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2625
2626 wxPyEndAllowThreads(__tstate);
0439c23b 2627 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2628 }
2629 {
2630 wxVisualAttributes * resultptr;
2631 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2633 }
2634 return resultobj;
2635 fail:
2636 return NULL;
2637}
2638
2639
d55e5bfc
RD
2640static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2641 PyObject *obj;
2642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2643 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2644 Py_INCREF(obj);
2645 return Py_BuildValue((char *)"");
2646}
2647static int _wrap_FrameNameStr_set(PyObject *_val) {
2648 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2649 return 1;
2650}
2651
2652
2653static PyObject *_wrap_FrameNameStr_get() {
2654 PyObject *pyobj;
2655
2656 {
2657#if wxUSE_UNICODE
2658 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2659#else
2660 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2661#endif
2662 }
2663 return pyobj;
2664}
2665
2666
2667static int _wrap_DialogNameStr_set(PyObject *_val) {
2668 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2669 return 1;
2670}
2671
2672
2673static PyObject *_wrap_DialogNameStr_get() {
2674 PyObject *pyobj;
2675
2676 {
2677#if wxUSE_UNICODE
2678 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2679#else
2680 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2681#endif
2682 }
2683 return pyobj;
2684}
2685
2686
2687static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2688 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2689 return 1;
2690}
2691
2692
2693static PyObject *_wrap_StatusLineNameStr_get() {
2694 PyObject *pyobj;
2695
2696 {
2697#if wxUSE_UNICODE
2698 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2699#else
2700 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2701#endif
2702 }
2703 return pyobj;
2704}
2705
2706
2707static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2708 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2709 return 1;
2710}
2711
2712
2713static PyObject *_wrap_ToolBarNameStr_get() {
2714 PyObject *pyobj;
2715
2716 {
2717#if wxUSE_UNICODE
2718 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2719#else
2720 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2721#endif
2722 }
2723 return pyobj;
2724}
2725
2726
2727static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2730 bool arg2 = (bool) True ;
2731 PyObject * obj0 = 0 ;
2732 PyObject * obj1 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self",(char *) "maximize", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2740 if (obj1) {
2741 arg2 = (bool) SWIG_AsBool(obj1);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 (arg1)->Maximize(arg2);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 Py_INCREF(Py_None); resultobj = Py_None;
2752 return resultobj;
2753 fail:
2754 return NULL;
2755}
2756
2757
2758static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2761 PyObject * obj0 = 0 ;
2762 char *kwnames[] = {
2763 (char *) "self", NULL
2764 };
2765
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 (arg1)->Restore();
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 Py_INCREF(Py_None); resultobj = Py_None;
2777 return resultobj;
2778 fail:
2779 return NULL;
2780}
2781
2782
2783static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2786 bool arg2 = (bool) True ;
2787 PyObject * obj0 = 0 ;
2788 PyObject * obj1 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self",(char *) "iconize", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2796 if (obj1) {
2797 arg2 = (bool) SWIG_AsBool(obj1);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 {
2801 PyThreadState* __tstate = wxPyBeginAllowThreads();
2802 (arg1)->Iconize(arg2);
2803
2804 wxPyEndAllowThreads(__tstate);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
2807 Py_INCREF(Py_None); resultobj = Py_None;
2808 return resultobj;
2809 fail:
2810 return NULL;
2811}
2812
2813
2814static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject *resultobj;
2816 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2817 bool result;
2818 PyObject * obj0 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 {
2834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2835 }
2836 return resultobj;
2837 fail:
2838 return NULL;
2839}
2840
2841
2842static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2845 bool result;
2846 PyObject * obj0 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 {
2862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2863 }
2864 return resultobj;
2865 fail:
2866 return NULL;
2867}
2868
2869
2870static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject *resultobj;
2872 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2873 wxIcon result;
2874 PyObject * obj0 = 0 ;
2875 char *kwnames[] = {
2876 (char *) "self", NULL
2877 };
2878
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 {
2890 wxIcon * resultptr;
2891 resultptr = new wxIcon((wxIcon &) result);
2892 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2893 }
2894 return resultobj;
2895 fail:
2896 return NULL;
2897}
2898
2899
2900static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2901 PyObject *resultobj;
2902 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2903 wxIcon *arg2 = 0 ;
2904 PyObject * obj0 = 0 ;
2905 PyObject * obj1 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self",(char *) "icon", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2914 SWIG_POINTER_EXCEPTION | 0)) == -1)
2915 SWIG_fail;
2916 if (arg2 == NULL) {
2917 PyErr_SetString(PyExc_TypeError,"null reference");
2918 SWIG_fail;
2919 }
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 (arg1)->SetIcon((wxIcon const &)*arg2);
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 Py_INCREF(Py_None); resultobj = Py_None;
2928 return resultobj;
2929 fail:
2930 return NULL;
2931}
2932
2933
2934static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2937 wxIconBundle *arg2 = 0 ;
2938 PyObject * obj0 = 0 ;
2939 PyObject * obj1 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "self",(char *) "icons", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2948 SWIG_POINTER_EXCEPTION | 0)) == -1)
2949 SWIG_fail;
2950 if (arg2 == NULL) {
2951 PyErr_SetString(PyExc_TypeError,"null reference");
2952 SWIG_fail;
2953 }
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 Py_INCREF(Py_None); resultobj = Py_None;
2962 return resultobj;
2963 fail:
2964 return NULL;
2965}
2966
2967
2968static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2971 bool arg2 ;
2972 long arg3 = (long) wxFULLSCREEN_ALL ;
2973 bool result;
2974 PyObject * obj0 = 0 ;
2975 PyObject * obj1 = 0 ;
2976 PyObject * obj2 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self",(char *) "show",(char *) "style", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2984 arg2 = (bool) SWIG_AsBool(obj1);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 if (obj2) {
2987 arg3 = (long) SWIG_AsLong(obj2);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 {
2998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2999 }
3000 return resultobj;
3001 fail:
3002 return NULL;
3003}
3004
3005
3006static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3009 bool result;
3010 PyObject * obj0 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3018 {
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 {
3026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3027 }
3028 return resultobj;
3029 fail:
3030 return NULL;
3031}
3032
3033
3034static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3037 wxString *arg2 = 0 ;
3038 bool temp2 = False ;
3039 PyObject * obj0 = 0 ;
3040 PyObject * obj1 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self",(char *) "title", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3048 {
3049 arg2 = wxString_in_helper(obj1);
3050 if (arg2 == NULL) SWIG_fail;
3051 temp2 = True;
3052 }
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 (arg1)->SetTitle((wxString const &)*arg2);
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
3060 Py_INCREF(Py_None); resultobj = Py_None;
3061 {
3062 if (temp2)
3063 delete arg2;
3064 }
3065 return resultobj;
3066 fail:
3067 {
3068 if (temp2)
3069 delete arg2;
3070 }
3071 return NULL;
3072}
3073
3074
3075static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3078 wxString result;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3087 {
3088 PyThreadState* __tstate = wxPyBeginAllowThreads();
3089 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3090
3091 wxPyEndAllowThreads(__tstate);
3092 if (PyErr_Occurred()) SWIG_fail;
3093 }
3094 {
3095#if wxUSE_UNICODE
3096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3097#else
3098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3099#endif
3100 }
3101 return resultobj;
3102 fail:
3103 return NULL;
3104}
3105
3106
3107static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3110 wxRegion *arg2 = 0 ;
3111 bool result;
3112 PyObject * obj0 = 0 ;
3113 PyObject * obj1 = 0 ;
3114 char *kwnames[] = {
3115 (char *) "self",(char *) "region", NULL
3116 };
3117
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3122 SWIG_POINTER_EXCEPTION | 0)) == -1)
3123 SWIG_fail;
3124 if (arg2 == NULL) {
3125 PyErr_SetString(PyExc_TypeError,"null reference");
3126 SWIG_fail;
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 {
3136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3137 }
3138 return resultobj;
3139 fail:
3140 return NULL;
3141}
3142
3143
3144static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3145 PyObject *obj;
3146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3147 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3148 Py_INCREF(obj);
3149 return Py_BuildValue((char *)"");
3150}
3151static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3154 int arg2 = (int) (int)-1 ;
3155 wxString const &arg3_defvalue = wxPyEmptyString ;
3156 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3157 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3158 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3159 wxSize const &arg5_defvalue = wxDefaultSize ;
3160 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3161 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3162 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3163 wxString *arg7 = (wxString *) &arg7_defvalue ;
3164 wxFrame *result;
3165 bool temp3 = False ;
3166 wxPoint temp4 ;
3167 wxSize temp5 ;
3168 bool temp7 = False ;
3169 PyObject * obj0 = 0 ;
3170 PyObject * obj1 = 0 ;
3171 PyObject * obj2 = 0 ;
3172 PyObject * obj3 = 0 ;
3173 PyObject * obj4 = 0 ;
3174 PyObject * obj5 = 0 ;
3175 PyObject * obj6 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3178 };
3179
248ed943 3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
3181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
3183 if (obj1) {
3184 arg2 = (int const) SWIG_AsInt(obj1);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 if (obj2) {
3188 {
3189 arg3 = wxString_in_helper(obj2);
3190 if (arg3 == NULL) SWIG_fail;
3191 temp3 = True;
3192 }
d55e5bfc
RD
3193 }
3194 if (obj3) {
3195 {
3196 arg4 = &temp4;
3197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3198 }
3199 }
3200 if (obj4) {
3201 {
3202 arg5 = &temp5;
3203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3204 }
3205 }
3206 if (obj5) {
3207 arg6 = (long) SWIG_AsLong(obj5);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 if (obj6) {
3211 {
3212 arg7 = wxString_in_helper(obj6);
3213 if (arg7 == NULL) SWIG_fail;
3214 temp7 = True;
3215 }
3216 }
3217 {
0439c23b 3218 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3221
3222 wxPyEndAllowThreads(__tstate);
0439c23b 3223 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3224 }
3225 {
3226 resultobj = wxPyMake_wxObject(result);
3227 }
3228 {
3229 if (temp3)
3230 delete arg3;
3231 }
3232 {
3233 if (temp7)
3234 delete arg7;
3235 }
3236 return resultobj;
3237 fail:
3238 {
3239 if (temp3)
3240 delete arg3;
3241 }
3242 {
3243 if (temp7)
3244 delete arg7;
3245 }
3246 return NULL;
3247}
3248
3249
3250static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxFrame *result;
3253 char *kwnames[] = {
3254 NULL
3255 };
3256
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3258 {
0439c23b 3259 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 result = (wxFrame *)new wxFrame();
3262
3263 wxPyEndAllowThreads(__tstate);
0439c23b 3264 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3265 }
3266 {
3267 resultobj = wxPyMake_wxObject(result);
3268 }
3269 return resultobj;
3270 fail:
3271 return NULL;
3272}
3273
3274
3275static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxFrame *arg1 = (wxFrame *) 0 ;
3278 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3279 int arg3 = (int) (int)-1 ;
3280 wxString const &arg4_defvalue = wxPyEmptyString ;
3281 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3282 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3283 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3284 wxSize const &arg6_defvalue = wxDefaultSize ;
3285 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3286 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3287 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3288 wxString *arg8 = (wxString *) &arg8_defvalue ;
3289 bool result;
3290 bool temp4 = False ;
3291 wxPoint temp5 ;
3292 wxSize temp6 ;
3293 bool temp8 = False ;
3294 PyObject * obj0 = 0 ;
3295 PyObject * obj1 = 0 ;
3296 PyObject * obj2 = 0 ;
3297 PyObject * obj3 = 0 ;
3298 PyObject * obj4 = 0 ;
3299 PyObject * obj5 = 0 ;
3300 PyObject * obj6 = 0 ;
3301 PyObject * obj7 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3304 };
3305
248ed943 3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
3311 if (obj2) {
3312 arg3 = (int const) SWIG_AsInt(obj2);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 if (obj3) {
3316 {
3317 arg4 = wxString_in_helper(obj3);
3318 if (arg4 == NULL) SWIG_fail;
3319 temp4 = True;
3320 }
d55e5bfc
RD
3321 }
3322 if (obj4) {
3323 {
3324 arg5 = &temp5;
3325 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3326 }
3327 }
3328 if (obj5) {
3329 {
3330 arg6 = &temp6;
3331 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3332 }
3333 }
3334 if (obj6) {
3335 arg7 = (long) SWIG_AsLong(obj6);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 if (obj7) {
3339 {
3340 arg8 = wxString_in_helper(obj7);
3341 if (arg8 == NULL) SWIG_fail;
3342 temp8 = True;
3343 }
3344 }
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3354 }
3355 {
3356 if (temp4)
3357 delete arg4;
3358 }
3359 {
3360 if (temp8)
3361 delete arg8;
3362 }
3363 return resultobj;
3364 fail:
3365 {
3366 if (temp4)
3367 delete arg4;
3368 }
3369 {
3370 if (temp8)
3371 delete arg8;
3372 }
3373 return NULL;
3374}
3375
3376
3377static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxFrame *arg1 = (wxFrame *) 0 ;
3380 wxPoint result;
3381 PyObject * obj0 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 {
3397 wxPoint * resultptr;
3398 resultptr = new wxPoint((wxPoint &) result);
3399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3400 }
3401 return resultobj;
3402 fail:
3403 return NULL;
3404}
3405
3406
3407static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj;
3409 wxFrame *arg1 = (wxFrame *) 0 ;
3410 PyObject * obj0 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SendSizeEvent();
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
3432static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxFrame *arg1 = (wxFrame *) 0 ;
3435 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "menubar", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->SetMenuBar(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458}
3459
3460
3461static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxFrame *arg1 = (wxFrame *) 0 ;
3464 wxMenuBar *result;
3465 PyObject * obj0 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3476
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 {
3481 resultobj = wxPyMake_wxObject(result);
3482 }
3483 return resultobj;
3484 fail:
3485 return NULL;
3486}
3487
3488
3489static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxFrame *arg1 = (wxFrame *) 0 ;
3492 int arg2 ;
3493 bool result;
3494 PyObject * obj0 = 0 ;
3495 PyObject * obj1 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "self",(char *) "winid", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3503 arg2 = (int) SWIG_AsInt(obj1);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 result = (bool)(arg1)->ProcessCommand(arg2);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 {
3513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3514 }
3515 return resultobj;
3516 fail:
3517 return NULL;
3518}
3519
3520
3521static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject *resultobj;
3523 wxFrame *arg1 = (wxFrame *) 0 ;
3524 int arg2 = (int) 1 ;
3525 long arg3 = (long) wxST_SIZEGRIP ;
3526 int arg4 = (int) 0 ;
3527 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3528 wxString *arg5 = (wxString *) &arg5_defvalue ;
3529 wxStatusBar *result;
3530 bool temp5 = False ;
3531 PyObject * obj0 = 0 ;
3532 PyObject * obj1 = 0 ;
3533 PyObject * obj2 = 0 ;
3534 PyObject * obj3 = 0 ;
3535 PyObject * obj4 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3543 if (obj1) {
3544 arg2 = (int) SWIG_AsInt(obj1);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 if (obj2) {
3548 arg3 = (long) SWIG_AsLong(obj2);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 if (obj3) {
3552 arg4 = (int) SWIG_AsInt(obj3);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 if (obj4) {
3556 {
3557 arg5 = wxString_in_helper(obj4);
3558 if (arg5 == NULL) SWIG_fail;
3559 temp5 = True;
3560 }
3561 }
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 {
3570 resultobj = wxPyMake_wxObject(result);
3571 }
3572 {
3573 if (temp5)
3574 delete arg5;
3575 }
3576 return resultobj;
3577 fail:
3578 {
3579 if (temp5)
3580 delete arg5;
3581 }
3582 return NULL;
3583}
3584
3585
3586static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3587 PyObject *resultobj;
3588 wxFrame *arg1 = (wxFrame *) 0 ;
3589 wxStatusBar *result;
3590 PyObject * obj0 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 resultobj = wxPyMake_wxObject(result);
3607 }
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
3614static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxFrame *arg1 = (wxFrame *) 0 ;
3617 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3618 PyObject * obj0 = 0 ;
3619 PyObject * obj1 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "statBar", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 (arg1)->SetStatusBar(arg2);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 Py_INCREF(Py_None); resultobj = Py_None;
3637 return resultobj;
3638 fail:
3639 return NULL;
3640}
3641
3642
3643static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject *resultobj;
3645 wxFrame *arg1 = (wxFrame *) 0 ;
3646 wxString *arg2 = 0 ;
3647 int arg3 = (int) 0 ;
3648 bool temp2 = False ;
3649 PyObject * obj0 = 0 ;
3650 PyObject * obj1 = 0 ;
3651 PyObject * obj2 = 0 ;
3652 char *kwnames[] = {
3653 (char *) "self",(char *) "text",(char *) "number", NULL
3654 };
3655
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3659 {
3660 arg2 = wxString_in_helper(obj1);
3661 if (arg2 == NULL) SWIG_fail;
3662 temp2 = True;
3663 }
3664 if (obj2) {
3665 arg3 = (int) SWIG_AsInt(obj2);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 Py_INCREF(Py_None); resultobj = Py_None;
3676 {
3677 if (temp2)
3678 delete arg2;
3679 }
3680 return resultobj;
3681 fail:
3682 {
3683 if (temp2)
3684 delete arg2;
3685 }
3686 return NULL;
3687}
3688
3689
3690static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3691 PyObject *resultobj;
3692 wxFrame *arg1 = (wxFrame *) 0 ;
3693 int arg2 ;
3694 int *arg3 = (int *) 0 ;
3695 PyObject * obj0 = 0 ;
3696 PyObject * obj1 = 0 ;
3697 char *kwnames[] = {
3698 (char *) "self",(char *) "widths", NULL
3699 };
3700
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3704 {
3705 arg2 = PyList_Size(obj1);
3706 arg3 = int_LIST_helper(obj1);
3707 if (arg3 == NULL) SWIG_fail;
3708 }
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 Py_INCREF(Py_None); resultobj = Py_None;
3717 {
3718 if (arg3) delete [] arg3;
3719 }
3720 return resultobj;
3721 fail:
3722 {
3723 if (arg3) delete [] arg3;
3724 }
3725 return NULL;
3726}
3727
3728
3729static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxFrame *arg1 = (wxFrame *) 0 ;
3732 wxString *arg2 = 0 ;
3733 int arg3 = (int) 0 ;
3734 bool temp2 = False ;
3735 PyObject * obj0 = 0 ;
3736 PyObject * obj1 = 0 ;
3737 PyObject * obj2 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self",(char *) "text",(char *) "number", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3745 {
3746 arg2 = wxString_in_helper(obj1);
3747 if (arg2 == NULL) SWIG_fail;
3748 temp2 = True;
3749 }
3750 if (obj2) {
3751 arg3 = (int) SWIG_AsInt(obj2);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 Py_INCREF(Py_None); resultobj = Py_None;
3762 {
3763 if (temp2)
3764 delete arg2;
3765 }
3766 return resultobj;
3767 fail:
3768 {
3769 if (temp2)
3770 delete arg2;
3771 }
3772 return NULL;
3773}
3774
3775
3776static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxFrame *arg1 = (wxFrame *) 0 ;
3779 int arg2 = (int) 0 ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self",(char *) "number", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3789 if (obj1) {
3790 arg2 = (int) SWIG_AsInt(obj1);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 {
3794 PyThreadState* __tstate = wxPyBeginAllowThreads();
3795 (arg1)->PopStatusText(arg2);
3796
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 Py_INCREF(Py_None); resultobj = Py_None;
3801 return resultobj;
3802 fail:
3803 return NULL;
3804}
3805
3806
3807static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxFrame *arg1 = (wxFrame *) 0 ;
3810 int arg2 ;
3811 PyObject * obj0 = 0 ;
3812 PyObject * obj1 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "self",(char *) "n", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3820 arg2 = (int) SWIG_AsInt(obj1);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 (arg1)->SetStatusBarPane(arg2);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 Py_INCREF(Py_None); resultobj = Py_None;
3830 return resultobj;
3831 fail:
3832 return NULL;
3833}
3834
3835
3836static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj;
3838 wxFrame *arg1 = (wxFrame *) 0 ;
3839 int result;
3840 PyObject * obj0 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "self", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_FromInt((int)result);
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
3862static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxFrame *arg1 = (wxFrame *) 0 ;
3865 long arg2 = (long) -1 ;
3866 int arg3 = (int) -1 ;
3867 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3868 wxString *arg4 = (wxString *) &arg4_defvalue ;
3869 wxToolBar *result;
3870 bool temp4 = False ;
3871 PyObject * obj0 = 0 ;
3872 PyObject * obj1 = 0 ;
3873 PyObject * obj2 = 0 ;
3874 PyObject * obj3 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3882 if (obj1) {
3883 arg2 = (long) SWIG_AsLong(obj1);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 }
3886 if (obj2) {
3887 arg3 = (int) SWIG_AsInt(obj2);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 if (obj3) {
3891 {
3892 arg4 = wxString_in_helper(obj3);
3893 if (arg4 == NULL) SWIG_fail;
3894 temp4 = True;
3895 }
3896 }
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 {
3905 resultobj = wxPyMake_wxObject(result);
3906 }
3907 {
3908 if (temp4)
3909 delete arg4;
3910 }
3911 return resultobj;
3912 fail:
3913 {
3914 if (temp4)
3915 delete arg4;
3916 }
3917 return NULL;
3918}
3919
3920
3921static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxFrame *arg1 = (wxFrame *) 0 ;
3924 wxToolBar *result;
3925 PyObject * obj0 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 {
3941 resultobj = wxPyMake_wxObject(result);
3942 }
3943 return resultobj;
3944 fail:
3945 return NULL;
3946}
3947
3948
3949static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxFrame *arg1 = (wxFrame *) 0 ;
3952 wxToolBar *arg2 = (wxToolBar *) 0 ;
3953 PyObject * obj0 = 0 ;
3954 PyObject * obj1 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self",(char *) "toolbar", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 (arg1)->SetToolBar(arg2);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 Py_INCREF(Py_None); resultobj = Py_None;
3972 return resultobj;
3973 fail:
3974 return NULL;
3975}
3976
3977
3978static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject *resultobj;
3980 wxFrame *arg1 = (wxFrame *) 0 ;
3981 wxString *arg2 = 0 ;
3982 bool arg3 ;
3983 bool temp2 = False ;
3984 PyObject * obj0 = 0 ;
3985 PyObject * obj1 = 0 ;
3986 PyObject * obj2 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "self",(char *) "text",(char *) "show", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3994 {
3995 arg2 = wxString_in_helper(obj1);
3996 if (arg2 == NULL) SWIG_fail;
3997 temp2 = True;
3998 }
3999 arg3 = (bool) SWIG_AsBool(obj2);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
4008 Py_INCREF(Py_None); resultobj = Py_None;
4009 {
4010 if (temp2)
4011 delete arg2;
4012 }
4013 return resultobj;
4014 fail:
4015 {
4016 if (temp2)
4017 delete arg2;
4018 }
4019 return NULL;
4020}
4021
4022
4023static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
4024 PyObject *resultobj;
4025 wxFrame *arg1 = (wxFrame *) 0 ;
4026 wxMenu *arg2 = (wxMenu *) NULL ;
4027 PyObject * obj0 = 0 ;
4028 PyObject * obj1 = 0 ;
4029 char *kwnames[] = {
4030 (char *) "self",(char *) "menu", NULL
4031 };
4032
4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4036 if (obj1) {
4037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4039 }
4040 {
4041 PyThreadState* __tstate = wxPyBeginAllowThreads();
4042 (arg1)->DoMenuUpdates(arg2);
4043
4044 wxPyEndAllowThreads(__tstate);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 Py_INCREF(Py_None); resultobj = Py_None;
4048 return resultobj;
4049 fail:
4050 return NULL;
4051}
4052
4053
f20a2e1f
RD
4054static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4055 PyObject *resultobj;
4056 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4057 wxVisualAttributes result;
4058 PyObject * obj0 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "variant", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4064 if (obj0) {
4065 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 {
0439c23b 4069 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4072
4073 wxPyEndAllowThreads(__tstate);
0439c23b 4074 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4075 }
4076 {
4077 wxVisualAttributes * resultptr;
4078 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4080 }
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
d55e5bfc
RD
4087static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4088 PyObject *obj;
4089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4091 Py_INCREF(obj);
4092 return Py_BuildValue((char *)"");
4093}
4094static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj;
4096 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4097 int arg2 = (int) (int)-1 ;
4098 wxString const &arg3_defvalue = wxPyEmptyString ;
4099 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4100 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4101 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4102 wxSize const &arg5_defvalue = wxDefaultSize ;
4103 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4104 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4105 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4106 wxString *arg7 = (wxString *) &arg7_defvalue ;
4107 wxDialog *result;
4108 bool temp3 = False ;
4109 wxPoint temp4 ;
4110 wxSize temp5 ;
4111 bool temp7 = False ;
4112 PyObject * obj0 = 0 ;
4113 PyObject * obj1 = 0 ;
4114 PyObject * obj2 = 0 ;
4115 PyObject * obj3 = 0 ;
4116 PyObject * obj4 = 0 ;
4117 PyObject * obj5 = 0 ;
4118 PyObject * obj6 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4121 };
4122
248ed943 4123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4126 if (obj1) {
4127 arg2 = (int const) SWIG_AsInt(obj1);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 if (obj2) {
4131 {
4132 arg3 = wxString_in_helper(obj2);
4133 if (arg3 == NULL) SWIG_fail;
4134 temp3 = True;
4135 }
d55e5bfc
RD
4136 }
4137 if (obj3) {
4138 {
4139 arg4 = &temp4;
4140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4141 }
4142 }
4143 if (obj4) {
4144 {
4145 arg5 = &temp5;
4146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4147 }
4148 }
4149 if (obj5) {
4150 arg6 = (long) SWIG_AsLong(obj5);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 if (obj6) {
4154 {
4155 arg7 = wxString_in_helper(obj6);
4156 if (arg7 == NULL) SWIG_fail;
4157 temp7 = True;
4158 }
4159 }
4160 {
0439c23b 4161 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4164
4165 wxPyEndAllowThreads(__tstate);
0439c23b 4166 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4167 }
e058867b
RD
4168 {
4169 resultobj = wxPyMake_wxObject(result);
4170 }
d55e5bfc
RD
4171 {
4172 if (temp3)
4173 delete arg3;
4174 }
4175 {
4176 if (temp7)
4177 delete arg7;
4178 }
4179 return resultobj;
4180 fail:
4181 {
4182 if (temp3)
4183 delete arg3;
4184 }
4185 {
4186 if (temp7)
4187 delete arg7;
4188 }
4189 return NULL;
4190}
4191
4192
4193static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4194 PyObject *resultobj;
4195 wxDialog *result;
4196 char *kwnames[] = {
4197 NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4201 {
0439c23b 4202 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (wxDialog *)new wxDialog();
4205
4206 wxPyEndAllowThreads(__tstate);
0439c23b 4207 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4208 }
e058867b
RD
4209 {
4210 resultobj = wxPyMake_wxObject(result);
4211 }
d55e5bfc
RD
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxDialog *arg1 = (wxDialog *) 0 ;
4221 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4222 int arg3 = (int) (int)-1 ;
4223 wxString const &arg4_defvalue = wxPyEmptyString ;
4224 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4225 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4226 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4227 wxSize const &arg6_defvalue = wxDefaultSize ;
4228 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4229 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4230 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4231 wxString *arg8 = (wxString *) &arg8_defvalue ;
4232 bool result;
4233 bool temp4 = False ;
4234 wxPoint temp5 ;
4235 wxSize temp6 ;
4236 bool temp8 = False ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 PyObject * obj2 = 0 ;
4240 PyObject * obj3 = 0 ;
4241 PyObject * obj4 = 0 ;
4242 PyObject * obj5 = 0 ;
4243 PyObject * obj6 = 0 ;
4244 PyObject * obj7 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4247 };
4248
248ed943 4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4254 if (obj2) {
4255 arg3 = (int const) SWIG_AsInt(obj2);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 if (obj3) {
4259 {
4260 arg4 = wxString_in_helper(obj3);
4261 if (arg4 == NULL) SWIG_fail;
4262 temp4 = True;
4263 }
d55e5bfc
RD
4264 }
4265 if (obj4) {
4266 {
4267 arg5 = &temp5;
4268 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4269 }
4270 }
4271 if (obj5) {
4272 {
4273 arg6 = &temp6;
4274 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4275 }
4276 }
4277 if (obj6) {
4278 arg7 = (long) SWIG_AsLong(obj6);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 if (obj7) {
4282 {
4283 arg8 = wxString_in_helper(obj7);
4284 if (arg8 == NULL) SWIG_fail;
4285 temp8 = True;
4286 }
4287 }
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 {
4296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4297 }
4298 {
4299 if (temp4)
4300 delete arg4;
4301 }
4302 {
4303 if (temp8)
4304 delete arg8;
4305 }
4306 return resultobj;
4307 fail:
4308 {
4309 if (temp4)
4310 delete arg4;
4311 }
4312 {
4313 if (temp8)
4314 delete arg8;
4315 }
4316 return NULL;
4317}
4318
4319
4320static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxDialog *arg1 = (wxDialog *) 0 ;
4323 int arg2 ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4326 char *kwnames[] = {
4327 (char *) "self",(char *) "returnCode", NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4333 arg2 = (int) SWIG_AsInt(obj1);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->SetReturnCode(arg2);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346}
4347
4348
4349static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxDialog *arg1 = (wxDialog *) 0 ;
4352 int result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 resultobj = SWIG_FromInt((int)result);
4369 return resultobj;
4370 fail:
4371 return NULL;
4372}
4373
4374
4375static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 wxDialog *arg1 = (wxDialog *) 0 ;
4378 wxString *arg2 = 0 ;
4379 wxSizer *result;
4380 bool temp2 = False ;
4381 PyObject * obj0 = 0 ;
4382 PyObject * obj1 = 0 ;
4383 char *kwnames[] = {
4384 (char *) "self",(char *) "message", NULL
4385 };
4386
4387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4390 {
4391 arg2 = wxString_in_helper(obj1);
4392 if (arg2 == NULL) SWIG_fail;
4393 temp2 = True;
4394 }
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 {
4403 resultobj = wxPyMake_wxSizer(result);
4404 }
4405 {
4406 if (temp2)
4407 delete arg2;
4408 }
4409 return resultobj;
4410 fail:
4411 {
4412 if (temp2)
4413 delete arg2;
4414 }
4415 return NULL;
4416}
4417
4418
4419static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxDialog *arg1 = (wxDialog *) 0 ;
4422 long arg2 ;
4423 wxSizer *result;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "flags", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4433 arg2 = (long) SWIG_AsLong(obj1);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
4443 resultobj = wxPyMake_wxSizer(result);
4444 }
4445 return resultobj;
4446 fail:
4447 return NULL;
4448}
4449
4450
4451static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxDialog *arg1 = (wxDialog *) 0 ;
4454 bool result;
4455 PyObject * obj0 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (bool)((wxDialog const *)arg1)->IsModal();
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 {
4471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4472 }
4473 return resultobj;
4474 fail:
4475 return NULL;
4476}
4477
4478
4479static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj;
4481 wxDialog *arg1 = (wxDialog *) 0 ;
4482 int result;
4483 PyObject * obj0 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self", NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4491 {
4492 PyThreadState* __tstate = wxPyBeginAllowThreads();
4493 result = (int)(arg1)->ShowModal();
4494
4495 wxPyEndAllowThreads(__tstate);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4498 resultobj = SWIG_FromInt((int)result);
4499 return resultobj;
4500 fail:
4501 return NULL;
4502}
4503
4504
4505static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj;
4507 wxDialog *arg1 = (wxDialog *) 0 ;
4508 int arg2 ;
4509 PyObject * obj0 = 0 ;
4510 PyObject * obj1 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self",(char *) "retCode", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4518 arg2 = (int) SWIG_AsInt(obj1);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 (arg1)->EndModal(arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 Py_INCREF(Py_None); resultobj = Py_None;
4528 return resultobj;
4529 fail:
4530 return NULL;
4531}
4532
4533
f20a2e1f
RD
4534static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4537 wxVisualAttributes result;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "variant", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4544 if (obj0) {
4545 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 {
0439c23b 4549 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4552
4553 wxPyEndAllowThreads(__tstate);
0439c23b 4554 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4555 }
4556 {
4557 wxVisualAttributes * resultptr;
4558 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4560 }
4561 return resultobj;
4562 fail:
4563 return NULL;
4564}
4565
4566
d55e5bfc
RD
4567static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4568 PyObject *obj;
4569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4570 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4571 Py_INCREF(obj);
4572 return Py_BuildValue((char *)"");
4573}
4574static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4577 int arg2 = (int) (int)-1 ;
4578 wxString const &arg3_defvalue = wxPyEmptyString ;
4579 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4582 wxSize const &arg5_defvalue = wxDefaultSize ;
4583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4584 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4585 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4586 wxString *arg7 = (wxString *) &arg7_defvalue ;
4587 wxMiniFrame *result;
4588 bool temp3 = False ;
4589 wxPoint temp4 ;
4590 wxSize temp5 ;
4591 bool temp7 = False ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 PyObject * obj3 = 0 ;
4596 PyObject * obj4 = 0 ;
4597 PyObject * obj5 = 0 ;
4598 PyObject * obj6 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4601 };
4602
248ed943 4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4606 if (obj1) {
4607 arg2 = (int const) SWIG_AsInt(obj1);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 if (obj2) {
4611 {
4612 arg3 = wxString_in_helper(obj2);
4613 if (arg3 == NULL) SWIG_fail;
4614 temp3 = True;
4615 }
d55e5bfc
RD
4616 }
4617 if (obj3) {
4618 {
4619 arg4 = &temp4;
4620 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4621 }
4622 }
4623 if (obj4) {
4624 {
4625 arg5 = &temp5;
4626 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4627 }
4628 }
4629 if (obj5) {
4630 arg6 = (long) SWIG_AsLong(obj5);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 if (obj6) {
4634 {
4635 arg7 = wxString_in_helper(obj6);
4636 if (arg7 == NULL) SWIG_fail;
4637 temp7 = True;
4638 }
4639 }
4640 {
0439c23b 4641 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4644
4645 wxPyEndAllowThreads(__tstate);
0439c23b 4646 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4647 }
4648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4649 {
4650 if (temp3)
4651 delete arg3;
4652 }
4653 {
4654 if (temp7)
4655 delete arg7;
4656 }
4657 return resultobj;
4658 fail:
4659 {
4660 if (temp3)
4661 delete arg3;
4662 }
4663 {
4664 if (temp7)
4665 delete arg7;
4666 }
4667 return NULL;
4668}
4669
4670
4671static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxMiniFrame *result;
4674 char *kwnames[] = {
4675 NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4679 {
0439c23b 4680 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 result = (wxMiniFrame *)new wxMiniFrame();
4683
4684 wxPyEndAllowThreads(__tstate);
0439c23b 4685 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4686 }
4687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4688 return resultobj;
4689 fail:
4690 return NULL;
4691}
4692
4693
4694static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj;
4696 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4697 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4698 int arg3 = (int) (int)-1 ;
4699 wxString const &arg4_defvalue = wxPyEmptyString ;
4700 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4701 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4702 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4703 wxSize const &arg6_defvalue = wxDefaultSize ;
4704 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4705 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4706 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4707 wxString *arg8 = (wxString *) &arg8_defvalue ;
4708 bool result;
4709 bool temp4 = False ;
4710 wxPoint temp5 ;
4711 wxSize temp6 ;
4712 bool temp8 = False ;
4713 PyObject * obj0 = 0 ;
4714 PyObject * obj1 = 0 ;
4715 PyObject * obj2 = 0 ;
4716 PyObject * obj3 = 0 ;
4717 PyObject * obj4 = 0 ;
4718 PyObject * obj5 = 0 ;
4719 PyObject * obj6 = 0 ;
4720 PyObject * obj7 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4723 };
4724
248ed943 4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4730 if (obj2) {
4731 arg3 = (int const) SWIG_AsInt(obj2);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 if (obj3) {
4735 {
4736 arg4 = wxString_in_helper(obj3);
4737 if (arg4 == NULL) SWIG_fail;
4738 temp4 = True;
4739 }
d55e5bfc
RD
4740 }
4741 if (obj4) {
4742 {
4743 arg5 = &temp5;
4744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4745 }
4746 }
4747 if (obj5) {
4748 {
4749 arg6 = &temp6;
4750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4751 }
4752 }
4753 if (obj6) {
4754 arg7 = (long) SWIG_AsLong(obj6);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 if (obj7) {
4758 {
4759 arg8 = wxString_in_helper(obj7);
4760 if (arg8 == NULL) SWIG_fail;
4761 temp8 = True;
4762 }
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 {
4772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4773 }
4774 {
4775 if (temp4)
4776 delete arg4;
4777 }
4778 {
4779 if (temp8)
4780 delete arg8;
4781 }
4782 return resultobj;
4783 fail:
4784 {
4785 if (temp4)
4786 delete arg4;
4787 }
4788 {
4789 if (temp8)
4790 delete arg8;
4791 }
4792 return NULL;
4793}
4794
4795
4796static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4797 PyObject *obj;
4798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4799 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4800 Py_INCREF(obj);
4801 return Py_BuildValue((char *)"");
4802}
4803static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj;
4805 wxBitmap *arg1 = 0 ;
4806 wxWindow *arg2 = (wxWindow *) 0 ;
4807 int arg3 ;
4808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4810 wxSize const &arg5_defvalue = wxDefaultSize ;
4811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4812 long arg6 = (long) wxNO_BORDER ;
4813 wxSplashScreenWindow *result;
4814 wxPoint temp4 ;
4815 wxSize temp5 ;
4816 PyObject * obj0 = 0 ;
4817 PyObject * obj1 = 0 ;
4818 PyObject * obj2 = 0 ;
4819 PyObject * obj3 = 0 ;
4820 PyObject * obj4 = 0 ;
4821 PyObject * obj5 = 0 ;
4822 char *kwnames[] = {
4823 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4824 };
4825
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4828 SWIG_POINTER_EXCEPTION | 0)) == -1)
4829 SWIG_fail;
4830 if (arg1 == NULL) {
4831 PyErr_SetString(PyExc_TypeError,"null reference");
4832 SWIG_fail;
4833 }
4834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4836 arg3 = (int) SWIG_AsInt(obj2);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 if (obj3) {
4839 {
4840 arg4 = &temp4;
4841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4842 }
4843 }
4844 if (obj4) {
4845 {
4846 arg5 = &temp5;
4847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4848 }
4849 }
4850 if (obj5) {
4851 arg6 = (long) SWIG_AsLong(obj5);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
0439c23b 4855 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4858
4859 wxPyEndAllowThreads(__tstate);
0439c23b 4860 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4861 }
4862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4863 return resultobj;
4864 fail:
4865 return NULL;
4866}
4867
4868
4869static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4872 wxBitmap *arg2 = 0 ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self",(char *) "bitmap", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1)
4884 SWIG_fail;
4885 if (arg2 == NULL) {
4886 PyErr_SetString(PyExc_TypeError,"null reference");
4887 SWIG_fail;
4888 }
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 Py_INCREF(Py_None); resultobj = Py_None;
4897 return resultobj;
4898 fail:
4899 return NULL;
4900}
4901
4902
4903static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4906 wxBitmap *result;
4907 PyObject * obj0 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 {
4918 wxBitmap &_result_ref = (arg1)->GetBitmap();
4919 result = (wxBitmap *) &_result_ref;
4920 }
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 {
4926 wxBitmap* resultptr = new wxBitmap(*result);
4927 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4928 }
4929 return resultobj;
4930 fail:
4931 return NULL;
4932}
4933
4934
4935static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4936 PyObject *obj;
4937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4938 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4939 Py_INCREF(obj);
4940 return Py_BuildValue((char *)"");
4941}
4942static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxBitmap *arg1 = 0 ;
4945 long arg2 ;
4946 int arg3 ;
4947 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 4948 int arg5 = (int) -1 ;
d55e5bfc
RD
4949 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4950 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4951 wxSize const &arg7_defvalue = wxDefaultSize ;
4952 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4953 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4954 wxSplashScreen *result;
4955 wxPoint temp6 ;
4956 wxSize temp7 ;
4957 PyObject * obj0 = 0 ;
4958 PyObject * obj1 = 0 ;
4959 PyObject * obj2 = 0 ;
4960 PyObject * obj3 = 0 ;
4961 PyObject * obj4 = 0 ;
4962 PyObject * obj5 = 0 ;
4963 PyObject * obj6 = 0 ;
4964 PyObject * obj7 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4967 };
4968
248ed943 4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4971 SWIG_POINTER_EXCEPTION | 0)) == -1)
4972 SWIG_fail;
4973 if (arg1 == NULL) {
4974 PyErr_SetString(PyExc_TypeError,"null reference");
4975 SWIG_fail;
4976 }
4977 arg2 = (long) SWIG_AsLong(obj1);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 arg3 = (int) SWIG_AsInt(obj2);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4983 if (obj4) {
4984 arg5 = (int) SWIG_AsInt(obj4);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
d55e5bfc
RD
4987 if (obj5) {
4988 {
4989 arg6 = &temp6;
4990 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4991 }
4992 }
4993 if (obj6) {
4994 {
4995 arg7 = &temp7;
4996 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4997 }
4998 }
4999 if (obj7) {
5000 arg8 = (long) SWIG_AsLong(obj7);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 {
0439c23b 5004 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5007
5008 wxPyEndAllowThreads(__tstate);
0439c23b 5009 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5010 }
5011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5012 return resultobj;
5013 fail:
5014 return NULL;
5015}
5016
5017
5018static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5021 long result;
5022 PyObject * obj0 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 resultobj = SWIG_FromLong((long)result);
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
5044static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5047 wxSplashScreenWindow *result;
5048 PyObject * obj0 = 0 ;
5049 char *kwnames[] = {
5050 (char *) "self", NULL
5051 };
5052
5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5064 return resultobj;
5065 fail:
5066 return NULL;
5067}
5068
5069
5070static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5073 int result;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 resultobj = SWIG_FromInt((int)result);
5090 return resultobj;
5091 fail:
5092 return NULL;
5093}
5094
5095
5096static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5097 PyObject *obj;
5098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5100 Py_INCREF(obj);
5101 return Py_BuildValue((char *)"");
5102}
5103static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxWindow *arg1 = (wxWindow *) 0 ;
5106 int arg2 = (int) -1 ;
5107 long arg3 = (long) wxST_SIZEGRIP ;
5108 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5109 wxString *arg4 = (wxString *) &arg4_defvalue ;
5110 wxStatusBar *result;
5111 bool temp4 = False ;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 PyObject * obj2 = 0 ;
5115 PyObject * obj3 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5123 if (obj1) {
5124 arg2 = (int) SWIG_AsInt(obj1);
5125 if (PyErr_Occurred()) SWIG_fail;
5126 }
5127 if (obj2) {
5128 arg3 = (long) SWIG_AsLong(obj2);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 if (obj3) {
5132 {
5133 arg4 = wxString_in_helper(obj3);
5134 if (arg4 == NULL) SWIG_fail;
5135 temp4 = True;
5136 }
5137 }
5138 {
0439c23b 5139 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5142
5143 wxPyEndAllowThreads(__tstate);
0439c23b 5144 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5145 }
5146 {
5147 resultobj = wxPyMake_wxObject(result);
5148 }
5149 {
5150 if (temp4)
5151 delete arg4;
5152 }
5153 return resultobj;
5154 fail:
5155 {
5156 if (temp4)
5157 delete arg4;
5158 }
5159 return NULL;
5160}
5161
5162
5163static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5164 PyObject *resultobj;
5165 wxStatusBar *result;
5166 char *kwnames[] = {
5167 NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5171 {
0439c23b 5172 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (wxStatusBar *)new wxStatusBar();
5175
5176 wxPyEndAllowThreads(__tstate);
0439c23b 5177 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5178 }
5179 {
5180 resultobj = wxPyMake_wxObject(result);
5181 }
5182 return resultobj;
5183 fail:
5184 return NULL;
5185}
5186
5187
5188static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5191 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5192 int arg3 = (int) -1 ;
d55e5bfc
RD
5193 long arg4 = (long) wxST_SIZEGRIP ;
5194 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5195 wxString *arg5 = (wxString *) &arg5_defvalue ;
5196 bool result;
5197 bool temp5 = False ;
5198 PyObject * obj0 = 0 ;
5199 PyObject * obj1 = 0 ;
5200 PyObject * obj2 = 0 ;
5201 PyObject * obj3 = 0 ;
5202 PyObject * obj4 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5205 };
5206
248ed943 5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d55e5bfc
RD
5208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5212 if (obj2) {
5213 arg3 = (int) SWIG_AsInt(obj2);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
d55e5bfc
RD
5216 if (obj3) {
5217 arg4 = (long) SWIG_AsLong(obj3);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 if (obj4) {
5221 {
5222 arg5 = wxString_in_helper(obj4);
5223 if (arg5 == NULL) SWIG_fail;
5224 temp5 = True;
5225 }
5226 }
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 {
5235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5236 }
5237 {
5238 if (temp5)
5239 delete arg5;
5240 }
5241 return resultobj;
5242 fail:
5243 {
5244 if (temp5)
5245 delete arg5;
5246 }
5247 return NULL;
5248}
5249
5250
5251static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5254 int arg2 = (int) 1 ;
5255 PyObject * obj0 = 0 ;
5256 PyObject * obj1 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "self",(char *) "number", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5264 if (obj1) {
5265 arg2 = (int) SWIG_AsInt(obj1);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->SetFieldsCount(arg2);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 Py_INCREF(Py_None); resultobj = Py_None;
5276 return resultobj;
5277 fail:
5278 return NULL;
5279}
5280
5281
5282static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5285 int result;
5286 PyObject * obj0 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 resultobj = SWIG_FromInt((int)result);
5302 return resultobj;
5303 fail:
5304 return NULL;
5305}
5306
5307
5308static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5309 PyObject *resultobj;
5310 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5311 wxString *arg2 = 0 ;
5312 int arg3 = (int) 0 ;
5313 bool temp2 = False ;
5314 PyObject * obj0 = 0 ;
5315 PyObject * obj1 = 0 ;
5316 PyObject * obj2 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "text",(char *) "number", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5324 {
5325 arg2 = wxString_in_helper(obj1);
5326 if (arg2 == NULL) SWIG_fail;
5327 temp2 = True;
5328 }
5329 if (obj2) {
5330 arg3 = (int) SWIG_AsInt(obj2);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 Py_INCREF(Py_None); resultobj = Py_None;
5341 {
5342 if (temp2)
5343 delete arg2;
5344 }
5345 return resultobj;
5346 fail:
5347 {
5348 if (temp2)
5349 delete arg2;
5350 }
5351 return NULL;
5352}
5353
5354
5355static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5356 PyObject *resultobj;
5357 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5358 int arg2 = (int) 0 ;
5359 wxString result;
5360 PyObject * obj0 = 0 ;
5361 PyObject * obj1 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self",(char *) "number", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5369 if (obj1) {
5370 arg2 = (int) SWIG_AsInt(obj1);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
5375 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5376
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 {
5381#if wxUSE_UNICODE
5382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5383#else
5384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5385#endif
5386 }
5387 return resultobj;
5388 fail:
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5396 wxString *arg2 = 0 ;
5397 int arg3 = (int) 0 ;
5398 bool temp2 = False ;
5399 PyObject * obj0 = 0 ;
5400 PyObject * obj1 = 0 ;
5401 PyObject * obj2 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self",(char *) "text",(char *) "number", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5409 {
5410 arg2 = wxString_in_helper(obj1);
5411 if (arg2 == NULL) SWIG_fail;
5412 temp2 = True;
5413 }
5414 if (obj2) {
5415 arg3 = (int) SWIG_AsInt(obj2);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 Py_INCREF(Py_None); resultobj = Py_None;
5426 {
5427 if (temp2)
5428 delete arg2;
5429 }
5430 return resultobj;
5431 fail:
5432 {
5433 if (temp2)
5434 delete arg2;
5435 }
5436 return NULL;
5437}
5438
5439
5440static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5441 PyObject *resultobj;
5442 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5443 int arg2 = (int) 0 ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self",(char *) "number", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5453 if (obj1) {
5454 arg2 = (int) SWIG_AsInt(obj1);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 (arg1)->PopStatusText(arg2);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 Py_INCREF(Py_None); resultobj = Py_None;
5465 return resultobj;
5466 fail:
5467 return NULL;
5468}
5469
5470
5471static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj;
5473 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5474 int arg2 ;
5475 int *arg3 = (int *) 0 ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self",(char *) "widths", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5485 {
5486 arg2 = PyList_Size(obj1);
5487 arg3 = int_LIST_helper(obj1);
5488 if (arg3 == NULL) SWIG_fail;
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 {
5499 if (arg3) delete [] arg3;
5500 }
5501 return resultobj;
5502 fail:
5503 {
5504 if (arg3) delete [] arg3;
5505 }
5506 return NULL;
5507}
5508
5509
5510static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5513 int arg2 ;
5514 wxRect result;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 char *kwnames[] = {
5518 (char *) "self",(char *) "i", NULL
5519 };
5520
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5524 arg2 = (int) SWIG_AsInt(obj1);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = wxStatusBar_GetFieldRect(arg1,arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 wxRect * resultptr;
5535 resultptr = new wxRect((wxRect &) result);
5536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5537 }
5538 return resultobj;
5539 fail:
5540 return NULL;
5541}
5542
5543
5544static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5547 int arg2 ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self",(char *) "height", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5557 arg2 = (int) SWIG_AsInt(obj1);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->SetMinHeight(arg2);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570}
5571
5572
5573static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5576 int result;
5577 PyObject * obj0 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5588
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 resultobj = SWIG_FromInt((int)result);
5593 return resultobj;
5594 fail:
5595 return NULL;
5596}
5597
5598
5599static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5602 int result;
5603 PyObject * obj0 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_FromInt((int)result);
5619 return resultobj;
5620 fail:
5621 return NULL;
5622}
5623
5624
f20a2e1f
RD
5625static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5628 wxVisualAttributes result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "variant", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5635 if (obj0) {
5636 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 {
0439c23b 5640 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5643
5644 wxPyEndAllowThreads(__tstate);
0439c23b 5645 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5646 }
5647 {
5648 wxVisualAttributes * resultptr;
5649 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5651 }
5652 return resultobj;
5653 fail:
5654 return NULL;
5655}
5656
5657
d55e5bfc
RD
5658static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5659 PyObject *obj;
5660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5661 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5662 Py_INCREF(obj);
5663 return Py_BuildValue((char *)"");
5664}
5665static int _wrap_SplitterNameStr_set(PyObject *_val) {
5666 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5667 return 1;
5668}
5669
5670
5671static PyObject *_wrap_SplitterNameStr_get() {
5672 PyObject *pyobj;
5673
5674 {
5675#if wxUSE_UNICODE
5676 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5677#else
5678 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5679#endif
5680 }
5681 return pyobj;
5682}
5683
5684
5685static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj;
5687 wxWindow *arg1 = (wxWindow *) 0 ;
5688 int arg2 = (int) -1 ;
5689 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5690 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5691 wxSize const &arg4_defvalue = wxDefaultSize ;
5692 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5693 long arg5 = (long) wxSP_3D ;
5694 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5695 wxString *arg6 = (wxString *) &arg6_defvalue ;
5696 wxSplitterWindow *result;
5697 wxPoint temp3 ;
5698 wxSize temp4 ;
5699 bool temp6 = False ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 PyObject * obj2 = 0 ;
5703 PyObject * obj3 = 0 ;
5704 PyObject * obj4 = 0 ;
5705 PyObject * obj5 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5713 if (obj1) {
5714 arg2 = (int) SWIG_AsInt(obj1);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 if (obj2) {
5718 {
5719 arg3 = &temp3;
5720 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5721 }
5722 }
5723 if (obj3) {
5724 {
5725 arg4 = &temp4;
5726 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5727 }
5728 }
5729 if (obj4) {
5730 arg5 = (long) SWIG_AsLong(obj4);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 if (obj5) {
5734 {
5735 arg6 = wxString_in_helper(obj5);
5736 if (arg6 == NULL) SWIG_fail;
5737 temp6 = True;
5738 }
5739 }
5740 {
0439c23b 5741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5744
5745 wxPyEndAllowThreads(__tstate);
0439c23b 5746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5747 }
5748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5749 {
5750 if (temp6)
5751 delete arg6;
5752 }
5753 return resultobj;
5754 fail:
5755 {
5756 if (temp6)
5757 delete arg6;
5758 }
5759 return NULL;
5760}
5761
5762
5763static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj;
5765 wxSplitterWindow *result;
5766 char *kwnames[] = {
5767 NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5771 {
0439c23b 5772 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = (wxSplitterWindow *)new wxSplitterWindow();
5775
5776 wxPyEndAllowThreads(__tstate);
0439c23b 5777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5778 }
5779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5780 return resultobj;
5781 fail:
5782 return NULL;
5783}
5784
5785
5786static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj;
5788 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5789 wxWindow *arg2 = (wxWindow *) 0 ;
5790 int arg3 = (int) -1 ;
5791 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5792 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5793 wxSize const &arg5_defvalue = wxDefaultSize ;
5794 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5795 long arg6 = (long) wxSP_3D ;
5796 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5797 wxString *arg7 = (wxString *) &arg7_defvalue ;
5798 bool result;
5799 wxPoint temp4 ;
5800 wxSize temp5 ;
5801 bool temp7 = False ;
5802 PyObject * obj0 = 0 ;
5803 PyObject * obj1 = 0 ;
5804 PyObject * obj2 = 0 ;
5805 PyObject * obj3 = 0 ;
5806 PyObject * obj4 = 0 ;
5807 PyObject * obj5 = 0 ;
5808 PyObject * obj6 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5818 if (obj2) {
5819 arg3 = (int) SWIG_AsInt(obj2);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 if (obj3) {
5823 {
5824 arg4 = &temp4;
5825 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5826 }
5827 }
5828 if (obj4) {
5829 {
5830 arg5 = &temp5;
5831 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5832 }
5833 }
5834 if (obj5) {
5835 arg6 = (long) SWIG_AsLong(obj5);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 if (obj6) {
5839 {
5840 arg7 = wxString_in_helper(obj6);
5841 if (arg7 == NULL) SWIG_fail;
5842 temp7 = True;
5843 }
5844 }
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 {
5853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5854 }
5855 {
5856 if (temp7)
5857 delete arg7;
5858 }
5859 return resultobj;
5860 fail:
5861 {
5862 if (temp7)
5863 delete arg7;
5864 }
5865 return NULL;
5866}
5867
5868
5869static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5872 wxWindow *result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 {
5889 resultobj = wxPyMake_wxObject(result);
5890 }
5891 return resultobj;
5892 fail:
5893 return NULL;
5894}
5895
5896
5897static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5900 wxWindow *result;
5901 PyObject * obj0 = 0 ;
5902 char *kwnames[] = {
5903 (char *) "self", NULL
5904 };
5905
5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 {
5917 resultobj = wxPyMake_wxObject(result);
5918 }
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
5925static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5928 int arg2 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self",(char *) "mode", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 arg2 = (int) SWIG_AsInt(obj1);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->SetSplitMode(arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 Py_INCREF(Py_None); resultobj = Py_None;
5948 return resultobj;
5949 fail:
5950 return NULL;
5951}
5952
5953
5954static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5957 int result;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_FromInt((int)result);
5974 return resultobj;
5975 fail:
5976 return NULL;
5977}
5978
5979
5980static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5983 wxWindow *arg2 = (wxWindow *) 0 ;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "window", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
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 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->Initialize(arg2);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006}
6007
6008
6009static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6012 wxWindow *arg2 = (wxWindow *) 0 ;
6013 wxWindow *arg3 = (wxWindow *) 0 ;
6014 int arg4 = (int) 0 ;
6015 bool result;
6016 PyObject * obj0 = 0 ;
6017 PyObject * obj1 = 0 ;
6018 PyObject * obj2 = 0 ;
6019 PyObject * obj3 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6029 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6031 if (obj3) {
6032 arg4 = (int) SWIG_AsInt(obj3);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6044 }
6045 return resultobj;
6046 fail:
6047 return NULL;
6048}
6049
6050
6051static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj;
6053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6054 wxWindow *arg2 = (wxWindow *) 0 ;
6055 wxWindow *arg3 = (wxWindow *) 0 ;
6056 int arg4 = (int) 0 ;
6057 bool result;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 PyObject * obj2 = 0 ;
6061 PyObject * obj3 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6071 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6073 if (obj3) {
6074 arg4 = (int) SWIG_AsInt(obj3);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 {
6085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6086 }
6087 return resultobj;
6088 fail:
6089 return NULL;
6090}
6091
6092
6093static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6096 wxWindow *arg2 = (wxWindow *) NULL ;
6097 bool result;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "toRemove", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6107 if (obj1) {
6108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6110 }
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 result = (bool)(arg1)->Unsplit(arg2);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6120 }
6121 return resultobj;
6122 fail:
6123 return NULL;
6124}
6125
6126
6127static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6130 wxWindow *arg2 = (wxWindow *) 0 ;
6131 wxWindow *arg3 = (wxWindow *) 0 ;
6132 bool result;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 PyObject * obj2 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6145 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6156 }
6157 return resultobj;
6158 fail:
6159 return NULL;
6160}
6161
6162
6163static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject *resultobj;
6165 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6166 PyObject * obj0 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 (arg1)->UpdateSize();
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 Py_INCREF(Py_None); resultobj = Py_None;
6182 return resultobj;
6183 fail:
6184 return NULL;
6185}
6186
6187
6188static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6191 bool result;
6192 PyObject * obj0 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 {
6208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6209 }
6210 return resultobj;
6211 fail:
6212 return NULL;
6213}
6214
6215
6216static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6219 int arg2 ;
6220 PyObject * obj0 = 0 ;
6221 PyObject * obj1 = 0 ;
6222 char *kwnames[] = {
6223 (char *) "self",(char *) "width", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6229 arg2 = (int) SWIG_AsInt(obj1);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 (arg1)->SetSashSize(arg2);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 Py_INCREF(Py_None); resultobj = Py_None;
6239 return resultobj;
6240 fail:
6241 return NULL;
6242}
6243
6244
6245static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6248 int arg2 ;
6249 PyObject * obj0 = 0 ;
6250 PyObject * obj1 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "self",(char *) "width", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6258 arg2 = (int) SWIG_AsInt(obj1);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 (arg1)->SetBorderSize(arg2);
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 Py_INCREF(Py_None); resultobj = Py_None;
6268 return resultobj;
6269 fail:
6270 return NULL;
6271}
6272
6273
6274static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6275 PyObject *resultobj;
6276 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6277 int result;
6278 PyObject * obj0 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 resultobj = SWIG_FromInt((int)result);
6294 return resultobj;
6295 fail:
6296 return NULL;
6297}
6298
6299
6300static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6303 int result;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 resultobj = SWIG_FromInt((int)result);
6320 return resultobj;
6321 fail:
6322 return NULL;
6323}
6324
6325
6326static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6329 int arg2 ;
6330 bool arg3 = (bool) True ;
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 PyObject * obj2 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self",(char *) "position",(char *) "redraw", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6341 arg2 = (int) SWIG_AsInt(obj1);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 if (obj2) {
6344 arg3 = (bool) SWIG_AsBool(obj2);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 (arg1)->SetSashPosition(arg2,arg3);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 Py_INCREF(Py_None); resultobj = Py_None;
6355 return resultobj;
6356 fail:
6357 return NULL;
6358}
6359
6360
6361static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj;
6363 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6364 int result;
6365 PyObject * obj0 = 0 ;
6366 char *kwnames[] = {
6367 (char *) "self", NULL
6368 };
6369
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 resultobj = SWIG_FromInt((int)result);
6381 return resultobj;
6382 fail:
6383 return NULL;
6384}
6385
6386
6387static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6388 PyObject *resultobj;
6389 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6390 int arg2 ;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self",(char *) "min", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6400 arg2 = (int) SWIG_AsInt(obj1);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 (arg1)->SetMinimumPaneSize(arg2);
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 Py_INCREF(Py_None); resultobj = Py_None;
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
6416static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj;
6418 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6419 int result;
6420 PyObject * obj0 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 resultobj = SWIG_FromInt((int)result);
6436 return resultobj;
6437 fail:
6438 return NULL;
6439}
6440
6441
6442static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj;
6444 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6445 int arg2 ;
6446 int arg3 ;
6447 int arg4 = (int) 5 ;
6448 bool result;
6449 PyObject * obj0 = 0 ;
6450 PyObject * obj1 = 0 ;
6451 PyObject * obj2 = 0 ;
6452 PyObject * obj3 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6460 arg2 = (int) SWIG_AsInt(obj1);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 arg3 = (int) SWIG_AsInt(obj2);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 if (obj3) {
6465 arg4 = (int) SWIG_AsInt(obj3);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6471
6472 wxPyEndAllowThreads(__tstate);
6473 if (PyErr_Occurred()) SWIG_fail;
6474 }
6475 {
6476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6477 }
6478 return resultobj;
6479 fail:
6480 return NULL;
6481}
6482
6483
6484static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6487 PyObject * obj0 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "self", NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 (arg1)->SizeWindows();
6498
6499 wxPyEndAllowThreads(__tstate);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 }
6502 Py_INCREF(Py_None); resultobj = Py_None;
6503 return resultobj;
6504 fail:
6505 return NULL;
6506}
6507
6508
6509static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6512 bool arg2 ;
6513 PyObject * obj0 = 0 ;
6514 PyObject * obj1 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "self",(char *) "needUpdating", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6522 arg2 = (bool) SWIG_AsBool(obj1);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->SetNeedUpdating(arg2);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 return resultobj;
6533 fail:
6534 return NULL;
6535}
6536
6537
6538static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6541 bool result;
6542 PyObject * obj0 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 {
6558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6559 }
6560 return resultobj;
6561 fail:
6562 return NULL;
6563}
6564
6565
f20a2e1f
RD
6566static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6569 wxVisualAttributes result;
6570 PyObject * obj0 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "variant", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6576 if (obj0) {
6577 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 {
0439c23b 6581 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6584
6585 wxPyEndAllowThreads(__tstate);
0439c23b 6586 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6587 }
6588 {
6589 wxVisualAttributes * resultptr;
6590 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6592 }
6593 return resultobj;
6594 fail:
6595 return NULL;
6596}
6597
6598
d55e5bfc
RD
6599static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6600 PyObject *obj;
6601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6602 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6603 Py_INCREF(obj);
6604 return Py_BuildValue((char *)"");
6605}
6606static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6609 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6610 wxSplitterEvent *result;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "type",(char *) "splitter", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6618 if (obj0) {
6619 arg1 = (wxEventType) SWIG_AsInt(obj0);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 if (obj1) {
6623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6625 }
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6634 return resultobj;
6635 fail:
6636 return NULL;
6637}
6638
6639
6640static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj;
6642 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6643 int arg2 ;
6644 PyObject * obj0 = 0 ;
6645 PyObject * obj1 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self",(char *) "pos", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6653 arg2 = (int) SWIG_AsInt(obj1);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 (arg1)->SetSashPosition(arg2);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 Py_INCREF(Py_None); resultobj = Py_None;
6663 return resultobj;
6664 fail:
6665 return NULL;
6666}
6667
6668
6669static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6672 int result;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 resultobj = SWIG_FromInt((int)result);
6689 return resultobj;
6690 fail:
6691 return NULL;
6692}
6693
6694
6695static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6698 wxWindow *result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "self", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 {
6715 resultobj = wxPyMake_wxObject(result);
6716 }
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
6723static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6726 int result;
6727 PyObject * obj0 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 resultobj = SWIG_FromInt((int)result);
6743 return resultobj;
6744 fail:
6745 return NULL;
6746}
6747
6748
6749static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6752 int result;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_FromInt((int)result);
6769 return resultobj;
6770 fail:
6771 return NULL;
6772}
6773
6774
6775static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6776 PyObject *obj;
6777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6778 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6779 Py_INCREF(obj);
6780 return Py_BuildValue((char *)"");
6781}
6782static int _wrap_SashNameStr_set(PyObject *_val) {
6783 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6784 return 1;
6785}
6786
6787
6788static PyObject *_wrap_SashNameStr_get() {
6789 PyObject *pyobj;
6790
6791 {
6792#if wxUSE_UNICODE
6793 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6794#else
6795 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6796#endif
6797 }
6798 return pyobj;
6799}
6800
6801
6802static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6803 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6804 return 1;
6805}
6806
6807
6808static PyObject *_wrap_SashLayoutNameStr_get() {
6809 PyObject *pyobj;
6810
6811 {
6812#if wxUSE_UNICODE
6813 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6814#else
6815 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6816#endif
6817 }
6818 return pyobj;
6819}
6820
6821
6822static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj;
6824 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6825 int arg2 = (int) -1 ;
d55e5bfc
RD
6826 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6827 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6828 wxSize const &arg4_defvalue = wxDefaultSize ;
6829 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6830 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6831 wxString const &arg6_defvalue = wxPySashNameStr ;
6832 wxString *arg6 = (wxString *) &arg6_defvalue ;
6833 wxSashWindow *result;
6834 wxPoint temp3 ;
6835 wxSize temp4 ;
6836 bool temp6 = False ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 PyObject * obj2 = 0 ;
6840 PyObject * obj3 = 0 ;
6841 PyObject * obj4 = 0 ;
6842 PyObject * obj5 = 0 ;
6843 char *kwnames[] = {
6844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6845 };
6846
248ed943 6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
6848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
6850 if (obj1) {
6851 arg2 = (int) SWIG_AsInt(obj1);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
d55e5bfc
RD
6854 if (obj2) {
6855 {
6856 arg3 = &temp3;
6857 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6858 }
6859 }
6860 if (obj3) {
6861 {
6862 arg4 = &temp4;
6863 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6864 }
6865 }
6866 if (obj4) {
6867 arg5 = (long) SWIG_AsLong(obj4);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 if (obj5) {
6871 {
6872 arg6 = wxString_in_helper(obj5);
6873 if (arg6 == NULL) SWIG_fail;
6874 temp6 = True;
6875 }
6876 }
6877 {
0439c23b 6878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6881
6882 wxPyEndAllowThreads(__tstate);
0439c23b 6883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6884 }
6885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6886 {
6887 if (temp6)
6888 delete arg6;
6889 }
6890 return resultobj;
6891 fail:
6892 {
6893 if (temp6)
6894 delete arg6;
6895 }
6896 return NULL;
6897}
6898
6899
6900static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxSashWindow *result;
6903 char *kwnames[] = {
6904 NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6908 {
0439c23b 6909 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 result = (wxSashWindow *)new wxSashWindow();
6912
6913 wxPyEndAllowThreads(__tstate);
0439c23b 6914 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6915 }
6916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6917 return resultobj;
6918 fail:
6919 return NULL;
6920}
6921
6922
6923static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj;
6925 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6926 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6927 int arg3 = (int) -1 ;
d55e5bfc
RD
6928 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6929 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6930 wxSize const &arg5_defvalue = wxDefaultSize ;
6931 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6932 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6933 wxString const &arg7_defvalue = wxPySashNameStr ;
6934 wxString *arg7 = (wxString *) &arg7_defvalue ;
6935 bool result;
6936 wxPoint temp4 ;
6937 wxSize temp5 ;
6938 bool temp7 = False ;
6939 PyObject * obj0 = 0 ;
6940 PyObject * obj1 = 0 ;
6941 PyObject * obj2 = 0 ;
6942 PyObject * obj3 = 0 ;
6943 PyObject * obj4 = 0 ;
6944 PyObject * obj5 = 0 ;
6945 PyObject * obj6 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6948 };
6949
248ed943 6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
6951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
6955 if (obj2) {
6956 arg3 = (int) SWIG_AsInt(obj2);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
d55e5bfc
RD
6959 if (obj3) {
6960 {
6961 arg4 = &temp4;
6962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6963 }
6964 }
6965 if (obj4) {
6966 {
6967 arg5 = &temp5;
6968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6969 }
6970 }
6971 if (obj5) {
6972 arg6 = (long) SWIG_AsLong(obj5);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 if (obj6) {
6976 {
6977 arg7 = wxString_in_helper(obj6);
6978 if (arg7 == NULL) SWIG_fail;
6979 temp7 = True;
6980 }
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6991 }
6992 {
6993 if (temp7)
6994 delete arg7;
6995 }
6996 return resultobj;
6997 fail:
6998 {
6999 if (temp7)
7000 delete arg7;
7001 }
7002 return NULL;
7003}
7004
7005
7006static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7009 int arg2 ;
7010 bool arg3 ;
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj1 = 0 ;
7013 PyObject * obj2 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "edge",(char *) "sash", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7021 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 arg3 = (bool) SWIG_AsBool(obj2);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 Py_INCREF(Py_None); resultobj = Py_None;
7033 return resultobj;
7034 fail:
7035 return NULL;
7036}
7037
7038
7039static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj;
7041 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7042 int arg2 ;
7043 bool result;
7044 PyObject * obj0 = 0 ;
7045 PyObject * obj1 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self",(char *) "edge", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7053 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 {
7063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7064 }
7065 return resultobj;
7066 fail:
7067 return NULL;
7068}
7069
7070
7071static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7074 int arg2 ;
7075 bool arg3 ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "edge",(char *) "border", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7086 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 arg3 = (bool) SWIG_AsBool(obj2);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
7104static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7107 int arg2 ;
7108 bool result;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "edge", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7118 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 {
7128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7129 }
7130 return resultobj;
7131 fail:
7132 return NULL;
7133}
7134
7135
7136static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7139 int arg2 ;
7140 int result;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self",(char *) "edge", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7150 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_FromInt((int)result);
7160 return resultobj;
7161 fail:
7162 return NULL;
7163}
7164
7165
7166static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7169 int arg2 ;
7170 PyObject * obj0 = 0 ;
7171 PyObject * obj1 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "width", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7179 arg2 = (int) SWIG_AsInt(obj1);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 (arg1)->SetDefaultBorderSize(arg2);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 Py_INCREF(Py_None); resultobj = Py_None;
7189 return resultobj;
7190 fail:
7191 return NULL;
7192}
7193
7194
7195static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7198 int result;
7199 PyObject * obj0 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 resultobj = SWIG_FromInt((int)result);
7215 return resultobj;
7216 fail:
7217 return NULL;
7218}
7219
7220
7221static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj;
7223 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7224 int arg2 ;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self",(char *) "width", NULL
7229 };
7230
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7234 arg2 = (int) SWIG_AsInt(obj1);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 (arg1)->SetExtraBorderSize(arg2);
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 Py_INCREF(Py_None); resultobj = Py_None;
7244 return resultobj;
7245 fail:
7246 return NULL;
7247}
7248
7249
7250static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj;
7252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7253 int result;
7254 PyObject * obj0 = 0 ;
7255 char *kwnames[] = {
7256 (char *) "self", NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7265
7266 wxPyEndAllowThreads(__tstate);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
7269 resultobj = SWIG_FromInt((int)result);
7270 return resultobj;
7271 fail:
7272 return NULL;
7273}
7274
7275
7276static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7279 int arg2 ;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "min", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7289 arg2 = (int) SWIG_AsInt(obj1);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 (arg1)->SetMinimumSizeX(arg2);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 Py_INCREF(Py_None); resultobj = Py_None;
7299 return resultobj;
7300 fail:
7301 return NULL;
7302}
7303
7304
7305static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7308 int arg2 ;
7309 PyObject * obj0 = 0 ;
7310 PyObject * obj1 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self",(char *) "min", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7318 arg2 = (int) SWIG_AsInt(obj1);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 (arg1)->SetMinimumSizeY(arg2);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 Py_INCREF(Py_None); resultobj = Py_None;
7328 return resultobj;
7329 fail:
7330 return NULL;
7331}
7332
7333
7334static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7337 int result;
7338 PyObject * obj0 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "self", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_FromInt((int)result);
7354 return resultobj;
7355 fail:
7356 return NULL;
7357}
7358
7359
7360static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7363 int result;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 resultobj = SWIG_FromInt((int)result);
7380 return resultobj;
7381 fail:
7382 return NULL;
7383}
7384
7385
7386static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7389 int arg2 ;
7390 PyObject * obj0 = 0 ;
7391 PyObject * obj1 = 0 ;
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "max", NULL
7394 };
7395
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7399 arg2 = (int) SWIG_AsInt(obj1);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 {
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 (arg1)->SetMaximumSizeX(arg2);
7404
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 Py_INCREF(Py_None); resultobj = Py_None;
7409 return resultobj;
7410 fail:
7411 return NULL;
7412}
7413
7414
7415static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7416 PyObject *resultobj;
7417 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7418 int arg2 ;
7419 PyObject * obj0 = 0 ;
7420 PyObject * obj1 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "max", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 arg2 = (int) SWIG_AsInt(obj1);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 (arg1)->SetMaximumSizeY(arg2);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 Py_INCREF(Py_None); resultobj = Py_None;
7438 return resultobj;
7439 fail:
7440 return NULL;
7441}
7442
7443
7444static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7447 int result;
7448 PyObject * obj0 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = SWIG_FromInt((int)result);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
7470static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7473 int result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = SWIG_FromInt((int)result);
7490 return resultobj;
7491 fail:
7492 return NULL;
7493}
7494
7495
7496static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7499 int arg2 ;
7500 int arg3 ;
7501 int arg4 = (int) 2 ;
7502 int result;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 PyObject * obj2 = 0 ;
7506 PyObject * obj3 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 arg2 = (int) SWIG_AsInt(obj1);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 arg3 = (int) SWIG_AsInt(obj2);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 if (obj3) {
7519 arg4 = (int) SWIG_AsInt(obj3);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 resultobj = SWIG_FromInt((int)result);
7530 return resultobj;
7531 fail:
7532 return NULL;
7533}
7534
7535
7536static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj;
7538 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7539 PyObject * obj0 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 (arg1)->SizeWindows();
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 Py_INCREF(Py_None); resultobj = Py_None;
7555 return resultobj;
7556 fail:
7557 return NULL;
7558}
7559
7560
7561static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7562 PyObject *obj;
7563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7564 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7565 Py_INCREF(obj);
7566 return Py_BuildValue((char *)"");
7567}
7568static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj;
7570 int arg1 = (int) 0 ;
7571 int arg2 = (int) wxSASH_NONE ;
7572 wxSashEvent *result;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "id",(char *) "edge", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7580 if (obj0) {
7581 arg1 = (int) SWIG_AsInt(obj0);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 if (obj1) {
7585 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7596 return resultobj;
7597 fail:
7598 return NULL;
7599}
7600
7601
7602static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7603 PyObject *resultobj;
7604 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7605 int arg2 ;
7606 PyObject * obj0 = 0 ;
7607 PyObject * obj1 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "self",(char *) "edge", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7615 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628}
7629
7630
7631static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7634 int result;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 resultobj = SWIG_FromInt((int)result);
7651 return resultobj;
7652 fail:
7653 return NULL;
7654}
7655
7656
7657static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7660 wxRect *arg2 = 0 ;
7661 wxRect temp2 ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self",(char *) "rect", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7671 {
7672 arg2 = &temp2;
7673 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7674 }
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 (arg1)->SetDragRect((wxRect const &)*arg2);
7678
7679 wxPyEndAllowThreads(__tstate);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
7682 Py_INCREF(Py_None); resultobj = Py_None;
7683 return resultobj;
7684 fail:
7685 return NULL;
7686}
7687
7688
7689static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7692 wxRect result;
7693 PyObject * obj0 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = ((wxSashEvent const *)arg1)->GetDragRect();
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 {
7709 wxRect * resultptr;
7710 resultptr = new wxRect((wxRect &) result);
7711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7712 }
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
7719static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7722 int arg2 ;
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 char *kwnames[] = {
7726 (char *) "self",(char *) "status", NULL
7727 };
7728
7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7732 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 Py_INCREF(Py_None); resultobj = Py_None;
7742 return resultobj;
7743 fail:
7744 return NULL;
7745}
7746
7747
7748static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7751 int result;
7752 PyObject * obj0 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = SWIG_FromInt((int)result);
7768 return resultobj;
7769 fail:
7770 return NULL;
7771}
7772
7773
7774static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7775 PyObject *obj;
7776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7777 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7778 Py_INCREF(obj);
7779 return Py_BuildValue((char *)"");
7780}
7781static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj;
7783 int arg1 = (int) 0 ;
7784 wxQueryLayoutInfoEvent *result;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "id", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7791 if (obj0) {
7792 arg1 = (int) SWIG_AsInt(obj0);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7803 return resultobj;
7804 fail:
7805 return NULL;
7806}
7807
7808
7809static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7812 int arg2 ;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "length", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7822 arg2 = (int) SWIG_AsInt(obj1);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->SetRequestedLength(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835}
7836
7837
7838static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7841 int result;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = SWIG_FromInt((int)result);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
7864static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7867 int arg2 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "flags", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7877 arg2 = (int) SWIG_AsInt(obj1);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->SetFlags(arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
7893static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7896 int result;
7897 PyObject * obj0 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 resultobj = SWIG_FromInt((int)result);
7913 return resultobj;
7914 fail:
7915 return NULL;
7916}
7917
7918
7919static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7922 wxSize *arg2 = 0 ;
7923 wxSize temp2 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "size", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7933 {
7934 arg2 = &temp2;
7935 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7936 }
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 (arg1)->SetSize((wxSize const &)*arg2);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 Py_INCREF(Py_None); resultobj = Py_None;
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
7951static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7954 wxSize result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 {
7971 wxSize * resultptr;
7972 resultptr = new wxSize((wxSize &) result);
7973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7974 }
7975 return resultobj;
7976 fail:
7977 return NULL;
7978}
7979
7980
7981static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj;
7983 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7984 int arg2 ;
7985 PyObject * obj0 = 0 ;
7986 PyObject * obj1 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self",(char *) "orient", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7994 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
8010static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8013 int result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = SWIG_FromInt((int)result);
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
8036static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8039 int arg2 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self",(char *) "align", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8049 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 Py_INCREF(Py_None); resultobj = Py_None;
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
8065static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8068 int result;
8069 PyObject * obj0 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "self", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 resultobj = SWIG_FromInt((int)result);
8085 return resultobj;
8086 fail:
8087 return NULL;
8088}
8089
8090
8091static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8092 PyObject *obj;
8093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8095 Py_INCREF(obj);
8096 return Py_BuildValue((char *)"");
8097}
8098static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj;
8100 int arg1 = (int) 0 ;
8101 wxCalculateLayoutEvent *result;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "id", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8108 if (obj0) {
8109 arg1 = (int) SWIG_AsInt(obj0);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 {
8113 PyThreadState* __tstate = wxPyBeginAllowThreads();
8114 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8115
8116 wxPyEndAllowThreads(__tstate);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8120 return resultobj;
8121 fail:
8122 return NULL;
8123}
8124
8125
8126static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj;
8128 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8129 int arg2 ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "flags", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8139 arg2 = (int) SWIG_AsInt(obj1);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->SetFlags(arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152}
8153
8154
8155static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8158 int result;
8159 PyObject * obj0 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 resultobj = SWIG_FromInt((int)result);
8175 return resultobj;
8176 fail:
8177 return NULL;
8178}
8179
8180
8181static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8182 PyObject *resultobj;
8183 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8184 wxRect *arg2 = 0 ;
8185 wxRect temp2 ;
8186 PyObject * obj0 = 0 ;
8187 PyObject * obj1 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self",(char *) "rect", NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8195 {
8196 arg2 = &temp2;
8197 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8198 }
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 (arg1)->SetRect((wxRect const &)*arg2);
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 Py_INCREF(Py_None); resultobj = Py_None;
8207 return resultobj;
8208 fail:
8209 return NULL;
8210}
8211
8212
8213static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj;
8215 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8216 wxRect result;
8217 PyObject * obj0 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 {
8233 wxRect * resultptr;
8234 resultptr = new wxRect((wxRect &) result);
8235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8236 }
8237 return resultobj;
8238 fail:
8239 return NULL;
8240}
8241
8242
8243static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8244 PyObject *obj;
8245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8246 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8247 Py_INCREF(obj);
8248 return Py_BuildValue((char *)"");
8249}
8250static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8253 int arg2 = (int) -1 ;
d55e5bfc
RD
8254 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8255 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8256 wxSize const &arg4_defvalue = wxDefaultSize ;
8257 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8258 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8259 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8260 wxString *arg6 = (wxString *) &arg6_defvalue ;
8261 wxSashLayoutWindow *result;
8262 wxPoint temp3 ;
8263 wxSize temp4 ;
8264 bool temp6 = False ;
8265 PyObject * obj0 = 0 ;
8266 PyObject * obj1 = 0 ;
8267 PyObject * obj2 = 0 ;
8268 PyObject * obj3 = 0 ;
8269 PyObject * obj4 = 0 ;
8270 PyObject * obj5 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8273 };
8274
248ed943 8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
8276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8278 if (obj1) {
8279 arg2 = (int) SWIG_AsInt(obj1);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
d55e5bfc
RD
8282 if (obj2) {
8283 {
8284 arg3 = &temp3;
8285 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8286 }
8287 }
8288 if (obj3) {
8289 {
8290 arg4 = &temp4;
8291 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8292 }
8293 }
8294 if (obj4) {
8295 arg5 = (long) SWIG_AsLong(obj4);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 if (obj5) {
8299 {
8300 arg6 = wxString_in_helper(obj5);
8301 if (arg6 == NULL) SWIG_fail;
8302 temp6 = True;
8303 }
8304 }
8305 {
0439c23b 8306 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8309
8310 wxPyEndAllowThreads(__tstate);
0439c23b 8311 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8312 }
8313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8314 {
8315 if (temp6)
8316 delete arg6;
8317 }
8318 return resultobj;
8319 fail:
8320 {
8321 if (temp6)
8322 delete arg6;
8323 }
8324 return NULL;
8325}
8326
8327
8328static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj;
8330 wxSashLayoutWindow *result;
8331 char *kwnames[] = {
8332 NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8336 {
0439c23b 8337 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8340
8341 wxPyEndAllowThreads(__tstate);
0439c23b 8342 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8343 }
8344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8345 return resultobj;
8346 fail:
8347 return NULL;
8348}
8349
8350
8351static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8354 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8355 int arg3 = (int) -1 ;
d55e5bfc
RD
8356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8358 wxSize const &arg5_defvalue = wxDefaultSize ;
8359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8360 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8361 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8362 wxString *arg7 = (wxString *) &arg7_defvalue ;
8363 bool result;
8364 wxPoint temp4 ;
8365 wxSize temp5 ;
8366 bool temp7 = False ;
8367 PyObject * obj0 = 0 ;
8368 PyObject * obj1 = 0 ;
8369 PyObject * obj2 = 0 ;
8370 PyObject * obj3 = 0 ;
8371 PyObject * obj4 = 0 ;
8372 PyObject * obj5 = 0 ;
8373 PyObject * obj6 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8376 };
8377
248ed943 8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
8379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8383 if (obj2) {
8384 arg3 = (int) SWIG_AsInt(obj2);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
d55e5bfc
RD
8387 if (obj3) {
8388 {
8389 arg4 = &temp4;
8390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8391 }
8392 }
8393 if (obj4) {
8394 {
8395 arg5 = &temp5;
8396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8397 }
8398 }
8399 if (obj5) {
8400 arg6 = (long) SWIG_AsLong(obj5);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 if (obj6) {
8404 {
8405 arg7 = wxString_in_helper(obj6);
8406 if (arg7 == NULL) SWIG_fail;
8407 temp7 = True;
8408 }
8409 }
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 {
8418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8419 }
8420 {
8421 if (temp7)
8422 delete arg7;
8423 }
8424 return resultobj;
8425 fail:
8426 {
8427 if (temp7)
8428 delete arg7;
8429 }
8430 return NULL;
8431}
8432
8433
8434static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8437 int result;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (int)(arg1)->GetAlignment();
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 resultobj = SWIG_FromInt((int)result);
8454 return resultobj;
8455 fail:
8456 return NULL;
8457}
8458
8459
8460static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8463 int result;
8464 PyObject * obj0 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (int)(arg1)->GetOrientation();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 resultobj = SWIG_FromInt((int)result);
8480 return resultobj;
8481 fail:
8482 return NULL;
8483}
8484
8485
8486static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8489 int arg2 ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self",(char *) "alignment", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8499 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 Py_INCREF(Py_None); resultobj = Py_None;
8509 return resultobj;
8510 fail:
8511 return NULL;
8512}
8513
8514
8515static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8516 PyObject *resultobj;
8517 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8518 wxSize *arg2 = 0 ;
8519 wxSize temp2 ;
8520 PyObject * obj0 = 0 ;
8521 PyObject * obj1 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self",(char *) "size", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 {
8530 arg2 = &temp2;
8531 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8532 }
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 Py_INCREF(Py_None); resultobj = Py_None;
8541 return resultobj;
8542 fail:
8543 return NULL;
8544}
8545
8546
8547static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8550 int arg2 ;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "orientation", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8560 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 Py_INCREF(Py_None); resultobj = Py_None;
8570 return resultobj;
8571 fail:
8572 return NULL;
8573}
8574
8575
8576static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8577 PyObject *obj;
8578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8579 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8580 Py_INCREF(obj);
8581 return Py_BuildValue((char *)"");
8582}
8583static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxLayoutAlgorithm *result;
8586 char *kwnames[] = {
8587 NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8599 return resultobj;
8600 fail:
8601 return NULL;
8602}
8603
8604
8605static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 delete arg1;
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 Py_INCREF(Py_None); resultobj = Py_None;
8624 return resultobj;
8625 fail:
8626 return NULL;
8627}
8628
8629
8630static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8633 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8634 wxRect *arg3 = (wxRect *) NULL ;
8635 bool result;
8636 PyObject * obj0 = 0 ;
8637 PyObject * obj1 = 0 ;
8638 PyObject * obj2 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "frame",(char *) "rect", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8648 if (obj2) {
8649 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 }
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 {
8660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8661 }
8662 return resultobj;
8663 fail:
8664 return NULL;
8665}
8666
8667
8668static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8671 wxFrame *arg2 = (wxFrame *) 0 ;
8672 wxWindow *arg3 = (wxWindow *) NULL ;
8673 bool result;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 PyObject * obj2 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 if (obj2) {
8687 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8689 }
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 {
8698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8699 }
8700 return resultobj;
8701 fail:
8702 return NULL;
8703}
8704
8705
8706static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8709 wxWindow *arg2 = (wxWindow *) 0 ;
8710 wxWindow *arg3 = (wxWindow *) NULL ;
8711 bool result;
8712 PyObject * obj0 = 0 ;
8713 PyObject * obj1 = 0 ;
8714 PyObject * obj2 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8724 if (obj2) {
8725 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8727 }
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 {
8736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8737 }
8738 return resultobj;
8739 fail:
8740 return NULL;
8741}
8742
8743
8744static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8745 PyObject *obj;
8746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8747 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8748 Py_INCREF(obj);
8749 return Py_BuildValue((char *)"");
8750}
8751static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxWindow *arg1 = (wxWindow *) 0 ;
8754 int arg2 = (int) wxBORDER_NONE ;
8755 wxPopupWindow *result;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "parent",(char *) "flags", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8765 if (obj1) {
8766 arg2 = (int) SWIG_AsInt(obj1);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 {
0439c23b 8770 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8773
8774 wxPyEndAllowThreads(__tstate);
0439c23b 8775 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8776 }
8777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
8784static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxPopupWindow *result;
8787 char *kwnames[] = {
8788 NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8792 {
0439c23b 8793 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (wxPopupWindow *)new wxPopupWindow();
8796
8797 wxPyEndAllowThreads(__tstate);
0439c23b 8798 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8799 }
8800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8801 return resultobj;
8802 fail:
8803 return NULL;
8804}
8805
8806
8807static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8810 wxWindow *arg2 = (wxWindow *) 0 ;
8811 int arg3 = (int) wxBORDER_NONE ;
8812 bool result;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 PyObject * obj2 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self",(char *) "parent",(char *) "flags", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8825 if (obj2) {
8826 arg3 = (int) SWIG_AsInt(obj2);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 result = (bool)(arg1)->Create(arg2,arg3);
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 {
8837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8838 }
8839 return resultobj;
8840 fail:
8841 return NULL;
8842}
8843
8844
8845static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj;
8847 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8848 wxPoint *arg2 = 0 ;
8849 wxSize *arg3 = 0 ;
8850 wxPoint temp2 ;
8851 wxSize temp3 ;
8852 PyObject * obj0 = 0 ;
8853 PyObject * obj1 = 0 ;
8854 PyObject * obj2 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8862 {
8863 arg2 = &temp2;
8864 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8865 }
8866 {
8867 arg3 = &temp3;
8868 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8869 }
8870 {
8871 PyThreadState* __tstate = wxPyBeginAllowThreads();
8872 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8873
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 Py_INCREF(Py_None); resultobj = Py_None;
8878 return resultobj;
8879 fail:
8880 return NULL;
8881}
8882
8883
8884static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8885 PyObject *obj;
8886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8887 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8888 Py_INCREF(obj);
8889 return Py_BuildValue((char *)"");
8890}
8891static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxWindow *arg1 = (wxWindow *) 0 ;
8894 int arg2 = (int) wxBORDER_NONE ;
8895 wxPyPopupTransientWindow *result;
8896 PyObject * obj0 = 0 ;
8897 PyObject * obj1 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "parent",(char *) "style", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8905 if (obj1) {
8906 arg2 = (int) SWIG_AsInt(obj1);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 {
0439c23b 8910 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8913
8914 wxPyEndAllowThreads(__tstate);
0439c23b 8915 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8916 }
8917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
8924static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxPyPopupTransientWindow *result;
8927 char *kwnames[] = {
8928 NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8932 {
0439c23b 8933 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8936
8937 wxPyEndAllowThreads(__tstate);
0439c23b 8938 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8939 }
8940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
8947static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8950 PyObject *arg2 = (PyObject *) 0 ;
8951 PyObject *arg3 = (PyObject *) 0 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "self",(char *) "_class", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 arg2 = obj1;
8963 arg3 = obj2;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->_setCallbackInfo(arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975}
8976
8977
8978static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8981 wxWindow *arg2 = (wxWindow *) NULL ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "focus", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8991 if (obj1) {
8992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8994 }
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->Popup(arg2);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 Py_INCREF(Py_None); resultobj = Py_None;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006}
9007
9008
9009static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 (arg1)->Dismiss();
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 Py_INCREF(Py_None); resultobj = Py_None;
9028 return resultobj;
9029 fail:
9030 return NULL;
9031}
9032
9033
9034static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
9035 PyObject *obj;
9036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9037 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9038 Py_INCREF(obj);
9039 return Py_BuildValue((char *)"");
9040}
9041static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 wxWindow *arg1 = (wxWindow *) 0 ;
9044 wxString *arg2 = 0 ;
9045 int arg3 = (int) 100 ;
9046 wxRect *arg4 = (wxRect *) NULL ;
9047 wxTipWindow *result;
9048 bool temp2 = False ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 PyObject * obj2 = 0 ;
9052 PyObject * obj3 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9060 {
9061 arg2 = wxString_in_helper(obj1);
9062 if (arg2 == NULL) SWIG_fail;
9063 temp2 = True;
9064 }
9065 if (obj2) {
9066 arg3 = (int) SWIG_AsInt(obj2);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 if (obj3) {
9070 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 }
9073 {
0439c23b 9074 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9077
9078 wxPyEndAllowThreads(__tstate);
0439c23b 9079 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9080 }
9081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9082 {
9083 if (temp2)
9084 delete arg2;
9085 }
9086 return resultobj;
9087 fail:
9088 {
9089 if (temp2)
9090 delete arg2;
9091 }
9092 return NULL;
9093}
9094
9095
9096static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9099 wxRect *arg2 = 0 ;
9100 wxRect temp2 ;
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self",(char *) "rectBound", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9110 {
9111 arg2 = &temp2;
9112 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9113 }
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9117
9118 wxPyEndAllowThreads(__tstate);
9119 if (PyErr_Occurred()) SWIG_fail;
9120 }
9121 Py_INCREF(Py_None); resultobj = Py_None;
9122 return resultobj;
9123 fail:
9124 return NULL;
9125}
9126
9127
9128static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 (arg1)->Close();
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 Py_INCREF(Py_None); resultobj = Py_None;
9147 return resultobj;
9148 fail:
9149 return NULL;
9150}
9151
9152
9153static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9154 PyObject *obj;
9155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9156 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9157 Py_INCREF(obj);
9158 return Py_BuildValue((char *)"");
9159}
9160static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxWindow *arg1 = (wxWindow *) 0 ;
9163 int arg2 = (int) wxID_ANY ;
9164 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9165 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9166 wxSize const &arg4_defvalue = wxDefaultSize ;
9167 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9168 long arg5 = (long) 0 ;
9169 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9170 wxString *arg6 = (wxString *) &arg6_defvalue ;
9171 wxPyVScrolledWindow *result;
9172 wxPoint temp3 ;
9173 wxSize temp4 ;
9174 bool temp6 = False ;
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
9177 PyObject * obj2 = 0 ;
9178 PyObject * obj3 = 0 ;
9179 PyObject * obj4 = 0 ;
9180 PyObject * obj5 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9188 if (obj1) {
9189 arg2 = (int) SWIG_AsInt(obj1);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 if (obj2) {
9193 {
9194 arg3 = &temp3;
9195 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9196 }
9197 }
9198 if (obj3) {
9199 {
9200 arg4 = &temp4;
9201 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9202 }
9203 }
9204 if (obj4) {
9205 arg5 = (long) SWIG_AsLong(obj4);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 if (obj5) {
9209 {
9210 arg6 = wxString_in_helper(obj5);
9211 if (arg6 == NULL) SWIG_fail;
9212 temp6 = True;
9213 }
9214 }
9215 {
0439c23b 9216 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9219
9220 wxPyEndAllowThreads(__tstate);
0439c23b 9221 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9222 }
9223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9224 {
9225 if (temp6)
9226 delete arg6;
9227 }
9228 return resultobj;
9229 fail:
9230 {
9231 if (temp6)
9232 delete arg6;
9233 }
9234 return NULL;
9235}
9236
9237
9238static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxPyVScrolledWindow *result;
9241 char *kwnames[] = {
9242 NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9246 {
0439c23b 9247 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9250
9251 wxPyEndAllowThreads(__tstate);
0439c23b 9252 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9253 }
9254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9255 return resultobj;
9256 fail:
9257 return NULL;
9258}
9259
9260
9261static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9264 PyObject *arg2 = (PyObject *) 0 ;
9265 PyObject *arg3 = (PyObject *) 0 ;
9266 PyObject * obj0 = 0 ;
9267 PyObject * obj1 = 0 ;
9268 PyObject * obj2 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self",(char *) "self",(char *) "_class", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9276 arg2 = obj1;
9277 arg3 = obj2;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 (arg1)->_setCallbackInfo(arg2,arg3);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 Py_INCREF(Py_None); resultobj = Py_None;
9286 return resultobj;
9287 fail:
9288 return NULL;
9289}
9290
9291
9292static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9295 wxWindow *arg2 = (wxWindow *) 0 ;
9296 int arg3 = (int) wxID_ANY ;
9297 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9298 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9299 wxSize const &arg5_defvalue = wxDefaultSize ;
9300 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9301 long arg6 = (long) 0 ;
9302 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9303 wxString *arg7 = (wxString *) &arg7_defvalue ;
9304 bool result;
9305 wxPoint temp4 ;
9306 wxSize temp5 ;
9307 bool temp7 = False ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 PyObject * obj2 = 0 ;
9311 PyObject * obj3 = 0 ;
9312 PyObject * obj4 = 0 ;
9313 PyObject * obj5 = 0 ;
9314 PyObject * obj6 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 if (obj2) {
9325 arg3 = (int) SWIG_AsInt(obj2);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 if (obj3) {
9329 {
9330 arg4 = &temp4;
9331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9332 }
9333 }
9334 if (obj4) {
9335 {
9336 arg5 = &temp5;
9337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9338 }
9339 }
9340 if (obj5) {
9341 arg6 = (long) SWIG_AsLong(obj5);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 if (obj6) {
9345 {
9346 arg7 = wxString_in_helper(obj6);
9347 if (arg7 == NULL) SWIG_fail;
9348 temp7 = True;
9349 }
9350 }
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 {
9359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9360 }
9361 {
9362 if (temp7)
9363 delete arg7;
9364 }
9365 return resultobj;
9366 fail:
9367 {
9368 if (temp7)
9369 delete arg7;
9370 }
9371 return NULL;
9372}
9373
9374
9375static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9378 size_t arg2 ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj1 = 0 ;
9381 char *kwnames[] = {
9382 (char *) "self",(char *) "count", NULL
9383 };
9384
9385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9388 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->SetLineCount(arg2);
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_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9407 size_t arg2 ;
9408 bool result;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self",(char *) "line", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9418 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (bool)(arg1)->ScrollToLine(arg2);
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 {
9428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9429 }
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
9436static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9439 int arg2 ;
9440 bool result;
9441 PyObject * obj0 = 0 ;
9442 PyObject * obj1 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self",(char *) "lines", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9450 arg2 = (int) SWIG_AsInt(obj1);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (bool)(arg1)->ScrollLines(arg2);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
9468static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9471 int arg2 ;
9472 bool result;
9473 PyObject * obj0 = 0 ;
9474 PyObject * obj1 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "pages", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9482 arg2 = (int) SWIG_AsInt(obj1);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (bool)(arg1)->ScrollPages(arg2);
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 {
9492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9493 }
9494 return resultobj;
9495 fail:
9496 return NULL;
9497}
9498
9499
9500static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9503 size_t arg2 ;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self",(char *) "line", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9513 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->RefreshLine(arg2);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 Py_INCREF(Py_None); resultobj = Py_None;
9523 return resultobj;
9524 fail:
9525 return NULL;
9526}
9527
9528
9529static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9532 size_t arg2 ;
9533 size_t arg3 ;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 PyObject * obj2 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "from",(char *) "to", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9544 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 (arg1)->RefreshLines(arg2,arg3);
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 Py_INCREF(Py_None); resultobj = Py_None;
9556 return resultobj;
9557 fail:
9558 return NULL;
9559}
9560
9561
9562static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9565 int arg2 ;
9566 int arg3 ;
9567 int result;
9568 PyObject * obj0 = 0 ;
9569 PyObject * obj1 = 0 ;
9570 PyObject * obj2 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "x",(char *) "y", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 arg2 = (int) SWIG_AsInt(obj1);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 arg3 = (int) SWIG_AsInt(obj2);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 resultobj = SWIG_FromInt((int)result);
9590 return resultobj;
9591 fail:
9592 return NULL;
9593}
9594
9595
9596static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9599 wxPoint *arg2 = 0 ;
9600 int result;
9601 wxPoint temp2 ;
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self",(char *) "pt", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 {
9612 arg2 = &temp2;
9613 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9614 }
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 resultobj = SWIG_FromInt((int)result);
9623 return resultobj;
9624 fail:
9625 return NULL;
9626}
9627
9628
9629static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9630 PyObject *resultobj;
9631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9632 PyObject * obj0 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 (arg1)->RefreshAll();
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 Py_INCREF(Py_None); resultobj = Py_None;
9648 return resultobj;
9649 fail:
9650 return NULL;
9651}
9652
9653
9654static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9657 size_t result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677}
9678
9679
9680static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9683 size_t result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9700 return resultobj;
9701 fail:
9702 return NULL;
9703}
9704
9705
9706static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9709 size_t result;
9710 PyObject * obj0 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9726 return resultobj;
9727 fail:
9728 return NULL;
9729}
9730
9731
9732static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj;
9734 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9735 size_t arg2 ;
9736 bool result;
9737 PyObject * obj0 = 0 ;
9738 PyObject * obj1 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self",(char *) "line", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9746 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 {
9756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9757 }
9758 return resultobj;
9759 fail:
9760 return NULL;
9761}
9762
9763
9764static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9765 PyObject *obj;
9766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9768 Py_INCREF(obj);
9769 return Py_BuildValue((char *)"");
9770}
9771static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9772 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9773 return 1;
9774}
9775
9776
9777static PyObject *_wrap_VListBoxNameStr_get() {
9778 PyObject *pyobj;
9779
9780 {
9781#if wxUSE_UNICODE
9782 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9783#else
9784 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9785#endif
9786 }
9787 return pyobj;
9788}
9789
9790
9791static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxWindow *arg1 = (wxWindow *) 0 ;
9794 int arg2 = (int) wxID_ANY ;
9795 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9796 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9797 wxSize const &arg4_defvalue = wxDefaultSize ;
9798 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9799 long arg5 = (long) 0 ;
9800 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9801 wxString *arg6 = (wxString *) &arg6_defvalue ;
9802 wxPyVListBox *result;
9803 wxPoint temp3 ;
9804 wxSize temp4 ;
9805 bool temp6 = False ;
9806 PyObject * obj0 = 0 ;
9807 PyObject * obj1 = 0 ;
9808 PyObject * obj2 = 0 ;
9809 PyObject * obj3 = 0 ;
9810 PyObject * obj4 = 0 ;
9811 PyObject * obj5 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 if (obj1) {
9820 arg2 = (int) SWIG_AsInt(obj1);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 }
9823 if (obj2) {
9824 {
9825 arg3 = &temp3;
9826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9827 }
9828 }
9829 if (obj3) {
9830 {
9831 arg4 = &temp4;
9832 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9833 }
9834 }
9835 if (obj4) {
9836 arg5 = (long) SWIG_AsLong(obj4);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 if (obj5) {
9840 {
9841 arg6 = wxString_in_helper(obj5);
9842 if (arg6 == NULL) SWIG_fail;
9843 temp6 = True;
9844 }
9845 }
9846 {
0439c23b 9847 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9850
9851 wxPyEndAllowThreads(__tstate);
0439c23b 9852 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9853 }
9854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9855 {
9856 if (temp6)
9857 delete arg6;
9858 }
9859 return resultobj;
9860 fail:
9861 {
9862 if (temp6)
9863 delete arg6;
9864 }
9865 return NULL;
9866}
9867
9868
9869static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxPyVListBox *result;
9872 char *kwnames[] = {
9873 NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9877 {
0439c23b 9878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = (wxPyVListBox *)new wxPyVListBox();
9881
9882 wxPyEndAllowThreads(__tstate);
0439c23b 9883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9884 }
9885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9886 return resultobj;
9887 fail:
9888 return NULL;
9889}
9890
9891
9892static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9895 PyObject *arg2 = (PyObject *) 0 ;
9896 PyObject *arg3 = (PyObject *) 0 ;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj1 = 0 ;
9899 PyObject * obj2 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self",(char *) "self",(char *) "_class", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 arg2 = obj1;
9908 arg3 = obj2;
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 (arg1)->_setCallbackInfo(arg2,arg3);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920}
9921
9922
9923static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9926 wxWindow *arg2 = (wxWindow *) 0 ;
9927 int arg3 = (int) wxID_ANY ;
9928 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9929 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9930 wxSize const &arg5_defvalue = wxDefaultSize ;
9931 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9932 long arg6 = (long) 0 ;
9933 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9934 wxString *arg7 = (wxString *) &arg7_defvalue ;
9935 bool result;
9936 wxPoint temp4 ;
9937 wxSize temp5 ;
9938 bool temp7 = False ;
9939 PyObject * obj0 = 0 ;
9940 PyObject * obj1 = 0 ;
9941 PyObject * obj2 = 0 ;
9942 PyObject * obj3 = 0 ;
9943 PyObject * obj4 = 0 ;
9944 PyObject * obj5 = 0 ;
9945 PyObject * obj6 = 0 ;
9946 char *kwnames[] = {
9947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9948 };
9949
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9955 if (obj2) {
9956 arg3 = (int) SWIG_AsInt(obj2);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 if (obj3) {
9960 {
9961 arg4 = &temp4;
9962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9963 }
9964 }
9965 if (obj4) {
9966 {
9967 arg5 = &temp5;
9968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9969 }
9970 }
9971 if (obj5) {
9972 arg6 = (long) SWIG_AsLong(obj5);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 if (obj6) {
9976 {
9977 arg7 = wxString_in_helper(obj6);
9978 if (arg7 == NULL) SWIG_fail;
9979 temp7 = True;
9980 }
9981 }
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 {
9990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9991 }
9992 {
9993 if (temp7)
9994 delete arg7;
9995 }
9996 return resultobj;
9997 fail:
9998 {
9999 if (temp7)
10000 delete arg7;
10001 }
10002 return NULL;
10003}
10004
10005
10006static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10009 size_t result;
10010 PyObject * obj0 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10026 return resultobj;
10027 fail:
10028 return NULL;
10029}
10030
10031
10032static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj;
10034 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10035 bool result;
10036 PyObject * obj0 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 {
10052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10053 }
10054 return resultobj;
10055 fail:
10056 return NULL;
10057}
10058
10059
10060static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj;
10062 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10063 int result;
10064 PyObject * obj0 = 0 ;
10065 char *kwnames[] = {
10066 (char *) "self", NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = SWIG_FromInt((int)result);
10080 return resultobj;
10081 fail:
10082 return NULL;
10083}
10084
10085
10086static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10089 size_t arg2 ;
10090 bool result;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self",(char *) "item", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 {
10110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10111 }
10112 return resultobj;
10113 fail:
10114 return NULL;
10115}
10116
10117
10118static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10121 size_t arg2 ;
10122 bool result;
10123 PyObject * obj0 = 0 ;
10124 PyObject * obj1 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "self",(char *) "item", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10132 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 {
10142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10143 }
10144 return resultobj;
10145 fail:
10146 return NULL;
10147}
10148
10149
10150static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10153 size_t result;
10154 PyObject * obj0 = 0 ;
10155 char *kwnames[] = {
10156 (char *) "self", NULL
10157 };
10158
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10170 return resultobj;
10171 fail:
10172 return NULL;
10173}
10174
10175
10176static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 10179 PyObject *result;
d55e5bfc 10180 PyObject * obj0 = 0 ;
d55e5bfc 10181 char *kwnames[] = {
09c21d3b 10182 (char *) "self", NULL
d55e5bfc
RD
10183 };
10184
09c21d3b 10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
d55e5bfc
RD
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d55e5bfc
RD
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10190 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
09c21d3b 10195 resultobj = result;
d55e5bfc
RD
10196 return resultobj;
10197 fail:
10198 return NULL;
10199}
10200
10201
10202static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
10205 unsigned long arg2 ;
10206 PyObject *result;
d55e5bfc
RD
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self",(char *) "cookie", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
09c21d3b
RD
10216 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10217 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10220 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
10221
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
09c21d3b 10225 resultobj = result;
d55e5bfc
RD
10226 return resultobj;
10227 fail:
10228 return NULL;
10229}
10230
10231
10232static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10233 PyObject *resultobj;
10234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10235 wxPoint result;
10236 PyObject * obj0 = 0 ;
10237 char *kwnames[] = {
10238 (char *) "self", NULL
10239 };
10240
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = ((wxPyVListBox const *)arg1)->GetMargins();
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 {
10252 wxPoint * resultptr;
10253 resultptr = new wxPoint((wxPoint &) result);
10254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10255 }
10256 return resultobj;
10257 fail:
10258 return NULL;
10259}
10260
10261
10262static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10265 wxColour *result;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 {
10277 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10278 result = (wxColour *) &_result_ref;
10279 }
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
10291static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10294 size_t arg2 ;
10295 PyObject * obj0 = 0 ;
10296 PyObject * obj1 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self",(char *) "count", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10304 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetItemCount(arg2);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
10314 return resultobj;
10315 fail:
10316 return NULL;
10317}
10318
10319
10320static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10323 PyObject * obj0 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 (arg1)->Clear();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 Py_INCREF(Py_None); resultobj = Py_None;
10339 return resultobj;
10340 fail:
10341 return NULL;
10342}
10343
10344
10345static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10348 int arg2 ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "selection", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10358 arg2 = (int) SWIG_AsInt(obj1);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->SetSelection(arg2);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
10374static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10377 size_t arg2 ;
10378 bool arg3 = (bool) True ;
10379 bool result;
10380 PyObject * obj0 = 0 ;
10381 PyObject * obj1 = 0 ;
10382 PyObject * obj2 = 0 ;
10383 char *kwnames[] = {
10384 (char *) "self",(char *) "item",(char *) "select", NULL
10385 };
10386
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10390 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 if (obj2) {
10393 arg3 = (bool) SWIG_AsBool(obj2);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 result = (bool)(arg1)->Select(arg2,arg3);
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 {
10404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10405 }
10406 return resultobj;
10407 fail:
10408 return NULL;
10409}
10410
10411
10412static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10415 size_t arg2 ;
10416 size_t arg3 ;
10417 bool result;
10418 PyObject * obj0 = 0 ;
10419 PyObject * obj1 = 0 ;
10420 PyObject * obj2 = 0 ;
10421 char *kwnames[] = {
10422 (char *) "self",(char *) "from",(char *) "to", NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10428 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = (bool)(arg1)->SelectRange(arg2,arg3);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 {
10440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10441 }
10442 return resultobj;
10443 fail:
10444 return NULL;
10445}
10446
10447
10448static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj;
10450 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10451 size_t arg2 ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self",(char *) "item", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10461 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 (arg1)->Toggle(arg2);
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 Py_INCREF(Py_None); resultobj = Py_None;
10471 return resultobj;
10472 fail:
10473 return NULL;
10474}
10475
10476
10477static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10480 bool result;
10481 PyObject * obj0 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (bool)(arg1)->SelectAll();
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 {
10497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10498 }
10499 return resultobj;
10500 fail:
10501 return NULL;
10502}
10503
10504
10505static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10508 bool result;
10509 PyObject * obj0 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (bool)(arg1)->DeselectAll();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 {
10525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10526 }
10527 return resultobj;
10528 fail:
10529 return NULL;
10530}
10531
10532
10533static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject *resultobj;
10535 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10536 wxPoint *arg2 = 0 ;
10537 wxPoint temp2 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self",(char *) "pt", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10547 {
10548 arg2 = &temp2;
10549 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10550 }
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetMargins((wxPoint const &)*arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
10565static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10568 int arg2 ;
10569 int arg3 ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 PyObject * obj2 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "x",(char *) "y", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10580 arg2 = (int) SWIG_AsInt(obj1);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 arg3 = (int) SWIG_AsInt(obj2);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 (arg1)->SetMargins(arg2,arg3);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 Py_INCREF(Py_None); resultobj = Py_None;
10592 return resultobj;
10593 fail:
10594 return NULL;
10595}
10596
10597
10598static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10601 wxColour *arg2 = 0 ;
10602 wxColour temp2 ;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self",(char *) "col", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10612 {
10613 arg2 = &temp2;
10614 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10615 }
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 Py_INCREF(Py_None); resultobj = Py_None;
10624 return resultobj;
10625 fail:
10626 return NULL;
10627}
10628
10629
10630static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10631 PyObject *obj;
10632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10633 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10634 Py_INCREF(obj);
10635 return Py_BuildValue((char *)"");
10636}
10637static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxWindow *arg1 = (wxWindow *) 0 ;
10640 int arg2 = (int) wxID_ANY ;
10641 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10642 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10643 wxSize const &arg4_defvalue = wxDefaultSize ;
10644 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10645 long arg5 = (long) 0 ;
10646 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10647 wxString *arg6 = (wxString *) &arg6_defvalue ;
10648 wxPyHtmlListBox *result;
10649 wxPoint temp3 ;
10650 wxSize temp4 ;
10651 bool temp6 = False ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 PyObject * obj2 = 0 ;
10655 PyObject * obj3 = 0 ;
10656 PyObject * obj4 = 0 ;
10657 PyObject * obj5 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10665 if (obj1) {
10666 arg2 = (int) SWIG_AsInt(obj1);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 if (obj2) {
10670 {
10671 arg3 = &temp3;
10672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10673 }
10674 }
10675 if (obj3) {
10676 {
10677 arg4 = &temp4;
10678 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10679 }
10680 }
10681 if (obj4) {
10682 arg5 = (long) SWIG_AsLong(obj4);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 if (obj5) {
10686 {
10687 arg6 = wxString_in_helper(obj5);
10688 if (arg6 == NULL) SWIG_fail;
10689 temp6 = True;
10690 }
10691 }
10692 {
0439c23b 10693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10696
10697 wxPyEndAllowThreads(__tstate);
0439c23b 10698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10699 }
10700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10701 {
10702 if (temp6)
10703 delete arg6;
10704 }
10705 return resultobj;
10706 fail:
10707 {
10708 if (temp6)
10709 delete arg6;
10710 }
10711 return NULL;
10712}
10713
10714
10715static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxPyHtmlListBox *result;
10718 char *kwnames[] = {
10719 NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10723 {
0439c23b 10724 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10727
10728 wxPyEndAllowThreads(__tstate);
0439c23b 10729 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10730 }
10731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10732 return resultobj;
10733 fail:
10734 return NULL;
10735}
10736
10737
10738static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10741 PyObject *arg2 = (PyObject *) 0 ;
10742 PyObject *arg3 = (PyObject *) 0 ;
10743 PyObject * obj0 = 0 ;
10744 PyObject * obj1 = 0 ;
10745 PyObject * obj2 = 0 ;
10746 char *kwnames[] = {
10747 (char *) "self",(char *) "self",(char *) "_class", NULL
10748 };
10749
10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10753 arg2 = obj1;
10754 arg3 = obj2;
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->_setCallbackInfo(arg2,arg3);
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 Py_INCREF(Py_None); resultobj = Py_None;
10763 return resultobj;
10764 fail:
10765 return NULL;
10766}
10767
10768
10769static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10772 wxWindow *arg2 = (wxWindow *) 0 ;
10773 int arg3 = (int) wxID_ANY ;
10774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10776 wxSize const &arg5_defvalue = wxDefaultSize ;
10777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10778 long arg6 = (long) 0 ;
10779 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10780 wxString *arg7 = (wxString *) &arg7_defvalue ;
10781 bool result;
10782 wxPoint temp4 ;
10783 wxSize temp5 ;
10784 bool temp7 = False ;
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 PyObject * obj2 = 0 ;
10788 PyObject * obj3 = 0 ;
10789 PyObject * obj4 = 0 ;
10790 PyObject * obj5 = 0 ;
10791 PyObject * obj6 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10801 if (obj2) {
10802 arg3 = (int) SWIG_AsInt(obj2);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 if (obj3) {
10806 {
10807 arg4 = &temp4;
10808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10809 }
10810 }
10811 if (obj4) {
10812 {
10813 arg5 = &temp5;
10814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10815 }
10816 }
10817 if (obj5) {
10818 arg6 = (long) SWIG_AsLong(obj5);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 if (obj6) {
10822 {
10823 arg7 = wxString_in_helper(obj6);
10824 if (arg7 == NULL) SWIG_fail;
10825 temp7 = True;
10826 }
10827 }
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 {
10836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10837 }
10838 {
10839 if (temp7)
10840 delete arg7;
10841 }
10842 return resultobj;
10843 fail:
10844 {
10845 if (temp7)
10846 delete arg7;
10847 }
10848 return NULL;
10849}
10850
10851
10852static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10855 PyObject * obj0 = 0 ;
10856 char *kwnames[] = {
10857 (char *) "self", NULL
10858 };
10859
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 (arg1)->RefreshAll();
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 Py_INCREF(Py_None); resultobj = Py_None;
10871 return resultobj;
10872 fail:
10873 return NULL;
10874}
10875
10876
10877static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject *resultobj;
10879 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10880 size_t arg2 ;
10881 PyObject * obj0 = 0 ;
10882 PyObject * obj1 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self",(char *) "count", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10890 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 (arg1)->SetItemCount(arg2);
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 Py_INCREF(Py_None); resultobj = Py_None;
10900 return resultobj;
10901 fail:
10902 return NULL;
10903}
10904
10905
c24da6d6
RD
10906static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj;
10908 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10909 wxFileSystem *result;
10910 PyObject * obj0 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "self", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 {
10921 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10922 result = (wxFileSystem *) &_result_ref;
10923 }
10924
10925 wxPyEndAllowThreads(__tstate);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10929 return resultobj;
10930 fail:
10931 return NULL;
10932}
10933
10934
d55e5bfc
RD
10935static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10936 PyObject *obj;
10937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10938 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10939 Py_INCREF(obj);
10940 return Py_BuildValue((char *)"");
10941}
10942static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxTaskBarIcon *result;
10945 char *kwnames[] = {
10946 NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10950 {
0439c23b 10951 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10954
10955 wxPyEndAllowThreads(__tstate);
0439c23b 10956 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10957 }
10958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10959 return resultobj;
10960 fail:
10961 return NULL;
10962}
10963
10964
10965static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject *resultobj;
10967 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10968 PyObject * obj0 = 0 ;
10969 char *kwnames[] = {
10970 (char *) "self", NULL
10971 };
10972
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 delete arg1;
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 Py_INCREF(Py_None); resultobj = Py_None;
10984 return resultobj;
10985 fail:
10986 return NULL;
10987}
10988
10989
10990static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10993 PyObject * obj0 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 wxTaskBarIcon_Destroy(arg1);
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 Py_INCREF(Py_None); resultobj = Py_None;
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
11015static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11018 bool result;
11019 PyObject * obj0 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 {
11035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11036 }
11037 return resultobj;
11038 fail:
11039 return NULL;
11040}
11041
11042
11043static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11046 bool result;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 {
11063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11064 }
11065 return resultobj;
11066 fail:
11067 return NULL;
11068}
11069
11070
11071static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11074 wxIcon *arg2 = 0 ;
11075 wxString const &arg3_defvalue = wxPyEmptyString ;
11076 wxString *arg3 = (wxString *) &arg3_defvalue ;
11077 bool result;
11078 bool temp3 = False ;
11079 PyObject * obj0 = 0 ;
11080 PyObject * obj1 = 0 ;
11081 PyObject * obj2 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11090 SWIG_POINTER_EXCEPTION | 0)) == -1)
11091 SWIG_fail;
11092 if (arg2 == NULL) {
11093 PyErr_SetString(PyExc_TypeError,"null reference");
11094 SWIG_fail;
11095 }
11096 if (obj2) {
11097 {
11098 arg3 = wxString_in_helper(obj2);
11099 if (arg3 == NULL) SWIG_fail;
11100 temp3 = True;
11101 }
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 {
11111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11112 }
11113 {
11114 if (temp3)
11115 delete arg3;
11116 }
11117 return resultobj;
11118 fail:
11119 {
11120 if (temp3)
11121 delete arg3;
11122 }
11123 return NULL;
11124}
11125
11126
11127static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj;
11129 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11130 bool result;
11131 PyObject * obj0 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (bool)(arg1)->RemoveIcon();
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 {
11147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11148 }
11149 return resultobj;
11150 fail:
11151 return NULL;
11152}
11153
11154
11155static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11158 wxMenu *arg2 = (wxMenu *) 0 ;
11159 bool result;
11160 PyObject * obj0 = 0 ;
11161 PyObject * obj1 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self",(char *) "menu", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (bool)(arg1)->PopupMenu(arg2);
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182 fail:
11183 return NULL;
11184}
11185
11186
11187static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11188 PyObject *obj;
11189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11190 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11191 Py_INCREF(obj);
11192 return Py_BuildValue((char *)"");
11193}
11194static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxEventType arg1 ;
11197 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11198 wxTaskBarIconEvent *result;
11199 PyObject * obj0 = 0 ;
11200 PyObject * obj1 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "evtType",(char *) "tbIcon", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11206 arg1 = (wxEventType) SWIG_AsInt(obj0);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11218 return resultobj;
11219 fail:
11220 return NULL;
11221}
11222
11223
11224static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11225 PyObject *obj;
11226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11227 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11228 Py_INCREF(obj);
11229 return Py_BuildValue((char *)"");
11230}
11231static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11232 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11233 return 1;
11234}
11235
11236
11237static PyObject *_wrap_FileSelectorPromptStr_get() {
11238 PyObject *pyobj;
11239
11240 {
11241#if wxUSE_UNICODE
11242 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11243#else
11244 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11245#endif
11246 }
11247 return pyobj;
11248}
11249
11250
11251static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11252 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11253 return 1;
11254}
11255
11256
11257static PyObject *_wrap_DirSelectorPromptStr_get() {
11258 PyObject *pyobj;
11259
11260 {
11261#if wxUSE_UNICODE
11262 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11263#else
11264 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11265#endif
11266 }
11267 return pyobj;
11268}
11269
11270
11271static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11272 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11273 return 1;
11274}
11275
11276
11277static PyObject *_wrap_DirDialogNameStr_get() {
11278 PyObject *pyobj;
11279
11280 {
11281#if wxUSE_UNICODE
11282 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11283#else
11284 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11285#endif
11286 }
11287 return pyobj;
11288}
11289
11290
11291static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11292 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11293 return 1;
11294}
11295
11296
11297static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11298 PyObject *pyobj;
11299
11300 {
11301#if wxUSE_UNICODE
11302 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11303#else
11304 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11305#endif
11306 }
11307 return pyobj;
11308}
11309
11310
11311static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11312 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11313 return 1;
11314}
11315
11316
11317static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11318 PyObject *pyobj;
11319
11320 {
11321#if wxUSE_UNICODE
11322 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11323#else
11324 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11325#endif
11326 }
11327 return pyobj;
11328}
11329
11330
11331static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11332 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11333 return 1;
11334}
11335
11336
11337static PyObject *_wrap_MessageBoxCaptionStr_get() {
11338 PyObject *pyobj;
11339
11340 {
11341#if wxUSE_UNICODE
11342 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11343#else
11344 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11345#endif
11346 }
11347 return pyobj;
11348}
11349
11350
11351static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj;
11353 wxColourData *result;
11354 char *kwnames[] = {
11355 NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 result = (wxColourData *)new wxColourData();
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11367 return resultobj;
11368 fail:
11369 return NULL;
11370}
11371
11372
11373static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject *resultobj;
11375 wxColourData *arg1 = (wxColourData *) 0 ;
11376 PyObject * obj0 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 delete arg1;
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 Py_INCREF(Py_None); resultobj = Py_None;
11392 return resultobj;
11393 fail:
11394 return NULL;
11395}
11396
11397
11398static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxColourData *arg1 = (wxColourData *) 0 ;
11401 bool result;
11402 PyObject * obj0 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self", NULL
11405 };
11406
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (bool)(arg1)->GetChooseFull();
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 {
11418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11419 }
11420 return resultobj;
11421 fail:
11422 return NULL;
11423}
11424
11425
11426static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxColourData *arg1 = (wxColourData *) 0 ;
11429 wxColour result;
11430 PyObject * obj0 = 0 ;
11431 char *kwnames[] = {
11432 (char *) "self", NULL
11433 };
11434
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 result = (arg1)->GetColour();
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 {
11446 wxColour * resultptr;
11447 resultptr = new wxColour((wxColour &) result);
11448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11449 }
11450 return resultobj;
11451 fail:
11452 return NULL;
11453}
11454
11455
11456static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxColourData *arg1 = (wxColourData *) 0 ;
11459 int arg2 ;
11460 wxColour result;
11461 PyObject * obj0 = 0 ;
11462 PyObject * obj1 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "i", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11470 arg2 = (int) SWIG_AsInt(obj1);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (arg1)->GetCustomColour(arg2);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 {
11480 wxColour * resultptr;
11481 resultptr = new wxColour((wxColour &) result);
11482 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11483 }
11484 return resultobj;
11485 fail:
11486 return NULL;
11487}
11488
11489
11490static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj;
11492 wxColourData *arg1 = (wxColourData *) 0 ;
11493 int arg2 ;
11494 PyObject * obj0 = 0 ;
11495 PyObject * obj1 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self",(char *) "flag", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11503 arg2 = (int) SWIG_AsInt(obj1);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->SetChooseFull(arg2);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 Py_INCREF(Py_None); resultobj = Py_None;
11513 return resultobj;
11514 fail:
11515 return NULL;
11516}
11517
11518
11519static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject *resultobj;
11521 wxColourData *arg1 = (wxColourData *) 0 ;
11522 wxColour *arg2 = 0 ;
11523 wxColour temp2 ;
11524 PyObject * obj0 = 0 ;
11525 PyObject * obj1 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self",(char *) "colour", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11533 {
11534 arg2 = &temp2;
11535 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11536 }
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 (arg1)->SetColour((wxColour const &)*arg2);
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 Py_INCREF(Py_None); resultobj = Py_None;
11545 return resultobj;
11546 fail:
11547 return NULL;
11548}
11549
11550
11551static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj;
11553 wxColourData *arg1 = (wxColourData *) 0 ;
11554 int arg2 ;
11555 wxColour *arg3 = 0 ;
11556 wxColour temp3 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 PyObject * obj2 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self",(char *) "i",(char *) "colour", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11567 arg2 = (int) SWIG_AsInt(obj1);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 {
11570 arg3 = &temp3;
11571 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11572 }
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 Py_INCREF(Py_None); resultobj = Py_None;
11581 return resultobj;
11582 fail:
11583 return NULL;
11584}
11585
11586
11587static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11588 PyObject *obj;
11589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11590 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11591 Py_INCREF(obj);
11592 return Py_BuildValue((char *)"");
11593}
11594static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11595 PyObject *resultobj;
11596 wxWindow *arg1 = (wxWindow *) 0 ;
11597 wxColourData *arg2 = (wxColourData *) NULL ;
11598 wxColourDialog *result;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "parent",(char *) "data", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11608 if (obj1) {
11609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11611 }
11612 {
0439c23b 11613 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11616
11617 wxPyEndAllowThreads(__tstate);
0439c23b 11618 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11619 }
11620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11621 return resultobj;
11622 fail:
11623 return NULL;
11624}
11625
11626
11627static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11628 PyObject *resultobj;
11629 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11630 wxColourData *result;
11631 PyObject * obj0 = 0 ;
11632 char *kwnames[] = {
11633 (char *) "self", NULL
11634 };
11635
11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 {
11642 wxColourData &_result_ref = (arg1)->GetColourData();
11643 result = (wxColourData *) &_result_ref;
11644 }
11645
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11650 return resultobj;
11651 fail:
11652 return NULL;
11653}
11654
11655
11656static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11657 PyObject *obj;
11658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11659 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11660 Py_INCREF(obj);
11661 return Py_BuildValue((char *)"");
11662}
11663static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11664 PyObject *resultobj;
11665 wxWindow *arg1 = (wxWindow *) 0 ;
11666 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11667 wxString *arg2 = (wxString *) &arg2_defvalue ;
11668 wxString const &arg3_defvalue = wxPyEmptyString ;
11669 wxString *arg3 = (wxString *) &arg3_defvalue ;
11670 long arg4 = (long) 0 ;
11671 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11672 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11673 wxSize const &arg6_defvalue = wxDefaultSize ;
11674 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11675 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11676 wxString *arg7 = (wxString *) &arg7_defvalue ;
11677 wxDirDialog *result;
11678 bool temp2 = False ;
11679 bool temp3 = False ;
11680 wxPoint temp5 ;
11681 wxSize temp6 ;
11682 bool temp7 = False ;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 PyObject * obj2 = 0 ;
11686 PyObject * obj3 = 0 ;
11687 PyObject * obj4 = 0 ;
11688 PyObject * obj5 = 0 ;
11689 PyObject * obj6 = 0 ;
11690 char *kwnames[] = {
11691 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11692 };
11693
11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11697 if (obj1) {
11698 {
11699 arg2 = wxString_in_helper(obj1);
11700 if (arg2 == NULL) SWIG_fail;
11701 temp2 = True;
11702 }
11703 }
11704 if (obj2) {
11705 {
11706 arg3 = wxString_in_helper(obj2);
11707 if (arg3 == NULL) SWIG_fail;
11708 temp3 = True;
11709 }
11710 }
11711 if (obj3) {
11712 arg4 = (long) SWIG_AsLong(obj3);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 if (obj4) {
11716 {
11717 arg5 = &temp5;
11718 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11719 }
11720 }
11721 if (obj5) {
11722 {
11723 arg6 = &temp6;
11724 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11725 }
11726 }
11727 if (obj6) {
11728 {
11729 arg7 = wxString_in_helper(obj6);
11730 if (arg7 == NULL) SWIG_fail;
11731 temp7 = True;
11732 }
11733 }
11734 {
0439c23b 11735 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11738
11739 wxPyEndAllowThreads(__tstate);
0439c23b 11740 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11741 }
11742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11743 {
11744 if (temp2)
11745 delete arg2;
11746 }
11747 {
11748 if (temp3)
11749 delete arg3;
11750 }
11751 {
11752 if (temp7)
11753 delete arg7;
11754 }
11755 return resultobj;
11756 fail:
11757 {
11758 if (temp2)
11759 delete arg2;
11760 }
11761 {
11762 if (temp3)
11763 delete arg3;
11764 }
11765 {
11766 if (temp7)
11767 delete arg7;
11768 }
11769 return NULL;
11770}
11771
11772
11773static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11774 PyObject *resultobj;
11775 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11776 wxString result;
11777 PyObject * obj0 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11785 {
11786 PyThreadState* __tstate = wxPyBeginAllowThreads();
11787 result = (arg1)->GetPath();
11788
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 {
11793#if wxUSE_UNICODE
11794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11795#else
11796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11797#endif
11798 }
11799 return resultobj;
11800 fail:
11801 return NULL;
11802}
11803
11804
11805static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj;
11807 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11808 wxString result;
11809 PyObject * obj0 = 0 ;
11810 char *kwnames[] = {
11811 (char *) "self", NULL
11812 };
11813
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (arg1)->GetMessage();
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 {
11825#if wxUSE_UNICODE
11826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11827#else
11828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11829#endif
11830 }
11831 return resultobj;
11832 fail:
11833 return NULL;
11834}
11835
11836
11837static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11838 PyObject *resultobj;
11839 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11840 long result;
11841 PyObject * obj0 = 0 ;
11842 char *kwnames[] = {
11843 (char *) "self", NULL
11844 };
11845
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 result = (long)(arg1)->GetStyle();
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_FromLong((long)result);
11857 return resultobj;
11858 fail:
11859 return NULL;
11860}
11861
11862
11863static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11866 wxString *arg2 = 0 ;
11867 bool temp2 = False ;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self",(char *) "message", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11877 {
11878 arg2 = wxString_in_helper(obj1);
11879 if (arg2 == NULL) SWIG_fail;
11880 temp2 = True;
11881 }
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->SetMessage((wxString const &)*arg2);
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 Py_INCREF(Py_None); resultobj = Py_None;
11890 {
11891 if (temp2)
11892 delete arg2;
11893 }
11894 return resultobj;
11895 fail:
11896 {
11897 if (temp2)
11898 delete arg2;
11899 }
11900 return NULL;
11901}
11902
11903
11904static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11905 PyObject *resultobj;
11906 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11907 wxString *arg2 = 0 ;
11908 bool temp2 = False ;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self",(char *) "path", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11918 {
11919 arg2 = wxString_in_helper(obj1);
11920 if (arg2 == NULL) SWIG_fail;
11921 temp2 = True;
11922 }
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 (arg1)->SetPath((wxString const &)*arg2);
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 Py_INCREF(Py_None); resultobj = Py_None;
11931 {
11932 if (temp2)
11933 delete arg2;
11934 }
11935 return resultobj;
11936 fail:
11937 {
11938 if (temp2)
11939 delete arg2;
11940 }
11941 return NULL;
11942}
11943
11944
11945static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11946 PyObject *obj;
11947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11948 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11949 Py_INCREF(obj);
11950 return Py_BuildValue((char *)"");
11951}
11952static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj;
11954 wxWindow *arg1 = (wxWindow *) 0 ;
11955 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11956 wxString *arg2 = (wxString *) &arg2_defvalue ;
11957 wxString const &arg3_defvalue = wxPyEmptyString ;
11958 wxString *arg3 = (wxString *) &arg3_defvalue ;
11959 wxString const &arg4_defvalue = wxPyEmptyString ;
11960 wxString *arg4 = (wxString *) &arg4_defvalue ;
11961 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11962 wxString *arg5 = (wxString *) &arg5_defvalue ;
11963 long arg6 = (long) 0 ;
11964 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11965 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11966 wxFileDialog *result;
11967 bool temp2 = False ;
11968 bool temp3 = False ;
11969 bool temp4 = False ;
11970 bool temp5 = False ;
11971 wxPoint temp7 ;
11972 PyObject * obj0 = 0 ;
11973 PyObject * obj1 = 0 ;
11974 PyObject * obj2 = 0 ;
11975 PyObject * obj3 = 0 ;
11976 PyObject * obj4 = 0 ;
11977 PyObject * obj5 = 0 ;
11978 PyObject * obj6 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11986 if (obj1) {
11987 {
11988 arg2 = wxString_in_helper(obj1);
11989 if (arg2 == NULL) SWIG_fail;
11990 temp2 = True;
11991 }
11992 }
11993 if (obj2) {
11994 {
11995 arg3 = wxString_in_helper(obj2);
11996 if (arg3 == NULL) SWIG_fail;
11997 temp3 = True;
11998 }
11999 }
12000 if (obj3) {
12001 {
12002 arg4 = wxString_in_helper(obj3);
12003 if (arg4 == NULL) SWIG_fail;
12004 temp4 = True;
12005 }
12006 }
12007 if (obj4) {
12008 {
12009 arg5 = wxString_in_helper(obj4);
12010 if (arg5 == NULL) SWIG_fail;
12011 temp5 = True;
12012 }
12013 }
12014 if (obj5) {
12015 arg6 = (long) SWIG_AsLong(obj5);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 if (obj6) {
12019 {
12020 arg7 = &temp7;
12021 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12022 }
12023 }
12024 {
0439c23b 12025 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12028
12029 wxPyEndAllowThreads(__tstate);
0439c23b 12030 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12031 }
12032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12033 {
12034 if (temp2)
12035 delete arg2;
12036 }
12037 {
12038 if (temp3)
12039 delete arg3;
12040 }
12041 {
12042 if (temp4)
12043 delete arg4;
12044 }
12045 {
12046 if (temp5)
12047 delete arg5;
12048 }
12049 return resultobj;
12050 fail:
12051 {
12052 if (temp2)
12053 delete arg2;
12054 }
12055 {
12056 if (temp3)
12057 delete arg3;
12058 }
12059 {
12060 if (temp4)
12061 delete arg4;
12062 }
12063 {
12064 if (temp5)
12065 delete arg5;
12066 }
12067 return NULL;
12068}
12069
12070
12071static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj;
12073 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12074 wxString *arg2 = 0 ;
12075 bool temp2 = False ;
12076 PyObject * obj0 = 0 ;
12077 PyObject * obj1 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self",(char *) "message", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12085 {
12086 arg2 = wxString_in_helper(obj1);
12087 if (arg2 == NULL) SWIG_fail;
12088 temp2 = True;
12089 }
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->SetMessage((wxString const &)*arg2);
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 Py_INCREF(Py_None); resultobj = Py_None;
12098 {
12099 if (temp2)
12100 delete arg2;
12101 }
12102 return resultobj;
12103 fail:
12104 {
12105 if (temp2)
12106 delete arg2;
12107 }
12108 return NULL;
12109}
12110
12111
12112static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12115 wxString *arg2 = 0 ;
12116 bool temp2 = False ;
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj1 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "path", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 {
12127 arg2 = wxString_in_helper(obj1);
12128 if (arg2 == NULL) SWIG_fail;
12129 temp2 = True;
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 (arg1)->SetPath((wxString const &)*arg2);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 Py_INCREF(Py_None); resultobj = Py_None;
12139 {
12140 if (temp2)
12141 delete arg2;
12142 }
12143 return resultobj;
12144 fail:
12145 {
12146 if (temp2)
12147 delete arg2;
12148 }
12149 return NULL;
12150}
12151
12152
12153static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12156 wxString *arg2 = 0 ;
12157 bool temp2 = False ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self",(char *) "dir", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12167 {
12168 arg2 = wxString_in_helper(obj1);
12169 if (arg2 == NULL) SWIG_fail;
12170 temp2 = True;
12171 }
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 (arg1)->SetDirectory((wxString const &)*arg2);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 Py_INCREF(Py_None); resultobj = Py_None;
12180 {
12181 if (temp2)
12182 delete arg2;
12183 }
12184 return resultobj;
12185 fail:
12186 {
12187 if (temp2)
12188 delete arg2;
12189 }
12190 return NULL;
12191}
12192
12193
12194static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj;
12196 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12197 wxString *arg2 = 0 ;
12198 bool temp2 = False ;
12199 PyObject * obj0 = 0 ;
12200 PyObject * obj1 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self",(char *) "name", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12208 {
12209 arg2 = wxString_in_helper(obj1);
12210 if (arg2 == NULL) SWIG_fail;
12211 temp2 = True;
12212 }
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 (arg1)->SetFilename((wxString const &)*arg2);
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 Py_INCREF(Py_None); resultobj = Py_None;
12221 {
12222 if (temp2)
12223 delete arg2;
12224 }
12225 return resultobj;
12226 fail:
12227 {
12228 if (temp2)
12229 delete arg2;
12230 }
12231 return NULL;
12232}
12233
12234
12235static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj;
12237 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12238 wxString *arg2 = 0 ;
12239 bool temp2 = False ;
12240 PyObject * obj0 = 0 ;
12241 PyObject * obj1 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self",(char *) "wildCard", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12249 {
12250 arg2 = wxString_in_helper(obj1);
12251 if (arg2 == NULL) SWIG_fail;
12252 temp2 = True;
12253 }
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->SetWildcard((wxString const &)*arg2);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 {
12263 if (temp2)
12264 delete arg2;
12265 }
12266 return resultobj;
12267 fail:
12268 {
12269 if (temp2)
12270 delete arg2;
12271 }
12272 return NULL;
12273}
12274
12275
12276static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12279 long arg2 ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self",(char *) "style", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12289 arg2 = (long) SWIG_AsLong(obj1);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->SetStyle(arg2);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 Py_INCREF(Py_None); resultobj = Py_None;
12299 return resultobj;
12300 fail:
12301 return NULL;
12302}
12303
12304
12305static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12306 PyObject *resultobj;
12307 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12308 int arg2 ;
12309 PyObject * obj0 = 0 ;
12310 PyObject * obj1 = 0 ;
12311 char *kwnames[] = {
12312 (char *) "self",(char *) "filterIndex", NULL
12313 };
12314
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12318 arg2 = (int) SWIG_AsInt(obj1);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 (arg1)->SetFilterIndex(arg2);
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 Py_INCREF(Py_None); resultobj = Py_None;
12328 return resultobj;
12329 fail:
12330 return NULL;
12331}
12332
12333
12334static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj;
12336 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12337 wxString result;
12338 PyObject * obj0 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 result = ((wxFileDialog const *)arg1)->GetMessage();
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 {
12354#if wxUSE_UNICODE
12355 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12356#else
12357 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12358#endif
12359 }
12360 return resultobj;
12361 fail:
12362 return NULL;
12363}
12364
12365
12366static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12369 wxString result;
12370 PyObject * obj0 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = ((wxFileDialog const *)arg1)->GetPath();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 {
12386#if wxUSE_UNICODE
12387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12388#else
12389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12390#endif
12391 }
12392 return resultobj;
12393 fail:
12394 return NULL;
12395}
12396
12397
12398static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj;
12400 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12401 wxString result;
12402 PyObject * obj0 = 0 ;
12403 char *kwnames[] = {
12404 (char *) "self", NULL
12405 };
12406
12407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 result = ((wxFileDialog const *)arg1)->GetDirectory();
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 {
12418#if wxUSE_UNICODE
12419 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12420#else
12421 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12422#endif
12423 }
12424 return resultobj;
12425 fail:
12426 return NULL;
12427}
12428
12429
12430static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12431 PyObject *resultobj;
12432 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12433 wxString result;
12434 PyObject * obj0 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "self", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 result = ((wxFileDialog const *)arg1)->GetFilename();
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 {
12450#if wxUSE_UNICODE
12451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12452#else
12453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12454#endif
12455 }
12456 return resultobj;
12457 fail:
12458 return NULL;
12459}
12460
12461
12462static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12465 wxString result;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = ((wxFileDialog const *)arg1)->GetWildcard();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 {
12482#if wxUSE_UNICODE
12483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12484#else
12485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12486#endif
12487 }
12488 return resultobj;
12489 fail:
12490 return NULL;
12491}
12492
12493
12494static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12497 long result;
12498 PyObject * obj0 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 resultobj = SWIG_FromLong((long)result);
12514 return resultobj;
12515 fail:
12516 return NULL;
12517}
12518
12519
12520static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12523 int result;
12524 PyObject * obj0 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 resultobj = SWIG_FromInt((int)result);
12540 return resultobj;
12541 fail:
12542 return NULL;
12543}
12544
12545
12546static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12549 PyObject *result;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = result;
12566 return resultobj;
12567 fail:
12568 return NULL;
12569}
12570
12571
12572static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12575 PyObject *result;
12576 PyObject * obj0 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 resultobj = result;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595}
12596
12597
12598static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12599 PyObject *obj;
12600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12601 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12602 Py_INCREF(obj);
12603 return Py_BuildValue((char *)"");
12604}
12605static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12606 PyObject *resultobj;
12607 wxWindow *arg1 = (wxWindow *) 0 ;
12608 wxString *arg2 = 0 ;
12609 wxString *arg3 = 0 ;
12610 int arg4 = (int) 0 ;
248ed943 12611 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
12612 long arg6 = (long) wxCHOICEDLG_STYLE ;
12613 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12614 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12615 wxMultiChoiceDialog *result;
12616 bool temp2 = False ;
12617 bool temp3 = False ;
12618 wxPoint temp6 ;
12619 PyObject * obj0 = 0 ;
12620 PyObject * obj1 = 0 ;
12621 PyObject * obj2 = 0 ;
12622 PyObject * obj3 = 0 ;
12623 PyObject * obj4 = 0 ;
12624 PyObject * obj5 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12632 {
12633 arg2 = wxString_in_helper(obj1);
12634 if (arg2 == NULL) SWIG_fail;
12635 temp2 = True;
12636 }
12637 {
12638 arg3 = wxString_in_helper(obj2);
12639 if (arg3 == NULL) SWIG_fail;
12640 temp3 = True;
12641 }
12642 if (obj3) {
12643 {
12644 arg4 = PyList_Size(obj3);
12645 arg5 = wxString_LIST_helper(obj3);
12646 if (arg5 == NULL) SWIG_fail;
12647 }
12648 }
12649 if (obj4) {
12650 arg6 = (long) SWIG_AsLong(obj4);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 }
12653 if (obj5) {
12654 {
12655 arg7 = &temp6;
12656 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12657 }
12658 }
12659 {
0439c23b 12660 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12663
12664 wxPyEndAllowThreads(__tstate);
0439c23b 12665 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12666 }
12667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12668 {
12669 if (temp2)
12670 delete arg2;
12671 }
12672 {
12673 if (temp3)
12674 delete arg3;
12675 }
12676 {
12677 if (arg5) delete [] arg5;
12678 }
12679 return resultobj;
12680 fail:
12681 {
12682 if (temp2)
12683 delete arg2;
12684 }
12685 {
12686 if (temp3)
12687 delete arg3;
12688 }
12689 {
12690 if (arg5) delete [] arg5;
12691 }
12692 return NULL;
12693}
12694
12695
12696static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12697 PyObject *resultobj;
12698 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12699 wxArrayInt *arg2 = 0 ;
12700 bool temp2 = False ;
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self",(char *) "selections", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12710 {
12711 if (! PySequence_Check(obj1)) {
12712 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12713 SWIG_fail;
12714 }
12715 arg2 = new wxArrayInt;
12716 temp2 = True;
12717 int i, len=PySequence_Length(obj1);
12718 for (i=0; i<len; i++) {
12719 PyObject* item = PySequence_GetItem(obj1, i);
12720 PyObject* number = PyNumber_Int(item);
12721 arg2->Add(PyInt_AS_LONG(number));
12722 Py_DECREF(item);
12723 Py_DECREF(number);
12724 }
12725 }
12726 {
12727 PyThreadState* __tstate = wxPyBeginAllowThreads();
12728 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12729
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 Py_INCREF(Py_None); resultobj = Py_None;
12734 {
12735 if (temp2) delete arg2;
12736 }
12737 return resultobj;
12738 fail:
12739 {
12740 if (temp2) delete arg2;
12741 }
12742 return NULL;
12743}
12744
12745
12746static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj;
12748 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12749 PyObject *result;
12750 PyObject * obj0 = 0 ;
12751 char *kwnames[] = {
12752 (char *) "self", NULL
12753 };
12754
12755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
12760 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12761
12762 wxPyEndAllowThreads(__tstate);
12763 if (PyErr_Occurred()) SWIG_fail;
12764 }
12765 resultobj = result;
12766 return resultobj;
12767 fail:
12768 return NULL;
12769}
12770
12771
12772static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12773 PyObject *obj;
12774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12776 Py_INCREF(obj);
12777 return Py_BuildValue((char *)"");
12778}
12779static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxWindow *arg1 = (wxWindow *) 0 ;
12782 wxString *arg2 = 0 ;
12783 wxString *arg3 = 0 ;
12784 int arg4 ;
12785 wxString *arg5 = (wxString *) 0 ;
12786 long arg6 = (long) wxCHOICEDLG_STYLE ;
12787 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12788 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12789 wxSingleChoiceDialog *result;
12790 bool temp2 = False ;
12791 bool temp3 = False ;
12792 wxPoint temp6 ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 PyObject * obj2 = 0 ;
12796 PyObject * obj3 = 0 ;
12797 PyObject * obj4 = 0 ;
12798 PyObject * obj5 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12806 {
12807 arg2 = wxString_in_helper(obj1);
12808 if (arg2 == NULL) SWIG_fail;
12809 temp2 = True;
12810 }
12811 {
12812 arg3 = wxString_in_helper(obj2);
12813 if (arg3 == NULL) SWIG_fail;
12814 temp3 = True;
12815 }
12816 {
12817 arg4 = PyList_Size(obj3);
12818 arg5 = wxString_LIST_helper(obj3);
12819 if (arg5 == NULL) SWIG_fail;
12820 }
12821 if (obj4) {
12822 arg6 = (long) SWIG_AsLong(obj4);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 if (obj5) {
12826 {
12827 arg7 = &temp6;
12828 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12829 }
12830 }
12831 {
0439c23b 12832 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12835
12836 wxPyEndAllowThreads(__tstate);
0439c23b 12837 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12838 }
12839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12840 {
12841 if (temp2)
12842 delete arg2;
12843 }
12844 {
12845 if (temp3)
12846 delete arg3;
12847 }
12848 {
12849 if (arg5) delete [] arg5;
12850 }
12851 return resultobj;
12852 fail:
12853 {
12854 if (temp2)
12855 delete arg2;
12856 }
12857 {
12858 if (temp3)
12859 delete arg3;
12860 }
12861 {
12862 if (arg5) delete [] arg5;
12863 }
12864 return NULL;
12865}
12866
12867
12868static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (int)(arg1)->GetSelection();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 resultobj = SWIG_FromInt((int)result);
12888 return resultobj;
12889 fail:
12890 return NULL;
12891}
12892
12893
12894static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12895 PyObject *resultobj;
12896 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12897 wxString result;
12898 PyObject * obj0 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 result = (arg1)->GetStringSelection();
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 {
12914#if wxUSE_UNICODE
12915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12916#else
12917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12918#endif
12919 }
12920 return resultobj;
12921 fail:
12922 return NULL;
12923}
12924
12925
12926static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj;
12928 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12929 int arg2 ;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self",(char *) "sel", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12939 arg2 = (int) SWIG_AsInt(obj1);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 (arg1)->SetSelection(arg2);
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 Py_INCREF(Py_None); resultobj = Py_None;
12949 return resultobj;
12950 fail:
12951 return NULL;
12952}
12953
12954
12955static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12956 PyObject *obj;
12957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12958 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12959 Py_INCREF(obj);
12960 return Py_BuildValue((char *)"");
12961}
12962static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxWindow *arg1 = (wxWindow *) 0 ;
12965 wxString *arg2 = 0 ;
12966 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12967 wxString *arg3 = (wxString *) &arg3_defvalue ;
12968 wxString const &arg4_defvalue = wxPyEmptyString ;
12969 wxString *arg4 = (wxString *) &arg4_defvalue ;
12970 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12971 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12972 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12973 wxTextEntryDialog *result;
12974 bool temp2 = False ;
12975 bool temp3 = False ;
12976 bool temp4 = False ;
12977 wxPoint temp6 ;
12978 PyObject * obj0 = 0 ;
12979 PyObject * obj1 = 0 ;
12980 PyObject * obj2 = 0 ;
12981 PyObject * obj3 = 0 ;
12982 PyObject * obj4 = 0 ;
12983 PyObject * obj5 = 0 ;
12984 char *kwnames[] = {
12985 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12986 };
12987
12988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12991 {
12992 arg2 = wxString_in_helper(obj1);
12993 if (arg2 == NULL) SWIG_fail;
12994 temp2 = True;
12995 }
12996 if (obj2) {
12997 {
12998 arg3 = wxString_in_helper(obj2);
12999 if (arg3 == NULL) SWIG_fail;
13000 temp3 = True;
13001 }
13002 }
13003 if (obj3) {
13004 {
13005 arg4 = wxString_in_helper(obj3);
13006 if (arg4 == NULL) SWIG_fail;
13007 temp4 = True;
13008 }
13009 }
13010 if (obj4) {
13011 arg5 = (long) SWIG_AsLong(obj4);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 if (obj5) {
13015 {
13016 arg6 = &temp6;
13017 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13018 }
13019 }
13020 {
0439c23b 13021 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13024
13025 wxPyEndAllowThreads(__tstate);
0439c23b 13026 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13027 }
13028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13029 {
13030 if (temp2)
13031 delete arg2;
13032 }
13033 {
13034 if (temp3)
13035 delete arg3;
13036 }
13037 {
13038 if (temp4)
13039 delete arg4;
13040 }
13041 return resultobj;
13042 fail:
13043 {
13044 if (temp2)
13045 delete arg2;
13046 }
13047 {
13048 if (temp3)
13049 delete arg3;
13050 }
13051 {
13052 if (temp4)
13053 delete arg4;
13054 }
13055 return NULL;
13056}
13057
13058
13059static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13060 PyObject *resultobj;
13061 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13062 wxString result;
13063 PyObject * obj0 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "self", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (arg1)->GetValue();
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 {
13079#if wxUSE_UNICODE
13080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13081#else
13082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13083#endif
13084 }
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
13091static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13094 wxString *arg2 = 0 ;
13095 bool temp2 = False ;
13096 PyObject * obj0 = 0 ;
13097 PyObject * obj1 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self",(char *) "value", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13105 {
13106 arg2 = wxString_in_helper(obj1);
13107 if (arg2 == NULL) SWIG_fail;
13108 temp2 = True;
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 (arg1)->SetValue((wxString const &)*arg2);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 Py_INCREF(Py_None); resultobj = Py_None;
13118 {
13119 if (temp2)
13120 delete arg2;
13121 }
13122 return resultobj;
13123 fail:
13124 {
13125 if (temp2)
13126 delete arg2;
13127 }
13128 return NULL;
13129}
13130
13131
13132static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
13133 PyObject *obj;
13134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13135 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13136 Py_INCREF(obj);
13137 return Py_BuildValue((char *)"");
13138}
13139static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj;
13141 wxFontData *result;
13142 char *kwnames[] = {
13143 NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (wxFontData *)new wxFontData();
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13155 return resultobj;
13156 fail:
13157 return NULL;
13158}
13159
13160
13161static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxFontData *arg1 = (wxFontData *) 0 ;
13164 PyObject * obj0 = 0 ;
13165 char *kwnames[] = {
13166 (char *) "self", NULL
13167 };
13168
13169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 delete arg1;
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183}
13184
13185
13186static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxFontData *arg1 = (wxFontData *) 0 ;
13189 bool arg2 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self",(char *) "enable", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13199 arg2 = (bool) SWIG_AsBool(obj1);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 (arg1)->EnableEffects(arg2);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 Py_INCREF(Py_None); resultobj = Py_None;
13209 return resultobj;
13210 fail:
13211 return NULL;
13212}
13213
13214
13215static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 wxFontData *arg1 = (wxFontData *) 0 ;
13218 bool result;
13219 PyObject * obj0 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (bool)(arg1)->GetAllowSymbols();
13230
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
13234 {
13235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13236 }
13237 return resultobj;
13238 fail:
13239 return NULL;
13240}
13241
13242
13243static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxFontData *arg1 = (wxFontData *) 0 ;
13246 wxColour result;
13247 PyObject * obj0 = 0 ;
13248 char *kwnames[] = {
13249 (char *) "self", NULL
13250 };
13251
13252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 result = (arg1)->GetColour();
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 {
13263 wxColour * resultptr;
13264 resultptr = new wxColour((wxColour &) result);
13265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13266 }
13267 return resultobj;
13268 fail:
13269 return NULL;
13270}
13271
13272
13273static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxFontData *arg1 = (wxFontData *) 0 ;
13276 wxFont result;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (arg1)->GetChosenFont();
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 {
13293 wxFont * resultptr;
13294 resultptr = new wxFont((wxFont &) result);
13295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13296 }
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxFontData *arg1 = (wxFontData *) 0 ;
13306 bool result;
13307 PyObject * obj0 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 result = (bool)(arg1)->GetEnableEffects();
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 {
13323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13324 }
13325 return resultobj;
13326 fail:
13327 return NULL;
13328}
13329
13330
13331static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxFontData *arg1 = (wxFontData *) 0 ;
13334 wxFont result;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (arg1)->GetInitialFont();
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 {
13351 wxFont * resultptr;
13352 resultptr = new wxFont((wxFont &) result);
13353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13354 }
13355 return resultobj;
13356 fail:
13357 return NULL;
13358}
13359
13360
13361static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 wxFontData *arg1 = (wxFontData *) 0 ;
13364 bool result;
13365 PyObject * obj0 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "self", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = (bool)(arg1)->GetShowHelp();
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 {
13381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13382 }
13383 return resultobj;
13384 fail:
13385 return NULL;
13386}
13387
13388
13389static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj;
13391 wxFontData *arg1 = (wxFontData *) 0 ;
13392 bool arg2 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self",(char *) "allowSymbols", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13402 arg2 = (bool) SWIG_AsBool(obj1);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->SetAllowSymbols(arg2);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
13418static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxFontData *arg1 = (wxFontData *) 0 ;
13421 wxFont *arg2 = 0 ;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self",(char *) "font", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13432 SWIG_POINTER_EXCEPTION | 0)) == -1)
13433 SWIG_fail;
13434 if (arg2 == NULL) {
13435 PyErr_SetString(PyExc_TypeError,"null reference");
13436 SWIG_fail;
13437 }
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->SetChosenFont((wxFont const &)*arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 Py_INCREF(Py_None); resultobj = Py_None;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
13452static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxFontData *arg1 = (wxFontData *) 0 ;
13455 wxColour *arg2 = 0 ;
13456 wxColour temp2 ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "colour", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13466 {
13467 arg2 = &temp2;
13468 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13469 }
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 (arg1)->SetColour((wxColour const &)*arg2);
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 Py_INCREF(Py_None); resultobj = Py_None;
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
13484static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxFontData *arg1 = (wxFontData *) 0 ;
13487 wxFont *arg2 = 0 ;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "font", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1)
13499 SWIG_fail;
13500 if (arg2 == NULL) {
13501 PyErr_SetString(PyExc_TypeError,"null reference");
13502 SWIG_fail;
13503 }
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 (arg1)->SetInitialFont((wxFont const &)*arg2);
13507
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 Py_INCREF(Py_None); resultobj = Py_None;
13512 return resultobj;
13513 fail:
13514 return NULL;
13515}
13516
13517
13518static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxFontData *arg1 = (wxFontData *) 0 ;
13521 int arg2 ;
13522 int arg3 ;
13523 PyObject * obj0 = 0 ;
13524 PyObject * obj1 = 0 ;
13525 PyObject * obj2 = 0 ;
13526 char *kwnames[] = {
13527 (char *) "self",(char *) "min",(char *) "max", NULL
13528 };
13529
13530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13533 arg2 = (int) SWIG_AsInt(obj1);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 arg3 = (int) SWIG_AsInt(obj2);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->SetRange(arg2,arg3);
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 Py_INCREF(Py_None); resultobj = Py_None;
13545 return resultobj;
13546 fail:
13547 return NULL;
13548}
13549
13550
13551static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxFontData *arg1 = (wxFontData *) 0 ;
13554 bool arg2 ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self",(char *) "showHelp", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13564 arg2 = (bool) SWIG_AsBool(obj1);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 (arg1)->SetShowHelp(arg2);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 Py_INCREF(Py_None); resultobj = Py_None;
13574 return resultobj;
13575 fail:
13576 return NULL;
13577}
13578
13579
13580static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13581 PyObject *obj;
13582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13583 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13584 Py_INCREF(obj);
13585 return Py_BuildValue((char *)"");
13586}
13587static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxWindow *arg1 = (wxWindow *) 0 ;
13590 wxFontData *arg2 = 0 ;
13591 wxFontDialog *result;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj1 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "parent",(char *) "data", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13602 SWIG_POINTER_EXCEPTION | 0)) == -1)
13603 SWIG_fail;
13604 if (arg2 == NULL) {
13605 PyErr_SetString(PyExc_TypeError,"null reference");
13606 SWIG_fail;
13607 }
13608 {
0439c23b 13609 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13612
13613 wxPyEndAllowThreads(__tstate);
0439c23b 13614 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13615 }
13616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13617 return resultobj;
13618 fail:
13619 return NULL;
13620}
13621
13622
13623static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13626 wxFontData *result;
13627 PyObject * obj0 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 {
13638 wxFontData &_result_ref = (arg1)->GetFontData();
13639 result = (wxFontData *) &_result_ref;
13640 }
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13646 return resultobj;
13647 fail:
13648 return NULL;
13649}
13650
13651
13652static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13653 PyObject *obj;
13654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13655 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13656 Py_INCREF(obj);
13657 return Py_BuildValue((char *)"");
13658}
13659static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxWindow *arg1 = (wxWindow *) 0 ;
13662 wxString *arg2 = 0 ;
13663 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13664 wxString *arg3 = (wxString *) &arg3_defvalue ;
13665 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13666 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13667 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13668 wxMessageDialog *result;
13669 bool temp2 = False ;
13670 bool temp3 = False ;
13671 wxPoint temp5 ;
13672 PyObject * obj0 = 0 ;
13673 PyObject * obj1 = 0 ;
13674 PyObject * obj2 = 0 ;
13675 PyObject * obj3 = 0 ;
13676 PyObject * obj4 = 0 ;
13677 char *kwnames[] = {
13678 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13679 };
13680
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13684 {
13685 arg2 = wxString_in_helper(obj1);
13686 if (arg2 == NULL) SWIG_fail;
13687 temp2 = True;
13688 }
13689 if (obj2) {
13690 {
13691 arg3 = wxString_in_helper(obj2);
13692 if (arg3 == NULL) SWIG_fail;
13693 temp3 = True;
13694 }
13695 }
13696 if (obj3) {
13697 arg4 = (long) SWIG_AsLong(obj3);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 if (obj4) {
13701 {
13702 arg5 = &temp5;
13703 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13704 }
13705 }
13706 {
0439c23b 13707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13710
13711 wxPyEndAllowThreads(__tstate);
0439c23b 13712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13713 }
13714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13715 {
13716 if (temp2)
13717 delete arg2;
13718 }
13719 {
13720 if (temp3)
13721 delete arg3;
13722 }
13723 return resultobj;
13724 fail:
13725 {
13726 if (temp2)
13727 delete arg2;
13728 }
13729 {
13730 if (temp3)
13731 delete arg3;
13732 }
13733 return NULL;
13734}
13735
13736
13737static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13738 PyObject *obj;
13739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13740 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13741 Py_INCREF(obj);
13742 return Py_BuildValue((char *)"");
13743}
13744static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxString *arg1 = 0 ;
13747 wxString *arg2 = 0 ;
13748 int arg3 = (int) 100 ;
13749 wxWindow *arg4 = (wxWindow *) NULL ;
13750 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13751 wxProgressDialog *result;
13752 bool temp1 = False ;
13753 bool temp2 = False ;
13754 PyObject * obj0 = 0 ;
13755 PyObject * obj1 = 0 ;
13756 PyObject * obj2 = 0 ;
13757 PyObject * obj3 = 0 ;
13758 PyObject * obj4 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13764 {
13765 arg1 = wxString_in_helper(obj0);
13766 if (arg1 == NULL) SWIG_fail;
13767 temp1 = True;
13768 }
13769 {
13770 arg2 = wxString_in_helper(obj1);
13771 if (arg2 == NULL) SWIG_fail;
13772 temp2 = True;
13773 }
13774 if (obj2) {
13775 arg3 = (int) SWIG_AsInt(obj2);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 if (obj3) {
13779 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13781 }
13782 if (obj4) {
13783 arg5 = (int) SWIG_AsInt(obj4);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 {
0439c23b 13787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13790
13791 wxPyEndAllowThreads(__tstate);
0439c23b 13792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13793 }
13794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13795 {
13796 if (temp1)
13797 delete arg1;
13798 }
13799 {
13800 if (temp2)
13801 delete arg2;
13802 }
13803 return resultobj;
13804 fail:
13805 {
13806 if (temp1)
13807 delete arg1;
13808 }
13809 {
13810 if (temp2)
13811 delete arg2;
13812 }
13813 return NULL;
13814}
13815
13816
13817static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13818 PyObject *resultobj;
13819 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13820 int arg2 ;
13821 wxString const &arg3_defvalue = wxPyEmptyString ;
13822 wxString *arg3 = (wxString *) &arg3_defvalue ;
13823 bool result;
13824 bool temp3 = False ;
13825 PyObject * obj0 = 0 ;
13826 PyObject * obj1 = 0 ;
13827 PyObject * obj2 = 0 ;
13828 char *kwnames[] = {
13829 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13830 };
13831
13832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13835 arg2 = (int) SWIG_AsInt(obj1);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 if (obj2) {
13838 {
13839 arg3 = wxString_in_helper(obj2);
13840 if (arg3 == NULL) SWIG_fail;
13841 temp3 = True;
13842 }
13843 }
13844 {
13845 PyThreadState* __tstate = wxPyBeginAllowThreads();
13846 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13847
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 {
13852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13853 }
13854 {
13855 if (temp3)
13856 delete arg3;
13857 }
13858 return resultobj;
13859 fail:
13860 {
13861 if (temp3)
13862 delete arg3;
13863 }
13864 return NULL;
13865}
13866
13867
13868static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13871 PyObject * obj0 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 (arg1)->Resume();
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 Py_INCREF(Py_None); resultobj = Py_None;
13887 return resultobj;
13888 fail:
13889 return NULL;
13890}
13891
13892
13893static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13894 PyObject *obj;
13895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13896 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13897 Py_INCREF(obj);
13898 return Py_BuildValue((char *)"");
13899}
13900static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13903 int arg2 = (int) 0 ;
13904 wxFindDialogEvent *result;
13905 PyObject * obj0 = 0 ;
13906 PyObject * obj1 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "commandType",(char *) "id", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13912 if (obj0) {
13913 arg1 = (wxEventType) SWIG_AsInt(obj0);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 if (obj1) {
13917 arg2 = (int) SWIG_AsInt(obj1);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13928 return resultobj;
13929 fail:
13930 return NULL;
13931}
13932
13933
13934static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13937 int result;
13938 PyObject * obj0 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (int)(arg1)->GetFlags();
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = SWIG_FromInt((int)result);
13954 return resultobj;
13955 fail:
13956 return NULL;
13957}
13958
13959
13960static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13963 wxString *result;
13964 PyObject * obj0 = 0 ;
13965 char *kwnames[] = {
13966 (char *) "self", NULL
13967 };
13968
13969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 {
13975 wxString const &_result_ref = (arg1)->GetFindString();
13976 result = (wxString *) &_result_ref;
13977 }
13978
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 {
13983#if wxUSE_UNICODE
13984 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13985#else
13986 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13987#endif
13988 }
13989 return resultobj;
13990 fail:
13991 return NULL;
13992}
13993
13994
13995static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13998 wxString *result;
13999 PyObject * obj0 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 {
14010 wxString const &_result_ref = (arg1)->GetReplaceString();
14011 result = (wxString *) &_result_ref;
14012 }
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 {
14018#if wxUSE_UNICODE
14019 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14020#else
14021 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14022#endif
14023 }
14024 return resultobj;
14025 fail:
14026 return NULL;
14027}
14028
14029
14030static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj;
14032 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14033 wxFindReplaceDialog *result;
14034 PyObject * obj0 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14045
14046 wxPyEndAllowThreads(__tstate);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
14049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14050 return resultobj;
14051 fail:
14052 return NULL;
14053}
14054
14055
14056static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14057 PyObject *resultobj;
14058 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14059 int arg2 ;
14060 PyObject * obj0 = 0 ;
14061 PyObject * obj1 = 0 ;
14062 char *kwnames[] = {
14063 (char *) "self",(char *) "flags", NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14069 arg2 = (int) SWIG_AsInt(obj1);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 (arg1)->SetFlags(arg2);
14074
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 Py_INCREF(Py_None); resultobj = Py_None;
14079 return resultobj;
14080 fail:
14081 return NULL;
14082}
14083
14084
14085static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj;
14087 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14088 wxString *arg2 = 0 ;
14089 bool temp2 = False ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self",(char *) "str", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14099 {
14100 arg2 = wxString_in_helper(obj1);
14101 if (arg2 == NULL) SWIG_fail;
14102 temp2 = True;
14103 }
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 (arg1)->SetFindString((wxString const &)*arg2);
14107
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 Py_INCREF(Py_None); resultobj = Py_None;
14112 {
14113 if (temp2)
14114 delete arg2;
14115 }
14116 return resultobj;
14117 fail:
14118 {
14119 if (temp2)
14120 delete arg2;
14121 }
14122 return NULL;
14123}
14124
14125
14126static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14127 PyObject *resultobj;
14128 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14129 wxString *arg2 = 0 ;
14130 bool temp2 = False ;
14131 PyObject * obj0 = 0 ;
14132 PyObject * obj1 = 0 ;
14133 char *kwnames[] = {
14134 (char *) "self",(char *) "str", NULL
14135 };
14136
14137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14140 {
14141 arg2 = wxString_in_helper(obj1);
14142 if (arg2 == NULL) SWIG_fail;
14143 temp2 = True;
14144 }
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 (arg1)->SetReplaceString((wxString const &)*arg2);
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 Py_INCREF(Py_None); resultobj = Py_None;
14153 {
14154 if (temp2)
14155 delete arg2;
14156 }
14157 return resultobj;
14158 fail:
14159 {
14160 if (temp2)
14161 delete arg2;
14162 }
14163 return NULL;
14164}
14165
14166
14167static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14168 PyObject *obj;
14169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14170 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14171 Py_INCREF(obj);
14172 return Py_BuildValue((char *)"");
14173}
14174static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 int arg1 = (int) 0 ;
14177 wxFindReplaceData *result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "flags", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14184 if (obj0) {
14185 arg1 = (int) SWIG_AsInt(obj0);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14196 return resultobj;
14197 fail:
14198 return NULL;
14199}
14200
14201
14202static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14205 PyObject * obj0 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 delete arg1;
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 Py_INCREF(Py_None); resultobj = Py_None;
14221 return resultobj;
14222 fail:
14223 return NULL;
14224}
14225
14226
14227static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14230 wxString *result;
14231 PyObject * obj0 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 {
14242 wxString const &_result_ref = (arg1)->GetFindString();
14243 result = (wxString *) &_result_ref;
14244 }
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 {
14250#if wxUSE_UNICODE
14251 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14252#else
14253 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14254#endif
14255 }
14256 return resultobj;
14257 fail:
14258 return NULL;
14259}
14260
14261
14262static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14265 wxString *result;
14266 PyObject * obj0 = 0 ;
14267 char *kwnames[] = {
14268 (char *) "self", NULL
14269 };
14270
14271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 {
14277 wxString const &_result_ref = (arg1)->GetReplaceString();
14278 result = (wxString *) &_result_ref;
14279 }
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 {
14285#if wxUSE_UNICODE
14286 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14287#else
14288 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14289#endif
14290 }
14291 return resultobj;
14292 fail:
14293 return NULL;
14294}
14295
14296
14297static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14300 int result;
14301 PyObject * obj0 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "self", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (int)(arg1)->GetFlags();
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 resultobj = SWIG_FromInt((int)result);
14317 return resultobj;
14318 fail:
14319 return NULL;
14320}
14321
14322
14323static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14326 int arg2 ;
14327 PyObject * obj0 = 0 ;
14328 PyObject * obj1 = 0 ;
14329 char *kwnames[] = {
14330 (char *) "self",(char *) "flags", NULL
14331 };
14332
14333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14336 arg2 = (int) SWIG_AsInt(obj1);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 (arg1)->SetFlags(arg2);
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 Py_INCREF(Py_None); resultobj = Py_None;
14346 return resultobj;
14347 fail:
14348 return NULL;
14349}
14350
14351
14352static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14355 wxString *arg2 = 0 ;
14356 bool temp2 = False ;
14357 PyObject * obj0 = 0 ;
14358 PyObject * obj1 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self",(char *) "str", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14366 {
14367 arg2 = wxString_in_helper(obj1);
14368 if (arg2 == NULL) SWIG_fail;
14369 temp2 = True;
14370 }
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 (arg1)->SetFindString((wxString const &)*arg2);
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
14378 Py_INCREF(Py_None); resultobj = Py_None;
14379 {
14380 if (temp2)
14381 delete arg2;
14382 }
14383 return resultobj;
14384 fail:
14385 {
14386 if (temp2)
14387 delete arg2;
14388 }
14389 return NULL;
14390}
14391
14392
14393static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14396 wxString *arg2 = 0 ;
14397 bool temp2 = False ;
14398 PyObject * obj0 = 0 ;
14399 PyObject * obj1 = 0 ;
14400 char *kwnames[] = {
14401 (char *) "self",(char *) "str", NULL
14402 };
14403
14404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14407 {
14408 arg2 = wxString_in_helper(obj1);
14409 if (arg2 == NULL) SWIG_fail;
14410 temp2 = True;
14411 }
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 (arg1)->SetReplaceString((wxString const &)*arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 Py_INCREF(Py_None); resultobj = Py_None;
14420 {
14421 if (temp2)
14422 delete arg2;
14423 }
14424 return resultobj;
14425 fail:
14426 {
14427 if (temp2)
14428 delete arg2;
14429 }
14430 return NULL;
14431}
14432
14433
14434static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14435 PyObject *obj;
14436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14437 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14438 Py_INCREF(obj);
14439 return Py_BuildValue((char *)"");
14440}
14441static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj;
14443 wxWindow *arg1 = (wxWindow *) 0 ;
14444 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14445 wxString *arg3 = 0 ;
14446 int arg4 = (int) 0 ;
14447 wxFindReplaceDialog *result;
14448 bool temp3 = False ;
14449 PyObject * obj0 = 0 ;
14450 PyObject * obj1 = 0 ;
14451 PyObject * obj2 = 0 ;
14452 PyObject * obj3 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 {
14463 arg3 = wxString_in_helper(obj2);
14464 if (arg3 == NULL) SWIG_fail;
14465 temp3 = True;
14466 }
14467 if (obj3) {
14468 arg4 = (int) SWIG_AsInt(obj3);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 {
0439c23b 14472 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14475
14476 wxPyEndAllowThreads(__tstate);
0439c23b 14477 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14478 }
14479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14480 {
14481 if (temp3)
14482 delete arg3;
14483 }
14484 return resultobj;
14485 fail:
14486 {
14487 if (temp3)
14488 delete arg3;
14489 }
14490 return NULL;
14491}
14492
14493
14494static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14495 PyObject *resultobj;
14496 wxFindReplaceDialog *result;
14497 char *kwnames[] = {
14498 NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14502 {
0439c23b 14503 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14506
14507 wxPyEndAllowThreads(__tstate);
0439c23b 14508 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14509 }
14510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14511 return resultobj;
14512 fail:
14513 return NULL;
14514}
14515
14516
14517static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj;
14519 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14520 wxWindow *arg2 = (wxWindow *) 0 ;
14521 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14522 wxString *arg4 = 0 ;
14523 int arg5 = (int) 0 ;
14524 bool result;
14525 bool temp4 = False ;
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 PyObject * obj2 = 0 ;
14529 PyObject * obj3 = 0 ;
14530 PyObject * obj4 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14540 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14542 {
14543 arg4 = wxString_in_helper(obj3);
14544 if (arg4 == NULL) SWIG_fail;
14545 temp4 = True;
14546 }
14547 if (obj4) {
14548 arg5 = (int) SWIG_AsInt(obj4);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 {
14559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14560 }
14561 {
14562 if (temp4)
14563 delete arg4;
14564 }
14565 return resultobj;
14566 fail:
14567 {
14568 if (temp4)
14569 delete arg4;
14570 }
14571 return NULL;
14572}
14573
14574
14575static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14578 wxFindReplaceData *result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (wxFindReplaceData *)(arg1)->GetData();
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14595 return resultobj;
14596 fail:
14597 return NULL;
14598}
14599
14600
14601static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14604 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14605 PyObject * obj0 = 0 ;
14606 PyObject * obj1 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self",(char *) "data", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 (arg1)->SetData(arg2);
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 Py_INCREF(Py_None); resultobj = Py_None;
14624 return resultobj;
14625 fail:
14626 return NULL;
14627}
14628
14629
14630static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14631 PyObject *obj;
14632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14633 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14634 Py_INCREF(obj);
14635 return Py_BuildValue((char *)"");
14636}
14637static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14640 int arg2 = (int) (int)-1 ;
14641 wxString const &arg3_defvalue = wxPyEmptyString ;
14642 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14645 wxSize const &arg5_defvalue = wxDefaultSize ;
14646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14647 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14648 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14649 wxString *arg7 = (wxString *) &arg7_defvalue ;
14650 wxMDIParentFrame *result;
14651 bool temp3 = False ;
14652 wxPoint temp4 ;
14653 wxSize temp5 ;
14654 bool temp7 = False ;
14655 PyObject * obj0 = 0 ;
14656 PyObject * obj1 = 0 ;
14657 PyObject * obj2 = 0 ;
14658 PyObject * obj3 = 0 ;
14659 PyObject * obj4 = 0 ;
14660 PyObject * obj5 = 0 ;
14661 PyObject * obj6 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14664 };
14665
248ed943 14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
14667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
14669 if (obj1) {
14670 arg2 = (int const) SWIG_AsInt(obj1);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 if (obj2) {
14674 {
14675 arg3 = wxString_in_helper(obj2);
14676 if (arg3 == NULL) SWIG_fail;
14677 temp3 = True;
14678 }
d55e5bfc
RD
14679 }
14680 if (obj3) {
14681 {
14682 arg4 = &temp4;
14683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14684 }
14685 }
14686 if (obj4) {
14687 {
14688 arg5 = &temp5;
14689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14690 }
14691 }
14692 if (obj5) {
14693 arg6 = (long) SWIG_AsLong(obj5);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 if (obj6) {
14697 {
14698 arg7 = wxString_in_helper(obj6);
14699 if (arg7 == NULL) SWIG_fail;
14700 temp7 = True;
14701 }
14702 }
14703 {
0439c23b 14704 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14707
14708 wxPyEndAllowThreads(__tstate);
0439c23b 14709 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14710 }
14711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14712 {
14713 if (temp3)
14714 delete arg3;
14715 }
14716 {
14717 if (temp7)
14718 delete arg7;
14719 }
14720 return resultobj;
14721 fail:
14722 {
14723 if (temp3)
14724 delete arg3;
14725 }
14726 {
14727 if (temp7)
14728 delete arg7;
14729 }
14730 return NULL;
14731}
14732
14733
14734static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14735 PyObject *resultobj;
14736 wxMDIParentFrame *result;
14737 char *kwnames[] = {
14738 NULL
14739 };
14740
14741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14742 {
0439c23b 14743 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14746
14747 wxPyEndAllowThreads(__tstate);
0439c23b 14748 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14749 }
14750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14751 return resultobj;
14752 fail:
14753 return NULL;
14754}
14755
14756
14757static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14760 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14761 int arg3 = (int) (int)-1 ;
14762 wxString const &arg4_defvalue = wxPyEmptyString ;
14763 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14764 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14765 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14766 wxSize const &arg6_defvalue = wxDefaultSize ;
14767 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14768 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14769 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14770 wxString *arg8 = (wxString *) &arg8_defvalue ;
14771 bool result;
14772 bool temp4 = False ;
14773 wxPoint temp5 ;
14774 wxSize temp6 ;
14775 bool temp8 = False ;
14776 PyObject * obj0 = 0 ;
14777 PyObject * obj1 = 0 ;
14778 PyObject * obj2 = 0 ;
14779 PyObject * obj3 = 0 ;
14780 PyObject * obj4 = 0 ;
14781 PyObject * obj5 = 0 ;
14782 PyObject * obj6 = 0 ;
14783 PyObject * obj7 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14786 };
14787
248ed943 14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
14789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
14793 if (obj2) {
14794 arg3 = (int const) SWIG_AsInt(obj2);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 if (obj3) {
14798 {
14799 arg4 = wxString_in_helper(obj3);
14800 if (arg4 == NULL) SWIG_fail;
14801 temp4 = True;
14802 }
d55e5bfc
RD
14803 }
14804 if (obj4) {
14805 {
14806 arg5 = &temp5;
14807 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14808 }
14809 }
14810 if (obj5) {
14811 {
14812 arg6 = &temp6;
14813 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14814 }
14815 }
14816 if (obj6) {
14817 arg7 = (long) SWIG_AsLong(obj6);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 if (obj7) {
14821 {
14822 arg8 = wxString_in_helper(obj7);
14823 if (arg8 == NULL) SWIG_fail;
14824 temp8 = True;
14825 }
14826 }
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 {
14835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14836 }
14837 {
14838 if (temp4)
14839 delete arg4;
14840 }
14841 {
14842 if (temp8)
14843 delete arg8;
14844 }
14845 return resultobj;
14846 fail:
14847 {
14848 if (temp4)
14849 delete arg4;
14850 }
14851 {
14852 if (temp8)
14853 delete arg8;
14854 }
14855 return NULL;
14856}
14857
14858
14859static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14862 PyObject * obj0 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 (arg1)->ActivateNext();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 Py_INCREF(Py_None); resultobj = Py_None;
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
14884static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14887 PyObject * obj0 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 (arg1)->ActivatePrevious();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 Py_INCREF(Py_None); resultobj = Py_None;
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 (arg1)->ArrangeIcons();
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 Py_INCREF(Py_None); resultobj = Py_None;
14928 return resultobj;
14929 fail:
14930 return NULL;
14931}
14932
14933
14934static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 (arg1)->Cascade();
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 Py_INCREF(Py_None); resultobj = Py_None;
14953 return resultobj;
14954 fail:
14955 return NULL;
14956}
14957
14958
14959static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14962 wxMDIChildFrame *result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 {
14979 resultobj = wxPyMake_wxObject(result);
14980 }
14981 return resultobj;
14982 fail:
14983 return NULL;
14984}
14985
14986
14987static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14990 wxMDIClientWindow *result;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 {
15007 resultobj = wxPyMake_wxObject(result);
15008 }
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15018 wxWindow *result;
15019 PyObject * obj0 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 result = (wxWindow *)(arg1)->GetToolBar();
15030
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 {
15035 resultobj = wxPyMake_wxObject(result);
15036 }
15037 return resultobj;
15038 fail:
15039 return NULL;
15040}
15041
15042
15043static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15046 wxMenu *result;
15047 PyObject * obj0 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (wxMenu *)(arg1)->GetWindowMenu();
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 {
15063 resultobj = wxPyMake_wxObject(result);
15064 }
15065 return resultobj;
15066 fail:
15067 return NULL;
15068}
15069
15070
15071static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj;
15073 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15074 wxMenu *arg2 = (wxMenu *) 0 ;
15075 PyObject * obj0 = 0 ;
15076 PyObject * obj1 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self",(char *) "menu", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 (arg1)->SetWindowMenu(arg2);
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 Py_INCREF(Py_None); resultobj = Py_None;
15094 return resultobj;
15095 fail:
15096 return NULL;
15097}
15098
15099
15100static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15103 wxToolBar *arg2 = (wxToolBar *) 0 ;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self",(char *) "toolbar", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->SetToolBar(arg2);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 Py_INCREF(Py_None); resultobj = Py_None;
15123 return resultobj;
15124 fail:
15125 return NULL;
15126}
15127
15128
15129static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
15131 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 (arg1)->Tile();
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 Py_INCREF(Py_None); resultobj = Py_None;
15148 return resultobj;
15149 fail:
15150 return NULL;
15151}
15152
15153
15154static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
15155 PyObject *obj;
15156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15157 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15158 Py_INCREF(obj);
15159 return Py_BuildValue((char *)"");
15160}
15161static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15164 int arg2 = (int) (int)-1 ;
15165 wxString const &arg3_defvalue = wxPyEmptyString ;
15166 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15167 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15168 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15169 wxSize const &arg5_defvalue = wxDefaultSize ;
15170 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15171 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15172 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15173 wxString *arg7 = (wxString *) &arg7_defvalue ;
15174 wxMDIChildFrame *result;
15175 bool temp3 = False ;
15176 wxPoint temp4 ;
15177 wxSize temp5 ;
15178 bool temp7 = False ;
15179 PyObject * obj0 = 0 ;
15180 PyObject * obj1 = 0 ;
15181 PyObject * obj2 = 0 ;
15182 PyObject * obj3 = 0 ;
15183 PyObject * obj4 = 0 ;
15184 PyObject * obj5 = 0 ;
15185 PyObject * obj6 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15188 };
15189
248ed943 15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15193 if (obj1) {
15194 arg2 = (int const) SWIG_AsInt(obj1);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 if (obj2) {
15198 {
15199 arg3 = wxString_in_helper(obj2);
15200 if (arg3 == NULL) SWIG_fail;
15201 temp3 = True;
15202 }
d55e5bfc
RD
15203 }
15204 if (obj3) {
15205 {
15206 arg4 = &temp4;
15207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15208 }
15209 }
15210 if (obj4) {
15211 {
15212 arg5 = &temp5;
15213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15214 }
15215 }
15216 if (obj5) {
15217 arg6 = (long) SWIG_AsLong(obj5);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 if (obj6) {
15221 {
15222 arg7 = wxString_in_helper(obj6);
15223 if (arg7 == NULL) SWIG_fail;
15224 temp7 = True;
15225 }
15226 }
15227 {
0439c23b 15228 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15231
15232 wxPyEndAllowThreads(__tstate);
0439c23b 15233 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15234 }
15235 {
15236 resultobj = wxPyMake_wxObject(result);
15237 }
15238 {
15239 if (temp3)
15240 delete arg3;
15241 }
15242 {
15243 if (temp7)
15244 delete arg7;
15245 }
15246 return resultobj;
15247 fail:
15248 {
15249 if (temp3)
15250 delete arg3;
15251 }
15252 {
15253 if (temp7)
15254 delete arg7;
15255 }
15256 return NULL;
15257}
15258
15259
15260static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxMDIChildFrame *result;
15263 char *kwnames[] = {
15264 NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15268 {
0439c23b 15269 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15272
15273 wxPyEndAllowThreads(__tstate);
0439c23b 15274 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15275 }
15276 {
15277 resultobj = wxPyMake_wxObject(result);
15278 }
15279 return resultobj;
15280 fail:
15281 return NULL;
15282}
15283
15284
15285static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15288 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15289 int arg3 = (int) (int)-1 ;
15290 wxString const &arg4_defvalue = wxPyEmptyString ;
15291 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15292 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15293 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15294 wxSize const &arg6_defvalue = wxDefaultSize ;
15295 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15296 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15297 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15298 wxString *arg8 = (wxString *) &arg8_defvalue ;
15299 bool result;
15300 bool temp4 = False ;
15301 wxPoint temp5 ;
15302 wxSize temp6 ;
15303 bool temp8 = False ;
15304 PyObject * obj0 = 0 ;
15305 PyObject * obj1 = 0 ;
15306 PyObject * obj2 = 0 ;
15307 PyObject * obj3 = 0 ;
15308 PyObject * obj4 = 0 ;
15309 PyObject * obj5 = 0 ;
15310 PyObject * obj6 = 0 ;
15311 PyObject * obj7 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15314 };
15315
248ed943 15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15321 if (obj2) {
15322 arg3 = (int const) SWIG_AsInt(obj2);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 if (obj3) {
15326 {
15327 arg4 = wxString_in_helper(obj3);
15328 if (arg4 == NULL) SWIG_fail;
15329 temp4 = True;
15330 }
d55e5bfc
RD
15331 }
15332 if (obj4) {
15333 {
15334 arg5 = &temp5;
15335 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15336 }
15337 }
15338 if (obj5) {
15339 {
15340 arg6 = &temp6;
15341 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15342 }
15343 }
15344 if (obj6) {
15345 arg7 = (long) SWIG_AsLong(obj6);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
15348 if (obj7) {
15349 {
15350 arg8 = wxString_in_helper(obj7);
15351 if (arg8 == NULL) SWIG_fail;
15352 temp8 = True;
15353 }
15354 }
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 {
15363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15364 }
15365 {
15366 if (temp4)
15367 delete arg4;
15368 }
15369 {
15370 if (temp8)
15371 delete arg8;
15372 }
15373 return resultobj;
15374 fail:
15375 {
15376 if (temp4)
15377 delete arg4;
15378 }
15379 {
15380 if (temp8)
15381 delete arg8;
15382 }
15383 return NULL;
15384}
15385
15386
15387static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15390 PyObject * obj0 = 0 ;
15391 char *kwnames[] = {
15392 (char *) "self", NULL
15393 };
15394
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 (arg1)->Activate();
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 Py_INCREF(Py_None); resultobj = Py_None;
15406 return resultobj;
15407 fail:
15408 return NULL;
15409}
15410
15411
15412static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15415 bool arg2 ;
15416 PyObject * obj0 = 0 ;
15417 PyObject * obj1 = 0 ;
15418 char *kwnames[] = {
15419 (char *) "self",(char *) "maximize", NULL
15420 };
15421
15422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15425 arg2 = (bool) SWIG_AsBool(obj1);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 (arg1)->Maximize(arg2);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 Py_INCREF(Py_None); resultobj = Py_None;
15435 return resultobj;
15436 fail:
15437 return NULL;
15438}
15439
15440
15441static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj;
15443 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 (arg1)->Restore();
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 Py_INCREF(Py_None); resultobj = Py_None;
15460 return resultobj;
15461 fail:
15462 return NULL;
15463}
15464
15465
15466static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15467 PyObject *obj;
15468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15469 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15470 Py_INCREF(obj);
15471 return Py_BuildValue((char *)"");
15472}
15473static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15476 long arg2 = (long) 0 ;
15477 wxMDIClientWindow *result;
15478 PyObject * obj0 = 0 ;
15479 PyObject * obj1 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "parent",(char *) "style", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15487 if (obj1) {
15488 arg2 = (long) SWIG_AsLong(obj1);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 {
0439c23b 15492 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15495
15496 wxPyEndAllowThreads(__tstate);
0439c23b 15497 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15498 }
15499 {
15500 resultobj = wxPyMake_wxObject(result);
15501 }
15502 return resultobj;
15503 fail:
15504 return NULL;
15505}
15506
15507
15508static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxMDIClientWindow *result;
15511 char *kwnames[] = {
15512 NULL
15513 };
15514
15515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15516 {
0439c23b 15517 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15520
15521 wxPyEndAllowThreads(__tstate);
0439c23b 15522 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15523 }
15524 {
15525 resultobj = wxPyMake_wxObject(result);
15526 }
15527 return resultobj;
15528 fail:
15529 return NULL;
15530}
15531
15532
15533static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15536 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15537 long arg3 = (long) 0 ;
15538 bool result;
15539 PyObject * obj0 = 0 ;
15540 PyObject * obj1 = 0 ;
15541 PyObject * obj2 = 0 ;
15542 char *kwnames[] = {
15543 (char *) "self",(char *) "parent",(char *) "style", NULL
15544 };
15545
15546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15551 if (obj2) {
15552 arg3 = (long) SWIG_AsLong(obj2);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)(arg1)->Create(arg2,arg3);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 {
15563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15564 }
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
15571static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15572 PyObject *obj;
15573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15575 Py_INCREF(obj);
15576 return Py_BuildValue((char *)"");
15577}
15578static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 15581 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
15582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15584 wxSize const &arg4_defvalue = wxDefaultSize ;
15585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15586 long arg5 = (long) 0 ;
15587 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15588 wxString *arg6 = (wxString *) &arg6_defvalue ;
15589 wxPyWindow *result;
15590 wxPoint temp3 ;
15591 wxSize temp4 ;
15592 bool temp6 = False ;
15593 PyObject * obj0 = 0 ;
15594 PyObject * obj1 = 0 ;
15595 PyObject * obj2 = 0 ;
15596 PyObject * obj3 = 0 ;
15597 PyObject * obj4 = 0 ;
15598 PyObject * obj5 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15601 };
15602
248ed943 15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
15604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15606 if (obj1) {
15607 arg2 = (int const) SWIG_AsInt(obj1);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
d55e5bfc
RD
15610 if (obj2) {
15611 {
15612 arg3 = &temp3;
15613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15614 }
15615 }
15616 if (obj3) {
15617 {
15618 arg4 = &temp4;
15619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15620 }
15621 }
15622 if (obj4) {
15623 arg5 = (long) SWIG_AsLong(obj4);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 if (obj5) {
15627 {
15628 arg6 = wxString_in_helper(obj5);
15629 if (arg6 == NULL) SWIG_fail;
15630 temp6 = True;
15631 }
15632 }
15633 {
0439c23b 15634 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15637
15638 wxPyEndAllowThreads(__tstate);
0439c23b 15639 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15640 }
15641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15642 {
15643 if (temp6)
15644 delete arg6;
15645 }
15646 return resultobj;
15647 fail:
15648 {
15649 if (temp6)
15650 delete arg6;
15651 }
15652 return NULL;
15653}
15654
15655
15656static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxPyWindow *result;
15659 char *kwnames[] = {
15660 NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15664 {
0439c23b 15665 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (wxPyWindow *)new wxPyWindow();
15668
15669 wxPyEndAllowThreads(__tstate);
0439c23b 15670 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15671 }
15672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15673 return resultobj;
15674 fail:
15675 return NULL;
15676}
15677
15678
15679static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15682 PyObject *arg2 = (PyObject *) 0 ;
15683 PyObject *arg3 = (PyObject *) 0 ;
15684 PyObject * obj0 = 0 ;
15685 PyObject * obj1 = 0 ;
15686 PyObject * obj2 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "self",(char *) "_class", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15694 arg2 = obj1;
15695 arg3 = obj2;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 (arg1)->_setCallbackInfo(arg2,arg3);
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 Py_INCREF(Py_None); resultobj = Py_None;
15704 return resultobj;
15705 fail:
15706 return NULL;
15707}
15708
15709
caef1a4d
RD
15710static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj;
15712 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15713 wxSize *arg2 = 0 ;
15714 wxSize temp2 ;
15715 PyObject * obj0 = 0 ;
15716 PyObject * obj1 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self",(char *) "size", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15724 {
15725 arg2 = &temp2;
15726 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15727 }
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->SetBestSize((wxSize const &)*arg2);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739}
15740
15741
d55e5bfc
RD
15742static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15745 int arg2 ;
15746 int arg3 ;
15747 int arg4 ;
15748 int arg5 ;
15749 PyObject * obj0 = 0 ;
15750 PyObject * obj1 = 0 ;
15751 PyObject * obj2 = 0 ;
15752 PyObject * obj3 = 0 ;
15753 PyObject * obj4 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15761 arg2 = (int) SWIG_AsInt(obj1);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 arg3 = (int) SWIG_AsInt(obj2);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 arg4 = (int) SWIG_AsInt(obj3);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 arg5 = (int) SWIG_AsInt(obj4);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 Py_INCREF(Py_None); resultobj = Py_None;
15777 return resultobj;
15778 fail:
15779 return NULL;
15780}
15781
15782
15783static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15784 PyObject *resultobj;
15785 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15786 int arg2 ;
15787 int arg3 ;
15788 int arg4 ;
15789 int arg5 ;
15790 int arg6 = (int) wxSIZE_AUTO ;
15791 PyObject * obj0 = 0 ;
15792 PyObject * obj1 = 0 ;
15793 PyObject * obj2 = 0 ;
15794 PyObject * obj3 = 0 ;
15795 PyObject * obj4 = 0 ;
15796 PyObject * obj5 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15804 arg2 = (int) SWIG_AsInt(obj1);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 arg3 = (int) SWIG_AsInt(obj2);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 arg4 = (int) SWIG_AsInt(obj3);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 arg5 = (int) SWIG_AsInt(obj4);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 if (obj5) {
15813 arg6 = (int) SWIG_AsInt(obj5);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 PyThreadState* __tstate = wxPyBeginAllowThreads();
15818 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15819
15820 wxPyEndAllowThreads(__tstate);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 }
15823 Py_INCREF(Py_None); resultobj = Py_None;
15824 return resultobj;
15825 fail:
15826 return NULL;
15827}
15828
15829
15830static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15831 PyObject *resultobj;
15832 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15833 int arg2 ;
15834 int arg3 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 PyObject * obj2 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self",(char *) "width",(char *) "height", NULL
15840 };
15841
15842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15845 arg2 = (int) SWIG_AsInt(obj1);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 arg3 = (int) SWIG_AsInt(obj2);
15848 if (PyErr_Occurred()) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 (arg1)->base_DoSetClientSize(arg2,arg3);
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 Py_INCREF(Py_None); resultobj = Py_None;
15857 return resultobj;
15858 fail:
15859 return NULL;
15860}
15861
15862
15863static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15866 int arg2 ;
15867 int arg3 ;
15868 PyObject * obj0 = 0 ;
15869 PyObject * obj1 = 0 ;
15870 PyObject * obj2 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "x",(char *) "y", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15878 arg2 = (int) SWIG_AsInt(obj1);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 arg3 = (int) SWIG_AsInt(obj2);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 Py_INCREF(Py_None); resultobj = Py_None;
15890 return resultobj;
15891 fail:
15892 return NULL;
15893}
15894
15895
15896static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15899 int *arg2 = (int *) 0 ;
15900 int *arg3 = (int *) 0 ;
15901 int temp2 ;
15902 int temp3 ;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self", NULL
15906 };
15907
15908 arg2 = &temp2;
15909 arg3 = &temp3;
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 Py_INCREF(Py_None); resultobj = Py_None;
15921 {
15922 PyObject *o = PyInt_FromLong((long) (*arg2));
15923 resultobj = t_output_helper(resultobj,o);
15924 }
15925 {
15926 PyObject *o = PyInt_FromLong((long) (*arg3));
15927 resultobj = t_output_helper(resultobj,o);
15928 }
15929 return resultobj;
15930 fail:
15931 return NULL;
15932}
15933
15934
15935static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15938 int *arg2 = (int *) 0 ;
15939 int *arg3 = (int *) 0 ;
15940 int temp2 ;
15941 int temp3 ;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 arg2 = &temp2;
15948 arg3 = &temp3;
15949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 Py_INCREF(Py_None); resultobj = Py_None;
15960 {
15961 PyObject *o = PyInt_FromLong((long) (*arg2));
15962 resultobj = t_output_helper(resultobj,o);
15963 }
15964 {
15965 PyObject *o = PyInt_FromLong((long) (*arg3));
15966 resultobj = t_output_helper(resultobj,o);
15967 }
15968 return resultobj;
15969 fail:
15970 return NULL;
15971}
15972
15973
15974static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15975 PyObject *resultobj;
15976 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15977 int *arg2 = (int *) 0 ;
15978 int *arg3 = (int *) 0 ;
15979 int temp2 ;
15980 int temp3 ;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 arg2 = &temp2;
15987 arg3 = &temp3;
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 Py_INCREF(Py_None); resultobj = Py_None;
15999 {
16000 PyObject *o = PyInt_FromLong((long) (*arg2));
16001 resultobj = t_output_helper(resultobj,o);
16002 }
16003 {
16004 PyObject *o = PyInt_FromLong((long) (*arg3));
16005 resultobj = t_output_helper(resultobj,o);
16006 }
16007 return resultobj;
16008 fail:
16009 return NULL;
16010}
16011
16012
16013static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16016 wxSize result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16025 {
16026 PyThreadState* __tstate = wxPyBeginAllowThreads();
16027 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16028
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 {
16033 wxSize * resultptr;
16034 resultptr = new wxSize((wxSize &) result);
16035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16036 }
16037 return resultobj;
16038 fail:
16039 return NULL;
16040}
16041
16042
16043static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj;
16045 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16046 wxSize result;
16047 PyObject * obj0 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 {
16063 wxSize * resultptr;
16064 resultptr = new wxSize((wxSize &) result);
16065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16066 }
16067 return resultobj;
16068 fail:
16069 return NULL;
16070}
16071
16072
16073static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16076 PyObject * obj0 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 (arg1)->base_InitDialog();
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 Py_INCREF(Py_None); resultobj = Py_None;
16092 return resultobj;
16093 fail:
16094 return NULL;
16095}
16096
16097
16098static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16099 PyObject *resultobj;
16100 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16101 bool result;
16102 PyObject * obj0 = 0 ;
16103 char *kwnames[] = {
16104 (char *) "self", NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 result = (bool)(arg1)->base_TransferDataToWindow();
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 {
16118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16119 }
16120 return resultobj;
16121 fail:
16122 return NULL;
16123}
16124
16125
16126static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16129 bool result;
16130 PyObject * obj0 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (bool)(arg1)->base_TransferDataFromWindow();
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151}
16152
16153
16154static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16157 bool result;
16158 PyObject * obj0 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (bool)(arg1)->base_Validate();
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 {
16174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16175 }
16176 return resultobj;
16177 fail:
16178 return NULL;
16179}
16180
16181
16182static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj;
16184 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16185 bool result;
16186 PyObject * obj0 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self", NULL
16189 };
16190
16191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 {
16202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16203 }
16204 return resultobj;
16205 fail:
16206 return NULL;
16207}
16208
16209
16210static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16213 bool result;
16214 PyObject * obj0 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 {
16230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
16238static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16241 wxSize result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 wxSize * resultptr;
16259 resultptr = new wxSize((wxSize &) result);
16260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16261 }
16262 return resultobj;
16263 fail:
16264 return NULL;
16265}
16266
16267
16268static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16271 wxWindow *arg2 = (wxWindow *) 0 ;
16272 PyObject * obj0 = 0 ;
16273 PyObject * obj1 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self",(char *) "child", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 (arg1)->base_AddChild(arg2);
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 Py_INCREF(Py_None); resultobj = Py_None;
16291 return resultobj;
16292 fail:
16293 return NULL;
16294}
16295
16296
16297static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16300 wxWindow *arg2 = (wxWindow *) 0 ;
16301 PyObject * obj0 = 0 ;
16302 PyObject * obj1 = 0 ;
16303 char *kwnames[] = {
16304 (char *) "self",(char *) "child", NULL
16305 };
16306
16307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 (arg1)->base_RemoveChild(arg2);
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 Py_INCREF(Py_None); resultobj = Py_None;
16320 return resultobj;
16321 fail:
16322 return NULL;
16323}
16324
16325
16326static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj;
16328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16329 bool result;
16330 PyObject * obj0 = 0 ;
16331 char *kwnames[] = {
16332 (char *) "self", NULL
16333 };
16334
16335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 16340 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 {
16346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16347 }
16348 return resultobj;
16349 fail:
16350 return NULL;
16351}
16352
16353
16354static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16357 wxColour *arg2 = 0 ;
16358 wxColour temp2 ;
16359 PyObject * obj0 = 0 ;
16360 PyObject * obj1 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self",(char *) "c", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16368 {
16369 arg2 = &temp2;
16370 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16371 }
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 Py_INCREF(Py_None); resultobj = Py_None;
16380 return resultobj;
16381 fail:
16382 return NULL;
16383}
16384
16385
caef1a4d
RD
16386static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16389 wxVisualAttributes result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = (arg1)->base_GetDefaultAttributes();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 wxVisualAttributes * resultptr;
16407 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16409 }
16410 return resultobj;
16411 fail:
16412 return NULL;
16413}
16414
16415
d55e5bfc
RD
16416static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16417 PyObject *obj;
16418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16419 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16420 Py_INCREF(obj);
16421 return Py_BuildValue((char *)"");
16422}
16423static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 16426 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
16427 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16428 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16429 wxSize const &arg4_defvalue = wxDefaultSize ;
16430 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16431 long arg5 = (long) 0 ;
16432 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16433 wxString *arg6 = (wxString *) &arg6_defvalue ;
16434 wxPyPanel *result;
16435 wxPoint temp3 ;
16436 wxSize temp4 ;
16437 bool temp6 = False ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 PyObject * obj2 = 0 ;
16441 PyObject * obj3 = 0 ;
16442 PyObject * obj4 = 0 ;
16443 PyObject * obj5 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16446 };
16447
248ed943 16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
16449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
16451 if (obj1) {
16452 arg2 = (int const) SWIG_AsInt(obj1);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
d55e5bfc
RD
16455 if (obj2) {
16456 {
16457 arg3 = &temp3;
16458 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16459 }
16460 }
16461 if (obj3) {
16462 {
16463 arg4 = &temp4;
16464 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16465 }
16466 }
16467 if (obj4) {
16468 arg5 = (long) SWIG_AsLong(obj4);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 if (obj5) {
16472 {
16473 arg6 = wxString_in_helper(obj5);
16474 if (arg6 == NULL) SWIG_fail;
16475 temp6 = True;
16476 }
16477 }
16478 {
0439c23b 16479 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16482
16483 wxPyEndAllowThreads(__tstate);
0439c23b 16484 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16485 }
16486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16487 {
16488 if (temp6)
16489 delete arg6;
16490 }
16491 return resultobj;
16492 fail:
16493 {
16494 if (temp6)
16495 delete arg6;
16496 }
16497 return NULL;
16498}
16499
16500
16501static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPyPanel *result;
16504 char *kwnames[] = {
16505 NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16509 {
0439c23b 16510 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 result = (wxPyPanel *)new wxPyPanel();
16513
16514 wxPyEndAllowThreads(__tstate);
0439c23b 16515 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16516 }
16517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16518 return resultobj;
16519 fail:
16520 return NULL;
16521}
16522
16523
16524static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16527 PyObject *arg2 = (PyObject *) 0 ;
16528 PyObject *arg3 = (PyObject *) 0 ;
16529 PyObject * obj0 = 0 ;
16530 PyObject * obj1 = 0 ;
16531 PyObject * obj2 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self",(char *) "self",(char *) "_class", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16539 arg2 = obj1;
16540 arg3 = obj2;
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 (arg1)->_setCallbackInfo(arg2,arg3);
16544
16545 wxPyEndAllowThreads(__tstate);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 }
16548 Py_INCREF(Py_None); resultobj = Py_None;
16549 return resultobj;
16550 fail:
16551 return NULL;
16552}
16553
16554
caef1a4d
RD
16555static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16558 wxSize *arg2 = 0 ;
16559 wxSize temp2 ;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "size", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16569 {
16570 arg2 = &temp2;
16571 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16572 }
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 (arg1)->SetBestSize((wxSize const &)*arg2);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 Py_INCREF(Py_None); resultobj = Py_None;
16581 return resultobj;
16582 fail:
16583 return NULL;
16584}
16585
16586
d55e5bfc
RD
16587static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16590 int arg2 ;
16591 int arg3 ;
16592 int arg4 ;
16593 int arg5 ;
16594 PyObject * obj0 = 0 ;
16595 PyObject * obj1 = 0 ;
16596 PyObject * obj2 = 0 ;
16597 PyObject * obj3 = 0 ;
16598 PyObject * obj4 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16606 arg2 = (int) SWIG_AsInt(obj1);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 arg3 = (int) SWIG_AsInt(obj2);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 arg4 = (int) SWIG_AsInt(obj3);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 arg5 = (int) SWIG_AsInt(obj4);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 {
16615 PyThreadState* __tstate = wxPyBeginAllowThreads();
16616 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16617
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 Py_INCREF(Py_None); resultobj = Py_None;
16622 return resultobj;
16623 fail:
16624 return NULL;
16625}
16626
16627
16628static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj;
16630 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16631 int arg2 ;
16632 int arg3 ;
16633 int arg4 ;
16634 int arg5 ;
16635 int arg6 = (int) wxSIZE_AUTO ;
16636 PyObject * obj0 = 0 ;
16637 PyObject * obj1 = 0 ;
16638 PyObject * obj2 = 0 ;
16639 PyObject * obj3 = 0 ;
16640 PyObject * obj4 = 0 ;
16641 PyObject * obj5 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16649 arg2 = (int) SWIG_AsInt(obj1);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 arg3 = (int) SWIG_AsInt(obj2);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 arg4 = (int) SWIG_AsInt(obj3);
16654 if (PyErr_Occurred()) SWIG_fail;
16655 arg5 = (int) SWIG_AsInt(obj4);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 if (obj5) {
16658 arg6 = (int) SWIG_AsInt(obj5);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16664
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 Py_INCREF(Py_None); resultobj = Py_None;
16669 return resultobj;
16670 fail:
16671 return NULL;
16672}
16673
16674
16675static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj;
16677 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16678 int arg2 ;
16679 int arg3 ;
16680 PyObject * obj0 = 0 ;
16681 PyObject * obj1 = 0 ;
16682 PyObject * obj2 = 0 ;
16683 char *kwnames[] = {
16684 (char *) "self",(char *) "width",(char *) "height", NULL
16685 };
16686
16687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16690 arg2 = (int) SWIG_AsInt(obj1);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 arg3 = (int) SWIG_AsInt(obj2);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 (arg1)->base_DoSetClientSize(arg2,arg3);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 Py_INCREF(Py_None); resultobj = Py_None;
16702 return resultobj;
16703 fail:
16704 return NULL;
16705}
16706
16707
16708static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16711 int arg2 ;
16712 int arg3 ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self",(char *) "x",(char *) "y", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16723 arg2 = (int) SWIG_AsInt(obj1);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 arg3 = (int) SWIG_AsInt(obj2);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 Py_INCREF(Py_None); resultobj = Py_None;
16735 return resultobj;
16736 fail:
16737 return NULL;
16738}
16739
16740
16741static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16744 int *arg2 = (int *) 0 ;
16745 int *arg3 = (int *) 0 ;
16746 int temp2 ;
16747 int temp3 ;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 arg2 = &temp2;
16754 arg3 = &temp3;
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 Py_INCREF(Py_None); resultobj = Py_None;
16766 {
16767 PyObject *o = PyInt_FromLong((long) (*arg2));
16768 resultobj = t_output_helper(resultobj,o);
16769 }
16770 {
16771 PyObject *o = PyInt_FromLong((long) (*arg3));
16772 resultobj = t_output_helper(resultobj,o);
16773 }
16774 return resultobj;
16775 fail:
16776 return NULL;
16777}
16778
16779
16780static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16783 int *arg2 = (int *) 0 ;
16784 int *arg3 = (int *) 0 ;
16785 int temp2 ;
16786 int temp3 ;
16787 PyObject * obj0 = 0 ;
16788 char *kwnames[] = {
16789 (char *) "self", NULL
16790 };
16791
16792 arg2 = &temp2;
16793 arg3 = &temp3;
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16797 {
16798 PyThreadState* __tstate = wxPyBeginAllowThreads();
16799 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16800
16801 wxPyEndAllowThreads(__tstate);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 Py_INCREF(Py_None); resultobj = Py_None;
16805 {
16806 PyObject *o = PyInt_FromLong((long) (*arg2));
16807 resultobj = t_output_helper(resultobj,o);
16808 }
16809 {
16810 PyObject *o = PyInt_FromLong((long) (*arg3));
16811 resultobj = t_output_helper(resultobj,o);
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16822 int *arg2 = (int *) 0 ;
16823 int *arg3 = (int *) 0 ;
16824 int temp2 ;
16825 int temp3 ;
16826 PyObject * obj0 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "self", NULL
16829 };
16830
16831 arg2 = &temp2;
16832 arg3 = &temp3;
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 Py_INCREF(Py_None); resultobj = Py_None;
16844 {
16845 PyObject *o = PyInt_FromLong((long) (*arg2));
16846 resultobj = t_output_helper(resultobj,o);
16847 }
16848 {
16849 PyObject *o = PyInt_FromLong((long) (*arg3));
16850 resultobj = t_output_helper(resultobj,o);
16851 }
16852 return resultobj;
16853 fail:
16854 return NULL;
16855}
16856
16857
16858static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16861 wxSize result;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 {
16878 wxSize * resultptr;
16879 resultptr = new wxSize((wxSize &) result);
16880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16881 }
16882 return resultobj;
16883 fail:
16884 return NULL;
16885}
16886
16887
16888static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16889 PyObject *resultobj;
16890 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16891 wxSize result;
16892 PyObject * obj0 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "self", NULL
16895 };
16896
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 {
16908 wxSize * resultptr;
16909 resultptr = new wxSize((wxSize &) result);
16910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16911 }
16912 return resultobj;
16913 fail:
16914 return NULL;
16915}
16916
16917
16918static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 (arg1)->base_InitDialog();
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 Py_INCREF(Py_None); resultobj = Py_None;
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
16943static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16946 bool result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (bool)(arg1)->base_TransferDataToWindow();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 {
16963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16964 }
16965 return resultobj;
16966 fail:
16967 return NULL;
16968}
16969
16970
16971static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (bool)(arg1)->base_TransferDataFromWindow();
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 {
16991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996}
16997
16998
16999static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17002 bool result;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = (bool)(arg1)->base_Validate();
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17020 }
17021 return resultobj;
17022 fail:
17023 return NULL;
17024}
17025
17026
17027static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17030 bool result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17048 }
17049 return resultobj;
17050 fail:
17051 return NULL;
17052}
17053
17054
17055static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17058 bool result;
17059 PyObject * obj0 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "self", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17070
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 {
17075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17076 }
17077 return resultobj;
17078 fail:
17079 return NULL;
17080}
17081
17082
17083static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17086 wxSize result;
17087 PyObject * obj0 = 0 ;
17088 char *kwnames[] = {
17089 (char *) "self", NULL
17090 };
17091
17092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 {
17103 wxSize * resultptr;
17104 resultptr = new wxSize((wxSize &) result);
17105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17106 }
17107 return resultobj;
17108 fail:
17109 return NULL;
17110}
17111
17112
17113static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj;
17115 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17116 wxWindow *arg2 = (wxWindow *) 0 ;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self",(char *) "child", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 (arg1)->base_AddChild(arg2);
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 Py_INCREF(Py_None); resultobj = Py_None;
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17145 wxWindow *arg2 = (wxWindow *) 0 ;
17146 PyObject * obj0 = 0 ;
17147 PyObject * obj1 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self",(char *) "child", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 (arg1)->base_RemoveChild(arg2);
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 Py_INCREF(Py_None); resultobj = Py_None;
17165 return resultobj;
17166 fail:
17167 return NULL;
17168}
17169
17170
17171static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17174 bool result;
17175 PyObject * obj0 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 17185 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 {
17191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17192 }
17193 return resultobj;
17194 fail:
17195 return NULL;
17196}
17197
17198
17199static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj;
17201 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17202 wxColour *arg2 = 0 ;
17203 wxColour temp2 ;
17204 PyObject * obj0 = 0 ;
17205 PyObject * obj1 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self",(char *) "c", NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17213 {
17214 arg2 = &temp2;
17215 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17216 }
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 Py_INCREF(Py_None); resultobj = Py_None;
17225 return resultobj;
17226 fail:
17227 return NULL;
17228}
17229
17230
caef1a4d
RD
17231static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17234 wxVisualAttributes result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = (arg1)->base_GetDefaultAttributes();
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 {
17251 wxVisualAttributes * resultptr;
17252 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17254 }
17255 return resultobj;
17256 fail:
17257 return NULL;
17258}
17259
17260
d55e5bfc
RD
17261static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
17262 PyObject *obj;
17263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17264 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17265 Py_INCREF(obj);
17266 return Py_BuildValue((char *)"");
17267}
17268static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17271 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17272 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17273 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17274 wxSize const &arg4_defvalue = wxDefaultSize ;
17275 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17276 long arg5 = (long) 0 ;
17277 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17278 wxString *arg6 = (wxString *) &arg6_defvalue ;
17279 wxPyScrolledWindow *result;
17280 wxPoint temp3 ;
17281 wxSize temp4 ;
17282 bool temp6 = False ;
17283 PyObject * obj0 = 0 ;
17284 PyObject * obj1 = 0 ;
17285 PyObject * obj2 = 0 ;
17286 PyObject * obj3 = 0 ;
17287 PyObject * obj4 = 0 ;
17288 PyObject * obj5 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17291 };
17292
248ed943 17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
17294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
17296 if (obj1) {
17297 arg2 = (int const) SWIG_AsInt(obj1);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
d55e5bfc
RD
17300 if (obj2) {
17301 {
17302 arg3 = &temp3;
17303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17304 }
17305 }
17306 if (obj3) {
17307 {
17308 arg4 = &temp4;
17309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17310 }
17311 }
17312 if (obj4) {
17313 arg5 = (long) SWIG_AsLong(obj4);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 if (obj5) {
17317 {
17318 arg6 = wxString_in_helper(obj5);
17319 if (arg6 == NULL) SWIG_fail;
17320 temp6 = True;
17321 }
17322 }
17323 {
0439c23b 17324 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17327
17328 wxPyEndAllowThreads(__tstate);
0439c23b 17329 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17330 }
17331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17332 {
17333 if (temp6)
17334 delete arg6;
17335 }
17336 return resultobj;
17337 fail:
17338 {
17339 if (temp6)
17340 delete arg6;
17341 }
17342 return NULL;
17343}
17344
17345
17346static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj;
17348 wxPyScrolledWindow *result;
17349 char *kwnames[] = {
17350 NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17354 {
0439c23b 17355 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17358
17359 wxPyEndAllowThreads(__tstate);
0439c23b 17360 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17361 }
17362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17363 return resultobj;
17364 fail:
17365 return NULL;
17366}
17367
17368
17369static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17372 PyObject *arg2 = (PyObject *) 0 ;
17373 PyObject *arg3 = (PyObject *) 0 ;
17374 PyObject * obj0 = 0 ;
17375 PyObject * obj1 = 0 ;
17376 PyObject * obj2 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self",(char *) "self",(char *) "_class", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17384 arg2 = obj1;
17385 arg3 = obj2;
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 (arg1)->_setCallbackInfo(arg2,arg3);
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 return resultobj;
17395 fail:
17396 return NULL;
17397}
17398
17399
caef1a4d
RD
17400static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17403 wxSize *arg2 = 0 ;
17404 wxSize temp2 ;
17405 PyObject * obj0 = 0 ;
17406 PyObject * obj1 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "size", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17414 {
17415 arg2 = &temp2;
17416 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17417 }
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 (arg1)->SetBestSize((wxSize const &)*arg2);
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 Py_INCREF(Py_None); resultobj = Py_None;
17426 return resultobj;
17427 fail:
17428 return NULL;
17429}
17430
17431
d55e5bfc
RD
17432static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj;
17434 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17435 int arg2 ;
17436 int arg3 ;
17437 int arg4 ;
17438 int arg5 ;
17439 PyObject * obj0 = 0 ;
17440 PyObject * obj1 = 0 ;
17441 PyObject * obj2 = 0 ;
17442 PyObject * obj3 = 0 ;
17443 PyObject * obj4 = 0 ;
17444 char *kwnames[] = {
17445 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17446 };
17447
17448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17451 arg2 = (int) SWIG_AsInt(obj1);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 arg3 = (int) SWIG_AsInt(obj2);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 arg4 = (int) SWIG_AsInt(obj3);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 arg5 = (int) SWIG_AsInt(obj4);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 Py_INCREF(Py_None); resultobj = Py_None;
17467 return resultobj;
17468 fail:
17469 return NULL;
17470}
17471
17472
17473static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17476 int arg2 ;
17477 int arg3 ;
17478 int arg4 ;
17479 int arg5 ;
17480 int arg6 = (int) wxSIZE_AUTO ;
17481 PyObject * obj0 = 0 ;
17482 PyObject * obj1 = 0 ;
17483 PyObject * obj2 = 0 ;
17484 PyObject * obj3 = 0 ;
17485 PyObject * obj4 = 0 ;
17486 PyObject * obj5 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17494 arg2 = (int) SWIG_AsInt(obj1);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 arg3 = (int) SWIG_AsInt(obj2);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 arg4 = (int) SWIG_AsInt(obj3);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 arg5 = (int) SWIG_AsInt(obj4);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 if (obj5) {
17503 arg6 = (int) SWIG_AsInt(obj5);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 Py_INCREF(Py_None); resultobj = Py_None;
17514 return resultobj;
17515 fail:
17516 return NULL;
17517}
17518
17519
17520static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17521 PyObject *resultobj;
17522 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17523 int arg2 ;
17524 int arg3 ;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 PyObject * obj2 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "self",(char *) "width",(char *) "height", NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17535 arg2 = (int) SWIG_AsInt(obj1);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 arg3 = (int) SWIG_AsInt(obj2);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 (arg1)->base_DoSetClientSize(arg2,arg3);
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 Py_INCREF(Py_None); resultobj = Py_None;
17547 return resultobj;
17548 fail:
17549 return NULL;
17550}
17551
17552
17553static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj;
17555 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17556 int arg2 ;
17557 int arg3 ;
17558 PyObject * obj0 = 0 ;
17559 PyObject * obj1 = 0 ;
17560 PyObject * obj2 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self",(char *) "x",(char *) "y", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17568 arg2 = (int) SWIG_AsInt(obj1);
17569 if (PyErr_Occurred()) SWIG_fail;
17570 arg3 = (int) SWIG_AsInt(obj2);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 Py_INCREF(Py_None); resultobj = Py_None;
17580 return resultobj;
17581 fail:
17582 return NULL;
17583}
17584
17585
17586static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17587 PyObject *resultobj;
17588 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17589 int *arg2 = (int *) 0 ;
17590 int *arg3 = (int *) 0 ;
17591 int temp2 ;
17592 int temp3 ;
17593 PyObject * obj0 = 0 ;
17594 char *kwnames[] = {
17595 (char *) "self", NULL
17596 };
17597
17598 arg2 = &temp2;
17599 arg3 = &temp3;
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 Py_INCREF(Py_None); resultobj = Py_None;
17611 {
17612 PyObject *o = PyInt_FromLong((long) (*arg2));
17613 resultobj = t_output_helper(resultobj,o);
17614 }
17615 {
17616 PyObject *o = PyInt_FromLong((long) (*arg3));
17617 resultobj = t_output_helper(resultobj,o);
17618 }
17619 return resultobj;
17620 fail:
17621 return NULL;
17622}
17623
17624
17625static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17628 int *arg2 = (int *) 0 ;
17629 int *arg3 = (int *) 0 ;
17630 int temp2 ;
17631 int temp3 ;
17632 PyObject * obj0 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self", NULL
17635 };
17636
17637 arg2 = &temp2;
17638 arg3 = &temp3;
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17645
17646 wxPyEndAllowThreads(__tstate);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 }
17649 Py_INCREF(Py_None); resultobj = Py_None;
17650 {
17651 PyObject *o = PyInt_FromLong((long) (*arg2));
17652 resultobj = t_output_helper(resultobj,o);
17653 }
17654 {
17655 PyObject *o = PyInt_FromLong((long) (*arg3));
17656 resultobj = t_output_helper(resultobj,o);
17657 }
17658 return resultobj;
17659 fail:
17660 return NULL;
17661}
17662
17663
17664static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17667 int *arg2 = (int *) 0 ;
17668 int *arg3 = (int *) 0 ;
17669 int temp2 ;
17670 int temp3 ;
17671 PyObject * obj0 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self", NULL
17674 };
17675
17676 arg2 = &temp2;
17677 arg3 = &temp3;
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 Py_INCREF(Py_None); resultobj = Py_None;
17689 {
17690 PyObject *o = PyInt_FromLong((long) (*arg2));
17691 resultobj = t_output_helper(resultobj,o);
17692 }
17693 {
17694 PyObject *o = PyInt_FromLong((long) (*arg3));
17695 resultobj = t_output_helper(resultobj,o);
17696 }
17697 return resultobj;
17698 fail:
17699 return NULL;
17700}
17701
17702
17703static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj;
17705 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17706 wxSize result;
17707 PyObject * obj0 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 {
17723 wxSize * resultptr;
17724 resultptr = new wxSize((wxSize &) result);
17725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17726 }
17727 return resultobj;
17728 fail:
17729 return NULL;
17730}
17731
17732
17733static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17736 wxSize result;
17737 PyObject * obj0 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 {
17753 wxSize * resultptr;
17754 resultptr = new wxSize((wxSize &) result);
17755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17756 }
17757 return resultobj;
17758 fail:
17759 return NULL;
17760}
17761
17762
17763static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17766 PyObject * obj0 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 (arg1)->base_InitDialog();
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 Py_INCREF(Py_None); resultobj = Py_None;
17782 return resultobj;
17783 fail:
17784 return NULL;
17785}
17786
17787
17788static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17791 bool result;
17792 PyObject * obj0 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self", NULL
17795 };
17796
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 result = (bool)(arg1)->base_TransferDataToWindow();
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 {
17808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17809 }
17810 return resultobj;
17811 fail:
17812 return NULL;
17813}
17814
17815
17816static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17819 bool result;
17820 PyObject * obj0 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (bool)(arg1)->base_TransferDataFromWindow();
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 {
17836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17837 }
17838 return resultobj;
17839 fail:
17840 return NULL;
17841}
17842
17843
17844static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj;
17846 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17847 bool result;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (bool)(arg1)->base_Validate();
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 {
17864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17865 }
17866 return resultobj;
17867 fail:
17868 return NULL;
17869}
17870
17871
17872static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17873 PyObject *resultobj;
17874 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17875 bool result;
17876 PyObject * obj0 = 0 ;
17877 char *kwnames[] = {
17878 (char *) "self", NULL
17879 };
17880
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 {
17892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17893 }
17894 return resultobj;
17895 fail:
17896 return NULL;
17897}
17898
17899
17900static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj;
17902 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17903 bool result;
17904 PyObject * obj0 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 {
17920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17921 }
17922 return resultobj;
17923 fail:
17924 return NULL;
17925}
17926
17927
17928static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17929 PyObject *resultobj;
17930 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17931 wxSize result;
17932 PyObject * obj0 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 {
17948 wxSize * resultptr;
17949 resultptr = new wxSize((wxSize &) result);
17950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17951 }
17952 return resultobj;
17953 fail:
17954 return NULL;
17955}
17956
17957
17958static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17959 PyObject *resultobj;
17960 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17961 wxWindow *arg2 = (wxWindow *) 0 ;
17962 PyObject * obj0 = 0 ;
17963 PyObject * obj1 = 0 ;
17964 char *kwnames[] = {
17965 (char *) "self",(char *) "child", NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 (arg1)->base_AddChild(arg2);
17976
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 Py_INCREF(Py_None); resultobj = Py_None;
17981 return resultobj;
17982 fail:
17983 return NULL;
17984}
17985
17986
17987static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17990 wxWindow *arg2 = (wxWindow *) 0 ;
17991 PyObject * obj0 = 0 ;
17992 PyObject * obj1 = 0 ;
17993 char *kwnames[] = {
17994 (char *) "self",(char *) "child", NULL
17995 };
17996
17997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 (arg1)->base_RemoveChild(arg2);
18005
18006 wxPyEndAllowThreads(__tstate);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 Py_INCREF(Py_None); resultobj = Py_None;
18010 return resultobj;
18011 fail:
18012 return NULL;
18013}
18014
18015
18016static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
18017 PyObject *resultobj;
18018 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18019 bool result;
18020 PyObject * obj0 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18030 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 {
18036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18037 }
18038 return resultobj;
18039 fail:
18040 return NULL;
18041}
18042
18043
18044static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj;
18046 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18047 wxColour *arg2 = 0 ;
18048 wxColour temp2 ;
18049 PyObject * obj0 = 0 ;
18050 PyObject * obj1 = 0 ;
18051 char *kwnames[] = {
18052 (char *) "self",(char *) "c", NULL
18053 };
18054
18055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18058 {
18059 arg2 = &temp2;
18060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18061 }
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 Py_INCREF(Py_None); resultobj = Py_None;
18070 return resultobj;
18071 fail:
18072 return NULL;
18073}
18074
18075
caef1a4d
RD
18076static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18077 PyObject *resultobj;
18078 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18079 wxVisualAttributes result;
18080 PyObject * obj0 = 0 ;
18081 char *kwnames[] = {
18082 (char *) "self", NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (arg1)->base_GetDefaultAttributes();
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 {
18096 wxVisualAttributes * resultptr;
18097 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18099 }
18100 return resultobj;
18101 fail:
18102 return NULL;
18103}
18104
18105
d55e5bfc
RD
18106static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
18107 PyObject *obj;
18108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18109 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18110 Py_INCREF(obj);
18111 return Py_BuildValue((char *)"");
18112}
18113static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
18114 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18115 return 1;
18116}
18117
18118
18119static PyObject *_wrap_PrintoutTitleStr_get() {
18120 PyObject *pyobj;
18121
18122 {
18123#if wxUSE_UNICODE
18124 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18125#else
18126 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18127#endif
18128 }
18129 return pyobj;
18130}
18131
18132
18133static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
18134 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18135 return 1;
18136}
18137
18138
18139static PyObject *_wrap_PreviewCanvasNameStr_get() {
18140 PyObject *pyobj;
18141
18142 {
18143#if wxUSE_UNICODE
18144 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18145#else
18146 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18147#endif
18148 }
18149 return pyobj;
18150}
18151
18152
09c21d3b 18153static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
d55e5bfc
RD
18154 PyObject *resultobj;
18155 wxPrintData *result;
d55e5bfc 18156
09c21d3b 18157 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (wxPrintData *)new wxPrintData();
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18166 return resultobj;
18167 fail:
18168 return NULL;
18169}
18170
18171
09c21d3b
RD
18172static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
18173 PyObject *resultobj;
18174 wxPrintData *arg1 = 0 ;
18175 wxPrintData *result;
18176 PyObject * obj0 = 0 ;
18177
18178 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18180 SWIG_POINTER_EXCEPTION | 0)) == -1)
18181 SWIG_fail;
18182 if (arg1 == NULL) {
18183 PyErr_SetString(PyExc_TypeError,"null reference");
18184 SWIG_fail;
18185 }
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18194 return resultobj;
18195 fail:
18196 return NULL;
18197}
18198
18199
18200static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18201 int argc;
18202 PyObject *argv[2];
18203 int ii;
18204
18205 argc = PyObject_Length(args);
18206 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18207 argv[ii] = PyTuple_GetItem(args,ii);
18208 }
18209 if (argc == 0) {
18210 return _wrap_new_PrintData__SWIG_0(self,args);
18211 }
18212 if (argc == 1) {
18213 int _v;
18214 {
18215 void *ptr;
18216 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18217 _v = 0;
18218 PyErr_Clear();
18219 } else {
18220 _v = 1;
18221 }
18222 }
18223 if (_v) {
18224 return _wrap_new_PrintData__SWIG_1(self,args);
18225 }
18226 }
18227
18228 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18229 return NULL;
18230}
18231
18232
d55e5bfc
RD
18233static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxPrintData *arg1 = (wxPrintData *) 0 ;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 delete arg1;
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 Py_INCREF(Py_None); resultobj = Py_None;
18252 return resultobj;
18253 fail:
18254 return NULL;
18255}
18256
18257
18258static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18259 PyObject *resultobj;
18260 wxPrintData *arg1 = (wxPrintData *) 0 ;
18261 int result;
18262 PyObject * obj0 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 result = (int)(arg1)->GetNoCopies();
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 resultobj = SWIG_FromInt((int)result);
18278 return resultobj;
18279 fail:
18280 return NULL;
18281}
18282
18283
18284static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18285 PyObject *resultobj;
18286 wxPrintData *arg1 = (wxPrintData *) 0 ;
18287 bool result;
18288 PyObject * obj0 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 result = (bool)(arg1)->GetCollate();
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 {
18304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18305 }
18306 return resultobj;
18307 fail:
18308 return NULL;
18309}
18310
18311
18312static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18313 PyObject *resultobj;
18314 wxPrintData *arg1 = (wxPrintData *) 0 ;
18315 int result;
18316 PyObject * obj0 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (int)(arg1)->GetOrientation();
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_FromInt((int)result);
18332 return resultobj;
18333 fail:
18334 return NULL;
18335}
18336
18337
18338static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxPrintData *arg1 = (wxPrintData *) 0 ;
18341 bool result;
18342 PyObject * obj0 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 result = (bool)(arg1)->Ok();
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 {
18358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18359 }
18360 return resultobj;
18361 fail:
18362 return NULL;
18363}
18364
18365
18366static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxPrintData *arg1 = (wxPrintData *) 0 ;
18369 wxString *result;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 {
18381 wxString const &_result_ref = (arg1)->GetPrinterName();
18382 result = (wxString *) &_result_ref;
18383 }
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 {
18389#if wxUSE_UNICODE
18390 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18391#else
18392 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18393#endif
18394 }
18395 return resultobj;
18396 fail:
18397 return NULL;
18398}
18399
18400
18401static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj;
18403 wxPrintData *arg1 = (wxPrintData *) 0 ;
18404 bool result;
18405 PyObject * obj0 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 result = (bool)(arg1)->GetColour();
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 {
18421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
18429static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPrintData *arg1 = (wxPrintData *) 0 ;
18432 int result;
18433 PyObject * obj0 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (int)(arg1)->GetDuplex();
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 resultobj = SWIG_FromInt((int)result);
18449 return resultobj;
18450 fail:
18451 return NULL;
18452}
18453
18454
18455static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxPrintData *arg1 = (wxPrintData *) 0 ;
18458 int result;
18459 PyObject * obj0 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (int)(arg1)->GetPaperId();
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 resultobj = SWIG_FromInt((int)result);
18475 return resultobj;
18476 fail:
18477 return NULL;
18478}
18479
18480
18481static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxPrintData *arg1 = (wxPrintData *) 0 ;
18484 wxSize *result;
18485 PyObject * obj0 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 {
18496 wxSize const &_result_ref = (arg1)->GetPaperSize();
18497 result = (wxSize *) &_result_ref;
18498 }
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
18510static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxPrintData *arg1 = (wxPrintData *) 0 ;
18513 int result;
18514 PyObject * obj0 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "self", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 result = (int)(arg1)->GetQuality();
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 resultobj = SWIG_FromInt((int)result);
18530 return resultobj;
18531 fail:
18532 return NULL;
18533}
18534
18535
18536static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj;
18538 wxPrintData *arg1 = (wxPrintData *) 0 ;
18539 int arg2 ;
18540 PyObject * obj0 = 0 ;
18541 PyObject * obj1 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self",(char *) "v", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18549 arg2 = (int) SWIG_AsInt(obj1);
18550 if (PyErr_Occurred()) SWIG_fail;
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 (arg1)->SetNoCopies(arg2);
18554
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 Py_INCREF(Py_None); resultobj = Py_None;
18559 return resultobj;
18560 fail:
18561 return NULL;
18562}
18563
18564
18565static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxPrintData *arg1 = (wxPrintData *) 0 ;
18568 bool arg2 ;
18569 PyObject * obj0 = 0 ;
18570 PyObject * obj1 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self",(char *) "flag", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18578 arg2 = (bool) SWIG_AsBool(obj1);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 (arg1)->SetCollate(arg2);
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 Py_INCREF(Py_None); resultobj = Py_None;
18588 return resultobj;
18589 fail:
18590 return NULL;
18591}
18592
18593
18594static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxPrintData *arg1 = (wxPrintData *) 0 ;
18597 int arg2 ;
18598 PyObject * obj0 = 0 ;
18599 PyObject * obj1 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "self",(char *) "orient", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18607 arg2 = (int) SWIG_AsInt(obj1);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 (arg1)->SetOrientation(arg2);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 Py_INCREF(Py_None); resultobj = Py_None;
18617 return resultobj;
18618 fail:
18619 return NULL;
18620}
18621
18622
18623static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPrintData *arg1 = (wxPrintData *) 0 ;
18626 wxString *arg2 = 0 ;
18627 bool temp2 = False ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self",(char *) "name", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18637 {
18638 arg2 = wxString_in_helper(obj1);
18639 if (arg2 == NULL) SWIG_fail;
18640 temp2 = True;
18641 }
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 (arg1)->SetPrinterName((wxString const &)*arg2);
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 Py_INCREF(Py_None); resultobj = Py_None;
18650 {
18651 if (temp2)
18652 delete arg2;
18653 }
18654 return resultobj;
18655 fail:
18656 {
18657 if (temp2)
18658 delete arg2;
18659 }
18660 return NULL;
18661}
18662
18663
18664static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18665 PyObject *resultobj;
18666 wxPrintData *arg1 = (wxPrintData *) 0 ;
18667 bool arg2 ;
18668 PyObject * obj0 = 0 ;
18669 PyObject * obj1 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self",(char *) "colour", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18677 arg2 = (bool) SWIG_AsBool(obj1);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 (arg1)->SetColour(arg2);
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 Py_INCREF(Py_None); resultobj = Py_None;
18687 return resultobj;
18688 fail:
18689 return NULL;
18690}
18691
18692
18693static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxPrintData *arg1 = (wxPrintData *) 0 ;
18696 int arg2 ;
18697 PyObject * obj0 = 0 ;
18698 PyObject * obj1 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "duplex", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 (arg1)->SetDuplex((wxDuplexMode )arg2);
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 Py_INCREF(Py_None); resultobj = Py_None;
18716 return resultobj;
18717 fail:
18718 return NULL;
18719}
18720
18721
18722static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxPrintData *arg1 = (wxPrintData *) 0 ;
18725 int arg2 ;
18726 PyObject * obj0 = 0 ;
18727 PyObject * obj1 = 0 ;
18728 char *kwnames[] = {
18729 (char *) "self",(char *) "sizeId", NULL
18730 };
18731
18732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18735 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 (arg1)->SetPaperId((wxPaperSize )arg2);
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 Py_INCREF(Py_None); resultobj = Py_None;
18745 return resultobj;
18746 fail:
18747 return NULL;
18748}
18749
18750
18751static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxPrintData *arg1 = (wxPrintData *) 0 ;
18754 wxSize *arg2 = 0 ;
18755 wxSize temp2 ;
18756 PyObject * obj0 = 0 ;
18757 PyObject * obj1 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self",(char *) "sz", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18765 {
18766 arg2 = &temp2;
18767 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18768 }
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 (arg1)->SetPaperSize((wxSize const &)*arg2);
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 Py_INCREF(Py_None); resultobj = Py_None;
18777 return resultobj;
18778 fail:
18779 return NULL;
18780}
18781
18782
18783static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPrintData *arg1 = (wxPrintData *) 0 ;
18786 int arg2 ;
18787 PyObject * obj0 = 0 ;
18788 PyObject * obj1 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self",(char *) "quality", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18796 arg2 = (int) SWIG_AsInt(obj1);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 (arg1)->SetQuality(arg2);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 Py_INCREF(Py_None); resultobj = Py_None;
18806 return resultobj;
18807 fail:
18808 return NULL;
18809}
18810
18811
18812static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxPrintData *arg1 = (wxPrintData *) 0 ;
18815 wxString *result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 {
18827 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18828 result = (wxString *) &_result_ref;
18829 }
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 {
18835#if wxUSE_UNICODE
18836 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18837#else
18838 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18839#endif
18840 }
18841 return resultobj;
18842 fail:
18843 return NULL;
18844}
18845
18846
18847static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPrintData *arg1 = (wxPrintData *) 0 ;
18850 wxString *result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 {
18862 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18863 result = (wxString *) &_result_ref;
18864 }
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870#if wxUSE_UNICODE
18871 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18872#else
18873 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18874#endif
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879}
18880
18881
18882static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxPrintData *arg1 = (wxPrintData *) 0 ;
18885 wxString *result;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 {
18897 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18898 result = (wxString *) &_result_ref;
18899 }
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905#if wxUSE_UNICODE
18906 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18907#else
18908 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18909#endif
18910 }
18911 return resultobj;
18912 fail:
18913 return NULL;
18914}
18915
18916
18917static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18918 PyObject *resultobj;
18919 wxPrintData *arg1 = (wxPrintData *) 0 ;
18920 wxString *result;
18921 PyObject * obj0 = 0 ;
18922 char *kwnames[] = {
18923 (char *) "self", NULL
18924 };
18925
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 {
18932 wxString const &_result_ref = (arg1)->GetFilename();
18933 result = (wxString *) &_result_ref;
18934 }
18935
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 {
18940#if wxUSE_UNICODE
18941 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18942#else
18943 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18944#endif
18945 }
18946 return resultobj;
18947 fail:
18948 return NULL;
18949}
18950
18951
18952static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj;
18954 wxPrintData *arg1 = (wxPrintData *) 0 ;
18955 wxString *result;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 {
18967 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18968 result = (wxString *) &_result_ref;
18969 }
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 {
18975#if wxUSE_UNICODE
18976 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18977#else
18978 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18979#endif
18980 }
18981 return resultobj;
18982 fail:
18983 return NULL;
18984}
18985
18986
18987static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxPrintData *arg1 = (wxPrintData *) 0 ;
18990 double result;
18991 PyObject * obj0 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = (double)(arg1)->GetPrinterScaleX();
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 resultobj = SWIG_FromDouble((double)result);
19007 return resultobj;
19008 fail:
19009 return NULL;
19010}
19011
19012
19013static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPrintData *arg1 = (wxPrintData *) 0 ;
19016 double result;
19017 PyObject * obj0 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 result = (double)(arg1)->GetPrinterScaleY();
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 resultobj = SWIG_FromDouble((double)result);
19033 return resultobj;
19034 fail:
19035 return NULL;
19036}
19037
19038
19039static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPrintData *arg1 = (wxPrintData *) 0 ;
19042 long result;
19043 PyObject * obj0 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (long)(arg1)->GetPrinterTranslateX();
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 resultobj = SWIG_FromLong((long)result);
19059 return resultobj;
19060 fail:
19061 return NULL;
19062}
19063
19064
19065static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj;
19067 wxPrintData *arg1 = (wxPrintData *) 0 ;
19068 long result;
19069 PyObject * obj0 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 result = (long)(arg1)->GetPrinterTranslateY();
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 resultobj = SWIG_FromLong((long)result);
19085 return resultobj;
19086 fail:
19087 return NULL;
19088}
19089
19090
19091static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj;
19093 wxPrintData *arg1 = (wxPrintData *) 0 ;
19094 int result;
19095 PyObject * obj0 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (int)(arg1)->GetPrintMode();
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 resultobj = SWIG_FromInt((int)result);
19111 return resultobj;
19112 fail:
19113 return NULL;
19114}
19115
19116
19117static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj;
19119 wxPrintData *arg1 = (wxPrintData *) 0 ;
19120 wxString *arg2 = 0 ;
19121 bool temp2 = False ;
19122 PyObject * obj0 = 0 ;
19123 PyObject * obj1 = 0 ;
19124 char *kwnames[] = {
19125 (char *) "self",(char *) "command", NULL
19126 };
19127
19128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19131 {
19132 arg2 = wxString_in_helper(obj1);
19133 if (arg2 == NULL) SWIG_fail;
19134 temp2 = True;
19135 }
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 Py_INCREF(Py_None); resultobj = Py_None;
19144 {
19145 if (temp2)
19146 delete arg2;
19147 }
19148 return resultobj;
19149 fail:
19150 {
19151 if (temp2)
19152 delete arg2;
19153 }
19154 return NULL;
19155}
19156
19157
19158static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPrintData *arg1 = (wxPrintData *) 0 ;
19161 wxString *arg2 = 0 ;
19162 bool temp2 = False ;
19163 PyObject * obj0 = 0 ;
19164 PyObject * obj1 = 0 ;
19165 char *kwnames[] = {
19166 (char *) "self",(char *) "options", NULL
19167 };
19168
19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19172 {
19173 arg2 = wxString_in_helper(obj1);
19174 if (arg2 == NULL) SWIG_fail;
19175 temp2 = True;
19176 }
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 {
19186 if (temp2)
19187 delete arg2;
19188 }
19189 return resultobj;
19190 fail:
19191 {
19192 if (temp2)
19193 delete arg2;
19194 }
19195 return NULL;
19196}
19197
19198
19199static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxPrintData *arg1 = (wxPrintData *) 0 ;
19202 wxString *arg2 = 0 ;
19203 bool temp2 = False ;
19204 PyObject * obj0 = 0 ;
19205 PyObject * obj1 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self",(char *) "command", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19213 {
19214 arg2 = wxString_in_helper(obj1);
19215 if (arg2 == NULL) SWIG_fail;
19216 temp2 = True;
19217 }
19218 {
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
19220 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19221
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 Py_INCREF(Py_None); resultobj = Py_None;
19226 {
19227 if (temp2)
19228 delete arg2;
19229 }
19230 return resultobj;
19231 fail:
19232 {
19233 if (temp2)
19234 delete arg2;
19235 }
19236 return NULL;
19237}
19238
19239
19240static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
19241 PyObject *resultobj;
19242 wxPrintData *arg1 = (wxPrintData *) 0 ;
19243 wxString *arg2 = 0 ;
19244 bool temp2 = False ;
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self",(char *) "filename", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19254 {
19255 arg2 = wxString_in_helper(obj1);
19256 if (arg2 == NULL) SWIG_fail;
19257 temp2 = True;
19258 }
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->SetFilename((wxString const &)*arg2);
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 {
19268 if (temp2)
19269 delete arg2;
19270 }
19271 return resultobj;
19272 fail:
19273 {
19274 if (temp2)
19275 delete arg2;
19276 }
19277 return NULL;
19278}
19279
19280
19281static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj;
19283 wxPrintData *arg1 = (wxPrintData *) 0 ;
19284 wxString *arg2 = 0 ;
19285 bool temp2 = False ;
19286 PyObject * obj0 = 0 ;
19287 PyObject * obj1 = 0 ;
19288 char *kwnames[] = {
19289 (char *) "self",(char *) "path", NULL
19290 };
19291
19292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19295 {
19296 arg2 = wxString_in_helper(obj1);
19297 if (arg2 == NULL) SWIG_fail;
19298 temp2 = True;
19299 }
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 {
19309 if (temp2)
19310 delete arg2;
19311 }
19312 return resultobj;
19313 fail:
19314 {
19315 if (temp2)
19316 delete arg2;
19317 }
19318 return NULL;
19319}
19320
19321
19322static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
19323 PyObject *resultobj;
19324 wxPrintData *arg1 = (wxPrintData *) 0 ;
19325 double arg2 ;
19326 PyObject * obj0 = 0 ;
19327 PyObject * obj1 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self",(char *) "x", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19335 arg2 = (double) SWIG_AsDouble(obj1);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 (arg1)->SetPrinterScaleX(arg2);
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 Py_INCREF(Py_None); resultobj = Py_None;
19345 return resultobj;
19346 fail:
19347 return NULL;
19348}
19349
19350
19351static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 wxPrintData *arg1 = (wxPrintData *) 0 ;
19354 double arg2 ;
19355 PyObject * obj0 = 0 ;
19356 PyObject * obj1 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self",(char *) "y", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19364 arg2 = (double) SWIG_AsDouble(obj1);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 (arg1)->SetPrinterScaleY(arg2);
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 Py_INCREF(Py_None); resultobj = Py_None;
19374 return resultobj;
19375 fail:
19376 return NULL;
19377}
19378
19379
19380static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxPrintData *arg1 = (wxPrintData *) 0 ;
19383 double arg2 ;
19384 double arg3 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 PyObject * obj2 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self",(char *) "x",(char *) "y", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19395 arg2 = (double) SWIG_AsDouble(obj1);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 arg3 = (double) SWIG_AsDouble(obj2);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 (arg1)->SetPrinterScaling(arg2,arg3);
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 Py_INCREF(Py_None); resultobj = Py_None;
19407 return resultobj;
19408 fail:
19409 return NULL;
19410}
19411
19412
19413static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19414 PyObject *resultobj;
19415 wxPrintData *arg1 = (wxPrintData *) 0 ;
19416 long arg2 ;
19417 PyObject * obj0 = 0 ;
19418 PyObject * obj1 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self",(char *) "x", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19426 arg2 = (long) SWIG_AsLong(obj1);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 (arg1)->SetPrinterTranslateX(arg2);
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 Py_INCREF(Py_None); resultobj = Py_None;
19436 return resultobj;
19437 fail:
19438 return NULL;
19439}
19440
19441
19442static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxPrintData *arg1 = (wxPrintData *) 0 ;
19445 long arg2 ;
19446 PyObject * obj0 = 0 ;
19447 PyObject * obj1 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self",(char *) "y", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19455 arg2 = (long) SWIG_AsLong(obj1);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->SetPrinterTranslateY(arg2);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468}
19469
19470
19471static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPrintData *arg1 = (wxPrintData *) 0 ;
19474 long arg2 ;
19475 long arg3 ;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 PyObject * obj2 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "x",(char *) "y", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19486 arg2 = (long) SWIG_AsLong(obj1);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 arg3 = (long) SWIG_AsLong(obj2);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 (arg1)->SetPrinterTranslation(arg2,arg3);
19493
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 Py_INCREF(Py_None); resultobj = Py_None;
19498 return resultobj;
19499 fail:
19500 return NULL;
19501}
19502
19503
19504static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxPrintData *arg1 = (wxPrintData *) 0 ;
19507 int arg2 ;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 char *kwnames[] = {
19511 (char *) "self",(char *) "printMode", NULL
19512 };
19513
19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19517 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 (arg1)->SetPrintMode((wxPrintMode )arg2);
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 Py_INCREF(Py_None); resultobj = Py_None;
19527 return resultobj;
19528 fail:
19529 return NULL;
19530}
19531
19532
19533static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPrintData *arg1 = (wxPrintData *) 0 ;
19536 wxOutputStream *result;
19537 PyObject * obj0 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "self", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 result = (wxOutputStream *)(arg1)->GetOutputStream();
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
19559static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxPrintData *arg1 = (wxPrintData *) 0 ;
19562 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "outputstream", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 (arg1)->SetOutputStream(arg2);
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 Py_INCREF(Py_None); resultobj = Py_None;
19582 return resultobj;
19583 fail:
19584 return NULL;
19585}
19586
19587
19588static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19589 PyObject *obj;
19590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19591 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19592 Py_INCREF(obj);
19593 return Py_BuildValue((char *)"");
19594}
09c21d3b 19595static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
d55e5bfc
RD
19596 PyObject *resultobj;
19597 wxPageSetupDialogData *result;
d55e5bfc 19598
09c21d3b 19599 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19608 return resultobj;
19609 fail:
19610 return NULL;
19611}
19612
19613
09c21d3b
RD
19614static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
19615 PyObject *resultobj;
19616 wxPageSetupDialogData *arg1 = 0 ;
19617 wxPageSetupDialogData *result;
19618 PyObject * obj0 = 0 ;
19619
19620 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19622 SWIG_POINTER_EXCEPTION | 0)) == -1)
19623 SWIG_fail;
19624 if (arg1 == NULL) {
19625 PyErr_SetString(PyExc_TypeError,"null reference");
19626 SWIG_fail;
19627 }
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19636 return resultobj;
19637 fail:
19638 return NULL;
19639}
19640
19641
19642static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19643 int argc;
19644 PyObject *argv[2];
19645 int ii;
19646
19647 argc = PyObject_Length(args);
19648 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19649 argv[ii] = PyTuple_GetItem(args,ii);
19650 }
19651 if (argc == 0) {
19652 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19653 }
19654 if (argc == 1) {
19655 int _v;
19656 {
19657 void *ptr;
19658 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19659 _v = 0;
19660 PyErr_Clear();
19661 } else {
19662 _v = 1;
19663 }
19664 }
19665 if (_v) {
19666 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19667 }
19668 }
19669
19670 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19671 return NULL;
19672}
19673
19674
d55e5bfc
RD
19675static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19676 PyObject *resultobj;
19677 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19678 PyObject * obj0 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "self", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 delete arg1;
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 Py_INCREF(Py_None); resultobj = Py_None;
19694 return resultobj;
19695 fail:
19696 return NULL;
19697}
19698
19699
19700static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19703 bool arg2 ;
19704 PyObject * obj0 = 0 ;
19705 PyObject * obj1 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self",(char *) "flag", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19713 arg2 = (bool) SWIG_AsBool(obj1);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 (arg1)->EnableHelp(arg2);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 Py_INCREF(Py_None); resultobj = Py_None;
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
19729static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19732 bool arg2 ;
19733 PyObject * obj0 = 0 ;
19734 PyObject * obj1 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self",(char *) "flag", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19742 arg2 = (bool) SWIG_AsBool(obj1);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 (arg1)->EnableMargins(arg2);
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 Py_INCREF(Py_None); resultobj = Py_None;
19752 return resultobj;
19753 fail:
19754 return NULL;
19755}
19756
19757
19758static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19759 PyObject *resultobj;
19760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19761 bool arg2 ;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "flag", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19771 arg2 = (bool) SWIG_AsBool(obj1);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 (arg1)->EnableOrientation(arg2);
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 Py_INCREF(Py_None); resultobj = Py_None;
19781 return resultobj;
19782 fail:
19783 return NULL;
19784}
19785
19786
19787static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19790 bool arg2 ;
19791 PyObject * obj0 = 0 ;
19792 PyObject * obj1 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "self",(char *) "flag", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19800 arg2 = (bool) SWIG_AsBool(obj1);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 (arg1)->EnablePaper(arg2);
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 Py_INCREF(Py_None); resultobj = Py_None;
19810 return resultobj;
19811 fail:
19812 return NULL;
19813}
19814
19815
19816static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19819 bool arg2 ;
19820 PyObject * obj0 = 0 ;
19821 PyObject * obj1 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self",(char *) "flag", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19829 arg2 = (bool) SWIG_AsBool(obj1);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 (arg1)->EnablePrinter(arg2);
19834
19835 wxPyEndAllowThreads(__tstate);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 }
19838 Py_INCREF(Py_None); resultobj = Py_None;
19839 return resultobj;
19840 fail:
19841 return NULL;
19842}
19843
19844
19845static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj;
19847 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19848 bool result;
19849 PyObject * obj0 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "self", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (bool)(arg1)->GetDefaultMinMargins();
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 {
19865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19866 }
19867 return resultobj;
19868 fail:
19869 return NULL;
19870}
19871
19872
19873static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19876 bool result;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 result = (bool)(arg1)->GetEnableMargins();
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 {
19893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19894 }
19895 return resultobj;
19896 fail:
19897 return NULL;
19898}
19899
19900
19901static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19904 bool result;
19905 PyObject * obj0 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = (bool)(arg1)->GetEnableOrientation();
19916
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 {
19921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19922 }
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
19929static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19932 bool result;
19933 PyObject * obj0 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = (bool)(arg1)->GetEnablePaper();
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 {
19949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19950 }
19951 return resultobj;
19952 fail:
19953 return NULL;
19954}
19955
19956
19957static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19960 bool result;
19961 PyObject * obj0 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = (bool)(arg1)->GetEnablePrinter();
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 {
19977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19978 }
19979 return resultobj;
19980 fail:
19981 return NULL;
19982}
19983
19984
19985static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19988 bool result;
19989 PyObject * obj0 = 0 ;
19990 char *kwnames[] = {
19991 (char *) "self", NULL
19992 };
19993
19994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 result = (bool)(arg1)->GetEnableHelp();
20000
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 {
20005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20006 }
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
20013static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20014 PyObject *resultobj;
20015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20016 bool result;
20017 PyObject * obj0 = 0 ;
20018 char *kwnames[] = {
20019 (char *) "self", NULL
20020 };
20021
20022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (bool)(arg1)->GetDefaultInfo();
20028
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 {
20033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20034 }
20035 return resultobj;
20036 fail:
20037 return NULL;
20038}
20039
20040
20041static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20042 PyObject *resultobj;
20043 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20044 wxPoint result;
20045 PyObject * obj0 = 0 ;
20046 char *kwnames[] = {
20047 (char *) "self", NULL
20048 };
20049
20050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = (arg1)->GetMarginTopLeft();
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 {
20061 wxPoint * resultptr;
20062 resultptr = new wxPoint((wxPoint &) result);
20063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20064 }
20065 return resultobj;
20066 fail:
20067 return NULL;
20068}
20069
20070
20071static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20074 wxPoint result;
20075 PyObject * obj0 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 result = (arg1)->GetMarginBottomRight();
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 {
20091 wxPoint * resultptr;
20092 resultptr = new wxPoint((wxPoint &) result);
20093 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20094 }
20095 return resultobj;
20096 fail:
20097 return NULL;
20098}
20099
20100
20101static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj;
20103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20104 wxPoint result;
20105 PyObject * obj0 = 0 ;
20106 char *kwnames[] = {
20107 (char *) "self", NULL
20108 };
20109
20110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (arg1)->GetMinMarginTopLeft();
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 {
20121 wxPoint * resultptr;
20122 resultptr = new wxPoint((wxPoint &) result);
20123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20124 }
20125 return resultobj;
20126 fail:
20127 return NULL;
20128}
20129
20130
20131static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20134 wxPoint result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (arg1)->GetMinMarginBottomRight();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151 wxPoint * resultptr;
20152 resultptr = new wxPoint((wxPoint &) result);
20153 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20154 }
20155 return resultobj;
20156 fail:
20157 return NULL;
20158}
20159
20160
20161static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20164 int result;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 result = (int)(arg1)->GetPaperId();
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 resultobj = SWIG_FromInt((int)result);
20181 return resultobj;
20182 fail:
20183 return NULL;
20184}
20185
20186
20187static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20188 PyObject *resultobj;
20189 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20190 wxSize result;
20191 PyObject * obj0 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (arg1)->GetPaperSize();
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 wxSize * resultptr;
20208 resultptr = new wxSize((wxSize &) result);
20209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20210 }
20211 return resultobj;
20212 fail:
20213 return NULL;
20214}
20215
20216
20217static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20220 wxPrintData *result;
20221 PyObject * obj0 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 {
20232 wxPrintData &_result_ref = (arg1)->GetPrintData();
20233 result = (wxPrintData *) &_result_ref;
20234 }
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20240 return resultobj;
20241 fail:
20242 return NULL;
20243}
20244
20245
20246static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20249 bool result;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = (bool)(arg1)->Ok();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 {
20266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20267 }
20268 return resultobj;
20269 fail:
20270 return NULL;
20271}
20272
20273
20274static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj;
20276 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20277 bool arg2 ;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 char *kwnames[] = {
20281 (char *) "self",(char *) "flag", NULL
20282 };
20283
20284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20287 arg2 = (bool) SWIG_AsBool(obj1);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 (arg1)->SetDefaultInfo(arg2);
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 Py_INCREF(Py_None); resultobj = Py_None;
20297 return resultobj;
20298 fail:
20299 return NULL;
20300}
20301
20302
20303static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20306 bool arg2 ;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self",(char *) "flag", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20316 arg2 = (bool) SWIG_AsBool(obj1);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 {
20319 PyThreadState* __tstate = wxPyBeginAllowThreads();
20320 (arg1)->SetDefaultMinMargins(arg2);
20321
20322 wxPyEndAllowThreads(__tstate);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 }
20325 Py_INCREF(Py_None); resultobj = Py_None;
20326 return resultobj;
20327 fail:
20328 return NULL;
20329}
20330
20331
20332static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20333 PyObject *resultobj;
20334 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20335 wxPoint *arg2 = 0 ;
20336 wxPoint temp2 ;
20337 PyObject * obj0 = 0 ;
20338 PyObject * obj1 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self",(char *) "pt", NULL
20341 };
20342
20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20346 {
20347 arg2 = &temp2;
20348 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20349 }
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 Py_INCREF(Py_None); resultobj = Py_None;
20358 return resultobj;
20359 fail:
20360 return NULL;
20361}
20362
20363
20364static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20367 wxPoint *arg2 = 0 ;
20368 wxPoint temp2 ;
20369 PyObject * obj0 = 0 ;
20370 PyObject * obj1 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self",(char *) "pt", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20378 {
20379 arg2 = &temp2;
20380 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20381 }
20382 {
20383 PyThreadState* __tstate = wxPyBeginAllowThreads();
20384 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20385
20386 wxPyEndAllowThreads(__tstate);
20387 if (PyErr_Occurred()) SWIG_fail;
20388 }
20389 Py_INCREF(Py_None); resultobj = Py_None;
20390 return resultobj;
20391 fail:
20392 return NULL;
20393}
20394
20395
20396static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj;
20398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20399 wxPoint *arg2 = 0 ;
20400 wxPoint temp2 ;
20401 PyObject * obj0 = 0 ;
20402 PyObject * obj1 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self",(char *) "pt", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20410 {
20411 arg2 = &temp2;
20412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20413 }
20414 {
20415 PyThreadState* __tstate = wxPyBeginAllowThreads();
20416 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20417
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 Py_INCREF(Py_None); resultobj = Py_None;
20422 return resultobj;
20423 fail:
20424 return NULL;
20425}
20426
20427
20428static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20429 PyObject *resultobj;
20430 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20431 wxPoint *arg2 = 0 ;
20432 wxPoint temp2 ;
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self",(char *) "pt", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20442 {
20443 arg2 = &temp2;
20444 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20445 }
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 Py_INCREF(Py_None); resultobj = Py_None;
20454 return resultobj;
20455 fail:
20456 return NULL;
20457}
20458
20459
20460static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20463 int arg2 ;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self",(char *) "id", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20473 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20474 if (PyErr_Occurred()) SWIG_fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->SetPaperId((wxPaperSize )arg2);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
20489static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20492 wxSize *arg2 = 0 ;
20493 wxSize temp2 ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self",(char *) "size", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20503 {
20504 arg2 = &temp2;
20505 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20506 }
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 (arg1)->SetPaperSize((wxSize const &)*arg2);
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 Py_INCREF(Py_None); resultobj = Py_None;
20515 return resultobj;
20516 fail:
20517 return NULL;
20518}
20519
20520
20521static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20524 wxPrintData *arg2 = 0 ;
20525 PyObject * obj0 = 0 ;
20526 PyObject * obj1 = 0 ;
20527 char *kwnames[] = {
20528 (char *) "self",(char *) "printData", NULL
20529 };
20530
20531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20535 SWIG_POINTER_EXCEPTION | 0)) == -1)
20536 SWIG_fail;
20537 if (arg2 == NULL) {
20538 PyErr_SetString(PyExc_TypeError,"null reference");
20539 SWIG_fail;
20540 }
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 Py_INCREF(Py_None); resultobj = Py_None;
20549 return resultobj;
20550 fail:
20551 return NULL;
20552}
20553
20554
20555static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20556 PyObject *obj;
20557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20558 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20559 Py_INCREF(obj);
20560 return Py_BuildValue((char *)"");
20561}
20562static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20563 PyObject *resultobj;
20564 wxWindow *arg1 = (wxWindow *) 0 ;
20565 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20566 wxPageSetupDialog *result;
20567 PyObject * obj0 = 0 ;
20568 PyObject * obj1 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "parent",(char *) "data", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20576 if (obj1) {
20577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20579 }
20580 {
0439c23b 20581 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20584
20585 wxPyEndAllowThreads(__tstate);
0439c23b 20586 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20587 }
20588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20589 return resultobj;
20590 fail:
20591 return NULL;
20592}
20593
20594
20595static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20598 wxPageSetupDialogData *result;
20599 PyObject * obj0 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 {
20610 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20611 result = (wxPageSetupDialogData *) &_result_ref;
20612 }
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
20624static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20627 int result;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (int)(arg1)->ShowModal();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 resultobj = SWIG_FromInt((int)result);
20644 return resultobj;
20645 fail:
20646 return NULL;
20647}
20648
20649
20650static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20651 PyObject *obj;
20652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20653 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20654 Py_INCREF(obj);
20655 return Py_BuildValue((char *)"");
20656}
20657static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20658 PyObject *resultobj;
20659 wxPrintDialogData *result;
20660
20661 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20662 {
20663 PyThreadState* __tstate = wxPyBeginAllowThreads();
20664 result = (wxPrintDialogData *)new wxPrintDialogData();
20665
20666 wxPyEndAllowThreads(__tstate);
20667 if (PyErr_Occurred()) SWIG_fail;
20668 }
20669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20670 return resultobj;
20671 fail:
20672 return NULL;
20673}
20674
20675
20676static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20677 PyObject *resultobj;
20678 wxPrintData *arg1 = 0 ;
20679 wxPrintDialogData *result;
20680 PyObject * obj0 = 0 ;
20681
20682 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20684 SWIG_POINTER_EXCEPTION | 0)) == -1)
20685 SWIG_fail;
20686 if (arg1 == NULL) {
20687 PyErr_SetString(PyExc_TypeError,"null reference");
20688 SWIG_fail;
20689 }
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20698 return resultobj;
20699 fail:
20700 return NULL;
20701}
20702
20703
20704static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20705 int argc;
20706 PyObject *argv[2];
20707 int ii;
20708
20709 argc = PyObject_Length(args);
20710 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20711 argv[ii] = PyTuple_GetItem(args,ii);
20712 }
20713 if (argc == 0) {
20714 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20715 }
20716 if (argc == 1) {
20717 int _v;
20718 {
20719 void *ptr;
20720 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20721 _v = 0;
20722 PyErr_Clear();
20723 } else {
20724 _v = 1;
20725 }
20726 }
20727 if (_v) {
20728 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20729 }
20730 }
20731
20732 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20733 return NULL;
20734}
20735
20736
20737static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj;
20739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20740 PyObject * obj0 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "self", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 delete arg1;
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 Py_INCREF(Py_None); resultobj = Py_None;
20756 return resultobj;
20757 fail:
20758 return NULL;
20759}
20760
20761
20762static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20765 int result;
20766 PyObject * obj0 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "self", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
20781 resultobj = SWIG_FromInt((int)result);
20782 return resultobj;
20783 fail:
20784 return NULL;
20785}
20786
20787
20788static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20789 PyObject *resultobj;
20790 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20791 int result;
20792 PyObject * obj0 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 resultobj = SWIG_FromInt((int)result);
20808 return resultobj;
20809 fail:
20810 return NULL;
20811}
20812
20813
20814static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20817 int result;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 resultobj = SWIG_FromInt((int)result);
20834 return resultobj;
20835 fail:
20836 return NULL;
20837}
20838
20839
20840static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20843 int result;
20844 PyObject * obj0 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 resultobj = SWIG_FromInt((int)result);
20860 return resultobj;
20861 fail:
20862 return NULL;
20863}
20864
20865
20866static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20869 int result;
20870 PyObject * obj0 = 0 ;
20871 char *kwnames[] = {
20872 (char *) "self", NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 resultobj = SWIG_FromInt((int)result);
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
20892static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20895 bool result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 {
20912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20913 }
20914 return resultobj;
20915 fail:
20916 return NULL;
20917}
20918
20919
20920static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20923 bool result;
20924 PyObject * obj0 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "self", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20932 {
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20935
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 {
20940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20941 }
20942 return resultobj;
20943 fail:
20944 return NULL;
20945}
20946
20947
20948static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20951 bool result;
20952 PyObject * obj0 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 {
20968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20969 }
20970 return resultobj;
20971 fail:
20972 return NULL;
20973}
20974
20975
20976static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj;
20978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20979 bool result;
20980 PyObject * obj0 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
20996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20997 }
20998 return resultobj;
20999 fail:
21000 return NULL;
21001}
21002
21003
21004static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21007 bool result;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 {
21024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21025 }
21026 return resultobj;
21027 fail:
21028 return NULL;
21029}
21030
21031
21032static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21033 PyObject *resultobj;
21034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21035 int arg2 ;
21036 PyObject * obj0 = 0 ;
21037 PyObject * obj1 = 0 ;
21038 char *kwnames[] = {
21039 (char *) "self",(char *) "v", NULL
21040 };
21041
21042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21045 arg2 = (int) SWIG_AsInt(obj1);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 {
21048 PyThreadState* __tstate = wxPyBeginAllowThreads();
21049 (arg1)->SetFromPage(arg2);
21050
21051 wxPyEndAllowThreads(__tstate);
21052 if (PyErr_Occurred()) SWIG_fail;
21053 }
21054 Py_INCREF(Py_None); resultobj = Py_None;
21055 return resultobj;
21056 fail:
21057 return NULL;
21058}
21059
21060
21061static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21062 PyObject *resultobj;
21063 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21064 int arg2 ;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 char *kwnames[] = {
21068 (char *) "self",(char *) "v", NULL
21069 };
21070
21071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21074 arg2 = (int) SWIG_AsInt(obj1);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 (arg1)->SetToPage(arg2);
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
21083 Py_INCREF(Py_None); resultobj = Py_None;
21084 return resultobj;
21085 fail:
21086 return NULL;
21087}
21088
21089
21090static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21091 PyObject *resultobj;
21092 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21093 int arg2 ;
21094 PyObject * obj0 = 0 ;
21095 PyObject * obj1 = 0 ;
21096 char *kwnames[] = {
21097 (char *) "self",(char *) "v", NULL
21098 };
21099
21100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21103 arg2 = (int) SWIG_AsInt(obj1);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 (arg1)->SetMinPage(arg2);
21108
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 Py_INCREF(Py_None); resultobj = Py_None;
21113 return resultobj;
21114 fail:
21115 return NULL;
21116}
21117
21118
21119static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21122 int arg2 ;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "v", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 arg2 = (int) SWIG_AsInt(obj1);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 (arg1)->SetMaxPage(arg2);
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 Py_INCREF(Py_None); resultobj = Py_None;
21142 return resultobj;
21143 fail:
21144 return NULL;
21145}
21146
21147
21148static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21151 int arg2 ;
21152 PyObject * obj0 = 0 ;
21153 PyObject * obj1 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self",(char *) "v", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 arg2 = (int) SWIG_AsInt(obj1);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 (arg1)->SetNoCopies(arg2);
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 Py_INCREF(Py_None); resultobj = Py_None;
21171 return resultobj;
21172 fail:
21173 return NULL;
21174}
21175
21176
21177static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
21178 PyObject *resultobj;
21179 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21180 bool arg2 ;
21181 PyObject * obj0 = 0 ;
21182 PyObject * obj1 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self",(char *) "flag", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 arg2 = (bool) SWIG_AsBool(obj1);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 (arg1)->SetAllPages(arg2);
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 Py_INCREF(Py_None); resultobj = Py_None;
21200 return resultobj;
21201 fail:
21202 return NULL;
21203}
21204
21205
21206static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21209 bool arg2 ;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self",(char *) "flag", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21219 arg2 = (bool) SWIG_AsBool(obj1);
21220 if (PyErr_Occurred()) SWIG_fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 (arg1)->SetSelection(arg2);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 Py_INCREF(Py_None); resultobj = Py_None;
21229 return resultobj;
21230 fail:
21231 return NULL;
21232}
21233
21234
21235static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21238 bool arg2 ;
21239 PyObject * obj0 = 0 ;
21240 PyObject * obj1 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self",(char *) "flag", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 arg2 = (bool) SWIG_AsBool(obj1);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 {
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 (arg1)->SetCollate(arg2);
21253
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 Py_INCREF(Py_None); resultobj = Py_None;
21258 return resultobj;
21259 fail:
21260 return NULL;
21261}
21262
21263
21264static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21267 bool arg2 ;
21268 PyObject * obj0 = 0 ;
21269 PyObject * obj1 = 0 ;
21270 char *kwnames[] = {
21271 (char *) "self",(char *) "flag", NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21277 arg2 = (bool) SWIG_AsBool(obj1);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 (arg1)->SetPrintToFile(arg2);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 Py_INCREF(Py_None); resultobj = Py_None;
21287 return resultobj;
21288 fail:
21289 return NULL;
21290}
21291
21292
21293static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21296 bool arg2 ;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "flag", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21306 arg2 = (bool) SWIG_AsBool(obj1);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 (arg1)->SetSetupDialog(arg2);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 Py_INCREF(Py_None); resultobj = Py_None;
21316 return resultobj;
21317 fail:
21318 return NULL;
21319}
21320
21321
21322static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21325 bool arg2 ;
21326 PyObject * obj0 = 0 ;
21327 PyObject * obj1 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "flag", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21335 arg2 = (bool) SWIG_AsBool(obj1);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 (arg1)->EnablePrintToFile(arg2);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 Py_INCREF(Py_None); resultobj = Py_None;
21345 return resultobj;
21346 fail:
21347 return NULL;
21348}
21349
21350
21351static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj;
21353 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21354 bool arg2 ;
21355 PyObject * obj0 = 0 ;
21356 PyObject * obj1 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "self",(char *) "flag", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21364 arg2 = (bool) SWIG_AsBool(obj1);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 (arg1)->EnableSelection(arg2);
21369
21370 wxPyEndAllowThreads(__tstate);
21371 if (PyErr_Occurred()) SWIG_fail;
21372 }
21373 Py_INCREF(Py_None); resultobj = Py_None;
21374 return resultobj;
21375 fail:
21376 return NULL;
21377}
21378
21379
21380static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21381 PyObject *resultobj;
21382 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21383 bool arg2 ;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "flag", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21393 arg2 = (bool) SWIG_AsBool(obj1);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 (arg1)->EnablePageNumbers(arg2);
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 Py_INCREF(Py_None); resultobj = Py_None;
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
21409static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21412 bool arg2 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "flag", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21422 arg2 = (bool) SWIG_AsBool(obj1);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 (arg1)->EnableHelp(arg2);
21427
21428 wxPyEndAllowThreads(__tstate);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
21431 Py_INCREF(Py_None); resultobj = Py_None;
21432 return resultobj;
21433 fail:
21434 return NULL;
21435}
21436
21437
21438static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj;
21440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21441 bool result;
21442 PyObject * obj0 = 0 ;
21443 char *kwnames[] = {
21444 (char *) "self", NULL
21445 };
21446
21447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21459 }
21460 return resultobj;
21461 fail:
21462 return NULL;
21463}
21464
21465
21466static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj;
21468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21469 bool result;
21470 PyObject * obj0 = 0 ;
21471 char *kwnames[] = {
21472 (char *) "self", NULL
21473 };
21474
21475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21478 {
21479 PyThreadState* __tstate = wxPyBeginAllowThreads();
21480 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21481
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 {
21486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21487 }
21488 return resultobj;
21489 fail:
21490 return NULL;
21491}
21492
21493
21494static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21495 PyObject *resultobj;
21496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21497 bool result;
21498 PyObject * obj0 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 {
21514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21515 }
21516 return resultobj;
21517 fail:
21518 return NULL;
21519}
21520
21521
21522static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21523 PyObject *resultobj;
21524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21525 bool result;
21526 PyObject * obj0 = 0 ;
21527 char *kwnames[] = {
21528 (char *) "self", NULL
21529 };
21530
21531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 {
21542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21543 }
21544 return resultobj;
21545 fail:
21546 return NULL;
21547}
21548
21549
21550static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21553 bool result;
21554 PyObject * obj0 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 {
21570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21571 }
21572 return resultobj;
21573 fail:
21574 return NULL;
21575}
21576
21577
21578static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21581 wxPrintData *result;
21582 PyObject * obj0 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 {
21593 wxPrintData &_result_ref = (arg1)->GetPrintData();
21594 result = (wxPrintData *) &_result_ref;
21595 }
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21601 return resultobj;
21602 fail:
21603 return NULL;
21604}
21605
21606
21607static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21610 wxPrintData *arg2 = 0 ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self",(char *) "printData", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21621 SWIG_POINTER_EXCEPTION | 0)) == -1)
21622 SWIG_fail;
21623 if (arg2 == NULL) {
21624 PyErr_SetString(PyExc_TypeError,"null reference");
21625 SWIG_fail;
21626 }
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 Py_INCREF(Py_None); resultobj = Py_None;
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
21641static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21642 PyObject *obj;
21643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21644 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21645 Py_INCREF(obj);
21646 return Py_BuildValue((char *)"");
21647}
21648static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxWindow *arg1 = (wxWindow *) 0 ;
21651 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21652 wxPrintDialog *result;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "parent",(char *) "data", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21662 if (obj1) {
21663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21665 }
21666 {
0439c23b 21667 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21670
21671 wxPyEndAllowThreads(__tstate);
0439c23b 21672 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21673 }
21674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21675 return resultobj;
21676 fail:
21677 return NULL;
21678}
21679
21680
21681static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21684 wxPrintDialogData *result;
21685 PyObject * obj0 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 {
21696 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21697 result = (wxPrintDialogData *) &_result_ref;
21698 }
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21704 return resultobj;
21705 fail:
21706 return NULL;
21707}
21708
21709
21710static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21713 wxDC *result;
21714 PyObject * obj0 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (wxDC *)(arg1)->GetPrintDC();
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 {
21730 resultobj = wxPyMake_wxObject(result);
21731 }
21732 return resultobj;
21733 fail:
21734 return NULL;
21735}
21736
21737
21738static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21741 int result;
21742 PyObject * obj0 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 result = (int)(arg1)->ShowModal();
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
21757 resultobj = SWIG_FromInt((int)result);
21758 return resultobj;
21759 fail:
21760 return NULL;
21761}
21762
21763
21764static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21765 PyObject *obj;
21766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21767 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21768 Py_INCREF(obj);
21769 return Py_BuildValue((char *)"");
21770}
21771static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21774 wxPrinter *result;
21775 PyObject * obj0 = 0 ;
21776 char *kwnames[] = {
21777 (char *) "data", NULL
21778 };
21779
21780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21781 if (obj0) {
21782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21784 }
21785 {
0439c23b 21786 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21787 PyThreadState* __tstate = wxPyBeginAllowThreads();
21788 result = (wxPrinter *)new wxPrinter(arg1);
21789
21790 wxPyEndAllowThreads(__tstate);
0439c23b 21791 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21792 }
21793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21794 return resultobj;
21795 fail:
21796 return NULL;
21797}
21798
21799
21800static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21801 PyObject *resultobj;
21802 wxPrinter *arg1 = (wxPrinter *) 0 ;
21803 PyObject * obj0 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 delete arg1;
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 Py_INCREF(Py_None); resultobj = Py_None;
21819 return resultobj;
21820 fail:
21821 return NULL;
21822}
21823
21824
21825static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21826 PyObject *resultobj;
21827 wxPrinter *arg1 = (wxPrinter *) 0 ;
21828 wxWindow *arg2 = (wxWindow *) 0 ;
21829 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21830 PyObject * obj0 = 0 ;
21831 PyObject * obj1 = 0 ;
21832 PyObject * obj2 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "parent",(char *) "printout", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21842 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->CreateAbortWindow(arg2,arg3);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855}
21856
21857
21858static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxPrinter *arg1 = (wxPrinter *) 0 ;
21861 wxPrintDialogData *result;
21862 PyObject * obj0 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 {
21873 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21874 result = (wxPrintDialogData *) &_result_ref;
21875 }
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21881 return resultobj;
21882 fail:
21883 return NULL;
21884}
21885
21886
21887static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 wxPrinter *arg1 = (wxPrinter *) 0 ;
21890 wxWindow *arg2 = (wxWindow *) 0 ;
21891 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21892 int arg4 = (int) True ;
21893 bool result;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 PyObject * obj2 = 0 ;
21897 PyObject * obj3 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21907 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21909 if (obj3) {
21910 arg4 = (int) SWIG_AsInt(obj3);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 }
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 {
21921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21922 }
21923 return resultobj;
21924 fail:
21925 return NULL;
21926}
21927
21928
21929static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21930 PyObject *resultobj;
21931 wxPrinter *arg1 = (wxPrinter *) 0 ;
21932 wxWindow *arg2 = (wxWindow *) 0 ;
21933 wxDC *result;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "parent", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = (wxDC *)(arg1)->PrintDialog(arg2);
21948
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 {
21953 resultobj = wxPyMake_wxObject(result);
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958}
21959
21960
21961static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPrinter *arg1 = (wxPrinter *) 0 ;
21964 wxWindow *arg2 = (wxWindow *) 0 ;
21965 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21966 wxString *arg4 = 0 ;
21967 bool temp4 = False ;
21968 PyObject * obj0 = 0 ;
21969 PyObject * obj1 = 0 ;
21970 PyObject * obj2 = 0 ;
21971 PyObject * obj3 = 0 ;
21972 char *kwnames[] = {
21973 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21974 };
21975
21976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21981 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21983 {
21984 arg4 = wxString_in_helper(obj3);
21985 if (arg4 == NULL) SWIG_fail;
21986 temp4 = True;
21987 }
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 Py_INCREF(Py_None); resultobj = Py_None;
21996 {
21997 if (temp4)
21998 delete arg4;
21999 }
22000 return resultobj;
22001 fail:
22002 {
22003 if (temp4)
22004 delete arg4;
22005 }
22006 return NULL;
22007}
22008
22009
22010static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxPrinter *arg1 = (wxPrinter *) 0 ;
22013 wxWindow *arg2 = (wxWindow *) 0 ;
22014 bool result;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "parent", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = (bool)(arg1)->Setup(arg2);
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22035 }
22036 return resultobj;
22037 fail:
22038 return NULL;
22039}
22040
22041
22042static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxPrinter *arg1 = (wxPrinter *) 0 ;
22045 bool result;
22046 PyObject * obj0 = 0 ;
22047 char *kwnames[] = {
22048 (char *) "self", NULL
22049 };
22050
22051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 result = (bool)(arg1)->GetAbort();
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 {
22062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22063 }
22064 return resultobj;
22065 fail:
22066 return NULL;
22067}
22068
22069
22070static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 int result;
22073 char *kwnames[] = {
22074 NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = (int)wxPrinter::GetLastError();
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_FromInt((int)result);
22086 return resultobj;
22087 fail:
22088 return NULL;
22089}
22090
22091
22092static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
22093 PyObject *obj;
22094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22095 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22096 Py_INCREF(obj);
22097 return Py_BuildValue((char *)"");
22098}
22099static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
22100 PyObject *resultobj;
22101 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22102 wxString *arg1 = (wxString *) &arg1_defvalue ;
22103 wxPyPrintout *result;
22104 bool temp1 = False ;
22105 PyObject * obj0 = 0 ;
22106 char *kwnames[] = {
22107 (char *) "title", NULL
22108 };
22109
22110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22111 if (obj0) {
22112 {
22113 arg1 = wxString_in_helper(obj0);
22114 if (arg1 == NULL) SWIG_fail;
22115 temp1 = True;
22116 }
22117 }
22118 {
0439c23b 22119 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22122
22123 wxPyEndAllowThreads(__tstate);
0439c23b 22124 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22125 }
22126 {
22127 resultobj = wxPyMake_wxObject(result);
22128 }
22129 {
22130 if (temp1)
22131 delete arg1;
22132 }
22133 return resultobj;
22134 fail:
22135 {
22136 if (temp1)
22137 delete arg1;
22138 }
22139 return NULL;
22140}
22141
22142
22143static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22146 PyObject *arg2 = (PyObject *) 0 ;
22147 PyObject *arg3 = (PyObject *) 0 ;
22148 PyObject * obj0 = 0 ;
22149 PyObject * obj1 = 0 ;
22150 PyObject * obj2 = 0 ;
22151 char *kwnames[] = {
22152 (char *) "self",(char *) "self",(char *) "_class", NULL
22153 };
22154
22155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22158 arg2 = obj1;
22159 arg3 = obj2;
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 (arg1)->_setCallbackInfo(arg2,arg3);
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 Py_INCREF(Py_None); resultobj = Py_None;
22168 return resultobj;
22169 fail:
22170 return NULL;
22171}
22172
22173
22174static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22177 wxString result;
22178 PyObject * obj0 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22186 {
22187 PyThreadState* __tstate = wxPyBeginAllowThreads();
22188 result = ((wxPyPrintout const *)arg1)->GetTitle();
22189
22190 wxPyEndAllowThreads(__tstate);
22191 if (PyErr_Occurred()) SWIG_fail;
22192 }
22193 {
22194#if wxUSE_UNICODE
22195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22196#else
22197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22198#endif
22199 }
22200 return resultobj;
22201 fail:
22202 return NULL;
22203}
22204
22205
22206static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22209 wxDC *result;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (wxDC *)(arg1)->GetDC();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 {
22226 resultobj = wxPyMake_wxObject(result);
22227 }
22228 return resultobj;
22229 fail:
22230 return NULL;
22231}
22232
22233
22234static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22237 wxDC *arg2 = (wxDC *) 0 ;
22238 PyObject * obj0 = 0 ;
22239 PyObject * obj1 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self",(char *) "dc", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 (arg1)->SetDC(arg2);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 Py_INCREF(Py_None); resultobj = Py_None;
22257 return resultobj;
22258 fail:
22259 return NULL;
22260}
22261
22262
22263static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj;
22265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22266 int arg2 ;
22267 int arg3 ;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 PyObject * obj2 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "w",(char *) "h", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22278 arg2 = (int) SWIG_AsInt(obj1);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 arg3 = (int) SWIG_AsInt(obj2);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 (arg1)->SetPageSizePixels(arg2,arg3);
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 Py_INCREF(Py_None); resultobj = Py_None;
22290 return resultobj;
22291 fail:
22292 return NULL;
22293}
22294
22295
22296static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22299 int *arg2 = (int *) 0 ;
22300 int *arg3 = (int *) 0 ;
22301 int temp2 ;
22302 int temp3 ;
22303 PyObject * obj0 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self", NULL
22306 };
22307
22308 arg2 = &temp2;
22309 arg3 = &temp3;
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->GetPageSizePixels(arg2,arg3);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 Py_INCREF(Py_None); resultobj = Py_None;
22321 {
22322 PyObject *o = PyInt_FromLong((long) (*arg2));
22323 resultobj = t_output_helper(resultobj,o);
22324 }
22325 {
22326 PyObject *o = PyInt_FromLong((long) (*arg3));
22327 resultobj = t_output_helper(resultobj,o);
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332}
22333
22334
22335static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22338 int arg2 ;
22339 int arg3 ;
22340 PyObject * obj0 = 0 ;
22341 PyObject * obj1 = 0 ;
22342 PyObject * obj2 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self",(char *) "w",(char *) "h", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22350 arg2 = (int) SWIG_AsInt(obj1);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 arg3 = (int) SWIG_AsInt(obj2);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->SetPageSizeMM(arg2,arg3);
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 Py_INCREF(Py_None); resultobj = Py_None;
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
22368static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22371 int *arg2 = (int *) 0 ;
22372 int *arg3 = (int *) 0 ;
22373 int temp2 ;
22374 int temp3 ;
22375 PyObject * obj0 = 0 ;
22376 char *kwnames[] = {
22377 (char *) "self", NULL
22378 };
22379
22380 arg2 = &temp2;
22381 arg3 = &temp3;
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->GetPageSizeMM(arg2,arg3);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 {
22394 PyObject *o = PyInt_FromLong((long) (*arg2));
22395 resultobj = t_output_helper(resultobj,o);
22396 }
22397 {
22398 PyObject *o = PyInt_FromLong((long) (*arg3));
22399 resultobj = t_output_helper(resultobj,o);
22400 }
22401 return resultobj;
22402 fail:
22403 return NULL;
22404}
22405
22406
22407static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22408 PyObject *resultobj;
22409 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22410 int arg2 ;
22411 int arg3 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 PyObject * obj2 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self",(char *) "x",(char *) "y", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22422 arg2 = (int) SWIG_AsInt(obj1);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 arg3 = (int) SWIG_AsInt(obj2);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 (arg1)->SetPPIScreen(arg2,arg3);
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 Py_INCREF(Py_None); resultobj = Py_None;
22434 return resultobj;
22435 fail:
22436 return NULL;
22437}
22438
22439
22440static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22441 PyObject *resultobj;
22442 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22443 int *arg2 = (int *) 0 ;
22444 int *arg3 = (int *) 0 ;
22445 int temp2 ;
22446 int temp3 ;
22447 PyObject * obj0 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self", NULL
22450 };
22451
22452 arg2 = &temp2;
22453 arg3 = &temp3;
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 (arg1)->GetPPIScreen(arg2,arg3);
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
22464 Py_INCREF(Py_None); resultobj = Py_None;
22465 {
22466 PyObject *o = PyInt_FromLong((long) (*arg2));
22467 resultobj = t_output_helper(resultobj,o);
22468 }
22469 {
22470 PyObject *o = PyInt_FromLong((long) (*arg3));
22471 resultobj = t_output_helper(resultobj,o);
22472 }
22473 return resultobj;
22474 fail:
22475 return NULL;
22476}
22477
22478
22479static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22482 int arg2 ;
22483 int arg3 ;
22484 PyObject * obj0 = 0 ;
22485 PyObject * obj1 = 0 ;
22486 PyObject * obj2 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "self",(char *) "x",(char *) "y", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22494 arg2 = (int) SWIG_AsInt(obj1);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 arg3 = (int) SWIG_AsInt(obj2);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 (arg1)->SetPPIPrinter(arg2,arg3);
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 Py_INCREF(Py_None); resultobj = Py_None;
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
22512static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22515 int *arg2 = (int *) 0 ;
22516 int *arg3 = (int *) 0 ;
22517 int temp2 ;
22518 int temp3 ;
22519 PyObject * obj0 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self", NULL
22522 };
22523
22524 arg2 = &temp2;
22525 arg3 = &temp3;
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 (arg1)->GetPPIPrinter(arg2,arg3);
22532
22533 wxPyEndAllowThreads(__tstate);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 Py_INCREF(Py_None); resultobj = Py_None;
22537 {
22538 PyObject *o = PyInt_FromLong((long) (*arg2));
22539 resultobj = t_output_helper(resultobj,o);
22540 }
22541 {
22542 PyObject *o = PyInt_FromLong((long) (*arg3));
22543 resultobj = t_output_helper(resultobj,o);
22544 }
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
22551static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22554 bool result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (bool)(arg1)->IsPreview();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 {
22571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22572 }
22573 return resultobj;
22574 fail:
22575 return NULL;
22576}
22577
22578
22579static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22580 PyObject *resultobj;
22581 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22582 bool arg2 ;
22583 PyObject * obj0 = 0 ;
22584 PyObject * obj1 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self",(char *) "p", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22592 arg2 = (bool) SWIG_AsBool(obj1);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->SetIsPreview(arg2);
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 Py_INCREF(Py_None); resultobj = Py_None;
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
22608static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22611 int arg2 ;
22612 int arg3 ;
22613 bool result;
22614 PyObject * obj0 = 0 ;
22615 PyObject * obj1 = 0 ;
22616 PyObject * obj2 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22624 arg2 = (int) SWIG_AsInt(obj1);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 arg3 = (int) SWIG_AsInt(obj2);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 {
22636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22637 }
22638 return resultobj;
22639 fail:
22640 return NULL;
22641}
22642
22643
22644static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj;
22646 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22647 PyObject * obj0 = 0 ;
22648 char *kwnames[] = {
22649 (char *) "self", NULL
22650 };
22651
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 (arg1)->base_OnEndDocument();
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 return resultobj;
22664 fail:
22665 return NULL;
22666}
22667
22668
22669static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22672 PyObject * obj0 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 (arg1)->base_OnBeginPrinting();
22683
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 Py_INCREF(Py_None); resultobj = Py_None;
22688 return resultobj;
22689 fail:
22690 return NULL;
22691}
22692
22693
22694static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22695 PyObject *resultobj;
22696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22697 PyObject * obj0 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->base_OnEndPrinting();
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
22713 return resultobj;
22714 fail:
22715 return NULL;
22716}
22717
22718
22719static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 (arg1)->base_OnPreparePrinting();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 Py_INCREF(Py_None); resultobj = Py_None;
22738 return resultobj;
22739 fail:
22740 return NULL;
22741}
22742
22743
22744static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22745 PyObject *resultobj;
22746 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22747 int arg2 ;
22748 bool result;
22749 PyObject * obj0 = 0 ;
22750 PyObject * obj1 = 0 ;
22751 char *kwnames[] = {
22752 (char *) "self",(char *) "page", NULL
22753 };
22754
22755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22758 arg2 = (int) SWIG_AsInt(obj1);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = (bool)(arg1)->base_HasPage(arg2);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 {
22768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22769 }
22770 return resultobj;
22771 fail:
22772 return NULL;
22773}
22774
22775
22776static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22779 int *arg2 = (int *) 0 ;
22780 int *arg3 = (int *) 0 ;
22781 int *arg4 = (int *) 0 ;
22782 int *arg5 = (int *) 0 ;
22783 int temp2 ;
22784 int temp3 ;
22785 int temp4 ;
22786 int temp5 ;
22787 PyObject * obj0 = 0 ;
22788 char *kwnames[] = {
22789 (char *) "self", NULL
22790 };
22791
22792 arg2 = &temp2;
22793 arg3 = &temp3;
22794 arg4 = &temp4;
22795 arg5 = &temp5;
22796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 {
22808 PyObject *o = PyInt_FromLong((long) (*arg2));
22809 resultobj = t_output_helper(resultobj,o);
22810 }
22811 {
22812 PyObject *o = PyInt_FromLong((long) (*arg3));
22813 resultobj = t_output_helper(resultobj,o);
22814 }
22815 {
22816 PyObject *o = PyInt_FromLong((long) (*arg4));
22817 resultobj = t_output_helper(resultobj,o);
22818 }
22819 {
22820 PyObject *o = PyInt_FromLong((long) (*arg5));
22821 resultobj = t_output_helper(resultobj,o);
22822 }
22823 return resultobj;
22824 fail:
22825 return NULL;
22826}
22827
22828
22829static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22830 PyObject *obj;
22831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22832 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22833 Py_INCREF(obj);
22834 return Py_BuildValue((char *)"");
22835}
22836static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22837 PyObject *resultobj;
22838 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22839 wxWindow *arg2 = (wxWindow *) 0 ;
22840 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22841 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22842 wxSize const &arg4_defvalue = wxDefaultSize ;
22843 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22844 long arg5 = (long) 0 ;
22845 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22846 wxString *arg6 = (wxString *) &arg6_defvalue ;
22847 wxPreviewCanvas *result;
22848 wxPoint temp3 ;
22849 wxSize temp4 ;
22850 bool temp6 = False ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 PyObject * obj2 = 0 ;
22854 PyObject * obj3 = 0 ;
22855 PyObject * obj4 = 0 ;
22856 PyObject * obj5 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22866 if (obj2) {
22867 {
22868 arg3 = &temp3;
22869 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22870 }
22871 }
22872 if (obj3) {
22873 {
22874 arg4 = &temp4;
22875 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22876 }
22877 }
22878 if (obj4) {
22879 arg5 = (long) SWIG_AsLong(obj4);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 if (obj5) {
22883 {
22884 arg6 = wxString_in_helper(obj5);
22885 if (arg6 == NULL) SWIG_fail;
22886 temp6 = True;
22887 }
22888 }
22889 {
0439c23b 22890 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22893
22894 wxPyEndAllowThreads(__tstate);
0439c23b 22895 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22896 }
22897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22898 {
22899 if (temp6)
22900 delete arg6;
22901 }
22902 return resultobj;
22903 fail:
22904 {
22905 if (temp6)
22906 delete arg6;
22907 }
22908 return NULL;
22909}
22910
22911
22912static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22913 PyObject *obj;
22914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22915 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22916 Py_INCREF(obj);
22917 return Py_BuildValue((char *)"");
22918}
22919static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22920 PyObject *resultobj;
22921 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22922 wxFrame *arg2 = (wxFrame *) 0 ;
22923 wxString *arg3 = 0 ;
22924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22926 wxSize const &arg5_defvalue = wxDefaultSize ;
22927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22928 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22929 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22930 wxString *arg7 = (wxString *) &arg7_defvalue ;
22931 wxPreviewFrame *result;
22932 bool temp3 = False ;
22933 wxPoint temp4 ;
22934 wxSize temp5 ;
22935 bool temp7 = False ;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 PyObject * obj2 = 0 ;
22939 PyObject * obj3 = 0 ;
22940 PyObject * obj4 = 0 ;
22941 PyObject * obj5 = 0 ;
22942 PyObject * obj6 = 0 ;
22943 char *kwnames[] = {
22944 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22945 };
22946
22947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22952 {
22953 arg3 = wxString_in_helper(obj2);
22954 if (arg3 == NULL) SWIG_fail;
22955 temp3 = True;
22956 }
22957 if (obj3) {
22958 {
22959 arg4 = &temp4;
22960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22961 }
22962 }
22963 if (obj4) {
22964 {
22965 arg5 = &temp5;
22966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22967 }
22968 }
22969 if (obj5) {
22970 arg6 = (long) SWIG_AsLong(obj5);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 if (obj6) {
22974 {
22975 arg7 = wxString_in_helper(obj6);
22976 if (arg7 == NULL) SWIG_fail;
22977 temp7 = True;
22978 }
22979 }
22980 {
0439c23b 22981 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22984
22985 wxPyEndAllowThreads(__tstate);
0439c23b 22986 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22987 }
22988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22989 {
22990 if (temp3)
22991 delete arg3;
22992 }
22993 {
22994 if (temp7)
22995 delete arg7;
22996 }
22997 return resultobj;
22998 fail:
22999 {
23000 if (temp3)
23001 delete arg3;
23002 }
23003 {
23004 if (temp7)
23005 delete arg7;
23006 }
23007 return NULL;
23008}
23009
23010
23011static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 (arg1)->Initialize();
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 Py_INCREF(Py_None); resultobj = Py_None;
23030 return resultobj;
23031 fail:
23032 return NULL;
23033}
23034
23035
23036static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 (arg1)->CreateControlBar();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 Py_INCREF(Py_None); resultobj = Py_None;
23055 return resultobj;
23056 fail:
23057 return NULL;
23058}
23059
23060
23061static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23064 PyObject * obj0 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 (arg1)->CreateCanvas();
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 Py_INCREF(Py_None); resultobj = Py_None;
23080 return resultobj;
23081 fail:
23082 return NULL;
23083}
23084
23085
23086static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23087 PyObject *resultobj;
23088 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23089 wxPreviewControlBar *result;
23090 PyObject * obj0 = 0 ;
23091 char *kwnames[] = {
23092 (char *) "self", NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23098 {
23099 PyThreadState* __tstate = wxPyBeginAllowThreads();
23100 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23101
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
23105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23106 return resultobj;
23107 fail:
23108 return NULL;
23109}
23110
23111
23112static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
23113 PyObject *obj;
23114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23115 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23116 Py_INCREF(obj);
23117 return Py_BuildValue((char *)"");
23118}
23119static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23120 PyObject *resultobj;
23121 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23122 long arg2 ;
23123 wxWindow *arg3 = (wxWindow *) 0 ;
23124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23126 wxSize const &arg5_defvalue = wxDefaultSize ;
23127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23128 long arg6 = (long) wxTAB_TRAVERSAL ;
23129 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23130 wxString *arg7 = (wxString *) &arg7_defvalue ;
23131 wxPreviewControlBar *result;
23132 wxPoint temp4 ;
23133 wxSize temp5 ;
23134 bool temp7 = False ;
23135 PyObject * obj0 = 0 ;
23136 PyObject * obj1 = 0 ;
23137 PyObject * obj2 = 0 ;
23138 PyObject * obj3 = 0 ;
23139 PyObject * obj4 = 0 ;
23140 PyObject * obj5 = 0 ;
23141 PyObject * obj6 = 0 ;
23142 char *kwnames[] = {
23143 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23144 };
23145
23146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23149 arg2 = (long) SWIG_AsLong(obj1);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23153 if (obj3) {
23154 {
23155 arg4 = &temp4;
23156 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23157 }
23158 }
23159 if (obj4) {
23160 {
23161 arg5 = &temp5;
23162 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23163 }
23164 }
23165 if (obj5) {
23166 arg6 = (long) SWIG_AsLong(obj5);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 if (obj6) {
23170 {
23171 arg7 = wxString_in_helper(obj6);
23172 if (arg7 == NULL) SWIG_fail;
23173 temp7 = True;
23174 }
23175 }
23176 {
0439c23b 23177 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23180
23181 wxPyEndAllowThreads(__tstate);
0439c23b 23182 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23183 }
23184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23185 {
23186 if (temp7)
23187 delete arg7;
23188 }
23189 return resultobj;
23190 fail:
23191 {
23192 if (temp7)
23193 delete arg7;
23194 }
23195 return NULL;
23196}
23197
23198
23199static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23200 PyObject *resultobj;
23201 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23202 int result;
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 result = (int)(arg1)->GetZoomControl();
23214
23215 wxPyEndAllowThreads(__tstate);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 resultobj = SWIG_FromInt((int)result);
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
23225static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23226 PyObject *resultobj;
23227 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23228 int arg2 ;
23229 PyObject * obj0 = 0 ;
23230 PyObject * obj1 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self",(char *) "zoom", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23238 arg2 = (int) SWIG_AsInt(obj1);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->SetZoomControl(arg2);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
23254static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23257 wxPrintPreview *result;
23258 PyObject * obj0 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23274 return resultobj;
23275 fail:
23276 return NULL;
23277}
23278
23279
23280static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23283 PyObject * obj0 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 (arg1)->OnNext();
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 Py_INCREF(Py_None); resultobj = Py_None;
23299 return resultobj;
23300 fail:
23301 return NULL;
23302}
23303
23304
23305static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj;
23307 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23308 PyObject * obj0 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self", NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 (arg1)->OnPrevious();
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 Py_INCREF(Py_None); resultobj = Py_None;
23324 return resultobj;
23325 fail:
23326 return NULL;
23327}
23328
23329
23330static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23333 PyObject * obj0 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 (arg1)->OnFirst();
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 Py_INCREF(Py_None); resultobj = Py_None;
23349 return resultobj;
23350 fail:
23351 return NULL;
23352}
23353
23354
23355static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23358 PyObject * obj0 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 (arg1)->OnLast();
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 Py_INCREF(Py_None); resultobj = Py_None;
23374 return resultobj;
23375 fail:
23376 return NULL;
23377}
23378
23379
23380static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23381 PyObject *resultobj;
23382 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23383 PyObject * obj0 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->OnGoto();
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402}
23403
23404
23405static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23406 PyObject *obj;
23407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23408 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23409 Py_INCREF(obj);
23410 return Py_BuildValue((char *)"");
23411}
23412static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23413 PyObject *resultobj;
23414 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23415 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23416 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23417 wxPrintPreview *result;
23418 PyObject * obj0 = 0 ;
23419 PyObject * obj1 = 0 ;
23420 PyObject * obj2 = 0 ;
23421
23422 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23427 if (obj2) {
23428 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23430 }
23431 {
0439c23b 23432 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23435
23436 wxPyEndAllowThreads(__tstate);
0439c23b 23437 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23438 }
23439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23440 return resultobj;
23441 fail:
23442 return NULL;
23443}
23444
23445
23446static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23447 PyObject *resultobj;
23448 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23449 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23450 wxPrintData *arg3 = (wxPrintData *) 0 ;
23451 wxPrintPreview *result;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 PyObject * obj2 = 0 ;
23455
23456 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23461 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23463 {
0439c23b 23464 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23467
23468 wxPyEndAllowThreads(__tstate);
0439c23b 23469 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23470 }
23471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23472 return resultobj;
23473 fail:
23474 return NULL;
23475}
23476
23477
23478static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23479 int argc;
23480 PyObject *argv[4];
23481 int ii;
23482
23483 argc = PyObject_Length(args);
23484 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23485 argv[ii] = PyTuple_GetItem(args,ii);
23486 }
23487 if ((argc >= 2) && (argc <= 3)) {
23488 int _v;
23489 {
23490 void *ptr;
23491 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23492 _v = 0;
23493 PyErr_Clear();
23494 } else {
23495 _v = 1;
23496 }
23497 }
23498 if (_v) {
23499 {
23500 void *ptr;
23501 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23502 _v = 0;
23503 PyErr_Clear();
23504 } else {
23505 _v = 1;
23506 }
23507 }
23508 if (_v) {
23509 if (argc <= 2) {
23510 return _wrap_new_PrintPreview__SWIG_0(self,args);
23511 }
23512 {
23513 void *ptr;
23514 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23515 _v = 0;
23516 PyErr_Clear();
23517 } else {
23518 _v = 1;
23519 }
23520 }
23521 if (_v) {
23522 return _wrap_new_PrintPreview__SWIG_0(self,args);
23523 }
23524 }
23525 }
23526 }
23527 if (argc == 3) {
23528 int _v;
23529 {
23530 void *ptr;
23531 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23532 _v = 0;
23533 PyErr_Clear();
23534 } else {
23535 _v = 1;
23536 }
23537 }
23538 if (_v) {
23539 {
23540 void *ptr;
23541 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23542 _v = 0;
23543 PyErr_Clear();
23544 } else {
23545 _v = 1;
23546 }
23547 }
23548 if (_v) {
23549 {
23550 void *ptr;
23551 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23552 _v = 0;
23553 PyErr_Clear();
23554 } else {
23555 _v = 1;
23556 }
23557 }
23558 if (_v) {
23559 return _wrap_new_PrintPreview__SWIG_1(self,args);
23560 }
23561 }
23562 }
23563 }
23564
23565 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23566 return NULL;
23567}
23568
23569
23570static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23573 int arg2 ;
23574 bool result;
23575 PyObject * obj0 = 0 ;
23576 PyObject * obj1 = 0 ;
23577 char *kwnames[] = {
23578 (char *) "self",(char *) "pageNum", NULL
23579 };
23580
23581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23584 arg2 = (int) SWIG_AsInt(obj1);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 result = (bool)(arg1)->SetCurrentPage(arg2);
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 {
23594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23595 }
23596 return resultobj;
23597 fail:
23598 return NULL;
23599}
23600
23601
23602static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj;
23604 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23605 int result;
23606 PyObject * obj0 = 0 ;
23607 char *kwnames[] = {
23608 (char *) "self", NULL
23609 };
23610
23611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = (int)(arg1)->GetCurrentPage();
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 resultobj = SWIG_FromInt((int)result);
23622 return resultobj;
23623 fail:
23624 return NULL;
23625}
23626
23627
23628static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23629 PyObject *resultobj;
23630 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23631 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23632 PyObject * obj0 = 0 ;
23633 PyObject * obj1 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self",(char *) "printout", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 (arg1)->SetPrintout(arg2);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 Py_INCREF(Py_None); resultobj = Py_None;
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23660 wxPyPrintout *result;
23661 PyObject * obj0 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (wxPyPrintout *)(arg1)->GetPrintout();
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 {
23677 resultobj = wxPyMake_wxObject(result);
23678 }
23679 return resultobj;
23680 fail:
23681 return NULL;
23682}
23683
23684
23685static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23688 wxPyPrintout *result;
23689 PyObject * obj0 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 {
23705 resultobj = wxPyMake_wxObject(result);
23706 }
23707 return resultobj;
23708 fail:
23709 return NULL;
23710}
23711
23712
23713static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23716 wxFrame *arg2 = (wxFrame *) 0 ;
23717 PyObject * obj0 = 0 ;
23718 PyObject * obj1 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self",(char *) "frame", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 (arg1)->SetFrame(arg2);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 Py_INCREF(Py_None); resultobj = Py_None;
23736 return resultobj;
23737 fail:
23738 return NULL;
23739}
23740
23741
23742static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23743 PyObject *resultobj;
23744 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23745 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23746 PyObject * obj0 = 0 ;
23747 PyObject * obj1 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self",(char *) "canvas", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 (arg1)->SetCanvas(arg2);
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 Py_INCREF(Py_None); resultobj = Py_None;
23765 return resultobj;
23766 fail:
23767 return NULL;
23768}
23769
23770
23771static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj;
23773 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23774 wxFrame *result;
23775 PyObject * obj0 = 0 ;
23776 char *kwnames[] = {
23777 (char *) "self", NULL
23778 };
23779
23780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (wxFrame *)(arg1)->GetFrame();
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 {
23791 resultobj = wxPyMake_wxObject(result);
23792 }
23793 return resultobj;
23794 fail:
23795 return NULL;
23796}
23797
23798
23799static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23802 wxPreviewCanvas *result;
23803 PyObject * obj0 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23819 return resultobj;
23820 fail:
23821 return NULL;
23822}
23823
23824
23825static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj;
23827 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23828 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23829 wxDC *arg3 = 0 ;
23830 bool result;
23831 PyObject * obj0 = 0 ;
23832 PyObject * obj1 = 0 ;
23833 PyObject * obj2 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23843 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1)
23845 SWIG_fail;
23846 if (arg3 == NULL) {
23847 PyErr_SetString(PyExc_TypeError,"null reference");
23848 SWIG_fail;
23849 }
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 {
23858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23859 }
23860 return resultobj;
23861 fail:
23862 return NULL;
23863}
23864
23865
23866static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23867 PyObject *resultobj;
23868 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23869 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23870 wxDC *arg3 = 0 ;
23871 bool result;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 PyObject * obj2 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23884 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1)
23886 SWIG_fail;
23887 if (arg3 == NULL) {
23888 PyErr_SetString(PyExc_TypeError,"null reference");
23889 SWIG_fail;
23890 }
23891 {
23892 PyThreadState* __tstate = wxPyBeginAllowThreads();
23893 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23894
23895 wxPyEndAllowThreads(__tstate);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 }
23898 {
23899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23900 }
23901 return resultobj;
23902 fail:
23903 return NULL;
23904}
23905
23906
23907static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23908 PyObject *resultobj;
23909 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23910 int arg2 ;
23911 bool result;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self",(char *) "pageNum", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23921 arg2 = (int) SWIG_AsInt(obj1);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 result = (bool)(arg1)->RenderPage(arg2);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 {
23931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23932 }
23933 return resultobj;
23934 fail:
23935 return NULL;
23936}
23937
23938
23939static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23940 PyObject *resultobj;
23941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23942 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self",(char *) "canvas", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 (arg1)->AdjustScrollbars(arg2);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 Py_INCREF(Py_None); resultobj = Py_None;
23962 return resultobj;
23963 fail:
23964 return NULL;
23965}
23966
23967
23968static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23969 PyObject *resultobj;
23970 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23971 wxPrintDialogData *result;
23972 PyObject * obj0 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 {
23983 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23984 result = (wxPrintDialogData *) &_result_ref;
23985 }
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23991 return resultobj;
23992 fail:
23993 return NULL;
23994}
23995
23996
23997static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23998 PyObject *resultobj;
23999 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24000 int arg2 ;
24001 PyObject * obj0 = 0 ;
24002 PyObject * obj1 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self",(char *) "percent", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24010 arg2 = (int) SWIG_AsInt(obj1);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 (arg1)->SetZoom(arg2);
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 Py_INCREF(Py_None); resultobj = Py_None;
24020 return resultobj;
24021 fail:
24022 return NULL;
24023}
24024
24025
24026static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24029 int result;
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24038 {
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
24040 result = (int)(arg1)->GetZoom();
24041
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
24045 resultobj = SWIG_FromInt((int)result);
24046 return resultobj;
24047 fail:
24048 return NULL;
24049}
24050
24051
24052static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj;
24054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24055 int result;
24056 PyObject * obj0 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (int)(arg1)->GetMaxPage();
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
24071 resultobj = SWIG_FromInt((int)result);
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
24078static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24081 int result;
24082 PyObject * obj0 = 0 ;
24083 char *kwnames[] = {
24084 (char *) "self", NULL
24085 };
24086
24087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (int)(arg1)->GetMinPage();
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 resultobj = SWIG_FromInt((int)result);
24098 return resultobj;
24099 fail:
24100 return NULL;
24101}
24102
24103
24104static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24107 bool result;
24108 PyObject * obj0 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (bool)(arg1)->Ok();
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 {
24124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24125 }
24126 return resultobj;
24127 fail:
24128 return NULL;
24129}
24130
24131
24132static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24135 bool arg2 ;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 char *kwnames[] = {
24139 (char *) "self",(char *) "ok", NULL
24140 };
24141
24142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 arg2 = (bool) SWIG_AsBool(obj1);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 (arg1)->SetOk(arg2);
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 Py_INCREF(Py_None); resultobj = Py_None;
24155 return resultobj;
24156 fail:
24157 return NULL;
24158}
24159
24160
24161static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24164 bool arg2 ;
24165 bool result;
24166 PyObject * obj0 = 0 ;
24167 PyObject * obj1 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self",(char *) "interactive", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24175 arg2 = (bool) SWIG_AsBool(obj1);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 result = (bool)(arg1)->Print(arg2);
24180
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 {
24185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24186 }
24187 return resultobj;
24188 fail:
24189 return NULL;
24190}
24191
24192
24193static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24196 PyObject * obj0 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 (arg1)->DetermineScaling();
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 Py_INCREF(Py_None); resultobj = Py_None;
24212 return resultobj;
24213 fail:
24214 return NULL;
24215}
24216
24217
24218static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
24219 PyObject *obj;
24220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24221 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24222 Py_INCREF(obj);
24223 return Py_BuildValue((char *)"");
24224}
24225static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
24226 PyObject *resultobj;
24227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24228 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24229 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24230 wxPyPrintPreview *result;
24231 PyObject * obj0 = 0 ;
24232 PyObject * obj1 = 0 ;
24233 PyObject * obj2 = 0 ;
24234
24235 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 if (obj2) {
24241 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24243 }
24244 {
0439c23b 24245 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24248
24249 wxPyEndAllowThreads(__tstate);
0439c23b 24250 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24251 }
24252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24253 return resultobj;
24254 fail:
24255 return NULL;
24256}
24257
24258
24259static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
24260 PyObject *resultobj;
24261 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24262 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24263 wxPrintData *arg3 = (wxPrintData *) 0 ;
24264 wxPyPrintPreview *result;
24265 PyObject * obj0 = 0 ;
24266 PyObject * obj1 = 0 ;
24267 PyObject * obj2 = 0 ;
24268
24269 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24274 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24276 {
0439c23b 24277 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24280
24281 wxPyEndAllowThreads(__tstate);
0439c23b 24282 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24283 }
24284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24285 return resultobj;
24286 fail:
24287 return NULL;
24288}
24289
24290
24291static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24292 int argc;
24293 PyObject *argv[4];
24294 int ii;
24295
24296 argc = PyObject_Length(args);
24297 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24298 argv[ii] = PyTuple_GetItem(args,ii);
24299 }
24300 if ((argc >= 2) && (argc <= 3)) {
24301 int _v;
24302 {
24303 void *ptr;
24304 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24305 _v = 0;
24306 PyErr_Clear();
24307 } else {
24308 _v = 1;
24309 }
24310 }
24311 if (_v) {
24312 {
24313 void *ptr;
24314 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24315 _v = 0;
24316 PyErr_Clear();
24317 } else {
24318 _v = 1;
24319 }
24320 }
24321 if (_v) {
24322 if (argc <= 2) {
24323 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24324 }
24325 {
24326 void *ptr;
24327 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24328 _v = 0;
24329 PyErr_Clear();
24330 } else {
24331 _v = 1;
24332 }
24333 }
24334 if (_v) {
24335 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24336 }
24337 }
24338 }
24339 }
24340 if (argc == 3) {
24341 int _v;
24342 {
24343 void *ptr;
24344 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24345 _v = 0;
24346 PyErr_Clear();
24347 } else {
24348 _v = 1;
24349 }
24350 }
24351 if (_v) {
24352 {
24353 void *ptr;
24354 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24355 _v = 0;
24356 PyErr_Clear();
24357 } else {
24358 _v = 1;
24359 }
24360 }
24361 if (_v) {
24362 {
24363 void *ptr;
24364 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24365 _v = 0;
24366 PyErr_Clear();
24367 } else {
24368 _v = 1;
24369 }
24370 }
24371 if (_v) {
24372 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24373 }
24374 }
24375 }
24376 }
24377
24378 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24379 return NULL;
24380}
24381
24382
24383static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24384 PyObject *resultobj;
24385 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24386 PyObject *arg2 = (PyObject *) 0 ;
24387 PyObject *arg3 = (PyObject *) 0 ;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj1 = 0 ;
24390 PyObject * obj2 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self",(char *) "self",(char *) "_class", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 arg2 = obj1;
24399 arg3 = obj2;
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 (arg1)->_setCallbackInfo(arg2,arg3);
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 Py_INCREF(Py_None); resultobj = Py_None;
24408 return resultobj;
24409 fail:
24410 return NULL;
24411}
24412
24413
24414static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24417 int arg2 ;
24418 bool result;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 char *kwnames[] = {
24422 (char *) "self",(char *) "pageNum", NULL
24423 };
24424
24425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24428 arg2 = (int) SWIG_AsInt(obj1);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 {
24431 PyThreadState* __tstate = wxPyBeginAllowThreads();
24432 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24433
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 {
24438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24439 }
24440 return resultobj;
24441 fail:
24442 return NULL;
24443}
24444
24445
24446static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24447 PyObject *resultobj;
24448 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24449 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24450 wxDC *arg3 = 0 ;
24451 bool result;
24452 PyObject * obj0 = 0 ;
24453 PyObject * obj1 = 0 ;
24454 PyObject * obj2 = 0 ;
24455 char *kwnames[] = {
24456 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24457 };
24458
24459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1)
24466 SWIG_fail;
24467 if (arg3 == NULL) {
24468 PyErr_SetString(PyExc_TypeError,"null reference");
24469 SWIG_fail;
24470 }
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 {
24479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24480 }
24481 return resultobj;
24482 fail:
24483 return NULL;
24484}
24485
24486
24487static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24488 PyObject *resultobj;
24489 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24490 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24491 wxDC *arg3 = 0 ;
24492 bool result;
24493 PyObject * obj0 = 0 ;
24494 PyObject * obj1 = 0 ;
24495 PyObject * obj2 = 0 ;
24496 char *kwnames[] = {
24497 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24498 };
24499
24500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24505 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1)
24507 SWIG_fail;
24508 if (arg3 == NULL) {
24509 PyErr_SetString(PyExc_TypeError,"null reference");
24510 SWIG_fail;
24511 }
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24515
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 {
24520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24521 }
24522 return resultobj;
24523 fail:
24524 return NULL;
24525}
24526
24527
24528static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24529 PyObject *resultobj;
24530 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24531 int arg2 ;
24532 bool result;
24533 PyObject * obj0 = 0 ;
24534 PyObject * obj1 = 0 ;
24535 char *kwnames[] = {
24536 (char *) "self",(char *) "pageNum", NULL
24537 };
24538
24539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24542 arg2 = (int) SWIG_AsInt(obj1);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 {
24545 PyThreadState* __tstate = wxPyBeginAllowThreads();
24546 result = (bool)(arg1)->base_RenderPage(arg2);
24547
24548 wxPyEndAllowThreads(__tstate);
24549 if (PyErr_Occurred()) SWIG_fail;
24550 }
24551 {
24552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24553 }
24554 return resultobj;
24555 fail:
24556 return NULL;
24557}
24558
24559
24560static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24561 PyObject *resultobj;
24562 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24563 int arg2 ;
24564 PyObject * obj0 = 0 ;
24565 PyObject * obj1 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self",(char *) "percent", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24573 arg2 = (int) SWIG_AsInt(obj1);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 {
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 (arg1)->base_SetZoom(arg2);
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 Py_INCREF(Py_None); resultobj = Py_None;
24583 return resultobj;
24584 fail:
24585 return NULL;
24586}
24587
24588
24589static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj;
24591 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24592 bool arg2 ;
24593 bool result;
24594 PyObject * obj0 = 0 ;
24595 PyObject * obj1 = 0 ;
24596 char *kwnames[] = {
24597 (char *) "self",(char *) "interactive", NULL
24598 };
24599
24600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24603 arg2 = (bool) SWIG_AsBool(obj1);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = (bool)(arg1)->base_Print(arg2);
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 {
24613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24614 }
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
24621static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24624 PyObject * obj0 = 0 ;
24625 char *kwnames[] = {
24626 (char *) "self", NULL
24627 };
24628
24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24632 {
24633 PyThreadState* __tstate = wxPyBeginAllowThreads();
24634 (arg1)->base_DetermineScaling();
24635
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 Py_INCREF(Py_None); resultobj = Py_None;
24640 return resultobj;
24641 fail:
24642 return NULL;
24643}
24644
24645
24646static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24647 PyObject *obj;
24648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24649 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24650 Py_INCREF(obj);
24651 return Py_BuildValue((char *)"");
24652}
24653static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj;
24655 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24656 wxFrame *arg2 = (wxFrame *) 0 ;
24657 wxString *arg3 = 0 ;
24658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24660 wxSize const &arg5_defvalue = wxDefaultSize ;
24661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24662 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24663 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24664 wxString *arg7 = (wxString *) &arg7_defvalue ;
24665 wxPyPreviewFrame *result;
24666 bool temp3 = False ;
24667 wxPoint temp4 ;
24668 wxSize temp5 ;
24669 bool temp7 = False ;
24670 PyObject * obj0 = 0 ;
24671 PyObject * obj1 = 0 ;
24672 PyObject * obj2 = 0 ;
24673 PyObject * obj3 = 0 ;
24674 PyObject * obj4 = 0 ;
24675 PyObject * obj5 = 0 ;
24676 PyObject * obj6 = 0 ;
24677 char *kwnames[] = {
24678 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24679 };
24680
24681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 {
24687 arg3 = wxString_in_helper(obj2);
24688 if (arg3 == NULL) SWIG_fail;
24689 temp3 = True;
24690 }
24691 if (obj3) {
24692 {
24693 arg4 = &temp4;
24694 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24695 }
24696 }
24697 if (obj4) {
24698 {
24699 arg5 = &temp5;
24700 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24701 }
24702 }
24703 if (obj5) {
24704 arg6 = (long) SWIG_AsLong(obj5);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 if (obj6) {
24708 {
24709 arg7 = wxString_in_helper(obj6);
24710 if (arg7 == NULL) SWIG_fail;
24711 temp7 = True;
24712 }
24713 }
24714 {
0439c23b 24715 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24718
24719 wxPyEndAllowThreads(__tstate);
0439c23b 24720 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24721 }
24722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24723 {
24724 if (temp3)
24725 delete arg3;
24726 }
24727 {
24728 if (temp7)
24729 delete arg7;
24730 }
24731 return resultobj;
24732 fail:
24733 {
24734 if (temp3)
24735 delete arg3;
24736 }
24737 {
24738 if (temp7)
24739 delete arg7;
24740 }
24741 return NULL;
24742}
24743
24744
24745static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj;
24747 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24748 PyObject *arg2 = (PyObject *) 0 ;
24749 PyObject *arg3 = (PyObject *) 0 ;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 PyObject * obj2 = 0 ;
24753 char *kwnames[] = {
24754 (char *) "self",(char *) "self",(char *) "_class", NULL
24755 };
24756
24757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24760 arg2 = obj1;
24761 arg3 = obj2;
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 (arg1)->_setCallbackInfo(arg2,arg3);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 Py_INCREF(Py_None); resultobj = Py_None;
24770 return resultobj;
24771 fail:
24772 return NULL;
24773}
24774
24775
24776static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj;
24778 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24779 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24780 PyObject * obj0 = 0 ;
24781 PyObject * obj1 = 0 ;
24782 char *kwnames[] = {
24783 (char *) "self",(char *) "canvas", NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 (arg1)->SetPreviewCanvas(arg2);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 Py_INCREF(Py_None); resultobj = Py_None;
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
24805static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24808 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24809 PyObject * obj0 = 0 ;
24810 PyObject * obj1 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self",(char *) "bar", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 (arg1)->SetControlBar(arg2);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 Py_INCREF(Py_None); resultobj = Py_None;
24828 return resultobj;
24829 fail:
24830 return NULL;
24831}
24832
24833
24834static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24835 PyObject *resultobj;
24836 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24837 PyObject * obj0 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "self", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 (arg1)->base_Initialize();
24848
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 Py_INCREF(Py_None); resultobj = Py_None;
24853 return resultobj;
24854 fail:
24855 return NULL;
24856}
24857
24858
24859static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24860 PyObject *resultobj;
24861 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 (arg1)->base_CreateCanvas();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 Py_INCREF(Py_None); resultobj = Py_None;
24878 return resultobj;
24879 fail:
24880 return NULL;
24881}
24882
24883
24884static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24887 PyObject * obj0 = 0 ;
24888 char *kwnames[] = {
24889 (char *) "self", NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 (arg1)->base_CreateControlBar();
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 Py_INCREF(Py_None); resultobj = Py_None;
24903 return resultobj;
24904 fail:
24905 return NULL;
24906}
24907
24908
24909static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24910 PyObject *obj;
24911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24912 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24913 Py_INCREF(obj);
24914 return Py_BuildValue((char *)"");
24915}
24916static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj;
24918 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24919 long arg2 ;
24920 wxWindow *arg3 = (wxWindow *) 0 ;
24921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24923 wxSize const &arg5_defvalue = wxDefaultSize ;
24924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24925 long arg6 = (long) 0 ;
24926 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24927 wxString *arg7 = (wxString *) &arg7_defvalue ;
24928 wxPyPreviewControlBar *result;
24929 wxPoint temp4 ;
24930 wxSize temp5 ;
24931 bool temp7 = False ;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj1 = 0 ;
24934 PyObject * obj2 = 0 ;
24935 PyObject * obj3 = 0 ;
24936 PyObject * obj4 = 0 ;
24937 PyObject * obj5 = 0 ;
24938 PyObject * obj6 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24941 };
24942
24943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24946 arg2 = (long) SWIG_AsLong(obj1);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24950 if (obj3) {
24951 {
24952 arg4 = &temp4;
24953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24954 }
24955 }
24956 if (obj4) {
24957 {
24958 arg5 = &temp5;
24959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24960 }
24961 }
24962 if (obj5) {
24963 arg6 = (long) SWIG_AsLong(obj5);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 if (obj6) {
24967 {
24968 arg7 = wxString_in_helper(obj6);
24969 if (arg7 == NULL) SWIG_fail;
24970 temp7 = True;
24971 }
24972 }
24973 {
0439c23b 24974 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24977
24978 wxPyEndAllowThreads(__tstate);
0439c23b 24979 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24980 }
24981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24982 {
24983 if (temp7)
24984 delete arg7;
24985 }
24986 return resultobj;
24987 fail:
24988 {
24989 if (temp7)
24990 delete arg7;
24991 }
24992 return NULL;
24993}
24994
24995
24996static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24999 PyObject *arg2 = (PyObject *) 0 ;
25000 PyObject *arg3 = (PyObject *) 0 ;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 PyObject * obj2 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "self",(char *) "self",(char *) "_class", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25011 arg2 = obj1;
25012 arg3 = obj2;
25013 {
25014 PyThreadState* __tstate = wxPyBeginAllowThreads();
25015 (arg1)->_setCallbackInfo(arg2,arg3);
25016
25017 wxPyEndAllowThreads(__tstate);
25018 if (PyErr_Occurred()) SWIG_fail;
25019 }
25020 Py_INCREF(Py_None); resultobj = Py_None;
25021 return resultobj;
25022 fail:
25023 return NULL;
25024}
25025
25026
25027static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
25028 PyObject *resultobj;
25029 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25030 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25031 PyObject * obj0 = 0 ;
25032 PyObject * obj1 = 0 ;
25033 char *kwnames[] = {
25034 (char *) "self",(char *) "preview", NULL
25035 };
25036
25037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 (arg1)->SetPrintPreview(arg2);
25045
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 Py_INCREF(Py_None); resultobj = Py_None;
25050 return resultobj;
25051 fail:
25052 return NULL;
25053}
25054
25055
25056static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25059 PyObject * obj0 = 0 ;
25060 char *kwnames[] = {
25061 (char *) "self", NULL
25062 };
25063
25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 (arg1)->base_CreateButtons();
25070
25071 wxPyEndAllowThreads(__tstate);
25072 if (PyErr_Occurred()) SWIG_fail;
25073 }
25074 Py_INCREF(Py_None); resultobj = Py_None;
25075 return resultobj;
25076 fail:
25077 return NULL;
25078}
25079
25080
25081static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25082 PyObject *resultobj;
25083 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25084 int arg2 ;
25085 PyObject * obj0 = 0 ;
25086 PyObject * obj1 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self",(char *) "zoom", NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25094 arg2 = (int) SWIG_AsInt(obj1);
25095 if (PyErr_Occurred()) SWIG_fail;
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 (arg1)->base_SetZoomControl(arg2);
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 Py_INCREF(Py_None); resultobj = Py_None;
25104 return resultobj;
25105 fail:
25106 return NULL;
25107}
25108
25109
25110static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
25111 PyObject *obj;
25112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25113 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25114 Py_INCREF(obj);
25115 return Py_BuildValue((char *)"");
25116}
25117static PyMethodDef SwigMethods[] = {
25118 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 25122 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25123 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
25124 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
25139 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
25140 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 25146 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25147 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
25148 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
25162 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 25184 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25185 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
25186 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 25196 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25197 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
25198 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
25202 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
25206 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
25211 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 25225 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25226 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
25227 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 25253 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25254 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
25255 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
25262 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
25285 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
25293 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
25305 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
25311 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
25320 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
25326 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
25331 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
25337 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
25341 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
25359 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25385 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
c24da6d6 25391 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25392 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25393 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25402 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25404 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25413 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25416 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25423 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25441 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25445 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25450 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25454 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25466 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25470 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25473 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25475 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25479 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25488 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25497 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25503 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25506 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25518 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25525 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25529 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
caef1a4d 25532 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25533 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
caef1a4d 25553 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25554 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25555 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
caef1a4d 25558 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25559 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
caef1a4d 25579 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25580 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25581 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
caef1a4d 25584 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
25585 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
caef1a4d 25605 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 25606 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
09c21d3b 25607 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
d55e5bfc
RD
25608 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
09c21d3b 25653 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
d55e5bfc
RD
25654 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25685 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25689 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25690 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25723 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25726 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25727 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25728 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25729 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25730 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25737 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25738 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25739 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25740 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25745 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25752 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25762 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25764 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25767 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25770 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25778 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25780 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25781 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25804 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25805 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25814 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25822 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25828 { NULL, NULL }
25829};
25830
25831
25832/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25833
25834static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25835 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25836}
25837static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25838 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25839}
25840static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25841 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25842}
25843static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25844 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25845}
25846static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25847 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25848}
25849static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25850 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25851}
25852static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25853 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25854}
25855static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25856 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25857}
25858static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25859 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25860}
25861static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25862 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25863}
25864static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25865 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25866}
25867static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25868 return (void *)((wxEvent *) ((wxPyEvent *) x));
25869}
25870static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25871 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25872}
25873static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25874 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25875}
25876static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25877 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25878}
25879static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25880 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25881}
25882static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25883 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25884}
25885static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25886 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25887}
25888static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25889 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25890}
25891static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25892 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25893}
25894static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25895 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25896}
25897static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25898 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25899}
25900static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25901 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25902}
25903static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25904 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25905}
25906static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25907 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25908}
25909static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25910 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25911}
25912static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25913 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25914}
25915static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25916 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25917}
25918static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25919 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25920}
25921static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25922 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25923}
25924static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25925 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25926}
25927static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25928 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25929}
25930static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25931 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25932}
25933static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25934 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25935}
25936static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25937 return (void *)((wxEvent *) ((wxShowEvent *) x));
25938}
25939static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25940 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25941}
25942static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25944}
25945static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25946 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25947}
25948static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25949 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25950}
25951static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25952 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25953}
25954static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25955 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25956}
25957static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25958 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25959}
25960static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25961 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25962}
25963static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25965}
25966static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25967 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25968}
25969static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25970 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25971}
25972static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25973 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25974}
25975static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25976 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25977}
25978static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25979 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25980}
25981static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25982 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25983}
25984static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25985 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25986}
25987static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25988 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25989}
25990static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25991 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25992}
25993static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25995}
25996static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25998}
25999static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26001}
26002static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26004}
26005static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26006 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26007}
26008static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26009 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26010}
26011static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26012 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26013}
26014static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26015 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26016}
26017static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26018 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26019}
26020static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26022}
26023static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26024 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26025}
26026static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26027 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26028}
26029static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26030 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26031}
26032static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26033 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26034}
26035static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26036 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26037}
26038static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26039 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26040}
26041static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26042 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26043}
26044static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26045 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26046}
26047static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26048 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26049}
26050static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26051 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26052}
26053static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26055}
26056static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26058}
26059static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26061}
26062static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26063 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26064}
26065static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26067}
26068static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26069 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26070}
26071static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26072 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26073}
26074static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26076}
26077static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26078 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26079}
26080static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26081 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26082}
26083static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26084 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26085}
26086static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26087 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26088}
26089static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26090 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26091}
26092static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26094}
26095static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26097}
26098static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26100}
26101static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26103}
26104static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26106}
26107static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26109}
26110static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26112}
26113static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26114 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26115}
26116static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26117 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26118}
26119static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26120 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26121}
26122static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26123 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26124}
26125static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26126 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26127}
26128static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26129 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26130}
26131static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26132 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26133}
26134static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26135 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26136}
26137static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26138 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26139}
26140static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26141 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26142}
26143static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26145}
26146static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26148}
26149static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26150 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26151}
26152static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26153 return (void *)((wxObject *) ((wxSizerItem *) x));
26154}
26155static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26157}
26158static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26159 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26160}
26161static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26162 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26163}
26164static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26165 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26166}
26167static void *_p_wxSizerTo_p_wxObject(void *x) {
26168 return (void *)((wxObject *) ((wxSizer *) x));
26169}
26170static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26171 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26172}
26173static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26175}
26176static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26178}
26179static void *_p_wxEventTo_p_wxObject(void *x) {
26180 return (void *)((wxObject *) ((wxEvent *) x));
26181}
26182static void *_p_wxFontDataTo_p_wxObject(void *x) {
26183 return (void *)((wxObject *) ((wxFontData *) x));
26184}
26185static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26186 return (void *)((wxObject *) ((wxPrintData *) x));
26187}
26188static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26189 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26190}
26191static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26192 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26193}
26194static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26195 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26196}
26197static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26198 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26199}
26200static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26201 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26202}
26203static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26204 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26205}
26206static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26207 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26208}
26209static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26210 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26211}
26212static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26213 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26214}
26215static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26216 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26217}
26218static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26219 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26220}
26221static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26222 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26223}
26224static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26226}
26227static void *_p_wxControlTo_p_wxObject(void *x) {
26228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26229}
26230static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26231 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26232}
26233static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26234 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26235}
26236static void *_p_wxFSFileTo_p_wxObject(void *x) {
26237 return (void *)((wxObject *) ((wxFSFile *) x));
26238}
26239static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26240 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26241}
26242static void *_p_wxPySizerTo_p_wxObject(void *x) {
26243 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26244}
26245static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26247}
26248static void *_p_wxColourDataTo_p_wxObject(void *x) {
26249 return (void *)((wxObject *) ((wxColourData *) x));
26250}
26251static void *_p_wxPyEventTo_p_wxObject(void *x) {
26252 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26253}
26254static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26256}
26257static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26259}
26260static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26262}
26263static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26265}
26266static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26268}
26269static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26271}
26272static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26274}
26275static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26277}
26278static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26280}
26281static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26283}
26284static void *_p_wxShowEventTo_p_wxObject(void *x) {
26285 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26286}
26287static void *_p_wxPrinterTo_p_wxObject(void *x) {
26288 return (void *)((wxObject *) ((wxPrinter *) x));
26289}
26290static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26291 return (void *)((wxObject *) ((wxMenuItem *) x));
26292}
26293static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26294 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26295}
26296static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26298}
26299static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26300 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26301}
26302static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26303 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26304}
26305static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26306 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26307}
26308static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26309 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26310}
26311static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26312 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26313}
26314static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26315 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26316}
26317static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26318 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26319}
26320static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26321 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26322}
26323static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26324 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26325}
26326static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26327 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26328}
26329static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26330 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26331}
26332static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26333 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26334}
26335static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26336 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26337}
26338static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26339 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26340}
26341static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26342 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26343}
26344static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26345 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26346}
26347static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26348 return (void *)((wxObject *) ((wxImageHandler *) x));
26349}
26350static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26351 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26352}
26353static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26354 return (void *)((wxObject *) ((wxEvtHandler *) x));
26355}
26356static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26357 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26358}
26359static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26361}
26362static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26364}
26365static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26366 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26367}
26368static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26370}
26371static void *_p_wxImageTo_p_wxObject(void *x) {
26372 return (void *)((wxObject *) ((wxImage *) x));
26373}
26374static void *_p_wxFrameTo_p_wxObject(void *x) {
26375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26376}
26377static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26378 return (void *)((wxObject *) ((wxPyPrintout *) x));
26379}
26380static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26381 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26382}
26383static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26384 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26385}
26386static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26388}
26389static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26391}
26392static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26394}
26395static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26396 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26397}
26398static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26399 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26400}
26401static void *_p_wxWindowTo_p_wxObject(void *x) {
26402 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26403}
26404static void *_p_wxMenuTo_p_wxObject(void *x) {
26405 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26406}
26407static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26409}
26410static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26412}
26413static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26415}
26416static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26418}
26419static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26421}
26422static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26424}
26425static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26427}
26428static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26430}
26431static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26433}
26434static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26436}
26437static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26439}
26440static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26442}
26443static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26445}
26446static void *_p_wxSashEventTo_p_wxObject(void *x) {
26447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26448}
26449static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26450 return (void *)((wxObject *) ((wxPrintPreview *) x));
26451}
26452static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26453 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26454}
26455static void *_p_wxPanelTo_p_wxObject(void *x) {
26456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26457}
26458static void *_p_wxDialogTo_p_wxObject(void *x) {
26459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26460}
26461static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26463}
26464static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26466}
26467static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26469}
26470static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26472}
26473static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26475}
26476static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26477 return (void *)((wxObject *) ((wxFileSystem *) x));
26478}
26479static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26480 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26481}
26482static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26483 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26484}
26485static void *_p_wxPyAppTo_p_wxObject(void *x) {
26486 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26487}
26488static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26489 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26490}
26491static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26492 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26493}
26494static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26495 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26496}
26497static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26499}
26500static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26501 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26502}
26503static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26505}
26506static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26508}
26509static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26510 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26511}
26512static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26513 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26514}
26515static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26517}
26518static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26520}
26521static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26522 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26523}
26524static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26525 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26526}
26527static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26528 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26529}
26530static void *_p_wxValidatorTo_p_wxObject(void *x) {
26531 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26532}
26533static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26534 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26535}
26536static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26537 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26538}
26539static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26540 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26541}
26542static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26543 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26544}
26545static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26546 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26547}
26548static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26549 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26550}
26551static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26552 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26553}
26554static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26555 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26556}
26557static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26558 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26559}
26560static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26561 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26562}
26563static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26564 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26565}
26566static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26567 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26568}
26569static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26570 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26571}
26572static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26573 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26574}
26575static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26576 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26577}
26578static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26579 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26580}
26581static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26582 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26583}
26584static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26585 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26586}
26587static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26588 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26589}
26590static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26591 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26592}
26593static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26594 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26595}
26596static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26597 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26598}
26599static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26600 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26601}
26602static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26603 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26604}
26605static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26606 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26607}
26608static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26609 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26610}
26611static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26612 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26613}
26614static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26615 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26616}
26617static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26618 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26619}
26620static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26621 return (void *)((wxWindow *) ((wxMenuBar *) x));
26622}
26623static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26624 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26625}
26626static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26627 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26628}
26629static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26630 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26631}
26632static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26634}
26635static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26637}
26638static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26639 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26640}
26641static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26642 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26643}
26644static void *_p_wxPanelTo_p_wxWindow(void *x) {
26645 return (void *)((wxWindow *) ((wxPanel *) x));
26646}
26647static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26648 return (void *)((wxWindow *) ((wxStatusBar *) x));
26649}
26650static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26651 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26652}
26653static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26654 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26655}
26656static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26657 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26658}
26659static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26660 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26661}
26662static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26663 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26664}
26665static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26666 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26667}
26668static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26669 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26670}
26671static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26672 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26673}
26674static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26675 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26676}
26677static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26678 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26679}
26680static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26681 return (void *)((wxWindow *) ((wxSashWindow *) x));
26682}
26683static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26684 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26685}
26686static void *_p_wxControlTo_p_wxWindow(void *x) {
26687 return (void *)((wxWindow *) ((wxControl *) x));
26688}
26689static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26690 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26691}
26692static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26693 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26694}
26695static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26696 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26697}
26698static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26699 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26700}
26701static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26702 return (void *)((wxWindow *) ((wxPyWindow *) x));
26703}
26704static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26705 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26706}
26707static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26708 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26709}
26710static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26711 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26712}
26713static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26714 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26715}
26716static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26717 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26718}
26719static void *_p_wxFrameTo_p_wxWindow(void *x) {
26720 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26721}
26722static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26723 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26724}
26725static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26726 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26727}
26728static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26730}
26731static void *_p_wxDialogTo_p_wxWindow(void *x) {
26732 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26733}
26734static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26735 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26736}
26737static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26738 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26739}
26740static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26742}
26743static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26744 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26745}
26746static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26747 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26748}
26749static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26750 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26751}
26752static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26753 return (void *)((wxDialog *) ((wxColourDialog *) x));
26754}
26755static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26756 return (void *)((wxDialog *) ((wxDirDialog *) x));
26757}
26758static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26759 return (void *)((wxDialog *) ((wxFontDialog *) x));
26760}
26761static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26762 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26763}
26764static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26765 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26766}
26767static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26768 return (void *)((wxDialog *) ((wxFileDialog *) x));
26769}
26770static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26771 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26772}
26773static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26774 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26775}
26776static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26777 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26778}
26779static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26780 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26781}
26782static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26783 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26784}
26785static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26786 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26787}
26788static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26789 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26790}
26791static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26792 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26793}
26794static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26795 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26796}
26797static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26798 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26799}
26800static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26801 return (void *)((wxPanel *) ((wxPyPanel *) x));
26802}
26803static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26804 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26805}
26806static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26807 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26808}
26809static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26810 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26811}
26812static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26813 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26814}
26815static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26816 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26817}
26818static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26819 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26820}
26821static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26822 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26823}
26824static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26825 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26826}
26827static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26828 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26829}
26830static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26831 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26832}
26833static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26834 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26835}
26836static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26837 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26838}
26839static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26840 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26841}
26842static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26843 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26844}
26845static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26846 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26847}
26848static 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}};
26849static 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}};
26850static 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}};
26851static 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}};
26852static 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}};
09c21d3b 26853static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
26854static 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}};
26855static 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}};
26856static 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}};
26857static 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}};
26858static 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}};
26859static 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}};
26860static 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}};
26861static 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}};
26862static 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}};
26863static 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}};
26864static 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}};
26865static 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}};
26866static 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}};
26867static 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}};
26868static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 26869static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
26870static 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}};
26871static 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}};
26872static 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}};
26873static 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}};
26874static 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}};
26875static 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}};
26876static 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}};
26877static 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}};
26878static 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}};
26879static 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}};
26880static 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}};
26881static 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}};
26882static 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}};
26883static 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}};
26884static 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}};
26885static 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}};
26886static 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}};
26887static 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}};
26888static 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}};
26889static 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}};
26890static 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}};
26891static 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}};
26892static 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}};
26893static 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}};
26894static 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}};
26895static 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}};
26896static 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}};
26897static 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}};
26898static 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}};
26899static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
26900static 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}};
26901static 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}};
26902static 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}};
26903static 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}};
26904static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 26905static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
26906static 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}};
26907static 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}};
26908static 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}};
26909static 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}};
26910static 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}};
26911static 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}};
26912static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
26913static 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}};
26914static 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}};
26915static 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}};
26916static 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}};
26917static 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}};
26918static 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}};
26919static 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}};
26920static 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}};
26921static 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}};
26922static 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}};
26923static 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}};
26924static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c24da6d6 26925static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
26926static 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}};
26927static 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}};
26928static 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}};
26929static 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}};
26930static 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}};
26931static 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}};
26932static 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}};
26933static 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}};
26934
26935static swig_type_info *swig_types_initial[] = {
26936_swigt__p_wxQueryLayoutInfoEvent,
26937_swigt__p_wxPreviewFrame,
26938_swigt__p_wxPyPreviewFrame,
26939_swigt__p_wxPyPanel,
26940_swigt__p_wxMenu,
09c21d3b 26941_swigt__p_wxPrintData,
d55e5bfc
RD
26942_swigt__p_wxFontData,
26943_swigt__p_wxEvent,
26944_swigt__p_wxTaskBarIcon,
26945_swigt__p_wxIconBundle,
26946_swigt__p_wxLayoutAlgorithm,
26947_swigt__p_wxFindDialogEvent,
26948_swigt__p_wxPreviewCanvas,
26949_swigt__p_wxFont,
26950_swigt__p_wxSplitterEvent,
26951_swigt__p_wxRegion,
26952_swigt__p_wxFindReplaceData,
26953_swigt__p_int,
26954_swigt__p_wxSize,
26955_swigt__p_wxDC,
26956_swigt__p_wxIcon,
f20a2e1f 26957_swigt__p_wxVisualAttributes,
d55e5bfc
RD
26958_swigt__p_wxMDIChildFrame,
26959_swigt__p_wxColourData,
26960_swigt__p_wxNotifyEvent,
26961_swigt__p_wxPyWindow,
26962_swigt__p_wxSplashScreen,
26963_swigt__p_wxFindReplaceDialog,
26964_swigt__p_wxProgressDialog,
26965_swigt__p_wxMessageDialog,
26966_swigt__p_wxTextEntryDialog,
26967_swigt__p_wxSingleChoiceDialog,
26968_swigt__p_wxMultiChoiceDialog,
26969_swigt__p_wxFileDialog,
26970_swigt__p_wxPrinter,
26971_swigt__p_wxArrayInt,
26972_swigt__p_wxEvtHandler,
26973_swigt__p_wxCalculateLayoutEvent,
26974_swigt__p_wxPyHtmlListBox,
26975_swigt__p_wxPyVListBox,
26976_swigt__p_wxRect,
26977_swigt__p_char,
26978_swigt__p_wxMiniFrame,
26979_swigt__p_wxFrame,
26980_swigt__p_wxPyPrintout,
26981_swigt__p_wxTaskBarIconEvent,
26982_swigt__p_wxScrollWinEvent,
26983_swigt__p_wxStatusBar,
26984_swigt__p_wxMDIParentFrame,
26985_swigt__p_wxPoint,
26986_swigt__p_wxObject,
26987_swigt__p_wxOutputStream,
d55e5bfc
RD
26988_swigt__p_wxPyScrolledWindow,
26989_swigt__p_wxMDIClientWindow,
26990_swigt__p_wxTipWindow,
26991_swigt__p_wxSashLayoutWindow,
26992_swigt__p_wxSplitterWindow,
f20a2e1f 26993_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
26994_swigt__p_wxPyVScrolledWindow,
26995_swigt__p_wxPyPopupTransientWindow,
26996_swigt__p_wxPopupWindow,
26997_swigt__p_wxSashWindow,
26998_swigt__p_wxTopLevelWindow,
26999_swigt__p_wxWindow,
27000_swigt__p_wxScrolledWindow,
d55e5bfc
RD
27001_swigt__p_wxMenuBar,
27002_swigt__p_wxPrintPreview,
27003_swigt__p_wxSashEvent,
27004_swigt__p_wxString,
27005_swigt__p_wxPyPrintPreview,
27006_swigt__p_wxFontDialog,
27007_swigt__p_wxDirDialog,
27008_swigt__p_wxColourDialog,
27009_swigt__p_wxDialog,
27010_swigt__p_wxPanel,
27011_swigt__p_wxPageSetupDialog,
27012_swigt__p_wxPrintDialog,
c24da6d6 27013_swigt__p_wxFileSystem,
d55e5bfc
RD
27014_swigt__p_wxBitmap,
27015_swigt__p_wxCommandEvent,
27016_swigt__p_wxPreviewControlBar,
27017_swigt__p_wxPyPreviewControlBar,
27018_swigt__p_wxColour,
27019_swigt__p_wxToolBar,
27020_swigt__p_wxPageSetupDialogData,
27021_swigt__p_wxPrintDialogData,
270220
27023};
27024
27025
27026/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27027
27028static swig_const_info swig_const_table[] = {
27029{0}};
27030
27031#ifdef __cplusplus
27032}
27033#endif
27034
27035#ifdef __cplusplus
27036extern "C"
27037#endif
27038SWIGEXPORT(void) SWIG_init(void) {
27039 static PyObject *SWIG_globals = 0;
27040 static int typeinit = 0;
27041 PyObject *m, *d;
27042 int i;
27043 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27044 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27045 d = PyModule_GetDict(m);
27046
27047 if (!typeinit) {
27048 for (i = 0; swig_types_initial[i]; i++) {
27049 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27050 }
27051 typeinit = 1;
27052 }
27053 SWIG_InstallConstants(d,swig_const_table);
27054
27055 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27056 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27057 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27058 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27059 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27060 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
27061 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
27062 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
27063 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
27064 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
27065 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
27066 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
27067 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
27068 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
27069 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
27070 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
27071 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
27072 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
27073 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
27074 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
27075 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
27076 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
27077 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
27078 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
27079 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
27080 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
27081 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
27082 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
27083 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
27084 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
27085 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
27086 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
27087 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
27088 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
27089 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
27090 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
27091 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
27092 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
27093 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
27094 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
27095 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
27096 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
27097 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27098 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
27099 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
27100 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
27101 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
27102 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
27103 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
27104 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
27105 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
27106 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
27107 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
27108 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
27109 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
27110 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
27111 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
27112 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27113 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27114 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27115 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27116 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27117 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27118 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
27119 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
27120 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
27121 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
27122 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
27123 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
27124 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
27125 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
27126 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
27127 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
27128 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
27129 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
27130 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
27131 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
27132 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
27133 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27134 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
27135 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
27136 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
27137 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
27138 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
27139 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
27140 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
27141 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
27142 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
27143 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
27144 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
27145 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27146 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27147 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27148
27149 // Map renamed classes back to their common name for OOR
27150 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27151 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27152 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27153
27154 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27155 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27156 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27157 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27158 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27159 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27160 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27161 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27162 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27163 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27164 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27165 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27166 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27167 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
27168 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
27169 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
27170 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
27171 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
27172 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
27173 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
27174 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
27175 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27176 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27177 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27178 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27179 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27180 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27181 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27182 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27183 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27184 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27185 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27186 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27187 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27188 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27189 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27190 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
27191 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
27192 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
27193 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
27194 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
27195 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
27196 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
27197 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
27198 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
27199 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
27200 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
27201 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
27202 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
27203 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
27204 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
27205 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
27206 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
27207 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
27208 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
27209 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
27210 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
27211 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
27212 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
27213 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
27214
27215 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27216
27217}
27218